gtk2/gsk
Christian Hergert f8a6a09896 ngl: move uniform key mapping into uniform state
Previously, we translated the uniform key (an enum) into a location within
the shader program in GskNglProgram. A number of performance improvements
were focused around having low nubers for the uniform locations. Generally
this is the case, but some drivers such as old Intel drivers on Windows
may use rather large numbers for those.

To combat this, we can push the translation of uniform keys into locations
at the GskNglUniformState level so that we work with unranslated keys
through the process until applying them.

Fixes #3780
2021-03-23 13:44:26 -07:00
..
broadway gsk: Add GskConicGradientNode 2020-12-03 00:47:54 +01:00
gl gl: Fix a rounding error in subpixel positioning 2021-03-21 16:05:10 -04:00
ngl ngl: move uniform key mapping into uniform state 2021-03-23 13:44:26 -07:00
resources glsl: Make rounded rect clipping cheaper 2021-03-08 14:41:48 -05:00
vulkan docs: Improve gsk docs 2021-03-11 16:37:31 +00:00
gen-gsk-gresources-xml.py gsk: Give ngl its own shader sources 2021-03-12 13:18:47 -05:00
gsk-autocleanup.h gsk: Add GskTransform autocleanup definition 2020-05-08 09:14:55 +02:00
gsk.h Add GskGLShaderNode and GskGLShader 2020-09-29 09:51:16 +02:00
gskcairoblur.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gskcairoblurprivate.h gsk: Add GskShadowNode 2016-12-20 18:01:12 +01:00
gskcairorenderer.c gsk: Export Cairo renderer 2019-05-05 07:18:39 +02:00
gskcairorenderer.h docs: Improve gsk docs 2021-03-11 16:37:31 +00:00
gskdebug.c types: fix various use of volatile in type registration 2020-11-18 20:21:33 -08:00
gskdebugprivate.h gsk: Remove an unused debug flag 2020-07-20 07:03:08 -04:00
gskdiff.c diff: Allow aborting a diff 2018-04-05 14:56:38 +02:00
gskdiffprivate.h diff: Allow aborting a diff 2018-04-05 14:56:38 +02:00
gskenums.h docs: Improve gsk docs 2021-03-11 16:37:31 +00:00
gskenumtypes.c.template types: fix various use of volatile in type registration 2020-11-18 20:21:33 -08:00
gskenumtypes.h.template Use @basename@ in enumeration type templates 2019-02-04 14:02:45 +01:00
gskglshader.c glshader: Add property annotations 2021-03-11 16:37:32 +00:00
gskglshader.h glshader: Add property annotations 2021-03-11 16:37:32 +00:00
gskglshaderprivate.h Add GskGLShaderNode and GskGLShader 2020-09-29 09:51:16 +02:00
gskprivate.c More work on text nodes 2017-09-10 14:36:26 -04:00
gskprivate.h Add an api to get the vertex data for a render pass 2017-09-28 08:39:22 -04:00
gskprofiler.c Convert all profiler times from nsec to usec 2020-02-12 10:44:17 +01:00
gskprofilerprivate.h gsk: Add some more profiler apis 2019-05-07 09:37:59 -07:00
gskrenderer.c gsk: Make ngl the default OpenGL renderer 2021-03-18 15:00:39 -04:00
gskrenderer.h gskrenderer: Add property annotations 2021-03-11 16:37:32 +00:00
gskrendererprivate.h renderer: Make gsk_renderer_is_realized() public 2019-03-19 08:47:54 +01:00
gskrendernode.c rendernode: Add property annotations 2021-03-11 16:37:32 +00:00
gskrendernode.h docs: Improve gsk docs 2021-03-11 16:37:31 +00:00
gskrendernodeimpl.c Fix a typo in gsk_border_node_diff 2021-03-17 15:38:01 +00:00
gskrendernodeparser.c nodeparser: Print debug message before child 2021-03-09 12:15:25 -05:00
gskrendernodeparserprivate.h rendernodeparser: Skip root node when it's a container 2019-05-21 06:43:59 +02:00
gskrendernodeprivate.h gsk: Add gsk_border_node_get_uniform_color 2021-03-09 12:15:25 -05:00
gskroundedrect.c gskroundedrect: Convert docs 2021-03-11 16:37:32 +00:00
gskroundedrect.h gskroundedrect: Convert docs 2021-03-11 16:37:32 +00:00
gskroundedrectprivate.h Move gtk_rounded_rect_scale_affine to the right place 2021-03-07 15:17:32 -05:00
gsktransform.c gsktransform: Convert docs 2021-03-11 16:37:32 +00:00
gsktransform.h GskTransform: Add gsk_transform_transform_point() 2020-01-24 06:19:12 +01:00
gsktransformprivate.h gsk: move transform structure to private.h 2021-02-10 16:14:59 -08:00
gsktypes.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
meson.build meson: Find libcairo-script-interpreter when cairo is a subproject 2021-03-16 11:47:28 +01:00