mesa/src/glx
Jon Turney 533b3530c1 direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI")
Structurally, this is very similar to the existing Apple-DRI code, except I
have chosen to implement this using the __GLXDRIdisplay, etc. vtables (as
suggested originally in [1]), rather than a maze of ifdefs.  This also means
that LIBGL_ALWAYS_SOFTWARE and LIBGL_ALWAYS_INDIRECT work as expected.

[1] https://lists.freedesktop.org/archives/mesa-dev/2010-May/000756.html

This adds:

* the Windows-DRI extension protocol headers and the windowsdriproto.pc
file, for use in building the Windows-DRI extension for the X server

* a Windows-DRI extension helper client library

* a Windows-specific DRI implementation for GLX clients

The server is queried for Windows-DRI extension support on the screen before
using it (to detect the case where WGL is disabled or can't be activated).

The server is queried for fbconfigID to pixelformatindex mapping, which is
used to augment glx_config.

The server is queried for a native handle for the drawable (which is of a
different type for windows, pixmaps and pbuffers), which is used to augment
__GLXDRIdrawable.

Various GLX extensions are enabled depending on if the equivalent WGL
extension is available.
2016-09-15 13:14:43 +01:00
..
apple glx: apple specific occurences of dummyContext check 2016-08-15 09:24:10 +03:00
tests glx: fix error code when there is no context bound 2016-08-15 09:24:10 +03:00
windows direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI") 2016-09-15 13:14:43 +01:00
.gitignore
applegl_glx.c
clientattrib.c
clientinfo.c
compsize.c
create_context.c
dri2.c
dri2.h
dri2_glx.c dri2: Check for dummyContext to see if the glx_context is valid 2016-04-27 13:03:11 +01:00
dri2_priv.h mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
dri3_glx.c dri3: Check for dummyContext to see if the glx_context is valid 2016-04-27 13:03:34 +01:00
dri3_priv.h mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
dri_common.c
dri_common.h
dri_common_interop.c mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
dri_common_query_renderer.c
dri_glx.c glx: Implement the libglvnd interface. 2016-05-30 16:29:49 +01:00
dri_sarea.h
drisw_glx.c
drisw_priv.h
driwindows_glx.c direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI") 2016-09-15 13:14:43 +01:00
eval.c
g_glxglvnddispatchfuncs.c glx/glvnd: remove the final if defined($extension) guards 2016-05-30 17:53:44 +01:00
g_glxglvnddispatchindices.h glx: Implement the libglvnd interface. 2016-05-30 16:29:49 +01:00
glx_error.c glx: Don't use current context in __glXSendError 2016-08-17 17:16:34 +09:00
glx_error.h glx: Don't enclose includes inside extern "C" { }. 2016-04-26 21:28:34 +01:00
glx_pbuffer.c glx: fix error code when there is no context bound 2016-08-15 09:24:10 +03:00
glx_query.c
glxclient.h direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI") 2016-09-15 13:14:43 +01:00
glxcmds.c glx: apple specific occurences of dummyContext check 2016-08-15 09:24:10 +03:00
glxconfig.c
glxconfig.h
glxcurrent.c glx: Call __glXInitVertexArrayState() with a usable gc. 2016-07-08 14:02:56 -07:00
glxext.c direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI") 2016-09-15 13:14:43 +01:00
glxextensions.c
glxextensions.h glx: Don't enclose includes inside extern "C" { }. 2016-04-26 21:28:34 +01:00
glxglvnd.c glx/glvnd: list the strcmp arguments in correct order 2016-09-05 11:59:07 +01:00
glxglvnd.h glx: Implement the libglvnd interface. 2016-05-30 16:29:49 +01:00
glxglvnddispatchfuncs.h glx: Implement the libglvnd interface. 2016-05-30 16:29:49 +01:00
glxhash.c
glxhash.h
indirect_glx.c glx: Call __glXInitVertexArrayState() with a usable gc. 2016-07-08 14:02:56 -07:00
indirect_init.h
indirect_texture_compression.c
indirect_transpose_matrix.c
indirect_vertex_array.c glx: Fix for commit 2c86668694. 2016-07-08 16:46:17 -07:00
indirect_vertex_array.h
indirect_vertex_array_priv.h glx: Fix indirect multi-texture GL_DOUBLE coordinate arrays. 2016-07-08 14:03:16 -07:00
indirect_vertex_program.c
indirect_window_pos.c
Makefile.am direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI") 2016-09-15 13:14:43 +01:00
packrender.h glx: Avoid aliasing violations. 2016-07-26 12:12:27 -07:00
packsingle.h glx: Avoid aliasing violations. 2016-07-26 12:12:27 -07:00
pixel.c
pixelstore.c
query_renderer.c glx: fix error code when there is no context bound 2016-08-15 09:24:10 +03:00
render2.c
renderpix.c
SConscript scons: whitespace cleanup 2016-05-25 12:23:12 -06:00
single2.c
singlepix.c
vertarr.c
XF86dri.c
xf86dri.h
xf86dristr.h
xfont.c