mesa/src/glx/apple
Jon TURNEY 5a459a036e Fix build of appleglx
Define GLX_USE_APPLEGL, as config/darwin used to, to turn on specific code to
use the applegl direct renderer

Convert src/glx/apple/Makefile to automake

Since the applegl libGL is now built by linking libappleglx into libGL, rather
than by linking selected files into a special libGL:

- Remove duplicate code in apple/glxreply.c and apple/apple_glx.c.  This makes
apple/glxreply.c empty, so remove it

- Some indirect rendering code is already guarded by !GLX_USE_APPLEGL, but we
need to add those guards to indirect_glx.c, indirect_init.c (via it's
generator), render2.c and vertarr.c so they don't generate anything

Fix and update various includes

glapi_gentable.c (which is only used on darwin), should be included in shared
glapi as well, to provide _glapi_create_table_from_handle()

Note that neither swrast nor indirect is supported in the APPLEGL path at the
moment, which makes things more complex than they need to be.  More untangling
is needed to allow that

v2: Correct apple/Makefile.am for srcdir != builddir

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-05-23 15:24:07 +01:00
..
apple_cgl.c apple: Store the CGL API version number for future reference 2011-06-11 23:43:03 -07:00
apple_cgl.h apple: Store the CGL API version number for future reference 2011-06-11 23:43:03 -07:00
apple_glapi.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
apple_glx.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
apple_glx.h Fix build of appleglx 2014-05-23 15:24:07 +01:00
apple_glx_context.c glx/apple: Fixed glx context memory leak in case of failure. 2014-02-28 15:57:15 -08:00
apple_glx_context.h Buildfixes to work around issues in OpenGL.framework 2010-04-27 12:37:16 -07:00
apple_glx_drawable.c darwin: Unlock our mutex before destroying it 2012-05-16 18:58:29 -07:00
apple_glx_drawable.h glx: Rename __GLcontextModes to struct glx_config 2010-07-28 16:42:00 -04:00
apple_glx_log.c darwin: Address a build failure on Leopard and earlier OS versions 2012-05-18 11:32:40 -07:00
apple_glx_log.h darwin: Use ASL for logging 2012-05-03 10:58:34 -07:00
apple_glx_pbuffer.c apple: Use the correct (OpenGL.framework) glViewport and glScissor during init 2011-10-21 00:34:06 -07:00
apple_glx_pixmap.c apple: Use the correct (OpenGL.framework) glViewport and glScissor during init 2011-10-21 00:34:06 -07:00
apple_glx_surface.c darwin: Eliminate a possible race condition while destroying a surface 2012-05-16 18:58:30 -07:00
apple_visual.c darwin: Fix test for kCGLPFAOpenGLProfile support at runtime 2014-05-20 10:53:43 -07:00
apple_visual.h apple: Use a struct glx_config * rather than a void * in apple_visual_create_pfobj 2011-06-11 22:54:59 -07:00
apple_xgl_api.h mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
apple_xgl_api_read.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
apple_xgl_api_stereo.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
apple_xgl_api_viewport.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
appledri.c apple: Silence some debug spew 2011-10-21 00:34:06 -07:00
appledri.h apple: Initial import of libGL for OSX from AppleSGLX svn repository. 2010-04-27 11:26:50 -07:00
appledristr.h apple: Initial import of libGL for OSX from AppleSGLX svn repository. 2010-04-27 11:26:50 -07:00
glx_empty.c apple: Rename glcontextmodes.[ch] to glxconfig.[ch] 2011-06-05 18:03:45 -04:00
Makefile.am Fix build of appleglx 2014-05-23 15:24:07 +01:00
RELEASE_NOTES apple: Initial import of libGL for OSX from AppleSGLX svn repository. 2010-04-27 11:26:50 -07:00
TODO apple: Initial import of libGL for OSX from AppleSGLX svn repository. 2010-04-27 11:26:50 -07:00