Eric Anholt
da3f7c127b
egl: Quit checking for a bug in old xcb when we require new xcb.
...
Reviewed-by: Chad Versace <chad.versace@linux.intel.com >
2012-10-09 14:32:02 -07:00
Eric Anholt
b477384f40
egl: Drop xcb ifdefs by just requiring a version from this year.
...
glx and gallium's xcb_dri2 usage already require this version, so this is
nothing really new.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com >
2012-10-09 14:32:02 -07:00
Eric Anholt
bb01f671bb
glx: Require xcb_dri2 for building glxdri2.c.
...
I'm going to transition a bunch of the protocol to using XCB so we can stop
rolling it ourselves.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com >
2012-10-09 14:32:02 -07:00
Eric Anholt
dc6fa41076
glx: Remove the last user of -DUSE_XCB.
...
Reviewed-by: Chad Versace <chad.versace@linux.intel.com >
2012-10-09 14:32:02 -07:00
Matt Turner
900cc7cf80
Remove VAAPI support.
...
Not working and unmaintained.
Reviewed-by: Christian König <christian.koenig@amd.com >
2012-10-09 14:00:05 -07:00
Matt Turner
159ca32fec
build: Remove autoconf check for signbit
...
rebase failure in 7da12426f7 .
2012-10-02 22:50:02 -07:00
Matt Turner
523c015246
build: Don't build libdricore if not building classic drivers
2012-10-01 15:23:05 -07:00
Matt Turner
63c3a051cd
build: Order src/Makefile correctly
2012-10-01 15:23:04 -07:00
Matt Turner
814345f54b
build: Use AX_PTHREAD's HAVE_PTHREAD preprocessor definition
2012-10-01 15:23:04 -07:00
Matt Turner
b6651ae6ad
build: Use PTHREAD_LIBS and PTHREAD_CFLAGS
2012-10-01 15:23:04 -07:00
Matt Turner
dd4fde8f67
build: Set PTHREAD_LIBS for pkgconfig files if empty
2012-10-01 15:20:50 -07:00
Tom Stellard
00d80b3a6f
llvmpipe: Fix build with LLVM 2.8
...
Commit 8d9778589f added all-targets to the
LLVM_COMPONENTS list, but this component does not exist with LLVM 2.8.
Adding all-targets is not necessary for any drivers, and it seems to be
left over from earlier versions of the commit mentioned above.
Tested-by: Stéphane Marchesin <marcheu@chromium.org >
2012-10-01 17:42:56 -04:00
Tom Stellard
67fcb3c2b4
configure.ac: Use amdgpu component for LLVM 3.2
...
The amdgpu component actually does exist. I must have been using an
older version of llvm-config by accident when I first made this change.
2012-10-01 21:14:10 +00:00
Tom Stellard
8d9778589f
radeon: Support LLVM 3.2
...
LLVM 3.2 and newer requires that the R600/SI backend be part of the
LLVM tree.
2012-10-01 15:37:17 +00:00
Matt Turner
9ed00075d8
build: Link libglapi with pthreads
...
NOTE: This is a candidate for the 9.0 branch.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=839060
https://bugs.gentoo.org/show_bug.cgi?id=435152
Reviewed-by: Adam Jackson <ajax@redhat.com >
2012-09-27 10:25:26 -07:00
Matt Turner
7da12426f7
build: Use AX_PTHREAD to detect pthreads
...
NOTE: This is a candidate for the 9.0 branch.
Reviewed-by: Adam Jackson <ajax@redhat.com >
2012-09-27 10:25:20 -07:00
Brian Paul
24a8e0c3da
build: remove signbit check in configure.ac
...
We now have a fallback macro in imports.h
This reverts part of 0f3ba405 .
Reviewed-by: Matt Turner <mattst88@gmail.com >
2012-09-24 14:48:23 -06:00
Robert Bragg
dda49c3cb7
build: substitute X11_INCLUDES variable
...
There are a few automake files that reference $(X11_INCLUDES) such as
src/glx/Makefile.am but configure.ac wasn't declaring the variable for
substitution. This would break builds of glx if libxcb, for example, was
installed in its own prefix since AM_CFLAGS wouldn't coincidentally
list the needed include path in that case.
Reviewed-by: Matt Turner <mattst88@gmail.com >
2012-09-24 09:49:53 -07:00
Matt Turner
0f3ba405ea
Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNS
...
signbit() appears to be available everywhere (even MSVC according to
MSDN), so let's use it instead of open-coding some messy and confusing
bit twiddling macros.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54805
Reviewed-by: Paul Berry <stereotype441@gmail.com >
Suggested-by: Ian Romanick <ian.d.romanick@intel.com >
2012-09-24 09:45:17 -07:00
Matt Turner
af6aeae4e1
build: Don't list glproto and dri2proto in pkg-config file
...
No files provided by glproto or dri2proto are needed for building
something with Mesa.
Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=342393
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com >
2012-09-12 11:26:28 -07:00
Andreas Boll
e81ee67b51
mesa: bump version to 9.1 (devel)
...
Now that branch 9.0 is created, bump the minor version in
master.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2012-09-09 03:00:17 -07:00
Johannes Obermayr
10a96f4a4d
Set OSMESA_VERSION=8.
...
VERSION_NUMBER is not required anymore. So it will be removed.
Reviewed-by: Adam Jackson <ajax@redhat.com >
2012-09-07 14:44:48 -04:00
Matt Turner
058fb00716
build: Disable building of d3d1x
...
It's broken and unmaintained, and I'm tired of seeing bug reports about
it.
2012-09-06 16:20:18 -07:00
Tom Stellard
d68e337c60
configure.ac: Don't link gallium drivers with libdricore
...
Reviewed-by: Matt Turner <mattst88@gmail.com >
2012-09-05 14:01:56 -04:00
Matt Turner
e0f510b1c9
build: Remove left over echo from GLU removal
2012-08-31 15:12:21 -07:00
Matt Turner
b95d598323
Remove libGLU
...
It's been moved to its own repository, found at
http://cgit.freedesktop.org/mesa/glu/
Acked-by: Kenneth Graunke <kenneth@whitecape.org >
2012-08-31 10:58:15 -07:00
Andreas Boll
3678f8904c
mesa: also bump version in Makefile.am and configure.ac to 9.0
...
Signed-off-by: Brian Paul <brianp@vmware.com >
2012-08-31 09:22:16 -06:00
Marek Olšák
1ff5f08823
configure.ac: require libdrm_radeon 2.6.39 for MSAA
2012-08-30 19:43:55 +02:00
Andreas Boll
17f09b664b
configure.ac: add radeonsi to --with-gallium-drivers help string
...
the help string is used by ./configure --help
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com >
2012-08-28 17:35:36 +02:00
Eric Anholt
f0159018d7
i965/gen6+: Add support for GL_ARB_timer_query.
...
Needs updated libdrm.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2012-08-26 10:40:33 -07:00
Jakob Bornecrantz
a669a5055e
gbm: Use libkms to replace DRI cursor images
...
Uses libkms instead of dri image cursor. Since this is the only user of the
DRI cursor and write interface we can remove cursor surfaces entirely from
the DRI interface and as a consequence also from the Gallium interface as
well. Tho to make everybody happy with this it would probably should add a
kms_bo_write function, but that is probably wise in anyways.
The only downside is that it adds a dependancy on libkms, this could how ever
be replaced with the dumb_bo drm ioctl interface.
Tested-by: Scott Moreau <oreaus@gmail.com >
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com >
2012-08-26 15:39:23 +02:00
Matt Turner
261719b21c
automake: convert vgapi
2012-08-24 11:08:19 -07:00
Matt Turner
ba4a36d8cd
build: Check for bison-generated file before bailing because of no bison
...
.y/.c was a typo.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com >
2012-08-24 11:08:19 -07:00
Tapani Pälli
57c57df7b4
mesa/dlopen: use HAVE_DLOPEN instead of _GNU_SOURCE
...
Patches changes mesa to use 'HAVE_DLOPEN' defined by configure and Android.mk
instead of _GNU_SOURCE for detecting dlopen capability. This makes dlopen to
work also on Android where _GNU_SOURCE is not defined.
[mattst88] v2: HAVE_DLOPEN is sufficient for including dlfcn.h, remove
mingw/blrts checks around dlfcn.h inclusion.
Reviewed-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Matt Turner <mattst88@gmail.com >
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
2012-08-24 11:08:19 -07:00
Matt Turner
df4dccc7a9
build: Only add links to .so files if we're building them
...
Xlib-GLX and OSMesa support static building.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=53962
2012-08-24 11:08:19 -07:00
Matt Turner
a8fd8cb9e7
build: Replace OSMESA_VERSION with generic VERSION_NUMBER
...
Can be used by other modules.
2012-08-24 11:08:19 -07:00
Matt Turner
383a70bf9a
build: Order AC_CONFIG_FILES list
...
Makefiles before .pc files before directories. Alphabetize files of the
same type.
2012-08-24 11:08:19 -07:00
Matt Turner
8cdce6c136
build: Only build libmesa.la when needed
...
Namely, for Xlib-GLX, OSMesa, or test programs.
2012-08-24 11:08:19 -07:00
Matt Turner
00f3d9b11a
build: Remove duplicate DRI automake conditionals
2012-08-24 11:08:19 -07:00
Matt Turner
d23b1b7977
build: Remove GLU_DIRS
2012-08-24 11:08:19 -07:00
Matt Turner
a6b8b709cd
automake: convert es1api
2012-08-23 09:40:06 -07:00
Matt Turner
0f8110cb0c
automake: convert es2api
2012-08-23 09:38:32 -07:00
Matt Turner
bee2edbf3d
build: Link DRI drivers with dricore in case of no direct rendering
...
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2012-08-22 11:08:06 -07:00
Matt Turner
bfd7d6f58b
build: Only build libmesagallium.la if building Gallium
...
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2012-08-22 11:08:06 -07:00
Matt Turner
d9b109892d
build: Put mapi/shared-glapi in CORE_DIRS
...
SRC_DIRS was overwritten (visible in the second hunk).
Also don't require mapi/shared-glapi to be built for GLES.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2012-08-22 11:08:06 -07:00
Matt Turner
8c9b78aad1
build: Only allow shared-glapi with DRI
...
Tested-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2012-08-22 11:08:06 -07:00
Matt Turner
32e8ce6d24
build: Set sensible DRI/X11/OSMesa defaults
...
Tested-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2012-08-22 11:08:06 -07:00
Matt Turner
53248e5f95
build: Print whether shared-glapi is enabled
...
Tested-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2012-08-22 11:08:06 -07:00
Matt Turner
be5fe7b320
build: Remove deprecated --with-driver= flag
...
Tested-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2012-08-22 11:08:06 -07:00
Matt Turner
d12b07eb1a
build: Remove EXTRA_LIB_PATH
...
You can add extra library paths to LDFLAGS directly.
2012-08-16 15:04:54 -07:00