xserver-multidpi/glx
Jon TURNEY c5a612fc18 configure: Let configure --enable/disable-aiglx control building of AIGLX for all DDXs
Let configure --enable/disable-aiglx control building of AIGLX for all DDXs. Currently
we can't use --enable/disable-aiglx to control if Xwin DDX is built with AIGLX enabled,
as at the moment it's forced off if we aren't building the X.Org DDX DRI or DRI2 loader

Rearrange things a bit, introducing a new automake conditional, AIGLX_DRI_LOADER to
specifically indicate if the X.Org DDX DRI/DRI2 loader convenience library should be
built, and replace the previous X.Org DDX-specific uses of the AIGLX conditional with that

As before, AIGLX_DRI_LOADER is only enabled if --enable-glx, --enable-aiglx and at least one
of --enable-dri or --enable-dri2 are enabled

This allows the general conditional AIGLX to control if AIGLX is built for the XWin DDX as
well

The C #define AIGLX set by AC_DEFINE(AIGLX) seems to be obsolete, I can't find anything
which checks it

Updated for ajax's "glx: Make --disable-dri not disable AIGLX" patch, which allows DRI2
to be enabled independently of DRI1

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-04-26 10:40:56 +01:00
..
dispatch.h GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-14 18:58:33 -08:00
extension_string.c GLX/DRI2: add INTEL_swap_event support 2010-01-11 16:17:15 -05:00
extension_string.h GLX/DRI2: add INTEL_swap_event support 2010-01-11 16:17:15 -05:00
glapi.c glx: Fix _glapi_add_dispatch 2011-03-28 12:46:38 -04:00
glapi.h glx: Remove noop dispatch table 2011-03-28 12:46:38 -04:00
glapioffsets.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glapitable.h GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-14 18:58:33 -08:00
glprocs.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glthread.c glx: unifdef BEOS_THREADS 2011-03-08 13:24:38 -05:00
glthread.h GLX: Support TLS with better portability 2011-03-23 09:11:33 -07:00
glxbyteorder.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glxcmds.c glx: Fix lifetime tracking for pixmaps 2011-04-15 12:55:47 -04:00
glxcmdsswap.c glx: Work around wrong request lengths sent by mesa 2011-02-15 12:19:59 +01:00
glxcontext.h glx: Remove ->forceCurrent from the context vtable 2011-03-28 12:46:38 -04:00
glxdrawable.h DRI2: add support for new DRI2 protocol requests 2010-01-11 16:16:35 -05:00
glxdri.c glx: Remove ->forceCurrent from the context vtable 2011-03-28 12:46:38 -04:00
glxdri2.c glx: Use 0 rather than garbage for unknown INTEL_swap_event types 2011-04-15 12:57:05 -04:00
glxdricommon.c glx: Use PATH_MAX as size of filename buffer 2011-03-14 13:42:55 -04:00
glxdricommon.h glx: Factor out glxProbeDriver function. 2011-03-14 13:42:32 -04:00
glxdriswrast.c glx: Remove ->forceCurrent from the context vtable 2011-03-28 12:46:38 -04:00
glxext.c glx: Fix lifetime tracking for pixmaps 2011-04-15 12:55:47 -04:00
glxext.h glx: Fix drawable private leak on destroy 2009-04-13 13:17:53 -04:00
glxscreens.c glx: Remove swap barrier and hyperpipe support 2010-11-30 12:54:47 -05:00
glxscreens.h glx: Remove swap barrier and hyperpipe support 2010-11-30 12:54:47 -05:00
glxserver.h glx: dead variable removal 2011-03-28 12:46:38 -04:00
glxutil.h glx: Fix drawable private leak on destroy 2009-04-13 13:17:53 -04:00
indirect_dispatch_swap.c Fix "warning: cast to pointer from integer of different size" 2009-02-04 09:42:02 +10:00
indirect_dispatch.c GLX: Remove a redundant initialization 2010-03-29 09:37:14 -07:00
indirect_dispatch.h glx: Sun compilers now support some gcc __attribute__ values 2010-01-25 11:10:00 -08:00
indirect_program.c Warning fix (GL likes to call strings GLubyte * instead of char *). 2008-12-12 10:37:40 -08:00
indirect_reqsize.c GLX: Make sure the types match for ALIAS in indirect_reqsize.c 2009-06-06 22:24:18 -07:00
indirect_reqsize.h glx: Sun compilers now support some gcc __attribute__ values 2010-01-25 11:10:00 -08:00
indirect_size_get.c glx: Sun compilers now support some gcc __attribute__ values 2010-01-25 11:10:00 -08:00
indirect_size_get.h glx: Sun compilers now support some gcc __attribute__ values 2010-01-25 11:10:00 -08:00
indirect_size.h glx: Sun compilers now support some gcc __attribute__ values 2010-01-25 11:10:00 -08:00
indirect_table.c glx: Remove swap barrier and hyperpipe support 2010-11-30 12:54:47 -05:00
indirect_table.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_texture_compression.c Fix "possibly uninitialized" warnings in glx 2009-10-08 13:36:44 +11:00
indirect_util.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
indirect_util.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
Makefile.am configure: Let configure --enable/disable-aiglx control building of AIGLX for all DDXs 2011-04-26 10:40:56 +01:00
render2.c Warning fix: Remove dead glXDisp{,Swap}_DrawArraysEXT definitions. 2008-12-12 10:37:40 -08:00
render2swap.c Warning fix: Remove dead glXDisp{,Swap}_DrawArraysEXT definitions. 2008-12-12 10:37:40 -08:00
renderpix.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
renderpixswap.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
rensize.c glx: switch to byte counting functions 2009-07-14 10:13:44 +10:00
single2.c glx: Remove some obfuscatory macros 2011-03-28 12:46:38 -04:00
single2swap.c glx: Remove some obfuscatory macros 2011-03-28 12:46:38 -04:00
singlepix.c glx: Remove some obfuscatory macros 2011-03-28 12:46:38 -04:00
singlepixswap.c glx: Remove some obfuscatory macros 2011-03-28 12:46:38 -04:00
singlesize.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
singlesize.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
swap_interval.c DRI2: add support for new DRI2 protocol requests 2010-01-11 16:16:35 -05:00
unpack.h glx: warning fixes 2010-12-31 12:52:24 +00:00
xfont.c glx: validate request lengths 2011-01-10 15:31:30 +01:00