gtk2/gsk
Chun-wei Fan 652ab1ac72 gskglcompiler.c: Force GLSL version 300 es as needed
For libANGLE to work with our shaders, we must use "300 es" for
the #version directive in our shaders, as well as using the non-legacy/
non-GLES codepath in the shaders.  In order to check whether we are
using the GLSL 300 es shaders, we check whether we are using a GLES 3.0+
context.  As a result, make ->glsl_version a const char* and make sure
the existing shader version macros are defined apprpriately, and add a
new macro for the "300 es" shader version string.

This will allow the gtk4 programs to run under Windows using EGL via
libANGLE.  Some of the GL demos won't work for now, but at least this
makes things a lot better for using GL-accelerated graphics under Windows
for those that want to or need to use libANGLE (such as those with
graphics drivers that aren't capable of our Desktop (W)GL requirements in
GTK.
2021-12-03 10:39:59 +08:00
..
broadway gsk: Add GskConicGradientNode 2020-12-03 00:47:54 +01:00
gl gskglcompiler.c: Force GLSL version 300 es as needed 2021-12-03 10:39:59 +08:00
vulkan gsk: Allow gsk_renderer_realize (renderer, NULL, NULL) 2021-10-20 21:49:32 +02:00
gen-gsk-gresources-xml.py gsk: Move shader resources 2021-04-03 08:24:58 -04: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 Annotate gsk_cairo_blur_compute_pixels as const 2021-09-14 16:38:08 -04:00
gskcairorenderer.c gsk: Allow gsk_renderer_realize (renderer, NULL, NULL) 2021-10-20 21:49:32 +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 gsk: Cosmetics 2021-03-28 10:26:02 -04:00
gskdiffprivate.h diff: Allow aborting a diff 2018-04-05 14:56:38 +02:00
gskenums.h docs: use markdown syntax for hyperlinks 2021-05-25 13:14:01 +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 docs: Cosmetics 2021-10-18 08:35:54 -04:00
gskglshader.h gsk: Clean up docs syntax 2021-05-22 17:25:26 -04: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 Annotate pango_glyph_string_num_glyphs as pure 2021-09-14 16:38:08 -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: Allow gsk_renderer_realize (renderer, NULL, NULL) 2021-10-20 21:49:32 +02: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 g-i: add missing since 4.6 annotations 2021-10-21 15:34:39 +01:00
gskrendernode.h g-i: add missing since annotations 2021-11-13 17:50:53 +01:00
gskrendernodeimpl.c rendernode: Simplify conic gradient code 2021-11-30 14:12:10 +01:00
gskrendernodeparser.c cssparser: Remove unused argument 2021-10-28 03:19:08 +02:00
gskrendernodeparserprivate.h rendernodeparser: Skip root node when it's a container 2019-05-21 06:43:59 +02:00
gskrendernodeprivate.h gsk: Add high depth rendernode api 2021-10-06 21:35:25 -04:00
gskroundedrect.c Add a doc comment for gsk_rounded_rect_is_circular 2021-06-04 09:49:05 -04:00
gskroundedrect.h gsk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gskroundedrectprivate.h Annotate gsk_rounded_rect_is_circular as pure 2021-09-14 16:38:08 -04:00
gsktransform.c cssparser: Remove unused argument 2021-10-28 03:19:08 +02:00
gsktransform.h Add gsk_transform_to_2d_components 2021-09-18 02:06:51 -04: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 Rename ngl to gl 2021-10-07 13:05:53 -04:00