mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
5f181f7265
This tweaks the semantics of the has_redraw_clips vfunc so we can assume that at the start of a new frame there is an implied, initial, redraw_clip that clips everything (i.e. nothing would be redrawn) so in that case we would expect the has_redraw_clips vfunc to return True at the start of a new frame for backends that support clipping. Previously there was an ambiguity when this function returned False since it could either mean a full screen redraw had been queued or it could mean that the clip state wasn't yet initialized for that frame. This would result in _clutter_stage_has_full_redraw_queued() returning True at the start of a new frame even before any actors have been updated, which in turn meant we would incorrectly ignore queue_redraw requests for actors, believing them to be redundant. |
||
---|---|---|
.. | ||
clutter-backend-cex100.c | ||
clutter-backend-cex100.h | ||
clutter-backend-egl.c | ||
clutter-backend-egl.h | ||
clutter-cex100.h.in | ||
clutter-egl-headers.h | ||
clutter-egl.h | ||
clutter-event-tslib.c | ||
clutter-stage-egl.c | ||
clutter-stage-egl.h |