summaryrefslogtreecommitdiffstats
path: root/src/glx/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* glx: Make __glXSendError available in non-Apple buildsIan Romanick2011-12-191-0/+1
| | | | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Adam Jackson <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Cc: Jeremy Huddleston <[email protected]>
* glx: Take GLPROTO_CFLAGS into account.Henri Verbeet2011-03-071-0/+1
|
* glapi: Fix OpenGL and OpenGL ES interop.Chia-I Wu2011-01-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | When --enable-shared-glapi is specified, libGL will share libglapi with OpenGL ES instead of defining its own copy of glapi. This makes sure an app will get only one copy of glapi in its address space. The new option is disabled by default. When enabled, libGL and libglapi must be built from the same source tree and distributed together. This requirement comes from the fact that the dispatch offsets used by these libraries are re-assigned whenever GLAPI XMLs are changed. For GLX, indirect rendering for has_different_protocol() functions is tricky. A has_different_protocol() function is assigned only one dispatch offset, yet each entry point needs a different protocol opcode. It cannot be supported by the shared glapi. The fix to this is to make glXGetProcAddress handle such functions specially before calling _glapi_get_proc_address. Note that these files are automatically generated/re-generated src/glx/indirect.c src/glx/indirect.h src/mapi/glapi/glapi_mapi_tmp.h
* Make XF86VIDMODE extension optionalJon TURNEY2010-09-071-1/+5
| | | | | | | | | | | | | | Code in glx/glxcmds.c which uses the XF86VIDMODE extension is already guarded. Also use that guard to control inclusion of the xf86vmode.h header, and only enable that guard if the XF86VIDMODE extension is found by pkgconfig. This changes the behaviour on platforms which XF86VIDMODE exists, in that XF86VIDMODE used to be mandatory, but is now optional. Presumably other build systems are already arranging for -DXF86VIDMODE to be supplied to the complier when glxcmds.c is compiled, so are not affected by this change Signed-off-by: Jon TURNEY <[email protected]>
* make: Use C++ compiler to link stdc++ library.Brian Paul2010-08-241-2/+3
| | | | | glxinfo and glxgears run on swrast and softpipe without undefined symbol errors.
* glx: Split indirect and applegl implementations into different filesKristian Høgsberg2010-07-281-1/+4
|
* glx: Rename glcontextmodes.[ch] to glxconfig.[ch]Kristian Høgsberg2010-07-281-1/+1
|
* glapi: Move to src/mapi/.Chia-I Wu2010-05-071-3/+4
| | | | Move glapi to src/mapi/{glapi,es1api,es2api}.
* apple: Integrate our libGL into the existing build system betterJeremy Huddleston2010-04-271-1/+1
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* Revert accidental commits from the xquartz treeJeremy Huddleston2010-04-011-1/+1
| | | | | | | | | | | This reverts commit 9aadc793f3db64cefa0b08f18abad424a659dacc. This reverts commit 69ea4e7718efb60b6b0d795a355cebd6712ceac1. This reverts commit dbe8b013936d977ec63d6607bfd2fc6772d29787. This reverts commit 23215ef4d60a86d9f3b3fdc08e3fdadc59e98890. This reverts commit 9495e3703062d1ddaf3161f4efc23f0b51284d9b. This reverts commit 0594cf70883b64692ba617d85f4f9b4e636e5c2b. This reverts commit 86a7978d37393ee34f876569ac06ffdb8d7289ae. This reverts commit 437902ce978cde9a0e1aa260f12dc232a8501c42.
* apple: Integrate our libGL into the existing build system betterJeremy Huddleston2010-04-011-1/+1
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* glx: Fix TOP setting in src/glx MakefileKristian Høgsberg2010-02-091-1/+1
| | | | Argh, forgot to commit this fix before pushing.
* Retire miniglx and move the actual glx code up to src/glxKristian Høgsberg2010-02-091-5/+90
|
* Never fail `make clean'Dan Nicholson2008-05-071-1/+1
| | | | | | Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
* Error consistently when running recursive makeDan Nicholson2008-05-061-2/+2
| | | | | When changing directories and running a sub-make, ensure that both the cd and make commands propagate errors to the parent make.
* Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKEEric Anholt2004-06-011-2/+2
| | | | | | variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1".
* New Makefile systemBrian Paul2004-03-261-0/+12