gtk/docs/reference/gdk
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
..
images Update cursor docs 2016-05-17 14:16:39 -04:00
gdk3-overrides.txt docs: add missing docs for GDK_DISABLE_DEPRECATION_WARNINGS 2014-01-20 14:28:04 -05:00
gdk4-sections.txt gdkgl: Add gdk_gl_context_get_damage() 2016-12-05 15:02:47 +01:00
gdk4.types Make docs parallel installable 2016-10-07 10:34:50 -04:00
gdk-docs.sgml Drop GdkColor 2016-11-01 13:58:11 -04:00
Makefile.am Make gdk.la and gsk.la a noninst helper library 2016-10-26 16:34:15 +02:00
version.xml.in Add package version info to API docs. 2002-11-21 20:19:01 +00:00