mesa/src/mapi
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
..
es1api automake: don't enable -Wl,--no-undefined on OpenBSD 2014-04-05 13:30:27 +01:00
es2api automake: don't enable -Wl,--no-undefined on OpenBSD 2014-04-05 13:30:27 +01:00
glapi Fix build of appleglx 2014-05-23 15:24:07 +01:00
shared-glapi automake: don't enable -Wl,--no-undefined on OpenBSD 2014-04-05 13:30:27 +01:00
vgapi automake: don't enable -Wl,--no-undefined on OpenBSD 2014-04-05 13:30:27 +01:00
Android.mk build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00
entry.c glapi: rename u_current dispatch table functions 2014-03-06 07:47:12 -07:00
entry.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
entry_x86-64_tls.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
entry_x86_tls.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
entry_x86_tsd.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
Makefile.am build: Get rid of CORE_DIRS 2013-04-15 12:04:25 -07:00
Makefile.sources mapi: OpenVG symbol exports. 2014-04-25 19:34:38 -07:00
mapi.c glapi: remove u_mutex wrapper code, use c99 thread mutexes directly 2014-03-06 07:53:06 -07:00
mapi.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
mapi_abi.py mapi_abi: Make ES1 and ES2 static_dispatch=false functions hidden 2014-03-31 14:47:00 -07:00
mapi_glapi.c glapi: restore _glthread_GetID() function 2014-03-14 12:12:07 -06:00
mapi_tmp.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
stub.c glapi: remove u_mutex wrapper code, use c99 thread mutexes directly 2014-03-06 07:53:06 -07:00
stub.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
table.c mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
table.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
u_compiler.h build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00
u_current.c glapi: remove u_mutex wrapper code, use c99 thread mutexes directly 2014-03-06 07:53:06 -07:00
u_current.h glapi: rename u_current dispatch table functions 2014-03-06 07:47:12 -07:00
u_execmem.c glapi: remove u_mutex wrapper code, use c99 thread mutexes directly 2014-03-06 07:53:06 -07:00
u_execmem.h build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00
u_macros.h build: Move src/mapi/mapi/* to src/mapi/ 2013-04-15 12:04:25 -07:00
u_thread.h glapi: use 'Mesa' in error messages 2014-03-07 09:04:01 -07:00