summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: define LIBDRM_INTEL_REQUIREDTormod Volden2011-01-251-1/+2
| | | | | | | To have the LIBDRM* requirements in one place Signed-off-by: Tormod Volden <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* glapi: Fix OpenGL and OpenGL ES interop.Chia-I Wu2011-01-201-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | 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
* glapi: Fix OpenGL ES 1.1 and 2.0 interop.Chia-I Wu2011-01-201-0/+13
| | | | | | | | | | | Move _glapi_* symbols from libGLESv1_CM.so and libGLESv2.so to libglapi.so. This makes sure an app will get only one copy of glapi in its address space. Note that with this change, libGLES* 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.
* autoconf: Fail when --with-state-trackers is incomplete.Chia-I Wu2011-01-201-0/+9
| | | | | When --enable-openvg or --enable-gallium-egl is enabled, --with-state-trackers must have vega or egl.
* noop: remove dead dri targetJerome Glisse2011-01-111-13/+0
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* configure: bump libdrm version requirement to 2.4.23Brian Paul2011-01-111-3/+3
| | | | NOTE: This is a candidate for the 7.10 (and 7.9?) branch.
* Export TLS support in gl.pc.Tom Fogal2011-01-101-1/+7
|
* mesa: Remove GLES overlay.Chia-I Wu2011-01-101-20/+13
| | | | | | | With core mesa doing runtime API checks, GLES overlay is no longer needed. Make --enable-gles-overlay equivalent to --enable-gles[12]. There may still be places where compile-time checks are done. They could be fixed case by case.
* egl: Make egl_dri2 and egl_glx built-in drivers.Chia-I Wu2011-01-101-1/+1
| | | | | These two drivers are small in size. Making them built-in should simplify packaging.
* noop: make noop useable like trace or rbugJerome Glisse2011-01-091-1/+1
| | | | | | | | If you want to enable noop set GALLIUM_NOOP=1 as an env variable. You need first to enable noop wrapping for your driver see change to src/gallium/targets/dri-r600/ in this commit as an example. Signed-off-by: Jerome Glisse <[email protected]>
* mesa: fix build for NetBSDPierre Allegraud2011-01-061-7/+4
| | | | | | | | See http://bugs.freedesktop.org/show_bug.cgi?id=32859 NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Brian Paul <[email protected]>
* Merge remote branch 'origin/nvc0'Christoph Bumiller2011-01-041-1/+1
|\
| * Merge remote branch 'origin/master' into nvc0-newChristoph Bumiller2010-12-191-1/+14
| |\
| * | nvc0: import nvc0 gallium driverChristoph Bumiller2010-11-121-1/+1
| | |
* | | intel: Bump libdrm configure.ac requirement for the gen6 BLT ring support.Eric Anholt2011-01-031-1/+1
| | |
* | | autoconf: Fix --with-driver=xlib --enable-openvg.Chia-I Wu2011-01-041-5/+1
| |/ |/| | | | | | | | | st/egl should be enabled with --enable-openvg even the driver is xlib or osmesa. Also, GLX_DIRECT_RENDERING should not be defined because libdrm is not checked.
* | configure: use llvm-config --cppflags instead of --cflagsBrian Paul2010-12-081-1/+1
| |
* | gallium/noop: no operation gallium driverJerome Glisse2010-11-151-0/+13
|/ | | | | | | | | | | | | | | | | This driver is a fake swdri driver that perform no operations beside allocation gallium structure and buffer for upper layer usage. It's purpose is to help profiling core mesa/gallium without having pipe driver overhead hidding hot spot of core code. scons file are likely inadequate i am unfamiliar with this build system. To use it simply rename is to swrast_dri.so and properly set LIBGL_DRIVERS_PATH env variable. Signed-off-by: Jerome Glisse <[email protected]>
* autoconf: Add --enable-gallium-egl.Chia-I Wu2010-11-101-6/+22
| | | | | This option comes handy when we want to build gallium DRI drivers but not st/egl.
* autoconf: Tidy configure output for EGL.Chia-I Wu2010-10-311-7/+9
| | | | | Prefix EGL driver names by "egl_". Make it clear that EGL_CLIENT_APIS is only used by egl_gallium.
* autoconf: st/vega requires --enable-openvg.Chia-I Wu2010-10-301-0/+15
| | | | Make it a warning for now to smooth the transition.
* autoconf: Update configuration info.Chia-I Wu2010-10-291-23/+40
| | | | Output API info first. Move GLU/GLw/GLUT and EGL near driver info.
* autoconf: Better client API selection.Chia-I Wu2010-10-291-97/+180
| | | | | | | | | | | | | | | | | | Make autoconf decide the client APIs enabled first. Then when OpenGL and OpenGL ES are disabled, there is no need to build src/mesa/; when OpenGL is disabled, no $mesa_driver should be built. Finally, add --enable-openvg to enable OpenVG. With these changes, an OpenVG only build can be configured with $ ./configure --disable-opengl --enable-openvg src/mesa, src/glsl, and src/glx will be skipped, which saves a great deal of compilation time. And an OpenGL ES only build can be configured with $ ./configure --disable-opengl --enable-gles-overlay
* Fix build on systems where "python" is python 3.Kenneth Graunke2010-10-271-0/+3
| | | | | | | | | | | First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: Matthew William Cox <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]>
* configure.ac: do not build xorg-r300g by defaultMarek Olšák2010-09-281-2/+10
| | | | NOTE: This is a candidate for the 7.9 branch.
* configure.ac: look for libdrm_radeon before building gallium/r300,r600Marek Olšák2010-09-281-10/+18
| | | | NOTE: This is a candidate for the 7.9 branch.
* mesa: make makedepend an hard requirementLuca Barbieri2010-09-271-0/+4
| | | | | | | | | | | | Currently makedepend is used by the Mesa Makefile-based build system, but not required. Unfortunately, not having it makes dependency resolution non-existent, which is a source of subtle bugs, and is a rarely tested configuration, since all Mesa developers likely have it installed. Furthermore some idioms require dependency resolution to work at all, such as making headers depend on generated files.
* Build r300g by defaultMarek Olšák2010-09-241-4/+2
| | | | NOTE: This will go to 7.9 as well.
* egl: Enable drm platform by default.Chia-I Wu2010-09-191-0/+3
| | | | This enables EGL_MESA_drm_display for st/egl in the default setup.
* st/egl: Rename kms backend to drm.Chia-I Wu2010-09-191-1/+1
| | | | | The main use of the backend is to support EGL_MESA_drm_display. drm should be a better name.
* configure: Enable -fvisibility=hidden for g++ as wellKristian Høgsberg2010-09-081-0/+7
|
* Make XF86VIDMODE extension optionalJon TURNEY2010-09-071-1/+10
| | | | | | | | | | | | | | 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]>
* Cygwin: Teach mklib/minstall to properly install libraries on cygwinJon TURNEY2010-09-011-10/+16
| | | | | | | | | | | | | | | | Teach mklib/minstall more about cygwin so libraries are properly installed Have mklib install the .dll into the lib/ staging directory as well Have minstall install the .dll into PREFIX/bin at the same time as installing the .dll.a link library into PREFIX/lib mklib uses a '-' rather than a '.' as the separator before the version number in library names on cygwin. Change the install globs so they match library names like that. Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Don't pass -ffast-math to clang, since it ignores it and complains.Eric Anholt2010-08-301-1/+4
|
* Make configure work with clangnobled2010-08-301-1/+15
| | | | | It was mistaking clang for gcc and deciding its version was too low.
* Add talloc to osmesa library dependenciesJon TURNEY2010-08-301-2/+2
| | | | | | also link osmesa with C++ standard libraries, as it now contains C++ code Signed-off-by: Jon TURNEY <[email protected]>
* Add talloc to dependencies for libGL built with xlib driverJon TURNEY2010-08-301-2/+2
| | | | Signed-off-by: Jon TURNEY <[email protected]>
* r300g: rename radeong_dri.so to r300_dri.soDave Airlie2010-08-251-1/+1
| | | | acked on irc by Corbin + Marek.
* mesa: AC_SUBST the talloc libs/cflags so the ./configure results are saved.Eric Anholt2010-08-221-0/+2
| | | | | | | | | | I had used pkg-config from the Makefile because I didn't want to screw around with the non-autoconf build, but that doesn't work because the PKG_CONFIG_PATH or TALLOC_LIBS/TALLOC_CFLAGS that people set at configure time needs to be respected and may not be present at build time. Bug #29585
* Merge branch 'master' into glsl2Ian Romanick2010-08-131-1/+1
|\
| * configure: fix wrong variable name GLESv1_LIB_DEPSLi Peng2010-07-301-1/+1
| | | | | | | | | | | | | | GLESv1_CM_LIB_DEPS is defined in "configs/autoconf.in", but configure.ac uses GLESv1_LIB_DEPS. Signed-off-by: Li Peng <[email protected]>
* | Merge remote branch 'origin/master' into glsl2Eric Anholt2010-07-261-36/+61
|\| | | | | | | | | | | | | | | | | | | | | This pulls in multiple i965 driver fixes which will help ensure better testing coverage during development, and also gets past the conflicts of the src/mesa/shader -> src/mesa/program move. Conflicts: src/mesa/Makefile src/mesa/main/shaderapi.c src/mesa/main/shaderobj.h
| * st/egl: Fix build on FreeBSD.Chia-I Wu2010-07-161-0/+1
| | | | | | | | | | | | | | There is no libdl on FreeBSD. Based on patch from Thinker <[email protected]>, which is against 7.8. This fixes fdo bug #29093.
| * egl: Build egl_dri2 only when DRI drivers are built.Chia-I Wu2010-07-161-14/+15
| | | | | | | | | | That is, build egl_dri2 only when --with-driver=dri is given (the default).
| * egl: Build egl_dri2 only when xcb-dri2 is available.Chia-I Wu2010-07-161-4/+3
| | | | | | | | The driver does not build when xcb-dri2 is not available.
| * st/xorg: When selecting st via configure make sure to test for xorg-serverJakob Bornecrantz2010-07-131-0/+1
| |
| * egl_dri2: Support _EGL_PLATFORM_DRMKristian Høgsberg2010-07-081-2/+13
| | | | | | | | This lets the egl_dri2 driver initialize on just a DRM fd.
| * st/egl: Add support for !GLX_DIRECT_RENDERING.Chia-I Wu2010-07-061-1/+5
| | | | | | | | | | | | | | st/egl uses GLX code for DRI2 support. It should honor GLX_DIRECT_RENDERING. Also updates configure.ac to define GLX_DIRECT_RENDERING for st/egl.
| * Use GLUT_CFLAGS when building glutJohn Hein2010-07-011-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix this build error (in MesaGLUT-7.6.1)... glut_cmap.c:23:66: error: X11/Xmu/StdCmap.h: No such file or directory ...by not preventing the cflags that pkg-config finds for glut dependencies (including 'xmu') from being used. Defining GLUT_CFLAGS before running the pkg-config prevents the cflags found by pkg-config from being used. This patch lets GLUT_CFLAGS that configure & pkg-config work so hard to set actually get used. Also make sure the generated configs/autoconf defines GLUT_CFLAGS used in (at least) src/glut/glx/Makefile. Signed-off-by: Dan Nicholson <[email protected]>
| * st/egl: Reorganize targets.Chia-I Wu2010-06-291-14/+8
| | | | | | | | | | | | | | Merge all targets into targets/egl/. The target produces egl_gallium_<HW>.so for each pipe driver and st_<API>.so for each client APIs. This enables us to further merge egl_gallium_<HW>.so into egl_gallium.so later.