mesa/src/glx
Kyle Brenneman ce562f9e3f EGL: Implement the libglvnd interface for EGL (v3)
The new interface mostly just sits on top of the existing library.

The only change to the existing EGL code is to split the client
extension string into platform extensions and everything else. On
non-glvnd builds, eglQueryString will just concatenate the two strings.

The EGL dispatch stubs are all generated. The script is based on the one
used to generate entrypoints in libglvnd itself.

v2: [Kyle]
 - Rebased against master.
 - Reworked the EGL makefile to use separate libraries
 - Made the EGL code generation scripts work with Python 2 and 3.
 - Change gen_egl_dispatch.py to use argparse for the command line arguments.
 - Assorted formatting and style cleanup in the Python scripts.

v3: [Emil Velikov]
 - Rebase
 - Remove separate glvnd glx/egl configure toggles

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2017-04-17 13:03:58 +01:00
..
apple glx/apple: automake: include builddir prior to srcdir 2017-01-27 17:56:55 +00:00
tests glx/tests: automake: add dispatch-index-check to the tarball 2017-02-28 16:18:27 +00:00
windows glx/windows: automake: include builddir prior to srcdir 2017-01-27 17:56:55 +00:00
.gitignore Clean up .gitignore files 2013-01-10 22:01:31 +01:00
applegl_glx.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
clientattrib.c glx: Check malloc return value before accessing memory in glx/clientattrib.c 2013-12-03 14:35:41 -07:00
clientinfo.c glx: Add missing null check in __glX_send_client_info() 2014-02-07 08:14:05 -07:00
compsize.c glx: Fix image size computation for EXT_texture_integer (v2) 2015-07-31 12:32:16 -04:00
create_context.c glx: Store the RENDER_TYPE in indirect rendering 2013-07-18 16:03:42 -07:00
dri2.c glx: remove DRI2DriverPrimeShift compile guards 2017-02-13 10:13:46 +00:00
dri2.h glx: Fix build since 679c2ef "glx/drisw: add support for DRI2rendererQueryExtension", when only building drisw renderer 2014-08-21 16:59:48 +01:00
dri2_glx.c glx: Implement __DRI_BACKGROUND_CALLABLE 2017-03-16 14:14:18 +11:00
dri2_priv.h mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
dri3_glx.c glx: Implement __DRI_BACKGROUND_CALLABLE 2017-03-16 14:14:18 +11:00
dri3_priv.h mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
dri_common.c dri: make use of loader_get_extensions_name(..) helper 2016-11-15 18:15:16 +00:00
dri_common.h glx: Include util/macros.h instead of redefining PRINTFLIKE. 2015-04-13 12:03:33 +01:00
dri_common_interop.c mesa_glinterop: remove mesa_glinterop typedefs 2016-05-30 17:53:44 +01:00
dri_common_query_renderer.c mesa/glx: Resolve GCC sign-compare warning. 2015-08-18 11:34:43 -07:00
dri_glx.c glx: remove always true XDAMAGE_1_1_INTERFACE guard 2017-02-13 10:14:32 +00:00
dri_sarea.h include: move sarea.h next to it's only user 2014-08-21 21:47:37 +01:00
drisw_glx.c glx: don't expose systemTimeExtension for DRI2/DRI3/DRISW 2017-03-15 11:48:50 +00:00
drisw_priv.h glx/drisw: add support for DRI2rendererQueryExtension 2014-08-15 17:35:37 +01:00
driwindows_glx.c direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI") 2016-09-15 13:14:43 +01:00
eval.c Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
g_glxglvnddispatchfuncs.c glx/glvnd: Fix dispatch function names and indices 2016-11-02 14:52:38 -04:00
g_glxglvnddispatchindices.h glx/glvnd: Fix GLXdispatchIndex sorting 2017-02-15 09:55:57 +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: silence uninitialized var warning 2017-04-07 13:46:44 -06:00
glx_query.c glx: Unifdef USE_XCB. 2012-10-09 14:32:02 -07:00
glxclient.h EGL: Implement the libglvnd interface for EGL (v3) 2017-04-17 13:03:58 +01:00
glxcmds.c glx: guard swap-interval functions against destroyed drawables 2017-02-06 17:39:30 +01:00
glxconfig.c glx: Remove #include <GL/glxint.h> 2017-03-28 14:48:12 -04:00
glxconfig.h glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB. 2011-03-06 20:06:42 +10:00
glxcurrent.c glx: Call __glXInitVertexArrayState() with a usable gc. 2016-07-08 14:02:56 -07:00
glxext.c glx: return GL_FALSE from glx_screen_init where applicable. 2016-10-06 15:03:47 +01:00
glxextensions.c glx: update to updated version of EXT_create_context_es2_profile 2016-02-03 15:44:51 -05:00
glxextensions.h mesa: make use of HAVE_FUNC_ATTRIBUTE_ALIAS macro 2017-01-18 16:01:14 +00:00
glxglvnd.c glx/glvnd: Use bsearch() in FindGLXFunction instead of open-coding it 2016-11-02 14:52:43 -04: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 Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
glxhash.h Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
indirect_glx.c glx: Call __glXInitVertexArrayState() with a usable gc. 2016-07-08 14:02:56 -07:00
indirect_init.h Fix invalid extern "C" around header inclusion. 2015-03-05 10:21:40 -08:00
indirect_texture_compression.c mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
indirect_transpose_matrix.c mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
indirect_vertex_array.c glx: Fix for commit 2c86668694. 2016-07-08 16:46:17 -07:00
indirect_vertex_array.h Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
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 mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
indirect_window_pos.c mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
Makefile.am EGL: Implement the libglvnd interface for EGL (v3) 2017-04-17 13:03:58 +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 glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types. 2010-07-28 16:45:25 -04:00
pixelstore.c glx: Use _mesa_lroundevenf() in glPixelStoref(). 2015-08-04 10:33:16 -07:00
query_renderer.c glx: fix error code when there is no context bound 2016-08-15 09:24:10 +03:00
render2.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
renderpix.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
SConscript scons: whitespace cleanup 2016-05-25 12:23:12 -06:00
single2.c Fix a few typos 2015-04-27 17:28:29 +03:00
singlepix.c mesa: remove empty glthread.h file 2014-03-03 13:08:59 -07:00
vertarr.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
XF86dri.c Fix a few typos 2015-04-27 17:28:29 +03:00
xf86dri.h s/Tungsten Graphics/VMware/ 2014-01-17 20:00:32 +00:00
xf86dristr.h s/Tungsten Graphics/VMware/ 2014-01-17 20:00:32 +00:00
xfont.c darwin: build fix 2015-02-10 22:22:33 -08:00