gtk2/gsk/gl
Matthias Clasen 9ca9f42452 gsk: Avoid downloading GL textures when possible
I found that the gears demo was spending 40% cpu
downloading a GL texture every frame, only to
upload it again to another context.

While the GSK rendering and the GtkGLArea use different
GL contexts, they are (usually) connected by sharing data
with the same global context, so we can just use the
texture without the download/upload dance. This brings
gears down to < 10% cpu.
2020-09-26 21:55:28 -04:00
..
glutilsprivate.h gl renderer: Improve clipping code 2020-05-24 15:59:05 +02:00
gskgldriver.c gsk: Avoid downloading GL textures when possible 2020-09-26 21:55:28 -04:00
gskgldriverprivate.h gl backend: Avoid roundtripping via surface when updloading 2020-09-25 10:04:48 +02:00
gskglglyphcache.c Correctly upload textures for GLES 2020-09-25 09:31:43 +02:00
gskglglyphcacheprivate.h Revert "Cache glyph textures in render nodes" 2019-10-22 07:16:41 -04:00
gskgliconcache.c Correctly upload textures for GLES 2020-09-25 09:31:43 +02:00
gskgliconcacheprivate.h gl: Slightly rework the icon cache api 2019-10-15 19:44:26 -04:00
gskglimage.c gl: Allow setting min/mag filter on textures 2019-06-04 23:00:01 +00:00
gskglimageprivate.h gl: Allow setting min/mag filter on textures 2019-06-04 23:00:01 +00:00
gskglnodesample.c Turn GskRenderNode into a derivable type 2020-04-08 15:40:15 +01:00
gskglnodesampleprivate.h gl renderer: Add NodeSample 2018-12-02 13:25:43 +01:00
gskglprofiler.c Fix detection of OpenGL 3.3 core GL_ARB_timer_query. 2020-02-14 05:41:01 +11:00
gskglprofilerprivate.h gsk: Move all gskgl* files into gl/ 2017-12-21 19:12:30 +01:00
gskglrenderer.c Merge branch 'gles-texture-colors' into 'master' 2020-09-25 14:53:19 +00:00
gskglrenderer.h gsk: Export gsk_gl_renderer_new() 2019-05-05 07:18:39 +02:00
gskglrenderops.c gl renderer: Fall back to cairo if gradients use too many stops 2020-09-24 19:08:22 +02:00
gskglrenderopsprivate.h gl renderer: Lower maximum gradient stop count 2020-09-24 19:08:22 +02:00
gskglshaderbuilder.c gl renderer: Move rect transformation to the vertex shader 2020-01-24 06:08:39 +01:00
gskglshaderbuilderprivate.h gl renderer: Move rect transformation to the vertex shader 2020-01-24 06:08:39 +01:00
gskglshadowcache.c gl renderer: Draw outset shadows white 2020-01-18 08:49:52 +01:00
gskglshadowcacheprivate.h gl renderer: Draw outset shadows white 2020-01-18 08:49:52 +01:00
gskgltextureatlas.c gltextureatlas: Packing must succeed here 2020-01-07 17:27:18 +01:00
gskgltextureatlasprivate.h gl: Do less work to maintain caches 2019-10-11 20:42:24 -04:00
opbuffer.c gl renderer: Add radial gradient shader 2020-09-18 15:39:07 +02:00
opbuffer.h gl renderer: Add radial gradient shader 2020-09-18 15:39:07 +02:00
stb_rect_pack.c *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
stb_rect_pack.h glglyphcache: Use stb_rect_pack for better glyph packing 2019-06-04 22:42:00 +00:00