gtk/gsk
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
..
resources/glsl Use the projection to flip around the content 2016-10-18 11:49:10 +01:00
gsk.h gsk: Add GskTexture 2016-11-08 20:31:34 +01:00
gskcairorenderer.c gskrenderer: Add GError argument to gsk_renderer_realize() 2016-11-30 15:58:07 +01:00
gskcairorendererprivate.h cairorenderer: Remove nonexisting function from header 2016-11-30 15:15:08 +01:00
gskdebug.c Some debug help 2016-10-18 11:49:12 +01:00
gskdebugprivate.h Some debug help 2016-10-18 11:49:12 +01:00
gskenums.h gsk: Bump up all version annotations 2016-10-18 11:49:16 +01:00
gskenumtypes.c.template
gskenumtypes.h.template
gskgldriver.c gsk: Allow 0 for gsk_gl_driver_begin_frame() 2016-12-05 15:02:47 +01:00
gskgldriverprivate.h gsktexture: Allow attaching render data to textures 2016-11-16 17:36:33 +01:00
gskglprofiler.c gsk: Bind GL context to the GL profiler 2016-10-18 11:49:10 +01:00
gskglprofilerprivate.h gsk: Bind GL context to the GL profiler 2016-10-18 11:49:10 +01:00
gskglrenderer.c gdkgl: Add gdk_gl_context_get_damage() 2016-12-05 15:02:47 +01:00
gskglrendererprivate.h
gskprivate.c
gskprivate.h
gskprofiler.c gsk: Add profiler object 2016-10-18 11:49:10 +01:00
gskprofilerprivate.h gsk: Add profiler object 2016-10-18 11:49:10 +01:00
gskrenderer.c gdk: Make gdk_window_begin_draw_frame() take a draw context 2016-12-05 15:02:47 +01:00
gskrenderer.h gskrenderer: Add gsk_renderer_begin_draw_frame() 2016-12-05 15:02:47 +01:00
gskrendererprivate.h gdk: Make gdk_window_begin_draw_frame() take a draw context 2016-12-05 15:02:47 +01:00
gskrendernode.c gsk: Allow creating cairo contexts for 0x0 nodes 2016-11-15 17:49:19 +01:00
gskrendernode.h gsk: Add GskTexture 2016-11-08 20:31:34 +01:00
gskrendernodeiter.c gsk: Bump up all version annotations 2016-10-18 11:49:16 +01:00
gskrendernodeiter.h gsk: Bump up all version annotations 2016-10-18 11:49:16 +01:00
gskrendernodeprivate.h gsk: Add GskTexture 2016-11-08 20:31:34 +01:00
gskshaderbuilder.c Fix a few memory leaks 2016-10-21 06:45:22 +02:00
gskshaderbuilderprivate.h gsk: Consolidate program creation and storage 2016-10-18 11:49:07 +01:00
gsktexture.c gsktexture: Allow attaching render data to textures 2016-11-16 17:36:33 +01:00
gsktexture.h gsk: Rework GskTexture 2016-11-16 17:36:33 +01:00
gsktextureprivate.h gsktexture: Allow attaching render data to textures 2016-11-16 17:36:33 +01:00
gsktypes.h gsk: Add GskTexture 2016-11-08 20:31:34 +01:00
Makefile.am gsk: ensure libgsk-4.la before running g-ir-scanner 2016-11-30 10:30:17 -05:00