summaryrefslogtreecommitdiffstats
path: root/src/glx/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* glx: Convert to automake.Eric Anholt2012-02-291-119/+0
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* Revert "Always build shared glapi"Matt Turner2012-01-241-0/+3
| | | | | | | | | | | This reverts commit adefee50d954151f76150af80207081ae3c247d9. Shared glapi was never tested with --enable-xlib-glx and turns out to cause a lot of problems. Conflicts: configure.ac
* Always build shared glapiMatt Turner2012-01-201-3/+0
| | | | | | | | libglapi.so, libGL.so, libGLESv2.so, libGLESv1_CM.so must all come from the same version of Mesa or bad things may happen. Acked-by: Kenneth Graunke <[email protected]> Signed-off-by: Matt Turner <[email protected]>
* tests/glx: Add unit tests for GLX_ARB_create_context GLX protocolIan Romanick2012-01-021-1/+4
| | | | | | | | | | This adds a new tests directory at the top-level and some extra build infrastructure. The tests use the Google C++ Testing Framework, and they will only be built if configure can detect its availability. The tests are automatically wired-in to run with 'make check'. Signed-off-by: Ian Romanick <[email protected]> Acked-by: Chad Versace <[email protected]>
* glx: Initial implementation of glXCreateContextAttribsARBIan Romanick2012-01-021-0/+1
| | | | Signed-off-by: Ian Romanick <[email protected]>
* glx: Add __glX_send_client_info super functionIan Romanick2012-01-021-0/+1
| | | | | | | | This function picks the correct client-info protocol (based on the server's GLX version and set of extensions) and sends it to the server. Signed-off-by: Ian Romanick <[email protected]>
* 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