mutter/examples
Neil Roberts 20d64cbb39 cogland: Handle damage events for non-shm buffers too
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)
2013-04-22 13:00:25 +01:00
..
android/hello Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-crate.c cogl-crate: use new _add_frame_callback api 2013-01-30 20:09:49 +00:00
cogl-gles2-context.c avoid redundant idle if using FRAME_SYNC to throttle 2013-02-15 17:44:49 +00:00
cogl-gles2-gears.c avoid redundant idle if using FRAME_SYNC to throttle 2013-02-15 17:44:49 +00:00
cogl-hello.c avoid redundant idle if using FRAME_SYNC to throttle 2013-02-15 17:44:49 +00:00
cogl-info.c renderer: expose CoglOutputs 2013-01-30 19:57:22 +00:00
cogl-msaa.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-sdl2-hello.c Convert the two SDL examples to use the frame callback 2013-01-31 16:56:08 +00:00
cogl-sdl-hello.c Convert the two SDL examples to use the frame callback 2013-01-31 16:56:08 +00:00
cogl-x11-foreign.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-x11-tfp.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogland.c cogland: Handle damage events for non-shm buffers too 2013-04-22 13:00:25 +01:00
crate.jpg Adds another example that draws a 3D crate 2011-06-30 14:33:11 +01:00
Makefile.am cogland: Update to the Wayland 1.0 API 2013-03-22 00:13:32 +00:00