graphics/: Fix an oversight in the implementation of per-window framebuffers. It is true that redraw callbacks can be supporessed for all cases ... EXCEPT ONE: When the window is resized to a larger size, then the newly exposed territory must be drawn for the first time.

This commit is contained in:
Gregory Nutt
2019-05-16 09:18:33 -06:00
parent 4676470dd7
commit a40ef12895
14 changed files with 287 additions and 170 deletions
+11 -1
View File
@@ -62,7 +62,17 @@ config NX_RAMBACKED
Redraw requests in other cases are also suppressed: Changes to window
position, size, etc. As a consequence, some manual updates will be
required when certain events occurr (like removing a toolbar from a
required when certain events occur (like removing a toolbar from a
window).
An exception is the case when the window is resized to a wider and/or
taller size. In that case, the redraw callback will till occur.
It is necessary in that case to provide new graphic content for the
extended window area.
Redraw requests in other cases are also suppressed: Changes to window
position, size, etc. As a consequence, some manual updates will be
required when certain events occur (like removing a toolbar from a
window).
NOTE: A significant amount of RAM, usually external SDRAM, may be