gtk2/gdk
Chun-wei Fan 257fd990d1 Add a EGL renderer (via ANGLE) for Windows
This is for adding a EGL-based renderer which is done via the ANGLE
project, which translate EGL calls to Direct3D 9/11.  This is done as a
possible solution to issue #105, especially for cases where the needed
full GL extensions to map OpenGL to Direct3D is unavailable or
unreliable, or when the OpenGL implementation from the graphics drivers
are problematic.

To enable this, do the following:
-Build ANGLE and ensure the ANGLE libEGL.dll and libGLESv2.dll are
 available.  A sufficiently-recent ANGLE is needed for things to
 work correctly--note that the copy of ANGLE that is included in
 qtbase-5.10.1 is sufficient.  ANGLE is licensed under a BSD 3-clause
 license.
-Build libepoxy on Windows with EGL support enabled.
-Currently, prior to running GTK+ programs, the GDK_DEBUG envvar needs
 to be set with gl-gles as at least one of the flags.

Known issues:
-Only OpenGL ES 3 is supported, ANGLE's ES 2 does not support the needed
 extensions, notably GL_OES_vertex_array_object, but its ES 3 support is
 sufficient.
-There is no autodetection or fallback mechanism to enable using
 EGL/Angle automatically yet.  There are no plans to do this in this
 commit.
2020-07-30 14:26:33 +08:00
..
broadway gdk: Move default group api to the X11 backend 2020-07-29 22:58:37 -04:00
macos gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
resources/glsl
wayland gdk: Move default group api to the X11 backend 2020-07-29 22:58:37 -04:00
win32 Add a EGL renderer (via ANGLE) for Windows 2020-07-30 14:26:33 +08:00
x11 gdk: Move default group api to the X11 backend 2020-07-29 22:58:37 -04:00
COPYING
default_cursor.png gdk: Include a default cursor as resource 2020-04-26 14:41:52 -04:00
filetransferportal.c filechooser portal: Free portal proxy when bus connection closes 2020-02-04 14:08:10 +01:00
filetransferportalprivate.h Tweak the file transfer portal _again_ 2020-01-17 23:46:37 -05:00
gdk-autocleanup.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdk-private.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdk.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdk.h Add a GdkDragSurface interface 2020-03-12 14:56:21 -04:00
gdkapplaunchcontext.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkapplaunchcontext.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkapplaunchcontextprivate.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkarrayimpl.c gdk/gdkarrayimpl.c: Fix build on Visual Studio 2020-07-24 16:25:24 +08:00
gdkcairo.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gdkcairo.h Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gdkcairocontext.c
gdkcairocontext.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkcairocontextprivate.h
gdkclipboard.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkclipboard.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkclipboardprivate.h gdk: Change some async clipboard api 2019-04-02 15:10:53 +00:00
gdkconfig.h.meson macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gdkconfig.h.win32 Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkconfig.h.win32_vulkan Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkconstructor.h gdk: Include copy of glib/gconstructor.h 2019-03-17 21:29:59 +01:00
gdkcontentdeserializer.c gdk: Improve struct packing in places 2020-07-25 11:57:37 -04:00
gdkcontentdeserializer.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkcontentformats.c docs: Fix several missing references in the documentation 2020-05-11 19:26:20 +02:00
gdkcontentformats.h contentformats: Constify some functions 2020-03-02 04:43:56 +01:00
gdkcontentformatsprivate.h
gdkcontentprovider.c docs: Fix several missing references in the documentation 2020-05-11 19:26:20 +02:00
gdkcontentprovider.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkcontentproviderimpl.c Fix minor typos 2020-06-18 10:47:16 +03:00
gdkcontentproviderimpl.h Remove gdk_content_provider_new_with_formats() 2020-02-18 02:40:00 +01:00
gdkcontentproviderprivate.h
gdkcontentserializer.c gdk: Improve struct packing in places 2020-07-25 11:57:37 -04:00
gdkcontentserializer.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkcursor.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkcursor.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkcursorprivate.h
gdkdevice.c gdk: Remove gdk_device_get_axes() 2020-07-29 01:27:51 +02:00
gdkdevice.h gdk: Make GdkDevice axis API internal 2020-07-29 01:27:51 +02:00
gdkdevicepad.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkdevicepad.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkdevicepadprivate.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkdeviceprivate.h gdk: Remove gdk_device_get_axes() 2020-07-29 01:27:51 +02:00
gdkdevicetool.c Document gdk_device_tool_get_axes 2020-07-28 21:58:06 -04:00
gdkdevicetool.h gdk: Add gdk_device_tool_get_axes() 2020-07-28 17:37:09 +02:00
gdkdevicetoolprivate.h
gdkdisplay.c docs: Don't refer to nonexisting functions 2020-07-29 23:00:57 -04:00
gdkdisplay.h gdk: Move default group api to the X11 backend 2020-07-29 22:58:37 -04:00
gdkdisplaymanager.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkdisplaymanager.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkdisplaymanagerprivate.h
gdkdisplayprivate.h gdk: Move default group api to the X11 backend 2020-07-29 22:58:37 -04:00
gdkdrag.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkdrag.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkdragprivate.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkdragsurface.c docs: Remove unnecessary SECTION 2020-05-12 18:44:21 +01:00
gdkdragsurface.h Annotation fixes 2020-04-03 15:30:56 +01:00
gdkdragsurfaceprivate.h Add a GdkDragSurface interface 2020-03-12 14:56:21 -04:00
gdkdrawcontext.c docs: Fix several missing references in the documentation 2020-05-11 19:26:20 +02:00
gdkdrawcontext.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkdrawcontextprivate.h
gdkdrop.c docs: Fix several missing references in the documentation 2020-05-11 19:26:20 +02:00
gdkdrop.h drop: Remove unused convenience APIs 2020-03-02 04:43:56 +01:00
gdkdropprivate.h gdk: Make gdk_drop_status() take preferred action 2020-03-02 04:43:56 +01:00
gdkenumtypes.c.template Use g_once for all the mkenums template files 2019-05-21 10:32:08 -05:00
gdkenumtypes.h.template Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkevents.c gdk: Conflate GDK devices 2020-07-29 01:27:51 +02:00
gdkevents.h gdk: Conflate GDK devices 2020-07-29 01:27:51 +02:00
gdkeventsprivate.h gdk: Conflate GDK devices 2020-07-29 01:27:51 +02:00
gdkframeclock.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkframeclock.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkframeclockidle.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkframeclockidleprivate.h
gdkframeclockprivate.h frame-clock: New approach in smoothing frame clock 2020-05-28 15:13:07 +02:00
gdkframetimings.c
gdkframetimings.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkgl.c Switch to GL_ARB_framebuffer_object 2020-06-12 15:08:44 +02:00
gdkglcontext.c Add a EGL renderer (via ANGLE) for Windows 2020-07-30 14:26:33 +08:00
gdkglcontext.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkglcontextprivate.h gl: Add a gdk_gl_context_has_debug accessor 2020-07-28 05:34:12 +02:00
gdkglobals.c
gdkgltexture.c gl texture: fix a typo 2019-01-23 22:33:44 -05:00
gdkgltexture.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkgltextureprivate.h
gdkinternals.h gdk: Stop exporting gdk_surface_freeze_updates 2020-07-29 22:30:44 -04:00
gdkintl.h
gdkkeynames.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkkeys.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkkeys.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkkeysprivate.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkkeysyms-update.pl docs: Fix GTK links and locations 2019-02-06 10:39:27 +01:00
gdkkeysyms.h gdk: Update gdkkeysyms.h 2020-07-21 16:55:28 -04:00
gdkkeyuni.c gdk: Clarify the docs of gdk_keyval_to_unicode 2020-06-22 13:24:34 -04:00
gdkmarshalers.list surface: Add marshallers for new events 2019-05-28 19:19:24 +02:00
gdkmemorytexture.c
gdkmemorytexture.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkmemorytextureprivate.h
gdkmonitor.c gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkmonitor.h gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkmonitorprivate.h gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkpaintable.c xxx: Add a hack to make paintables transform to/from objects 2020-05-30 19:26:46 -04:00
gdkpaintable.h docs: Fix several missing references in the documentation 2020-05-11 19:26:20 +02:00
gdkpango.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkpango.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkpipeiostream.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkpipeiostreamprivate.h
gdkpixbuf-drawable.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkpixbuf.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkpopup.c docs: Fix several missing references in the documentation 2020-05-11 19:26:20 +02:00
gdkpopup.h surface: Implement GdkPopup 2020-03-11 19:35:55 -04:00
gdkpopuplayout.c popuplayout: Add docs 2020-03-11 19:35:55 -04:00
gdkpopuplayout.h gdk: Documentation fixups 2020-06-05 20:59:51 -04:00
gdkpopupprivate.h Introduce GdkPopup 2020-03-11 19:35:55 -04:00
gdkprofiler.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkprofilerprivate.h profiler: Add _end_mark() version of _add_mark() 2020-02-12 11:25:34 +01:00
gdkrectangle.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkrectangle.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkrgba.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gdkrgba.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkrgbaprivate.h build: Add more useful warning flags 2020-03-05 07:56:28 +01:00
gdkseat.c gdk: Small doc fixup 2020-07-28 21:53:56 -04:00
gdkseat.h gdk: Add gdk_seat_get_tools() API call 2020-07-29 00:11:34 +02:00
gdkseatdefault.c gdk: Add gdk_seat_get_tools() API call 2020-07-29 00:11:34 +02:00
gdkseatdefaultprivate.h Rename master and slave device 2020-06-18 19:22:20 +01:00
gdkseatprivate.h gdk: Add gdk_seat_get_tools() API call 2020-07-29 00:11:34 +02:00
gdksnapshot.c
gdksnapshot.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdksnapshotprivate.h
gdksurface.c Rename gdk_surface_queue_expose 2020-07-29 22:40:01 -04:00
gdksurface.h Rename gdk_surface_queue_expose 2020-07-29 22:40:01 -04:00
gdksurfaceprivate.h gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdktexture.c Fix minor typos 2020-06-18 10:47:16 +03:00
gdktexture.h Add pure and const annotations to various functions 2020-01-26 18:21:07 +01:00
gdktextureprivate.h
gdktoplevel.c Fix minor typos 2020-05-28 11:00:03 +03:00
gdktoplevel.h gdk: Add gdk_toplevel_begin_move/resize 2020-05-17 12:41:16 -04:00
gdktoplevellayout.c surface: Document coordinate systems a bit 2020-04-13 09:29:11 -04:00
gdktoplevellayout.h gdk: Documentation fixups 2020-06-05 20:59:51 -04:00
gdktoplevelprivate.h gdk: Move the begin_move/resize_drag vfuncs around 2020-05-17 14:15:06 -04:00
gdktypes.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkversionmacros.h.in Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkvulkancontext.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkvulkancontext.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkvulkancontextprivate.h
gen-gdk-gresources-xml.py gdk: Include a default cursor as resource 2020-04-26 14:41:52 -04:00
gen-keyname-table.pl
keyname-table.h
keynames-translate.txt
keynames.txt
meson.build macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00