Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b649667a authored by Tom Marshall's avatar Tom Marshall
Browse files

recovery: Fix redraws, flickering, and animation

Rewrite screen drawing code to behave as follows:

 * draw_screen_locked has exactly two code paths: menu and non-menu.
    Non-menu code path draws background, foreground, and text.
 * Define screen background as the stage marker.
 * Define screen foreground as either the animation and progress bar
   or the icon and text.
 * Restore redraw optimizations in update_progress_locked.
 * Get rid of spurious screen updates.  The screen is only updated
    in StartMenu, SelectMenu, Redraw, and the progress thread.
 * Various changes and fixes to support the above.

Additionally:

 * Show error text on screen after failed install.
 * Rewrite graphics test code to better exercise the above.

Change-Id: I598bb11d5eef28275a6501cd44d514afe9939885
parent 6f54468d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment