20d64cbb39
When a Wayland compositor gets a commit it only needs to redraw the region specified by the pending damage event. Previously Cogland was ignoring damage events for non-shm buffers and just always queuing a redraw after a commit event. This patch changes it to queue a redraw only in response to a damage event. In practice this doesn't really make much difference because Cogland doesn't do anything clever to handle updating a sub-region of the screen, but it more costly matches the model a compositor should use. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 15f00609e41f689234ee8d5b2f9e95fb74612d12) |
||
---|---|---|
.. | ||
android/hello | ||
cogl-crate.c | ||
cogl-gles2-context.c | ||
cogl-gles2-gears.c | ||
cogl-hello.c | ||
cogl-info.c | ||
cogl-msaa.c | ||
cogl-sdl2-hello.c | ||
cogl-sdl-hello.c | ||
cogl-x11-foreign.c | ||
cogl-x11-tfp.c | ||
cogland.c | ||
crate.jpg | ||
Makefile.am |