gtk2/gsk/gl
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
..
resources GL renderer: Remove noperspective usage 2021-11-30 14:12:10 +01:00
fp16.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
fp16i.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
fp16private.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglattachmentstate.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglattachmentstateprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglbuffer.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglbufferprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglcommandqueue.c gl: Use gdk_memory_texture_new_from_texture() 2021-10-13 14:33:44 +02:00
gskglcommandqueueprivate.h gl: Refactor texture uploading 2021-10-13 14:33:44 +02:00
gskglcompiler.c gskglcompiler.c: Force GLSL version 300 es as needed 2021-12-03 10:39:59 +08:00
gskglcompilerprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskgldriver.c gl: Refactor texture uploading 2021-10-13 14:33:44 +02:00
gskgldriverprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglglyphlibrary.c Go back to using pango for glyph rendering 2021-11-20 11:13:52 -05:00
gskglglyphlibraryprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskgliconlibrary.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskgliconlibraryprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglprofiler.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglprofilerprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglprogram.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglprogramprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglprograms.defs Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglrenderer.c Merge branch 'wip/otte/center-center-center' into 'master' 2021-10-22 16:35:41 +00:00
gskglrenderer.h Maintain abi 2021-10-07 13:05:53 -04:00
gskglrendererprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglrenderjob.c gl: Use GL_BACK_LEFT 2021-11-03 22:53:59 +01:00
gskglrenderjobprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglshadowlibrary.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskglshadowlibraryprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskgltexture.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskgltexturelibrary.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskgltexturelibraryprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskgltextureprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskgltypesprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskgluniformstate.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
gskgluniformstateprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
inlinearray.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
ninesliceprivate.h Rename ngl to gl 2021-10-07 13:05:53 -04:00
stb_rect_pack.c Rename ngl to gl 2021-10-07 13:05:53 -04:00
stb_rect_pack.h Rename ngl to gl 2021-10-07 13:05:53 -04:00