gtk/docs/reference
Benjamin Otte 8915be00d1 gdkgl: Add gdk_gl_context_get_damage()
This is a way to query the damaged area of the backbuffer.

The GL renderer uses this to compute the extents of that damage region
(computed via buffer age) and use them to minimize the area to redraw.

This changes the semantics of GL rendering to "When calling
gdk_window_begin_frame() with a GL context, the area by
gdk_gl_context_get_damage() needs to be redrawn and every other pixel of
the backbuffer is guaranteed to be correct.
After gdk_window_end_frame() on a GL-drawn window, the whole backbuffer
must be correct.

We can always glXBufferSwap() now because of this.
2016-12-05 15:02:47 +01:00
..
gdk gdkgl: Add gdk_gl_context_get_damage() 2016-12-05 15:02:47 +01:00
gsk gskrenderer: Add gsk_renderer_begin_draw_frame() 2016-12-05 15:02:47 +01:00
gtk API: Remove gtk_cairo_should_draw_window() 2016-11-23 18:48:38 +01:00
Makefile.am gsk: Build docs 2016-10-18 11:49:13 +01:00