History log of /external/mesa3d/configure.ac
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
183a28a34a2184395e14d4682fbb425b5791eac6 21-Feb-2013 Andreas Boll <andreas.boll.dev@gmail.com> mesa: Bump version to 9.0.3
/external/mesa3d/configure.ac
a8f8287154bfebc8bade25703ef252d251386186 31-Jan-2013 Michel Dänzer <michel.daenzer@amd.com> configure.ac: GLX cannot work without OpenGL

GLX uses mapi/glapi/libglapi.la, which is only built for OpenGL.

If the user specified --enable-xlib-glx --disable-opengl, error out, as these
cannot be both observed at the same time. If the user just specified
--disable-opengl but not --disable-glx, print a warning and disable GLX as
well.

NOTE: This is a candidate for the stable branches.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59364

Tested-by: Tom Stellard <thomas.stellard@amd.com>
(cherry picked from commit 3b888f534cd42065b01ede8b9c646a2be0015509)
/external/mesa3d/configure.ac
ffaa1c92e9029efdc3ab5ff459cc34f9364444a9 18-Jan-2013 Andreas Boll <andreas.boll.dev@gmail.com> build: require python module libxml2

configure should warn if libxml2 is not found.
libxml2 is needed by glapi/gen.

Fixes error during build in src/mapi/glapi/gen:
ImportError: No module named libxml2

NOTE: This is a candidate for the 9.0 branch.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31598
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 410b58c7bfcebbc866d2dc4ab32c6f23b55d383b)
/external/mesa3d/configure.ac
3479fdef2f0fe4f98828a84d0b44df5fd66e702c 01-Feb-2013 Andreas Boll <andreas.boll.dev@gmail.com> configure.ac: Allow OpenGL ES1 and ES2 only with enabled OpenGL

Building OpenGL ES1 and/or ES2 without OpenGL is not supported on mesa
9.0.x

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/configure.ac
2b2ab2b3eab6f016dc7027ee4610f5f9500a0ac7 20-Jan-2013 Andreas Boll <andreas.boll.dev@gmail.com> mesa: Bump version to 9.0.2
/external/mesa3d/configure.ac
39fdab1d66bd3374c6de31bb8d890b911391c1fa 30-Nov-2012 Johannes Obermayr <johannesobermayr@gmx.de> clover: Adapt libclc's INCLUDEDIR and LIBEXECDIR to make use of the new introduced libclc.pc.

Tom Stellard:
-Keep --with-libclc-path and mark it deprecated.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
(cherry picked from commit 959e83d65075513f989cb1fe634dca314a7e185f)
/external/mesa3d/configure.ac
07b505bfdf94430780734aa4b82170a1f21978ff 19-Nov-2012 Maarten Lankhorst <maarten.lankhorst@canonical.com> automake: strip LLVM_CXXFLAGS and LLVM_CPPFLAGS too

It seems that -NDEBUG and other flags might still be leaked through
those variables, so strip those off there as well.

NOTE: This is a candidate for the 9.0 branch.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
(cherry picked from commit ddb901fbf4489ffcd85d3320f23913eb1d4fbdfe)
/external/mesa3d/configure.ac
f9d8d0c3b5e11c4ae08b078dca2aa48a3218f8d9 22-Nov-2012 Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> egl/wayland: Dispatch the event queue before get_buffers

When a client frame callback is executed and the client starts rendering
again, the egl event queue might not have been dispatched so that the
buffer release event for the previous frame hasn't been processed. In
that case a third buffer is allocated, even though it would be possible
to reuse the buffer that was just released.

The wl_display_dispatch_queue_pending() entry point is available from
wayland-client 1.0.2, so require that in configure.ac. Also, just
let the pkg-config macro throw its own error, which will show what version
we were looking for and failed to find.

Note: This is a candidate for stable branches.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
/external/mesa3d/configure.ac
c4f392aafb78c80dde4b126984a498f8f2feee10 08-Nov-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Bump version to 9.0.1

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/configure.ac
6a3c578dcd22e47944bee67d0e484ed1846f547c 11-Oct-2012 Matt Turner <mattst88@gmail.com> Re-add HAVE_PTHREADS preprocessor macro

Broken in commit 814345f54b.

NOTE: This is a candidate for the 9.0 branch.
(cherry picked from commit 9a51edfb5af72a7a480f408f02d8ecd98c576b7b)
/external/mesa3d/configure.ac
a5776ac0b8c015bf5d6a8513cefec5920895cc8e 11-Oct-2012 Kristian Høgsberg <krh@bitplanet.net> egl/wayland: Update to Wayland 0.99 API

The 0.99.0 Wayland release changes the event API to provide a thread-safe
mechanism for receiving events specific to a subsystem (such as EGL) and
we need to use it in the EGL platform.

The Wayland protocol now also requires a commit request to make changes
take effect, issue that from eglSwapBuffers.
/external/mesa3d/configure.ac
79d9471efda3630c050c809cdc8c26236283fc6a 21-Oct-2012 Kristian Høgsberg <krh@bitplanet.net> gbm: Use the kms dumb ioctls for cursor instead of libkms

We need to create bos suitable for cursor usage that we can map and
write data into. The kms dumb ioctls is all we need for this, so drop
the dependency on libkms.
/external/mesa3d/configure.ac
a8d0652c04ae4249608b37f06b5a8b3dca3774a9 04-Sep-2012 Tom Stellard <thomas.stellard@amd.com> configure.ac: Don't link gallium drivers with libdricore

Reviewed-by: Matt Turner <mattst88@gmail.com>
(cherry picked from commit d68e337c600a1b644d84e4703c92c2087aff82a4)
/external/mesa3d/configure.ac
c8fda5f44a02ab8c1c50a052edc6b189f34352ae 28-Sep-2012 Matt Turner <mattst88@gmail.com> build: Set PTHREAD_LIBS for pkgconfig files if empty

(cherry picked from dd4fde8f674f5e3efa19e929f97de4ecfd82391b)
/external/mesa3d/configure.ac
ddb9ecca3b0f820feb4dee6bd8901f8b6e3ee0d8 21-Sep-2012 Matt Turner <mattst88@gmail.com> build: Don't build libdricore if not building classic drivers
(cherry picked from commit 523c01524638b3d1bb363f4c0a647b0777840b7a)
/external/mesa3d/configure.ac
a2f28ceea22254f09ee37039eec873ccdf689e6c 19-Sep-2012 Matt Turner <mattst88@gmail.com> build: Use AX_PTHREAD's HAVE_PTHREAD preprocessor definition
(cherry picked from commit 814345f54b74eee2597cf84f3c34817488f07522)

Conflicts:

src/mapi/glapi/gen/gl_x86-64_asm.py
src/mapi/glapi/gen/gl_x86_asm.py
/external/mesa3d/configure.ac
421dda800de3aff588e97ccb6398b94e780590cd 19-Sep-2012 Matt Turner <mattst88@gmail.com> build: Use PTHREAD_LIBS and PTHREAD_CFLAGS
(cherry picked from commit b6651ae6ad314a93287e431a41f5c7a8f8f6c855)

Conflicts:

src/mesa/main/tests/Makefile.am
/external/mesa3d/configure.ac
9fc4a39dbf5e88d04d8a4a89534fa4f0115e3ddd 03-Oct-2012 Matt Turner <mattst88@gmail.com> build: Remove autoconf check for signbit

rebase failure in 7da12426f7682ffc44ae40e31d1b5712521fbb70.
(cherry picked from commit 159ca32fec6276fa267746c843f23ce0a6732f1d)
/external/mesa3d/configure.ac
cb84fe5e1003262eea058990777c82e8e25a0639 19-Sep-2012 Matt Turner <mattst88@gmail.com> 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>
(cherry picked from commit 9ed00075d8ea0ffaa675237e32b8611ad3064dbf)
/external/mesa3d/configure.ac
cc18cc282fb33a057e167356956bca4166e67ab9 19-Sep-2012 Matt Turner <mattst88@gmail.com> build: Use AX_PTHREAD to detect pthreads

NOTE: This is a candidate for the 9.0 branch.

Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit 7da12426f7682ffc44ae40e31d1b5712521fbb70)
/external/mesa3d/configure.ac
437c40eee432d087ca535b80471784dfd982c6cc 12-Sep-2012 Matt Turner <mattst88@gmail.com> 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>
/external/mesa3d/configure.ac
7f011e20758b1f4552d56dd40204605f7ae0e3c3 02-Sep-2012 Johannes Obermayr <johannesobermayr@gmx.de> Set OSMESA_VERSION=8.

VERSION_NUMBER is not required anymore. So it will be removed.

Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit 10a96f4a4d3d3166fa6907d4b302e01ece5ccd7e)
/external/mesa3d/configure.ac
b982fa8e8fa422d33b4166feb58f1e797f7987ac 01-Sep-2012 Matt Turner <mattst88@gmail.com> build: Remove left over echo from GLU removal
/external/mesa3d/configure.ac
d240dcee6de7369a423ed230c67e3be5ff47140a 24-Aug-2012 Matt Turner <mattst88@gmail.com> 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>
/external/mesa3d/configure.ac
03785fe360e2e63d1a63a6130e7e44141444c9d8 31-Aug-2012 Andreas Boll <andreas.boll.dev@gmail.com> mesa: also bump version in Makefile.am and configure.ac to 9.0

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
1ff5f0882340c1d948a62c53ab2446b29e6b0d43 27-Aug-2012 Marek Olšák <maraeo@gmail.com> configure.ac: require libdrm_radeon 2.6.39 for MSAA
/external/mesa3d/configure.ac
17f09b664b9234faf9953c5c9b969656a7e3b3d2 28-Aug-2012 Andreas Boll <andreas.boll.dev@gmail.com> 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>
/external/mesa3d/configure.ac
f0159018d7709b57d9916575512d75cb3f2fb395 18-Jul-2012 Eric Anholt <eric@anholt.net> i965/gen6+: Add support for GL_ARB_timer_query.

Needs updated libdrm.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
a669a5055eadae85ffa000cea19a2241d0699348 13-Aug-2012 Jakob Bornecrantz <jakob@vmware.com> 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>
/external/mesa3d/configure.ac
261719b21c3dab4e2c0b79bbe148f494667da67c 23-Aug-2012 Matt Turner <mattst88@gmail.com> automake: convert vgapi
/external/mesa3d/configure.ac
ba4a36d8cdd6425c1263026e953cc3977d1192c6 23-Aug-2012 Matt Turner <mattst88@gmail.com> 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>
/external/mesa3d/configure.ac
57c57df7b4579b60a84062df2e64f84dd84558b5 16-Aug-2012 Tapani Pälli <tapani.palli@intel.com> 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>
/external/mesa3d/configure.ac
df4dccc7a9691555e05c8945048603621340b5d7 22-Aug-2012 Matt Turner <mattst88@gmail.com> 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
/external/mesa3d/configure.ac
a8fd8cb9e7840c508d20466ff6e7c04bdc09d3bf 22-Aug-2012 Matt Turner <mattst88@gmail.com> build: Replace OSMESA_VERSION with generic VERSION_NUMBER

Can be used by other modules.
/external/mesa3d/configure.ac
383a70bf9aa68e4273cae764bcf0eea710ce2830 22-Aug-2012 Matt Turner <mattst88@gmail.com> build: Order AC_CONFIG_FILES list

Makefiles before .pc files before directories. Alphabetize files of the
same type.
/external/mesa3d/configure.ac
8cdce6c136799aa75310086c078d8cd5f19b84ce 22-Aug-2012 Matt Turner <mattst88@gmail.com> build: Only build libmesa.la when needed

Namely, for Xlib-GLX, OSMesa, or test programs.
/external/mesa3d/configure.ac
00f3d9b11acd366329c347e4797b8af3437fcfe6 22-Aug-2012 Matt Turner <mattst88@gmail.com> build: Remove duplicate DRI automake conditionals
/external/mesa3d/configure.ac
d23b1b79777828848656e350a19ec3031205e9fc 20-Aug-2012 Matt Turner <mattst88@gmail.com> build: Remove GLU_DIRS
/external/mesa3d/configure.ac
a6b8b709cdc280d3dc77cd9f78654726132d22bb 21-Aug-2012 Matt Turner <mattst88@gmail.com> automake: convert es1api
/external/mesa3d/configure.ac
0f8110cb0c782b179933da0b47649c3f8fe42328 21-Aug-2012 Matt Turner <mattst88@gmail.com> automake: convert es2api
/external/mesa3d/configure.ac
bee2edbf3d2da2c2351c70e56da0dca205caa8ea 18-Aug-2012 Matt Turner <mattst88@gmail.com> build: Link DRI drivers with dricore in case of no direct rendering

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
bfd7d6f58b47984853cf0831057e84a617de25ed 18-Aug-2012 Matt Turner <mattst88@gmail.com> build: Only build libmesagallium.la if building Gallium

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
d9b109892d862709fe9696ecee5764d35501c982 17-Aug-2012 Matt Turner <mattst88@gmail.com> 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>
/external/mesa3d/configure.ac
8c9b78aad155df31ade2f385b897609c43597249 17-Aug-2012 Matt Turner <mattst88@gmail.com> build: Only allow shared-glapi with DRI

Tested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
32e8ce6d24d43b03edb1be0156813a8ec2657732 17-Aug-2012 Matt Turner <mattst88@gmail.com> build: Set sensible DRI/X11/OSMesa defaults

Tested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
53248e5f95ee696992f3cfd11d8ddc5d748d0d8c 17-Aug-2012 Matt Turner <mattst88@gmail.com> build: Print whether shared-glapi is enabled

Tested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
be5fe7b32090ddf425467cee88929423b2ab034d 17-Aug-2012 Matt Turner <mattst88@gmail.com> build: Remove deprecated --with-driver= flag

Tested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
d12b07eb1a881df641f81ce7e31d3da8043a5b80 14-Aug-2012 Matt Turner <mattst88@gmail.com> build: Remove EXTRA_LIB_PATH

You can add extra library paths to LDFLAGS directly.
/external/mesa3d/configure.ac
e273ed37eaf9de57883631f223afbe50f1c78291 14-Aug-2012 Matt Turner <mattst88@gmail.com> build: Require X11 pkg-config files
/external/mesa3d/configure.ac
2f14202f52c9f61f5bb5bfb6beaf954ef5c18de9 12-Aug-2012 Marek Olšák <maraeo@gmail.com> configure.ac: bump libdrm_radeon requirement to 2.6.38
/external/mesa3d/configure.ac
e98ace934e1ea875f352fcef823ca46a416ca751 13-Jul-2012 Tom Stellard <tstellar@gmail.com> configure: Check xcb version when X11 pkgconfig exists

Commit 6882381a2efbdf06b7002d11468c94b9964c2bc8 added a dependency on a
newer version of xcb, but the version check wasn't added in all the
necessary places.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
996ff1c9bf5c3cd9102367bb3f16341053f87541 10-Aug-2012 Chad Versace <chad.versace@linux.intel.com> Revert "mesa: Remove C++11 narrowing warnings"

This reverts commit 9f5a5d541d5c1ff2e440791ba8ff44d0233daeb4.

Fixes the following build error on GCC 4.2.3:
cc1plus: error: unrecognized command line option "-Wno-narrowing"
The GCC Manual incorrectly stated that commit 9f5a5d54 woulde be safe for
old versions of GCC.

Reported-by: Andy Furniss <andyqos@ukfsn.org>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/configure.ac
9f5a5d541d5c1ff2e440791ba8ff44d0233daeb4 09-Aug-2012 Chad Versace <chad.versace@linux.intel.com> mesa: Remove C++11 narrowing warnings

Add -Wno-narrowing to CXXFLAGS for gcc.

It is safe to add this flag even for versions of gcc that don't recognize
it. From the GCC Manual [1]: "[GCC] allows the use of new -Wno- options
with old compilers".

This removes warnings of the form
warning: narrowing conversion of X from 'int' to 'float' inside { } is
ill-formed in C++11 [-Wnarrowing]
in ff_fragment_shader.cpp and gen6_blorp.cpp of the form. When building
i965, I observed no other difference in the build output.

[1] http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/configure.ac
9f7b3d171306ed2ae588e1a4145c5a364cf986ff 01-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> Make shared-glapi the default

You can't practically have desktop OpenGL and OpenGL ES on the same system
without this. The benefits of not having it (e.g., a more compact dispatch
table) are irrelevant.

v2: Don't mark shared-glapi as experimental. Review suggestion by Chad.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/configure.ac
45d3d0ad2154ccfa0fc1d02c943cefccb5f67b5b 01-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/tests: Add tests for the generated shared-glapi dispatch table

These are largely based on the src/mapi/glapi/tests. However,
shared-glapi provides less external visibility into the dispatch table,
so there is less to test. Also, shared-glapi does not implement
_glapi_get_proc_name, so that test was removed.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/configure.ac
41625afa2f7f30e5076c695ab3a16eabb5fe69f8 13-Jul-2012 Christian König <deathsimple@vodafone.de> radeonsi: initial VDPAU target

Windowed speed is of course way to slow, but fullscreen
works like a charm now.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
/external/mesa3d/configure.ac
84ead7b4e861c14ee24b96f8892230744640f0df 01-Aug-2012 Matt Turner <mattst88@gmail.com> configure.ac: Remove extra ;;

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=53053
/external/mesa3d/configure.ac
33ae29c93b8f70a86dcedc495dd658a5d5679db3 01-Aug-2012 Matt Turner <mattst88@gmail.com> configure.ac: Don't duplicate CFLAGS

These assignments caused CFLAGS specified on the configure line to
appear twice in the final CFLAGS. Removing them makes the behavior
reasonable -- USER_CFLAGS are appended at the end of CFLAGS, allowing
the builder to override flags added by configure.ac like
-fno-strict-aliasing.

Reviewed-by: Adam Jackson <ajax@redhat.com>
/external/mesa3d/configure.ac
14819eb58831ce197afe8abe8837057e02475d94 01-Aug-2012 Matt Turner <mattst88@gmail.com> configure.ac: Remove contractions to stop breaking syntax highlighting

Reviewed-by: Adam Jackson <ajax@redhat.com>
/external/mesa3d/configure.ac
0e38a3ca52d8372307a10f8a1aa2ef4a24f0dc79 01-Aug-2012 Matt Turner <mattst88@gmail.com> configure.ac: remove remnants of ppc asm support

Missed by d387899388bd7090bda50593e35f8ed3cb730c47.

Reviewed-by: Adam Jackson <ajax@redhat.com>
/external/mesa3d/configure.ac
33ef67ab20de9b04f7d3d32f01cb87c29034db88 01-Aug-2012 Adam Jackson <ajax@redhat.com> linux: Default to dri not xlib on all arches

Even on s390{,x} where there's no video card, you still want this so GLX
protocol works.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
/external/mesa3d/configure.ac
27013e5164a1823d5bdcb5ca21ae4ca0df40b8f8 26-Jul-2012 Jon TURNEY <jon.turney@dronecode.org.uk> Move installing osmesa.pc to drivers/osmesa

Move installing osmesa.pc to drivers/osmesa, where it belongs better

This also restores the installation of gl.pc if we are building osmesa at the
same time as libGL, which was broken in commit 39785488 when the .pc
installation was converted to automake

v2:
Remove HAVE_OSMESA_DRIVER automake conditional, it's now pointless as we
will only be building in the drivers/osmesa directory if the condition it
checked was true.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/configure.ac
11ff18fcf5b92cee4a8e69425fc321f0ef272ecf 26-Jul-2012 Eric Anholt <eric@anholt.net> automake: Remove OPT_FLAGS.

If you want to change your compiler arguments, just set CFLAGS/CXXFLAGS.
Having Mesa have this separate variable is a great way to have your arguments
not thoroughly propagated to all compiler invocations.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
87a1c4f233f597b8b366f7a2c0f1c5b7124d8d8e 26-Jul-2012 Eric Anholt <eric@anholt.net> automake: Remove ARCH_FLAGS.

In all current uses, it was appended to CFLAGS, which already had -m32. If
you want to do some other flag supplied to compiler invocations, there's
CFLAGS/CXXFLAGS.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
f9089f40224b8680bd5cfc2cba509d2c709cf403 10-Jul-2012 Jon TURNEY <jon.turney@dronecode.org.uk> Remove redundant osmesa shared library install from Makefile.old

Since osmesa now has been converted to Makefile.am, an appropriate install: rule
is generated to install the shared libary, so we no longer need to do that in
src/mesa/Makefile.old

This leaves nothing in src/mesa/Makefile.old but the tags: rule, so move that to
Makefile.am and remove Makefile.old

Also, nothing now uses OSMESA_LIB_GLOB anymore, so remove it

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/configure.ac
27382c0f7ba2ae826531ba4c254741b2a9df1882 16-Jul-2012 Brad King <brad.king@kitware.com> automake: Honor GL_LIB for mangled/custom lib names

Commit 2d4b77c7 (automake: Convert src/mesa/drivers/x11/Makefile to
automake, 2012-06-12) dropped the old Makefile, which used GL_LIB, and
replaced it with a Makefile.am hard-coding the name "GL". This broke
handling of --enable-mangling and --with-gl-lib-name options which
depend on GL_LIB to specify the GL library name.

Use "@GL_LIB@" in src/mesa/drivers/x11/Makefile.am to configure the
library name. Also use this approach to simplify src/glx/Makefile.am
and drop the HAVE_MANGLED_GL conditional. While at it, fix the
compatibility link we create in "lib" for the software-only driver to
use version GL_MAJOR instead of hard-coding "1".

Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
044de40cb0c6af54d99252f55145972780362afa 17-Jul-2012 Tom Stellard <thomas.stellard@amd.com> pipe_loader: Try to connect with the X server before probing pciids v2

When X is running it is neccesary for pipe_loader to authenticate with
DRM, in order to be able to use the device.

This makes it possible to run OpenCL programs while X is running.

v2:
- Fix C++ style comments
- Drop Xlib-xcb dependency
- Close the X connection when done
- Split auth code into separate function

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/configure.ac
17f6c9195f76566aa84152b05891b4cfef3fc7a8 17-Jul-2012 Tom Stellard <thomas.stellard@amd.com> configure.ac: Add --with-llvm-prefix option

This option allows you to specify the llvm install prefix. It is
useful for switching between different versions of LLVM.
/external/mesa3d/configure.ac
bd9bf7a42473dfbdae4b61dd2556eba9529e9dd0 21-Jul-2012 José Fonseca <jose.r.fonseca@gmail.com> autoconf: Only kink mcjit component when available.

Should fix build failures with older LLVM version, but only tested on
LLVM 3.1.
/external/mesa3d/configure.ac
761131ce4591e5f55f38d13f2c4d2194bc9cb0fd 17-Jul-2012 Michel Dänzer <michel.daenzer@amd.com> configure.ac: Further LLVM fixups.

* Also add mcjit in the non-OpenCL case.
* Replace hardcoded llvm-config with $LLVM_CONFIG everywhere.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Tom Stellad <thomas.stellard@amd.com>
/external/mesa3d/configure.ac
ed41a559dc3293dab75c4f0198531a6f5b870c39 17-Jul-2012 Tom Stellard <tstellar@gmail.com> configure.ac: Add libLLVMMCJIT to the LLVM_LDFLAGS

This is neccessary for linking the llvmpipe tests. It appears this
dependency was introduced by the "wider native register" changes.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/configure.ac
39d82a1b2028a7fe83a885478c9224669ea9f18a 13-Jul-2012 Jon TURNEY <jon.turney@dronecode.org.uk> Fix linking gallium drivers and with dricore after defadf2b1

Commit defadf2b1 erroneously tries to make gallium drivers link with libdricore
as a static library, not a shared library

Also, change uses of DRI_LIB_DEPS in gallium driver Makefiles to
GALLIUM_DRI_LIB_DEPS, so the libraries added are used in the linking the gallium
driver

Also, fix the path to the libdricore.so symlink, it's made in LIB_DIR, not in
the libdricore directory

Also repair quoting of dricore settings of DRI_LIB_DEPS and GALLIUM_DRI_LIB_DEPS
variables so VERSION is interpolated in configure but TOP and LIB_DIR are
interpolated later (where they are known, but VERSION isn't)

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/configure.ac
426a23af147720ae3b89995ffee792a29e8ae2db 13-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> wayland: Stop trying to use make rules from aclocal, just copy and paste

Defeated by autotool, copy and paste to the rescue.

https://bugs.freedesktop.org/show_bug.cgi?id=51997
https://bugs.freedesktop.org/show_bug.cgi?id=51531

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/configure.ac
b2a37e242ea60fde6d616814a30b89325875d0df 29-Jun-2012 Jon TURNEY <jon.turney@dronecode.org.uk> automake: convert libglapi

* "configure substitutions are not allowed in _SOURCES variables" in automake,
so remove the AC_SUBST'ed GLAPI_ASM_SOURCES and instead use some AM_CONDITIONALS
to choose which asm sources are used

* Change GLAPI_LIB to point to the .la file in other Makefile.am files, and make a link
to the .a file for the convenience of other Makefiles which have not yet been converted
to automake

v2:
- Use AM_CPPFLAGS for cleaner build output
- EXTRA_SOURCES is not needed
- Remove libglapi.a compatibility link on clean

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
1e48dfeee6007b87b45cb3817aa375aa46e9c249 13-Mar-2012 Jon TURNEY <jon.turney@dronecode.org.uk> Rename X86-64_API -> X86_64_API

automake doesn't allow hyphens in variable names

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
defadf2b1540ae3d44e43132ea24b9bd9e24cf49 08-Jul-2012 Jon TURNEY <jon.turney@dronecode.org.uk> Link dri drivers with mesa or dricore libtool library

Now mesa/drivers/dri is converted to automake, we want to update DRI_LIB_DEPS
so that we link with the libmesa or libdricore libtool library, as appropriate.

However, this is complicated by the fact that gallium/targets is not (yet)
converted, so we can't share the DRI_LIB_DEPS autoconf variable with that anymore.

Add an additional autoconf variable GALLIUM_DRI_LIB_DEPS, which is now used in
gallium/targets/Makefile.dri, to link with the libdircore or libmesa native library.

v2: libdricore$VERSION.a needs to be libdricore$(VERSION).a

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
cf362d00b961f93c729b74081671cbb3d199e16f 29-Jun-2012 Jon TURNEY <jon.turney@dronecode.org.uk> Remove unused MESA_MODULES autoconf variable

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
68e04cc6014bf7a2c9bd0b3b783b4ec12aa2e824 29-Jun-2012 Jon TURNEY <jon.turney@dronecode.org.uk> automake: convert libglsl

v2: Use AM_V_GEN to silence generated code rules. Add BUILT_SOURCES to CLEANFILES
v3:
- Fix an accidental // in a path
- Use automake make rules for lex/yacc rather than writing our own
- Update .gitignore appropriately
- Build a libglcpp convenience library rather than awkwardly including
the files in libglsl and delegating the generation
- Remove libglsl.a compatibility link on clean
v4:
- Automake's rules for lex/yacc make .cc if source is .ll or .yy, and apparently we
must use those extensions "because of scons", so update everywhere glsl_parser.cpp
-> glsl_parser.cc and glsl_lexer.cpp -> glsl_lexer.cc. This fixes 'make tarballs'
and building with dricore enabled.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
284325d97b3049e59e64daf784e2b3858f0ffcf5 24-Jun-2012 Laurent Carlier <lordheavym@gmail.com> automake: convert libOSmesa

This also currently fix the installation of libOSmesa.

v2: Remove old Makefile, libOSmesa is now versioned, fix typos
v3: Keep config substitution alphabetized
v4: Update .gitignore
v5: Libraries will be in the builddir, not the srcdir.

Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
6882381a2efbdf06b7002d11468c94b9964c2bc8 04-Jul-2012 Eric Anholt <eric@anholt.net> mesa: Require current libxcb.

Without that, people with buggy apps that looked at just the server
string for GLX_ARB_create_context would call this function that just
threw an error when you tried to make a context. Google shows plenty
of complaints about this.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/configure.ac
860d5bdf984730f69cd19b4f7145f3c84b57d33d 12-Jun-2012 Kenneth Graunke <kenneth@whitecape.org> i965: Add hardware context support.

With fixes and updates from Ben Widawsky and comments from Paul Berry.

v2: Use drm_intel_gem_context_destroy to destroy hardware context;
remove useless initialization of hw_ctx, both suggested by Eric.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Acked-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/configure.ac
ea76f0331011337cc4b7caac8f25947501a5aef9 15-Jun-2012 Tom Stellard <tstellar@gmail.com> clover: Add --with-clang-libdir option and verify CLANG_RESOURCE_DIR

$CLANG_RESOURCE_DIR is the directory that contains all resources
needed by clang to compile programs. When clover uses clang to
compile kernels it needs to specify a resource dir, so that clang
can find its internal headers (e.g. stddef.h).

clang defines $CLANG_RESOURCE_DIR as $CLANG_LIBDIR/clang/$CLANG_VERSION

This patch adds the --with-clang-libdir option in order to accommodate
clang intalls to non-standard locations, and it also adds a check
to the configure script to verify that $CLANG_RESOURCE_DIR/include
contains the necessary header files.
/external/mesa3d/configure.ac
37c3cbe053809c7d615f86cde0599175c6d83545 12-Jun-2012 Eric Anholt <eric@anholt.net> dricore: Turn it into a normal library.

Our intention is still that it's not abi stable, so make the package
version number get included in the library name. Now you can parallel
install dricore-using drivers from multiple mesa versions. We can put
it into lib now that we're following library versioning rules
(assuming that ABIs don't change within a single Mesa point release).

LD_LIBRARY_PATH still doesn't work with a non-/, non-/usr prefix
because libtool uses rpath instead of runpath for nonstandard
prefixes.
/external/mesa3d/configure.ac
2d51ac84fd4c6d0fcf4d5112af2eb2c12e186b63 12-Jun-2012 Eric Anholt <eric@anholt.net> mesa: Move GL header installation to automake.

This cuts some cruft related to osmesa where we were being careful to
not install headers twice.
/external/mesa3d/configure.ac
417c1a642141abac2f0a58d044893c93576bb9a3 12-Jun-2012 Eric Anholt <eric@anholt.net> automake: Move the master Mesa makefile to Makefile.old.

This will let me incrementally move stuff to automake without
converting libmesa.a all at once.
/external/mesa3d/configure.ac
bd18a236dead98ae34467d59f76c77d94226399e 15-May-2012 Eric Anholt <eric@anholt.net> automake: Convert osmesa.pc to be generated by configure.
/external/mesa3d/configure.ac
fa4cf4dc0cdf2e71e7973410531e4d9d360dd1bb 15-May-2012 Eric Anholt <eric@anholt.net> mesa: Convert gl.pc to be generated by configure.

This saves a step of mashing variables around in our Makefile.
/external/mesa3d/configure.ac
2d4b77c7c6c76b3c2083471a1afa4f19dfbb3d5f 12-Jun-2012 Eric Anholt <eric@anholt.net> automake: Convert src/mesa/drivers/x11/Makefile to automake.

The weird versioning of the libGL where the package version was sort
of expressed as a big integer is dropped. libtool didn't like the 0
prefix, and it didn't really make sense anyway -- if you interpret it
as an integer version number, old Mesa 071200 was bigger than current
Mesa 08100. Instead, just bump the minor version and drop the
patchlevel.
/external/mesa3d/configure.ac
2fb0f770a4bfbcb1d2c4787d286812ec6133d994 11-Jun-2012 Eric Anholt <eric@anholt.net> automake: Convert src/gallium/Makefile to automake.
/external/mesa3d/configure.ac
3a70f7526a6d0fe7478ae1ab5b451921c0ac748c 11-Jun-2012 Eric Anholt <eric@anholt.net> automake: Convert src/mapi/glapi/gen/Makefile to automake.
/external/mesa3d/configure.ac
d59149d3f449800012d74d897e7b2fcfef80449e 11-Jun-2012 Eric Anholt <eric@anholt.net> automake: Convert src/mesa/drivers/Makefile to automake.
/external/mesa3d/configure.ac
9ff2709ca571dcfe2f80746e638ad9d0687031fa 11-Jun-2012 Eric Anholt <eric@anholt.net> automake: Directly generate configs/current instead of symlinking from it.
/external/mesa3d/configure.ac
95836b46e77abfe5411922eb7cf71a18c028f42a 11-Jun-2012 Eric Anholt <eric@anholt.net> automake: Convert gen_matypes building to automake.
/external/mesa3d/configure.ac
e426949cf1c328d5686b1048cdcec54a4fbca986 11-Jun-2012 Eric Anholt <eric@anholt.net> make: Fold ASM_CFLAGS into DEFINES.

Every place that uses ASM_FLAGS already uses DEFINES. Not including
it in DEFINES is just a way to screw up potential users, as I've done
several times while working on the build system.
/external/mesa3d/configure.ac
07b28af5b57338263e8aef5833e7d5085051a655 11-Jun-2012 Eric Anholt <eric@anholt.net> automake: Convert src/egl/Makefile to automake.
/external/mesa3d/configure.ac
a4ff3342d295c0e58a5138fe50ac79488bec8bf9 11-Jun-2012 Eric Anholt <eric@anholt.net> automake: Don't warn on gmake portability issues.

Even pre-automake, we rely on gmake features for pattern
substitutions, and replacing those with reams more make code is not
interesting. This will let us turn the old Makefiles using pattern
substitutions into automake without spewing warnings.

Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
a29ad2b421b75a1727b3460db27b9f57e0bb226d 29-May-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/tests: Add tests for the generated dispatch table

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
8fecdcc587a192c0ea4e13d59321691b8981c249 25-May-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/tests: Add tests for _mesa_lookup_enum_by_{name,nr} functions

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
2e8c866f104202a1c05a7036b44b0c8c434b9ef3 24-May-2012 Ian Romanick <ian.d.romanick@intel.com> glx: Move tests from tests/glx to src/glx/tests

This matches the organization of other unit tests in Mesa.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
4a5d020ee39576660f72283714822192294323b8 31-May-2012 Kenneth Graunke <kenneth@whitecape.org> automake: Add AM_PROG_AR before LT_INIT to silence a lot of warnings.

The warnings appear to occur with newer automake (probably 1.12).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/configure.ac
f3cdcb839f534a3062864b06ec6689717ed102a1 05-Jun-2012 Brad King <brad.king@kitware.com> configure.ac: Add --with-(gl|glu|osmesa)-lib-name options

These allow one to mangle the library names, without also mangling the
symbol names, to make them distinct from other GL libraries on the
system.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
279efce8bb7b6c802eb6c1de46971153ff6fdedb 29-May-2012 Eric Anholt <eric@anholt.net> automake: Merge the dricore libglsl build into libdricore.

Now we have just one library of "all of Mesa core" instead of both
libdricore and libglsl that drivers link against.

I did this change in a sort of nonrecursive make fashion: the
generated files are still produced in the non-automake build, like the
rest of dricore, but the GLSL files are stuffed into libdricore
without building a convenience library in src/glsl (even though we
could now). This would make a bit more sense if glsl was just another
dir under src/mesa, because right now I had to contort the prefix
variable name to look another ../ level up.
/external/mesa3d/configure.ac
7edbf4b3232eef7dac47a901829c586b61d8cbd2 15-May-2012 Eric Anholt <eric@anholt.net> automake: Convert src/Makefile to automake.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
07abd913b654a1a04a90db6203a92a14e4ae795a 15-May-2012 Eric Anholt <eric@anholt.net> automake: Move top-level makefile to automake.

This is part of a series to fix our build issues in the automake case
by hooking up the automatic Makefile regeneration support. The
extract_git_sha1 is moved into src/mesa/Makefile so that we get
correct dependency generation.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
4038dda6cd84395cb033f0d01bb7b2ba4d09e19d 15-May-2012 Eric Anholt <eric@anholt.net> mesa: Move the version information right into configure.ac.

Nothing else called version.mk.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
2c4f6ceeb466cb15df34670aaacbcbdd4aba5fd6 01-Jun-2012 Kristian Høgsberg <krh@bitplanet.net> configure.ac: Fail if egl x11 platform dependencies are not available

Currently, if you pass --with-egl-platforms=x11 but xcb-dri2 isn't available
we just silently fail and disables building the EGL DRI2 driver.

This commit cleans up the EGL platfrom checking and fails if a selected
platform can't find its required dependencies.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/configure.ac
a9cfd95c248c7d111a76c9d61f158086b289552d 31-May-2012 Tapani Pälli <tapani.palli@intel.com> automake: use -m32 in CCASFLAGS when using --enable-32-bit

this fixes libdricore directory build with --enable-32-bit on a x86_64 system

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/configure.ac
6a829a1b724ca0d960decee217d260b4de8a5463 30-Nov-2011 Adam Rak <adam.rak@streamnovation.com> r600g: compute support for evergreen

Tom Stellard:
- Updated for gallium interface changes
- Fixed a few bugs:
+ Set the loop counter
+ Calculate the correct number of pipes
- Added hooks into the LLVM compiler
/external/mesa3d/configure.ac
7a6b5d42d8f47bee84a6ef387a0939cac4569fb4 02-May-2012 Tom Stellard <thomas.stellard@amd.com> clover: Link to the necessary LLVM and Clang libs
/external/mesa3d/configure.ac
d416780f396c28be977430e0d2225fa4a95780bc 24-Apr-2012 Tom Stellard <thomas.stellard@amd.com> configure.ac: Add variables LLVM_CPPFLAGS and LLVM_LIBDIR
/external/mesa3d/configure.ac
c79e7668b205492f6e3a7e5d599f6eb6a9bd1eb9 12-Mar-2012 Tom Stellard <thomas.stellard@amd.com> configure.ac: Add option for libclc path
/external/mesa3d/configure.ac
d85e5123745e1657a63eba8912d56d82295e2c7d 20-Apr-2012 Tom Stellard <thomas.stellard@amd.com> configure.ac: Add HAVE_OPENCL AM_CONDITIONAL v2

v2:
- Drop HAVE_OPENCL variable for non-automake builds
- s/HAVE_OPENCL/HAVE_GALLIUM_COMPUTE

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/configure.ac
2224fb6047dd96cbc11d7f2093319e5eb49c0b6b 30-May-2012 Kenneth Graunke <kenneth@whitecape.org> automake: Check for 'indent' and fall back to 'cat' if not found.

The glapi generator code uses indent to produce more readable code.
However, we don't want to make GNU indent a hard build dependency; check
for it in configure.ac and fall back to 'cat' if it's not available.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50484
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Acked-by: Ben Widawsky <ben@bwidawsk.net>
/external/mesa3d/configure.ac
f9d1562f356a66b70f13324e3360d63e8602a35f 24-May-2012 Eric Anholt <eric@anholt.net> automake: Convert dricore building to automake.

This is performed in a subdirectory to avoid needing to convert all of
src/mesa/Makefile in one go.

I can now cherry-pick a commit containing glapi XML changes, do "(cd
src/mapi/glapi/gen && make) && make", and get a working driver.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
7d7fe1b0376d5017c21351c0df8168b733801570 16-May-2012 Eric Anholt <eric@anholt.net> automake: Rename variables in sources.mak to be automake compatible.

*_SOURCES is reserved for files lists for particular automake targets.
Also, "-" in the variable names is not allowed.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
0ce0f7c0c8fa9902678af7f3ecad2541be5808d2 15-May-2012 Eric Anholt <eric@anholt.net> mesa: Remove the generated glapi from source control, and just build it.

Mesa already always depends on python to build. The checked in
changes are not reviewed (because any trivial change rewrites the
world). We also have been pushing commits between xml change and
regen where at-build-time xml-generated code disagrees with committed
xml-generated code. And worst of all, sometimes we ("I") check in
*stale* xml-generated code.

Acked-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/configure.ac
ea8e854b2cefc3f3590b6c19e6108a471be951ba 07-May-2012 Paul Berry <stereotype441@gmail.com> i965: Completely annotate the batch bo when aub dumping.

Previously, when the environment variable INTEL_DEBUG=aub was set,
mesa would simply instruct DRM to start dumping data to an .aub file,
but we would not provide DRM with any information about the format of
the data in various buffers. As a result, a lot of the data in the
generate .aub file would be unannotated, making further data analysis
difficult.

This patch causes the entire contents of each batch buffer to be
annotated using the data in brw->state_batch_list (which was
previously used only to annotate the output of INTEL_DEBUG=bat). This
includes data that was allocated by brw_state_batch, such as binding
tables, surface and sampler states, depth/stencil state, and so on.

The new annotation mechanism requires DRM version 2.4.34.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/configure.ac
3d2bf91cc15885d93412a075ab575b607da55814 13-May-2012 ojab <ojab@ojab.ru> Filter out -Wcovered-switch-default from LLVM_CFLAGS

Signed-off-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/configure.ac
40507568047f5e5e044d1b5c25587f85a6f9bf53 16-May-2012 Homer Hsing <homer.hsing@gmail.com> configure.ac: Fix typos in the r600-llvm-compiler option

Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/configure.ac
24bc382010cc1f2021a7ce8c62626b9e90ee30d0 12-May-2012 Michel Dänzer <michel.daenzer@amd.com> radeonsi: Fixups for recent build infrastructure changes.

In particular for the pipe loader changes.
/external/mesa3d/configure.ac
79d77b38b85aa8e906d602dd106264a8010724f1 20-Apr-2012 Tom Stellard <thomas.stellard@amd.com> clover: Assorted build fixes.

Contains the following patches squashed in:

commit 9fff1dc0875f7c9591550fa3ebbe1ba7a18483fa
Author: Tom Stellard <thomas.stellard@amd.com>
Date: Tue Mar 20 23:20:03 2012 +0100

configure.ac: Build gallium loader when OpenCL is enabled

commit 542111cb02957418c6a285cb6ef2924e49adc66e
Author: Tom Stellard <thomas.stellard@amd.com>
Date: Tue Mar 20 23:30:29 2012 +0100

configure.ac: Add sw/null to GALLIUM_WINSYS_DIRS for gallium loader

commit 876f8de46062dde76b6075be3b6628f969b16648
Author: Tom Stellard <thomas.stellard@amd.com>
Date: Thu Feb 9 11:26:05 2012 -0500

configure.ac: Require gcc > 4.6.0 for clover

commit 99049d50fa3d9a23297ae658189c19c89dca1766
Author: Tom Stellard <thomas.stellard@amd.com>
Date: Tue Mar 20 23:32:06 2012 +0100

configure.ac: Require Gallium drm loader when gallium loader is enabled

No longer silently exclude this when building OpenCL drivers
for nouveau and r600.
/external/mesa3d/configure.ac
c6db1b3396384186aab5b685fe1fd540e17b3a62 20-Apr-2012 Francisco Jerez <currojerez@riseup.net> clover: Import OpenCL state tracker.
/external/mesa3d/configure.ac
b52a0f22813c8e09747ece41173c21f22d4fc369 20-Apr-2012 Francisco Jerez <currojerez@riseup.net> gallium/gbm: Switch to auxiliary/pipe-loader.

Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/configure.ac
66f7fd99fa1d8c8e3b09fadd5624db9968b67506 25-Apr-2012 Francisco Jerez <currojerez@riseup.net> gallium/tests/trivial: Switch to the pipe loader.

It simplifies things slightly, and besides, it makes possible to
execute the trivial tests on a hardware device instead of being
limited to software rendering.

Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/configure.ac
e1364530622a26f11c79694429cf84418a0b7ef7 25-Apr-2012 Francisco Jerez <currojerez@riseup.net> gallium: Add pipe loader for device enumeration and driver multiplexing.

The goal is to have a uniform interface to create winsys and
pipe_screen instances for any driver, exposing the device enumeration
capabilities that might be supported by the operating system (for now
there's a "drm" back-end using udev and a "sw" back-end that always
returns the same built-in devices).

The typical use case of this library will be:
>
> struct pipe_loader_device devs[n];
> struct pipe_screen *screen;
>
> pipe_loader_probe(&devs, n);
>[pick some device from the array...]
>
> screen = pipe_loader_create_screen(dev, library_search_path);
>[do something with screen...]
>
> screen->destroy(screen);
> pipe_loader_release(&devs, N);
>

A part of the code was taken from targets/gbm/pipe_loader.c, which
will be removed and replaced with calls into this library by a future
commit.
/external/mesa3d/configure.ac
e4c97f1e607f857fb7f397f9e00f37c00ffff295 13-Apr-2012 Dylan Noblesmith <nobled@dreamwidth.org> autoconf: pass -Wall to automake

And fix these warning that appear at autoreconf time:
"`:='-style assignments are not portable"

v2: Fix the recently-converted-to-automake r600.
/external/mesa3d/configure.ac
ced73ea5df306156e5383b438d6858e58b1479e5 17-Apr-2012 Tom Stellard <thomas.stellard@amd.com> r600g: Add hooks for the LLVM shader compiler

The LLVM backend can now be enabled for r600g by using the
--enable-r600-llvm-compiler configure flag. If you configure with this
flag, you can still use the default compiler by setting the envrionment
variable R600_USE_LLVM=0

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/configure.ac
adb8eca1d85624d9cf2519ad47f2c886556855fb 17-Apr-2012 Tom Stellard <thomas.stellard@amd.com> configure.ac: Move HAVE_LLVM definition into configure.ac

Otherwise HAVE_LLVM won't be included in the $(DEFINES) variable for
Automake generated Makefiles.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/configure.ac
cc7e0de009a0ab528fe950b17fa465a0a97988fc 16-Apr-2012 Eric Anholt <eric@anholt.net> glsl: Convert the tests directory to automake.

This runs optimization-test and produces the usual automake test
output, which may be interesting to automated build systems.

This doesn't convert the tests to be individually exposed to the
automake runner, because automake doesn't like wildcards (due to being
nonportable in make, not that we care).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
b814506e87f2de8b76fe6bcfa8d2f5daf4f5ef64 17-Apr-2012 Dave Airlie <airlied@redhat.com> configure.ac: add IA64 support.

ia64 on Linux can use DRI as well.

Reported-by: russiane39 on #radeon
Bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=48788
Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/configure.ac
6077b347ae72af548667cc06cfff99e7e12c6d9f 13-Apr-2012 Tom Stellard <tstellar@gmail.com> r600g: Use automake to generate Makefile
/external/mesa3d/configure.ac
a3d56734df2aaaf26d4405b0ecf8c5710148250e 02-Apr-2012 Dylan Noblesmith <nobled@dreamwidth.org> autoconf: add AM_PROG_CC_C_O

Prevents this error with Automake 1.9:

src/gallium/drivers/Makefile.am: C objects in subdir but
`AM_PROG_CC_C_O' not in `configure.ac'
autoreconf: automake failed with exit status: 1

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
a2fc42b899de22273c1df96091bfb5c636075cb0 11-Jan-2012 Ben Skeggs <bskeggs@redhat.com> nv30: import new driver for GeForce FX/6/7 chipsets, and Quadro variants

The primary motivation for this rewrite was to have a maintainable driver
going forward, as nvfx was quite horrible in a lot of ways.

The driver is heavily based on the design of the nv50/nvc0 3d drivers we
already have, and uses the same common buffer/fence code. It also passes
a HEAP more piglit tests than nvfx did, supports a couple more features,
and a few more to come still probably.

The CPU footprint of this driver is far far less than nvfx, and translates
into far greater framerates in a lot of applications (unless you're using
a CPU that's way way newer than the GPUs of these generations....)

Basically, we once again have a maintained driver for these chipsets \o/

Feel free to report bugs now!
/external/mesa3d/configure.ac
6d1cdec3ba151168bfc3aef222fba6265dfb41fb 06-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nouveau: switch to libdrm_nouveau-2.0
/external/mesa3d/configure.ac
66c7dc5688bcd5ff9c596f4c410aee574ea2428a 16-Feb-2012 Ben Skeggs <bskeggs@redhat.com> nvfx: completely remove this driver (GeForce FX/6/7)

This driver hasn't been maintained properly for a very long time, and for
many very good reasons. It's horrible.

A new driver supporting these chipsets will appear with the commits that
port vieux/nv50/nvc0 to libdrm_nouveau-2.0.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/configure.ac
2e47d01c9e5325906cf3bb979279599991c6328e 23-Dec-2011 Ben Skeggs <bskeggs@redhat.com> nouveau/vieux: switch to libdrm_nouveau-2.0
/external/mesa3d/configure.ac
a75c6163e605f35b14f26930dd9227e4f337ec9e 06-Jan-2012 Tom Stellard <thomas.stellard@amd.com> radeonsi: initial WIP SI code

This commit adds initial support for acceleration
on SI chips. egltri is starting to work.

The SI/R600 llvm backend is currently included in mesa
but that may change in the future.

The plan is to write a single gallium driver and
use gallium to support X acceleration.

This commit contains patches from:
Tom Stellard <thomas.stellard@amd.com>
Michel Dänzer <michel.daenzer@amd.com>
Alex Deucher <alexander.deucher@amd.com>
Vadim Girlin <vadimgirlin@gmail.com>

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

The following commits were squashed in:

======================================================================

radeonsi: Remove unused winsys pointer

This was removed from r600g in commit:

commit 96d882939d612fcc8332f107befec470ed4359de
Author: Marek Olšák <maraeo@gmail.com>
Date: Fri Feb 17 01:49:49 2012 +0100

gallium: remove unused winsys pointers in pipe_screen and pipe_context

A winsys is already a private object of a driver.

======================================================================

radeonsi: Copy color clamping CAPs from r600

Not sure if the values of these CAPS are correct for radeonsi, but the
same changed were made to r600g in commit:

commit bc1c8369384b5e16547c5bf9728aa78f8dfd66cc
Author: Marek Olšák <maraeo@gmail.com>
Date: Mon Jan 23 03:11:17 2012 +0100

st/mesa: do vertex and fragment color clamping in shaders

For ARB_color_buffer_float. Most hardware can't do it and st/mesa is
the perfect place for a fallback.
The exceptions are:
- r500 (vertex clamp only)
- nv50 (both)
- nvc0 (both)
- softpipe (both)

We also have to take into account that r300 can do CLAMPED vertex colors only,
while r600 can do UNCLAMPED vertex colors only. The difference can be expressed
with the two new CAPs.

======================================================================

radeonsi: Remove PIPE_CAP_OUTPUT_READ

This CAP was dropped in commit:

commit 04e324008759282728a95a1394bac2c4c2a1a3f9
Author: Marek Olšák <maraeo@gmail.com>
Date: Thu Feb 23 23:44:36 2012 +0100

gallium: remove PIPE_SHADER_CAP_OUTPUT_READ

r600g is the only driver which has made use of it. The reason the CAP was
added was to fix some piglit tests when the GLSL pass lower_output_reads
didn't exist.

However, not removing output reads breaks the fallback for glClampColorARB,
which assumes outputs are not readable. The fix would be non-trivial
and my personal preference is to remove the CAP, considering that reading
outputs is uncommon and that we can now use lower_output_reads to fix
the issue that the CAP was supposed to workaround in the first place.

======================================================================

radeonsi: Add missing parameters to rws->buffer_get_tiling() call

This was changed in commit:

commit c0c979eebc076b95cc8d18a013ce2968fe6311ad
Author: Jerome Glisse <jglisse@redhat.com>
Date: Mon Jan 30 17:22:13 2012 -0500

r600g: add support for common surface allocator for tiling v13

Tiled surface have all kind of alignment constraint that needs to
be met. Instead of having all this code duplicated btw ddx and
mesa use common code in libdrm_radeon this also ensure that both
ddx and mesa compute those alignment in the same way.

v2 fix evergreen
v3 fix compressed texture and workaround cube texture issue by
disabling 2D array mode for cubemap (need to check if r7xx and
newer are also affected by the issue)
v4 fix texture array
v5 fix evergreen and newer, split surface values computation from
mipmap tree generation so that we can get them directly from the
ddx
v6 final fix to evergreen tile split value
v7 fix mipmap offset to avoid to use random value, use color view
depth view to address different layer as hardware is doing some
magic rotation depending on the layer
v8 fix COLOR_VIEW on r6xx for linear array mode, use COLOR_VIEW on
evergreen, align bytes per pixel to a multiple of a dword
v9 fix handling of stencil on evergreen, half fix for compressed
texture
v10 fix evergreen compressed texture proper support for stencil
tile split. Fix stencil issue when array mode was clear by
the kernel, always program stencil bo. On evergreen depth
buffer bo need to be big enough to hold depth buffer + stencil
buffer as even with stencil disabled things get written there.
v11 rebase on top of mesa, fix pitch issue with 1d surface on evergreen,
old ddx overestimate those. Fix linear case when pitch*height < 64.
Fix r300g.
v12 Fix linear case when pitch*height < 64 for old path, adapt to
libdrm API change
v13 add libdrm check

Signed-off-by: Jerome Glisse <jglisse@redhat.com>

======================================================================

radeonsi: Remove PIPE_TRANSFER_MAP_PERMANENTLY

This was removed in commit:

commit 62f44f670bb0162e89fd4786af877f8da9ff607c
Author: Marek Olšák <maraeo@gmail.com>
Date: Mon Mar 5 13:45:00 2012 +0100

Revert "gallium: add flag PIPE_TRANSFER_MAP_PERMANENTLY"

This reverts commit 0950086376b1c8b7fb89eda81ed7f2f06dee58bc.

It was decided to refactor the transfer API instead of adding workarounds
to address the performance issues.

======================================================================

radeonsi: Handle PIPE_VIDEO_CAP_PREFERED_FORMAT.

Reintroduced in commit 9d9afcb5bac2931d4b8e6d1aa571e941c5110c90.

======================================================================

radeonsi: nuke the fallback for vertex and fragment color clamping

Ported from r600g commit c2b800cf38b299c1ab1c53dc0e4ea00c7acef853.

======================================================================

radeonsi: don't expose transform_feedback2 without kernel support

Ported from r600g commit 15146fd1bcbb08e44a1cbb984440ee1a5de63d48.

======================================================================

radeonsi: Handle PIPE_CAP_GLSL_FEATURE_LEVEL.

Ported from r600g part of commit 171be755223d99f8cc5cc1bdaf8bd7b4caa04b4f.

======================================================================

radeonsi: set minimum point size to 1.0 for non-sprite non-aa points.

Ported from r600g commit f183cc9ce3ad1d043bdf8b38fd519e8f437714fc.

======================================================================

radeonsi: rework and consolidate stencilref state setting.

Ported from r600g commit a2361946e782b57f0c63587841ca41c0ea707070.

======================================================================

radeonsi: cleanup setting DB_SHADER_CONTROL.

Ported from r600g commit 3d061caaed13b646ff40754f8ebe73f3d4983c5b.

======================================================================

radeonsi: Get rid of register masks.

Ported from r600g commits
3d061caaed13b646ff40754f8ebe73f3d4983c5b..9344ab382a1765c1a7c2560e771485edf4954fe2.

======================================================================

radeonsi: get rid of r600_context_reg.

Ported from r600g commits
9344ab382a1765c1a7c2560e771485edf4954fe2..bed20f02a771f43e1c5092254705701c228cfa7f.

======================================================================

radeonsi: Fix regression from 'Get rid of register masks'.

======================================================================

radeonsi: optimize r600_resource_va.

Ported from r600g commit 669d8766ff3403938794eb80d7769347b6e52174.

======================================================================

radeonsi: remove u8,u16,u32,u64 types.

Ported from r600g commit 78293b99b23268e6698f1267aaf40647c17d95a5.

======================================================================

radeonsi: merge r600_context with r600_pipe_context.

Ported from r600g commit e4340c1908a6a3b09e1a15d5195f6da7d00494d0.

======================================================================

radeonsi: Miscellaneous context cleanups.

Ported from r600g commits
e4340c1908a6a3b09e1a15d5195f6da7d00494d0..621e0db71c5ddcb379171064a4f720c9cf01e888.

======================================================================

radeonsi: add a new simple API for state emission.

Ported from r600g commits
621e0db71c5ddcb379171064a4f720c9cf01e888..f661405637bba32c2cfbeecf6e2e56e414e9521e.

======================================================================

radeonsi: Also remove sbu_flags member of struct r600_reg.

Requires using sid.h instead of r600d.h for the new CP_COHER_CNTL definitions,
so some code needs to be disabled for now.

======================================================================

radeonsi: Miscellaneous simplifications.

Ported from r600g commits 38bf2763482b4f1b6d95cd51aecec75601d8b90f and
b0337b679ad4c2feae59215104cfa60b58a619d5.

======================================================================

radeonsi: Handle PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION.

Ported from commit 8b4f7b0672d663273310fffa9490ad996f5b914a.

======================================================================

radeonsi: Use a fake reloc to sleep for fences.

Ported from r600g commit 8cd03b933cf868ff867e2db4a0937005a02fd0e4.

======================================================================

radeonsi: adapt to get_query_result interface change.

Ported from r600g commit 4445e170bee23a3607ece0e010adef7058ac6a11.
/external/mesa3d/configure.ac
94726d263ebee6364e9be2f254c3ca7d1f85dde4 06-Mar-2012 Eric Anholt <eric@anholt.net> glx: Hook up the unit tests again using the internal gtest.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/configure.ac
19a4c0646b62311d3df70653d0186fb4f7866fd3 06-Mar-2012 Eric Anholt <eric@anholt.net> gtest: Build as a convenience library.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/configure.ac
3ea3695b0495a56d9946a292e0e7cad4e0fb2fe0 04-Apr-2012 Alexandre Demers <alexandre.f.demers@gmail.com> st/xvmc: fix library installation dir

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=47878

v2: some reordering and while at it also fix the
comment in Makefile.xvmc

Signed-off-by: Christian König <deathsimple@vodafone.de>
/external/mesa3d/configure.ac
7d87c71a70c95d4fe3a94676128fd9524f048112 28-Mar-2012 Tom Stellard <tstellar@gmail.com> configure: Add --with-llvm-shared-libs

This option allows targets to link against the LLVM shared library
instead of the static libs. With LLVM 2.9, his saves ~11 MB for each of
the r300 target libraries.
/external/mesa3d/configure.ac
fc0a5e21d77ae2f082fd19dd2295e84f6fb7bd3b 26-Mar-2012 Christian König <deathsimple@vodafone.de> vl: move winsys helper out of winsys directory

They aren't winsys of their own,
just help dealing with them.

v2: add some more comments in vl_winsys.h

Signed-off-by: Christian König <deathsimple@vodafone.de>
/external/mesa3d/configure.ac
218f3a56637a189eb0163fb7c6a5d161a8b6c910 17-Mar-2012 Eric Anholt <eric@anholt.net> intel: Bump libdrm requirement to 2.4.32.

We'll need this for AUB dumping and unsynchronized maps.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
ca760181b4420696c7e86aa2951d7203522ad1e8 16-Mar-2012 Kristian Høgsberg <krh@bitplanet.net> shared-glapi: Convert to automake

This fixes a build problem where EGL links to libgbm.la, which encodes
a relative path to it's libglapi.so dependency. The relative path
breaks when the linker tries to resolve it from src/egl/main instead
of src/gbm. Typically we silently fall back to the system
libglapi.so, which is wrong and breaks when there isn't one.

Morale of the story: don't mix mklib and libtool.
/external/mesa3d/configure.ac
dc382e5c35a6e91a323789327c9a1ba3bc9f8c72 04-Mar-2012 Tom Stellard <tstellar@gmail.com> noop: Use non-recursive automake
/external/mesa3d/configure.ac
3f3f10f78c4ae5baa3344a2424b687518510c2fc 04-Mar-2012 Tom Stellard <tstellar@gmail.com> identity: Use non-recursive automake
/external/mesa3d/configure.ac
26ab747284e0d7ec5ef039c6ab3d50c3fab42ac4 04-Mar-2012 Tom Stellard <tstellar@gmail.com> galahad: Use non-recursive automake
/external/mesa3d/configure.ac
fe3f98ed70be01a49dd2e93870907d092fe4a283 03-Mar-2012 Tom Stellard <tstellar@gmail.com> gallium/drivers: Use automake to generate makefile
/external/mesa3d/configure.ac
66480c0f565eb5dc7ae4a5dc792341f6886f481a 24-Feb-2012 Christian König <deathsimple@vodafone.de> vl: use SwapBuffers instead of CopyBuffers

This should speed things up a bit, but also shows
some bugs with the kernel implementation.

v2: require xcb-dri2 version 1.8

Signed-off-by: Christian König <deathsimple@vodafone.de>
/external/mesa3d/configure.ac
80b40a4841a4af93a1bc93e4746a418a9cee0a55 23-Feb-2012 Christian König <deathsimple@vodafone.de> vl: rewrite vl DRI backend using XCB

v2: also set array_size of texture

Signed-off-by: Christian König <deathsimple@vodafone.de>
/external/mesa3d/configure.ac
e5f895485e03ac60efcb3f6f83ec1d3e33ef7ec2 06-Feb-2012 Eric Anholt <eric@anholt.net> egl/drivers: Convert to automake.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
88612029f6ce9d2717220a0ef31bfe71a8c85529 05-Feb-2012 Eric Anholt <eric@anholt.net> egl/main: Convert to automake.

The drivers/ walk-through-subdirs makefile is converted as well so I
didn't need to keep EGL_DRIVERS_DIRS along with the per-driver
HAVE_EGL_DRIVER_WHATEVER.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
28d92eff73a0821e7a73b04d3f50e715850dc5e9 05-Feb-2012 Eric Anholt <eric@anholt.net> egl: Clean up some flow of EGL platform handling.

The default case code was set up in a separate way, while this makes
it more normal. I wanted to add code to the explicit x11 platform and
default x11 platform cases in the next commit.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
8ffb098234fbc3d2e3c8b3db6912dec9ea7a65eb 05-Feb-2012 Eric Anholt <eric@anholt.net> glx: Convert to automake.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
e6fa2d89e14452b6bdf42c7eb4150fb2a2c46a4a 20-Feb-2012 Tom Stellard <tstellar@gmail.com> r300g: Use automake to generate Makefile v3

v2:
- s/$(top_builddir)/$(top_srcdir)/
- Always generate Makefile.in

v3:
- Fixes from Matt Turner
- Use Mesa CFLAGS
/external/mesa3d/configure.ac
dcf8ee7d6ac89bb2a9d608618a51604a3c78fe96 15-Feb-2012 Christian König <deathsimple@vodafone.de> st/xvmc: move xvmc state tracker out of xorg subdir

The xvmc state tracker is completely seperate and
doesn't shares code or anything else with the
xorg state tracker.

Signed-off-by: Christian König <deathsimple@vodafone.de>
/external/mesa3d/configure.ac
50683d2aa6456f3abec8387b0b02f67ab2cab3e5 06-Feb-2012 Chia-I Wu <olv@lunarg.com> mesa: enable remap table when --enable-shared-glapi

As libGL will use libglapi for function lookups, we need to enable the remap
table.

Tested-by: Brian Paul <brianp@vmware.com>
Tested-by: Matt Turner <mattst88@gmail.com>
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45660
/external/mesa3d/configure.ac
c0c979eebc076b95cc8d18a013ce2968fe6311ad 30-Jan-2012 Jerome Glisse <jglisse@redhat.com> r600g: add support for common surface allocator for tiling v13

Tiled surface have all kind of alignment constraint that needs to
be met. Instead of having all this code duplicated btw ddx and
mesa use common code in libdrm_radeon this also ensure that both
ddx and mesa compute those alignment in the same way.

v2 fix evergreen
v3 fix compressed texture and workaround cube texture issue by
disabling 2D array mode for cubemap (need to check if r7xx and
newer are also affected by the issue)
v4 fix texture array
v5 fix evergreen and newer, split surface values computation from
mipmap tree generation so that we can get them directly from the
ddx
v6 final fix to evergreen tile split value
v7 fix mipmap offset to avoid to use random value, use color view
depth view to address different layer as hardware is doing some
magic rotation depending on the layer
v8 fix COLOR_VIEW on r6xx for linear array mode, use COLOR_VIEW on
evergreen, align bytes per pixel to a multiple of a dword
v9 fix handling of stencil on evergreen, half fix for compressed
texture
v10 fix evergreen compressed texture proper support for stencil
tile split. Fix stencil issue when array mode was clear by
the kernel, always program stencil bo. On evergreen depth
buffer bo need to be big enough to hold depth buffer + stencil
buffer as even with stencil disabled things get written there.
v11 rebase on top of mesa, fix pitch issue with 1d surface on evergreen,
old ddx overestimate those. Fix linear case when pitch*height < 64.
Fix r300g.
v12 Fix linear case when pitch*height < 64 for old path, adapt to
libdrm API change
v13 add libdrm check

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/configure.ac
ffc8494db556f9e95b4bcc3d3c49d7c48b4e2f41 02-Feb-2012 Jon TURNEY <jon.turney@dronecode.org.uk> dri: Don't build libdricommon.la if we don't need it

Refine 80aa78142d12b21dd7d4f0edc786af98a159a80f "dri: make sure to build libdricommon.la"
so we don't build libdricommon if we aren't building a dri driver which needs it (i.e.
if we are just building swrast)

In particular, this restores the ability to build the swrast dri driver without having to
have a xf86drm.h

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
/external/mesa3d/configure.ac
b3c84a80cd7f6d7d6796cb196422c7be44ea47aa 03-Feb-2012 Eric Anholt <eric@anholt.net> mesa: Fix xcb-dri2 link flags leaking into LIBS.

Fixes the build of builtin_compiler on my 32-bit build where xcb-dri2
is in a custom prefix but the custom prefix flags weren't available.
It shouldn't have been in LIBS anyway.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
0d736b2076e61c4db1399b55e7bed898ad6d360d 14-Jan-2012 Colin Walters <walters@verbum.org> build: Note that we don't support srcdir != builddir

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/configure.ac
7ef94c6a0b7d2f7a8c6d03b12262b0b9e57e414c 01-Feb-2012 Matt Turner <mattst88@gmail.com> Revert "automake: src/mesa/drivers/osmesa"

This reverts commit 275ac7e5c1fd6c1847a428192fe259e50690fced.
/external/mesa3d/configure.ac
a99164956f1ade01909123ba196ef01282f41675 01-Feb-2012 Matt Turner <mattst88@gmail.com> Revert "automake: src/glsl and src/glsl/glcpp"

This reverts commit 9947656168d09f9019600fccc42ca8e0de49b83a.
/external/mesa3d/configure.ac
8c436b4ea670d4630767a742dac5aad14e18aef9 01-Feb-2012 Matt Turner <mattst88@gmail.com> Revert "Make sure libGL.so links with libglsl"

This reverts commit f53e7e981ef35ab64a084c8da6c67bd2d230fe33.
/external/mesa3d/configure.ac
f53e7e981ef35ab64a084c8da6c67bd2d230fe33 31-Jan-2012 Matt Turner <mattst88@gmail.com> Make sure libGL.so links with libglsl

Can't link against *.la files if we're not using libtool to link.

Fixes undefined symbol: _ZN23ir_hierarchical_visitor5visitEP11ir_variable
/external/mesa3d/configure.ac
9947656168d09f9019600fccc42ca8e0de49b83a 27-Jan-2012 Matt Turner <mattst88@gmail.com> automake: src/glsl and src/glsl/glcpp

Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
dfb6142548df0dccbe6eed2c57986e208eb0d437 13-Jan-2012 Matt Turner <mattst88@gmail.com> autoconf: use AC_PROG_YACC/LEX

Needed for automake. Using AC_PROG_PATH(bison/flex) causes automake to
fail to build .y and .l files.

It is up to the builder to use bison/flex instead of yacc/lex.

Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
275ac7e5c1fd6c1847a428192fe259e50690fced 27-Jan-2012 Matt Turner <mattst88@gmail.com> automake: src/mesa/drivers/osmesa
/external/mesa3d/configure.ac
b9aab8b3b3769b9c5121686efe3446dae770b951 27-Jan-2012 Eric Anholt <eric@anholt.net> autoconf: Enable missing-prototypes errors when available.

After the removal of the dri driver link test, this should help avoid
the original problem that it was designed to catch: The warning about
a missing prototype due to typoing a function name scrolling by in the
Mesa build spew, and you not noticing until you try to run an
application and it falls back to swrast.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
25ee5a27f30aaeb83232de9bada82534d2d504fc 29-Jan-2012 ojab <ojab@ojab.ru> Use only native engine & bitwriter LLVM libraries for linking.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/configure.ac
b728eefb06c26e4b5a25db31bbda9fcf4d015e17 05-May-2011 Jeremy Huddleston <jeremyhu@apple.com> configure.ac: Don't use $CLANG since it will collide with the static analyzer.

We just prefix the $CLANG environment variable in configure.ac with acv_mesa_

Found by: tinderbox
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/configure.ac
0c1782316721cbf8391e01aa6fd083c34aec01a0 14-Jan-2012 Matt Turner <mattst88@gmail.com> configure.ac: remove shared/static options

now that libtool provides them.
/external/mesa3d/configure.ac
80aa78142d12b21dd7d4f0edc786af98a159a80f 27-Jan-2012 Matt Turner <mattst88@gmail.com> dri: make sure to build libdricommon.la
/external/mesa3d/configure.ac
412042523e80ddb19196851b6e729238b5cc0609 26-Jan-2012 Benjamin Franzke <benjaminfranzke@googlemail.com> configure: Use WAYLAND_SCANNER_RULES only if available

This has the drawback that when creating configure for
distribution, wayland needs to be available for the packager.

Also the the macros has the wayland prefix hardcoded, so
we cant copy it in mesa right now.
/external/mesa3d/configure.ac
8b902056d53e0e14f7d58ac7f95091ab06abc72e 24-Jan-2012 Benjamin Franzke <benjaminfranzke@googlemail.com> automake: src/egl/wayland

So we can use the wayland scanner makro, which is way
better than our previous runtime-pkgconfig hack.

Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
c2e2b58a58880c9b9f189fc154205e99144e9502 24-Jan-2012 Christian König <deathsimple@vodafone.de> st/xvmc: remove xorg-server dependency

Fixing a circular build dependency.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Christian König <deathsimple@vodafone.de>
/external/mesa3d/configure.ac
027ce0c493a85c863df88b43f61aea34bcd4cd58 24-Jan-2012 Matt Turner <mattst88@gmail.com> Revert "Always build shared glapi"

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
/external/mesa3d/configure.ac
06ad64ad29e7aa9e2d001f6bd1f8c1c1f77050b8 16-Jan-2012 Matt Turner <mattst88@gmail.com> automake: src/gbm

libgbm.so.1.0.0 (instead of libgbm.so.1.0) is installed now
along with libgbm.so.1 (no change).
/external/mesa3d/configure.ac
36473395f1e7574fc22fd4f5210ad6a8def76d91 18-Jan-2012 Eric Anholt <eric@anholt.net> autoconf: Fix build of dri symbols test to not manually link expat.

AC_CHECK_LIB has this nasty behavior, like the cflags tests, of
automatically putting the tested value into the global LIBS on
success. This caused -lexpat to end up in LIBS, but without the
--with-expat dir, so my 32-bit build on a 64 system using expat from a
custom prefix could only find the system expat and fail to link on the
one current consumer of the LIBS variable: the dri driver test link.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
0fce6d3a77f035753e2deebfc4c6bf2abe561314 22-Jan-2012 Jon TURNEY <jon.turney@dronecode.org.uk> Don't build shared dricore when unneeded

Refine "always build shared dricore" so we don't build it if we don't need
it because we aren't actually building any dri drivers because of --disable-driglx-direct

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
fd827a8d3e86d62d7286362c22945b0d206a0b88 22-Jan-2012 Matt Turner <mattst88@gmail.com> configure.ac: use AC_PROG_MKDIR_P

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45057
/external/mesa3d/configure.ac
d387899388bd7090bda50593e35f8ed3cb730c47 20-Jan-2012 Matt Turner <mattst88@gmail.com> Remove src/mesa/ppc

It didn't actually do anything except modify the GL_RENDERER string.
/external/mesa3d/configure.ac
129213e7a2985e2dc599c392dcd570e76c5f3249 15-Jan-2012 Matt Turner <mattst88@gmail.com> automake: src/mesa/drivers/dri
/external/mesa3d/configure.ac
349845f7b2a85bb8589ddc211d36887b2022eee4 15-Jan-2012 Matt Turner <mattst88@gmail.com> automake: src/mesa/drivers/dri/swrast
/external/mesa3d/configure.ac
3f96434f86de1641296a9c39b9f75d85e6955207 15-Jan-2012 Matt Turner <mattst88@gmail.com> automake: src/mesa/drivers/dri/nouveau
/external/mesa3d/configure.ac
b38d7a0a248c2a3ad227cb5d21c1c95a6519e4ae 15-Jan-2012 Matt Turner <mattst88@gmail.com> automake: src/mesa/drivers/dri/r200
/external/mesa3d/configure.ac
e0ee818e2f24f3d9604c04df4a056798bccc48ec 15-Jan-2012 Matt Turner <mattst88@gmail.com> automake: src/mesa/drivers/dri/radeon
/external/mesa3d/configure.ac
3c87dfce403ad3c2fed7998b16bea34dcb0c9fde 15-Jan-2012 Matt Turner <mattst88@gmail.com> automake: src/mesa/drivers/dri/i915
/external/mesa3d/configure.ac
2b3a8cbc891894417510fbc72cb108c5835adcf5 13-Jan-2012 Matt Turner <mattst88@gmail.com> Always build shared dricore

Tested-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
adefee50d954151f76150af80207081ae3c247d9 12-Jan-2012 Matt Turner <mattst88@gmail.com> Always build shared glapi

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 <kenneth@whitecape.org>
Signed-off-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
2fdbbeca43e7b57095774e4228e6eea75a180fab 12-Jan-2012 Matt Turner <mattst88@gmail.com> Remove -ffast-math from default CFLAGS

Fixes glsl-const-folding-01. inversesqrt(1.0) != 1.0 was evaluating as
true.

Signed-off-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
7fa5c919b0025f02e5d2a7de8f59e6109bfe3cb9 12-Jan-2012 Eric Anholt <eric@anholt.net> mesa: Enable silent automake rules when available.

Finally, a quiet build for the i965 driver, at least! (Note, you can
still get verbose builds at build-time by saying "make V=1")

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
e326480e4ebe8687948041c2dc5f5b7595559a2e 12-Jan-2012 Eric Anholt <eric@anholt.net> i965: Convert the build to using automake.

This does introduce a warning by the automake build system, that the
missing-symbols test build is non-portable. That's true -- Mac OS X
can't take something built as a loadable module and just link it as a
library. Of course, we aren't building this on OS X at all, so it
would be nice to be able to suppress it, but I haven't found a way.

Still, the build is going to be much quieter than we have ever had
before, so I think this is a fair tradeoff until we find a way to shut
that warning up.

v2: Put a link in /lib to avoid transition pains for people.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (v1)
Reviewed-by: Matt Turner <mattst88@gmail.com> (v1)
/external/mesa3d/configure.ac
87118d84ff11c040f677c7506afb813def1b9ff9 12-Jan-2012 Thomas Hellstrom <thellstrom@vmware.com> configure: Add the svga gallium driver to the default gallium drivers

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/configure.ac
3a343ef3465c828d6f2285498e1eb86929c74690 11-Jan-2012 Matt Turner <mattst88@gmail.com> configure.ac: use AC_PROG_SED

It looks like AC_PROG_SED was added in 2.59b, and wasn't in the
original 2.59 in the original 2.59. Presumably that's why, though
it could've been an oversight.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
198892c044ce508b43450eeb48828e0b9d31052b 11-Jan-2012 Matt Turner <mattst88@gmail.com> configure.ac: don't set HAVE_GTEST twice

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
de88e00c941d7d2d29ad5cbb87253ae116feab0e 05-Jan-2012 Kenneth Graunke <kenneth@whitecape.org> configure.ac: Remove unused GLUT substitutions.

GLUT was removed from the main tree a while ago; nothing uses these
substitutions.

Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/configure.ac
c4089d444a1736dba0c3d9c389ac216ce8711da8 30-Dec-2011 Eric Anholt <eric@anholt.net> i965/gen7: Use the updated interface for SO write pointer resetting.

The new kernel patch I submitted makes the interface opt-in, so all
batchbuffers aren't preceded by the 4 MI_LOAD_REGISTER_IMMs. This
requires the updated i915_drm.h present in libdrm 2.4.30.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
2fe6c254f72628c22473800c5ce002d09391d102 05-Jan-2012 ojab <ojab@ojab.ru> Strip LLVM svn rev from `llvm-config --version` output.

Reviewed-by: Vinson Lee <vlee@freedesktop.org>
/external/mesa3d/configure.ac
9d21b5dd265959b28ab1e4103fb381074ec51a08 05-Jan-2012 Kenneth Graunke <kenneth@whitecape.org> Revert "configure.ac: remove deprecated --with-driver="

This reverts commit 5a478976ae0bb12dd712648d5a9b988dd29c97ef.

It broke the build. DRI drivers were no longer being installed by
`make install` (and probably not being built at all). It appears to be
due to a few small, subtle mistakes, and the fix isn't clear enough to
simply commit without going through review. In the meantime, revert it.
/external/mesa3d/configure.ac
5172383de0e7012b15c503db685b5c2ea3bfda2b 24-Dec-2011 Matt Turner <mattst88@gmail.com> configure.ac: bump AC_PREREQ to 2.60

All other xorg modules require at least 2.60 (released in 2006), so we
may as well increase it to match. It's also doubtful anyone tests the
build with 2.59 (from 2003), so it may not even work anyway.
/external/mesa3d/configure.ac
5a478976ae0bb12dd712648d5a9b988dd29c97ef 24-Dec-2011 Matt Turner <mattst88@gmail.com> configure.ac: remove deprecated --with-driver=

See 9e7a4147.
/external/mesa3d/configure.ac
4becf676e0b09b421821b6895251549ec98d4e5d 03-Jan-2012 Ian Romanick <ian.d.romanick@intel.com> glx: More hacking around versions of XCB that lack GLX_ARB_create_context support

Detect whether a new enough version of XCB is installed at configure
time. If it is not, don't enable the extension and don't build the
unit tests.

v2: Move the AM_CONDIATION outside the case-statement so that it is
invoked even for non-GLX builds. This prevents build failures with
osmesa, for example.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Robert Hooker <robert.hooker@canonical.com>
/external/mesa3d/configure.ac
2f1ab63fab592264c13e7dbab39a5cea1a622903 04-Jan-2012 Matt Turner <mattst88@gmail.com> configure.ac: fix typo from 3ef3ba4d2
/external/mesa3d/configure.ac
b518dfb513742984f27577d25566f93afd86d4fc 03-Jan-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: XCB is no longer optional for GLX or DRI

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/configure.ac
3ef3ba4d2eee36f64062a21ce030c3f4d8c4cac4 16-Dec-2011 Ian Romanick <ian.d.romanick@intel.com> tests/glx: Add unit tests for GLX_ARB_create_context GLX protocol

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 <ian.d.romanick@intel.com>
Acked-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/configure.ac
aa284042a3116224f623ce8ec1680997c6818827 19-Dec-2011 Johannes Obermayr <johannesobermayr@gmx.de> Fix build with LLVM >= r145623.

This is a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=43861.

Actually the issue which makes -pedantic failing should be solved.

Reviewed-by: Michel Dänzer <michel@daenzer.net>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
0a22fb6a5d519ca26d423fa4a9404697dca56cbf 29-Nov-2011 Kai Wasserbäch <kai@dev.carbon-project.org> gallium/failover: Remove the deprecated module.

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/configure.ac
2c27f204f1ca6f09f9520712be1da9a13ed5c01d 29-Nov-2011 Kai Wasserbäch <kai@dev.carbon-project.org> i965g: Delete this driver.

Never completed, and no plans to do so.

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/configure.ac
8f15c31338e4c0e105ddc602773682375395b00b 28-Nov-2011 Daniel Vetter <daniel.vetter@ffwll.ch> gallium/i965g: hide that utterly broken driver better

And warn loudly in case people want to use it. Too many tester report
gpu hangs on irc and we rootcause this ...

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/configure.ac
32b1641a59610d94c0b56bf0494b2fc1cf400e3e 24-Nov-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa, xa/vmwgfx: Generate exported symbol list from the st/xa symbols.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/configure.ac
95ef069e1cc2a98a77ea14d63ff1769beeb67c14 05-Nov-2011 Chia-I Wu <olvaffe@gmail.com> configure.ac: gbm_gallium requires DRI_LIB_DEPS to link

gbm_gallium does not depend on DRI, but its build rules depend on DRI_LIB_DEPS
being set. Output an error when the user enables gbm_gallium but disables
DRI. This is just a workaround.
/external/mesa3d/configure.ac
0c771e260b20de06aa0a9671130119304e9fe0db 04-Nov-2011 Chia-I Wu <olvaffe@gmail.com> shared-glapi: fix a linking error for SELinux

Link with -lselinux when SELinux is enabled.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41571
/external/mesa3d/configure.ac
3faf56ffbdebef04345ebb1fa8e0d50b4beeedb2 22-Oct-2011 Eric Anholt <eric@anholt.net> intel: Add an interface for saving/restoring the batchbuffer state.

This will be used to avoid the prepare() step in the i965 driver's
state setup. Instead, we can just speculatively emit the primitive
into the batchbuffer, then check if the batch is too big, rollback and
flush, and replay the primitive.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/configure.ac
830e546f94c53d3f6878a188a2bdb5d2f3cf74bd 14-Oct-2011 Eric Anholt <eric@anholt.net> radeon: Insist on libdrm being present to build.

There's no sense in building a broken driver. Previously, there was
the potential of building a DRI1-only driver that would work for DRI1
and fail on DRI2 because the newer libdrm code wasn't present. Now
the radeon build system should be matching intel and nouveau.
/external/mesa3d/configure.ac
48c9925367034b6fac506f1f32d445c5bd825a49 14-Oct-2011 Eric Anholt <eric@anholt.net> configure.ac: Fix equality checks in gallium st setup.
/external/mesa3d/configure.ac
2f4c7ebea683de1d84501cfd11dbb963e7c027f6 20-Oct-2011 Eric Anholt <eric@anholt.net> mesa: Remove build infrastructure for r300c and r600c.

These drivers have been superseded by the gallium equivalents.
/external/mesa3d/configure.ac
df8f864bf6fb8dfd256455a5310ef70f820a5350 18-Oct-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> gallium/targets: Add vdpau target for nouveau

Should fall back to shader based decoding (g3dvl) for now.

This is probably broken on systems that support xvmc, because
nouveau_video_buffer_create has no way to know for what api
the buffer is created, so I think this call might need a
separate argument as workaround.

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
/external/mesa3d/configure.ac
757390491cfa3b861fab76940a8c6e508d1f1a25 13-Oct-2011 Marcin Slusarz <marcin.slusarz@gmail.com> gallium/targets: use c++ compiler for linking

As pointed out by Michel Dänzer, gcc -lstdc++ doesn't work on all systems,
because it may require other libraries which are only pulled in implicitly
by g++. And libstdc++ is available only with GNU compiler.

Use c++ compiler for linking and remove redundant LDFLAGS += -lstdc++
all over the tree.
/external/mesa3d/configure.ac
c0573fb29df6defe58f4898f0b8a42e8b9214d36 10-Oct-2011 Tom Fogal <tfogal@alumni.unh.edu> Add an autoconf option for mangling Mesa.

In addition to setting up the flags correctly, this renames the
generated libraries to ensure they get 'Mangled' in the name.
This is very useful for distros and the like, where mangled Mesa
and non-mangled GL libraries typically need to be installed
side-by-side.

Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
1448bdf1c0995e3ac2e0f97c51e5e2d73eded8e0 14-Oct-2011 José Fonseca <jfonseca@vmware.com> configure: Use -fno-builtin-memcmp.

Issue spotted by Adam Jackson <ajax at redhat.com>.

http://lists.freedesktop.org/archives/mesa-dev/2011-June/009077.html
/external/mesa3d/configure.ac
bf0baa771709e1076613cf9f9bed6ac004dd0439 27-Sep-2011 Marek Olšák <maraeo@gmail.com> r600g: move all files from winsys/r600 into drivers/r600

Be sure to reconfigure after this commit.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/configure.ac
d742a64909b2b414fc94b6f525a13ce09ca7f9f7 29-Sep-2011 Thomas Hellstrom <thellstrom@vmware.com> xorg/vmwgfx: Kill this target. It's not used anymore.

This fixes a build error introduced with commit
"winsys/svga: Update to vmwgfx kernel module 2.1"
if both the svga driver and the xorg state tracker was enabled
at the same time.

If needed we can re-add a minimal target for basic functionality.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
/external/mesa3d/configure.ac
3c799623785a835c620cec9be28247ca7ab21b2b 27-Sep-2011 Marek Olšák <maraeo@gmail.com> configure.ac: unduplicate gallium directories

It may happen when two drivers share one winsys.
/external/mesa3d/configure.ac
a5f8d37be141fac5c4ac605163a552ac64324e15 20-Sep-2011 Chia-I Wu <olv@lunarg.com> st/egl: add support for null platform

The backend calls null_sw_create() to create sw_winsys. And that is
pretty much it...
/external/mesa3d/configure.ac
f534c1341347438ed7607b0afa12244df8f1cd0a 18-Sep-2011 Matt Turner <mattst88@gmail.com> Remove unused APP_LIB_DEPS variable

Unused since removal of demos from the repository?

Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
e4344161bde2e24fcfba65d30d58f087bd8bf94d 25-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> dri: Remove all DRI1 drivers

Acked-by: Kristian Høgsberg <krh@bitplanet.net>
Acked-by: Marek Olšák <maraeo@gmail.com>
Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Build-Tested-by: Jakob Bornecrantz <jakob@vmware.com>
Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
/external/mesa3d/configure.ac
433c740c1a2c173445c0bb161522bf7a76fa49c6 22-Aug-2011 Michel Dänzer <michel.daenzer@amd.com> r600g: Hook up xorg state tracker.

Mostly copied from r300g.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/configure.ac
ce12f826927cf2d3ac3fd70d893abfb07adc23db 22-Jul-2011 Marek Olšák <maraeo@gmail.com> r600g: first step into winsys/radeon

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/configure.ac
63720114b4234f5522eb8dee8f4b0c0db561a8c3 06-Aug-2011 Kenneth Graunke <kenneth@whitecape.org> glw: Remove GLw source.

libGLw is an old OpenGL widget library with optional Motif support.
It almost never changes and very few people actually still care about
it, so we've decided to ship it separately.

The new home for libGLw is: git://git.freedesktop.org/mesa/glw/

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
85fe9484945cb57ffd49df248b0e5057eba6af04 09-Aug-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl: Native Display autodetection

EGL doesnt define howto manage different native platforms.
So mesa has a builtime configurable default platform,
whith non-standard envvar (EGL_PLATFORM) overwrites.
This caused unneeded bugreports, when EGL_PLATFORM was forgotten.

Detection is grouped into basic types of NativeDisplays (which itself
needs to be detected). The final decision is based on characteristcs
of these basic types:

File Desciptor based platforms (fbdev):
- fstat(2) to check for being a fd that belongs to a character device
- check kernel subsystem (todo)

Pointer to structuctures (x11, wayland, drm/gbm):
- mincore(2) to check whether its valid pointer to some memory.
- magic elements (e.g. pointers to exported symbols):
o wayland display stores interface type pointer (first elm.)
o gbm stores pointer to its constructor (first elm.)
o x11 as a fallback (FIXME?)

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/configure.ac
0aed27ee37860ba332df776425d89d97ca1168b2 26-Jul-2011 Marek Olšák <maraeo@gmail.com> configure.ac: add DLOPEN_LIBS to xlib build

Otherwise xlib-based llvmpipe fails to link.

NOTE: This is a candidate for the 7.11 branch.
/external/mesa3d/configure.ac
c6f59fcd00101a2f93a5a97d679f3b160ef0126a 26-Jul-2011 Marek Olšák <maraeo@gmail.com> configure.ac: fix xlib-based softpipe build

Tested-by: Jon TURNEY <jon.turney@dronecode.org.uk>

NOTE: This is a candidate for the 7.11 branch.
/external/mesa3d/configure.ac
99fba503b112a69a2fc14b7dd40684d9a6a1972a 23-Jul-2011 Marek Olšák <maraeo@gmail.com> configure.ac: do not check for llvm-config if llvm is disabled

NOTE: This is a candidate for the 7.11 branch.
/external/mesa3d/configure.ac
42cdf4074e0f7d561b03a86255fa8f916f906bf6 25-Jul-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> configure: Move gbm before egl in SRC_DIRS

egl_dri2 built into libEGL depends on libgbm.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39515
/external/mesa3d/configure.ac
50e32fefb1140a42101b1154d3df78db4906ee38 21-Jul-2011 Marek Olšák <maraeo@gmail.com> configure.ac: check for libdrm_radeon only when building classic
/external/mesa3d/configure.ac
c2426bbf862850504f24e7d9765e64a75b873f3b 15-Jul-2011 Emil Velikov <emil.l.velikov@gmail.com> configure.ac: Check for the respective libdrm_* when building gallium drivers

In a rare case of building gallium only, we need to
check if the required packages are available

libdrm_[intel|nouveau] - gallium[i915 i965|nouveau]

v2: r300g and r600g do not need libdrm_radeon

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/configure.ac
d4be170e8b5c16f9e3218da0158d9023c6af90d4 15-Jul-2011 Younes Manton <younes.m@gmail.com> g3dvl: Build softpipe when needed.
/external/mesa3d/configure.ac
b97816ddeeda33215db073a0ac1aaabe98d2af68 14-Jul-2011 Younes Manton <younes.m@gmail.com> g3dvl: Build the right winsys dependencies when needed.
/external/mesa3d/configure.ac
9a7f84d6b28e180ef79349b36de9a5d58a1e2dc9 14-Jul-2011 José Fonseca <jfonseca@vmware.com> Squashed commit of the following:

commit 1856230d9fa61710cce3e152b8d88b1269611a73
Author: José Fonseca <jose.r.fonseca@gmail.com>
Date: Tue Jul 12 23:41:27 2011 +0100

make: Use better var names on packaging.

commit d1ae72d0bd14e820ecfe9f8f27b316f9566ceb0c
Author: José Fonseca <jose.r.fonseca@gmail.com>
Date: Tue Jul 12 23:38:21 2011 +0100

make: Apply several of Dan Nicholson's suggestions.

commit f27cf8743ac9cbf4c0ad66aff0cd3f97efde97e4
Author: José Fonseca <jose.r.fonseca@gmail.com>
Date: Sat Jul 9 14:18:20 2011 +0100

make: Put back the tar.bz2 creation rule.

Removed by accident.

commit 34983337f9d7db984e9f0117808274106d262110
Author: José Fonseca <jose.r.fonseca@gmail.com>
Date: Sat Jul 9 11:59:29 2011 +0100

make: Determine tarballs contents via git ls-files.

The wildcards were a mess:
- lots of files for non Linux platforms missing
- several files listed and archived twice

Using git-ls-files ensures things are not loss when making the tarballs.

commit 34a28ccbf459ed5710aafba5e7149e8291cb808c
Author: José Fonseca <jose.r.fonseca@gmail.com>
Date: Sat Jul 9 11:07:14 2011 +0100

glut: Remove GLUT source.

Most distros ship freeglut, and most people don't care one vs the other,
and it hasn't been really maintained.

So it is better to have Mesa GLUT be revisioned and built separately
from Mesa.

commit 5c26a2c3c0c7e95ef853e19d12d75c4f80137e7d
Author: José Fonseca <jose.r.fonseca@gmail.com>
Date: Sat Jul 9 10:31:02 2011 +0100

Ignore the tarballs.

commit 26edecac589819f0d0efe2165ab748dbc4e53394
Author: José Fonseca <jose.r.fonseca@gmail.com>
Date: Sat Jul 9 10:30:24 2011 +0100

make: Create the Mesa-xxx-devel symlink automatically.

Also actually remote the intermediate uncompressed tarballs.
/external/mesa3d/configure.ac
ff2efdf5997d20b41f7a82b77118366e6fbd23bc 13-Jul-2011 Marcin Baczyński <marbacz@gmail.com> configure: allow C{,XX}FLAGS override

NOTE: This is a candidate for the 7.11 branch.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
fa013419deec41c2771bf4744e0f8a2bca3346d2 13-Jul-2011 Marcin Baczyński <marbacz@gmail.com> configure: fix gcc version check

NOTE: This is a candidate for the 7.11 branch.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
8619aa5683eb16c12a1b2eaeab2378855791ec8c 14-Jul-2011 Christian König <deathsimple@vodafone.de> g3dvl: check for existense of VA API header/libs

Building the VA state tracker only works when the header/libs are available.
Also add a warning that the state tracker is currently undmaintained.
/external/mesa3d/configure.ac
33bf410acedeaabe5c91e002e9194c383b4e1d9b 14-Jul-2011 Christian König <deathsimple@vodafone.de> g3dvl: check for existense of VDPAU header/libs

Building the VDPAU state tracker only works when the header/libs are available.
/external/mesa3d/configure.ac
a8ae8cf3f12e2cda4dd2eaaffab93fec2c23925a 14-Jul-2011 Christian König <deathsimple@vodafone.de> g3dvl: check for existense of XvMC header/libs

Building the XvMC state tracker only works when the header/libs are available.
/external/mesa3d/configure.ac
02c8ee202f5a159659a027deae4721ff05cd1530 27-Jun-2011 Marek Olšák <maraeo@gmail.com> configure.ac: don't build gallium driver libs just to see if there are no errors

I think the past are those times when the gallium interface was changed all
the time. Now it is not, so there is no reason to always compile the libs
if they are not needed.
/external/mesa3d/configure.ac
67aba799bc9f32bf60b1587bc7e6072dfadff13d 27-Jun-2011 Marek Olšák <maraeo@gmail.com> gallium/targets: do not link every driver with libllvmpipe.a

Only some targets need that, the others don't.
/external/mesa3d/configure.ac
ed24e19070b7dff12670151b2d184f31c845ccae 13-Jul-2011 Christian König <deathsimple@vodafone.de> Merge branch 'pipe-video'
4ef9c3d21b65ff0a9280d3f3ad4c45f0442c6c4f 11-Jul-2011 Emil Velikov <emil.l.velikov@gmail.com> autoconf: Do not select Xlib when building DRI

As Chia-I Wu said 'There are two libGL providers, Xlib and DRI based
they cannot coexist'

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/configure.ac
db311b45beb60630ad3e3c803631c2b6c1472347 22-Jun-2011 Ian Romanick <ian.d.romanick@intel.com> configure.ac: Make --{without,with}-gallium-drivers work as expected

This version is mostly Dan's post to the mesa-dev mailing list on
6/22/2011.

NOTE: This is a candidate for the 7.10 and 7.11 branches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
be039d296d2deeb6dbdc4cdb85c203051488482c 11-Jul-2011 Marek Olšák <maraeo@gmail.com> configure.ac: do not let llvm-config define NDEBUG in debug builds

Re-enables assertions in src/mesa.
/external/mesa3d/configure.ac
f919547f3785b1d8839b9fc5c00ac397e30896a1 11-Jul-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_state_inlines.h
1e39fc784bc3d0d5ad01d9c147529ac0e10f1262 05-May-2011 Jesse Barnes <jbarnes@virtuousgeek.org> DRI2/GLX: use new swap event types

Use the new swap event type so we get valid SBC values.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
/external/mesa3d/configure.ac
c3b2230b71cb3a00a7f4c0987197d397bada650b 04-Jul-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video

Conflicts:
configure.ac
src/gallium/drivers/r600/r600_state_inlines.h
src/gallium/tests/trivial/Makefile
src/gallium/winsys/g3dvl/dri/XF86dri.c
src/gallium/winsys/g3dvl/dri/driclient.c
src/gallium/winsys/g3dvl/dri/driclient.h
src/gallium/winsys/g3dvl/dri/xf86dri.h
src/gallium/winsys/g3dvl/dri/xf86dristr.h
src/gallium/winsys/r600/drm/r600_bo.c
424b1210d951c206e7c2fb8f2778acbd384eb247 04-Jul-2011 Thomas Hellstrom <thellstrom@vmware.com> Merge branch 'xa_branch'

Conflicts:
configure.ac

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
7ed1826e2e2a5b5c4840821c92ef7273efe32e24 02-Jul-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> configure: Require libudev for drm & wayland egl platforms

NOTE: This is a candidate for the 7.11 branch.
/external/mesa3d/configure.ac
9b8cd499303d9bcb60f40ef14553cb38cea6a897 02-Jul-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> configure: Fix typo in gbm check for egl drm platform

NOTE: This is a candidate for the 7.11 branch.
/external/mesa3d/configure.ac
b18b2994eff2f51588abe29c7a2209220c9ee9c5 02-Jul-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> configure: Enable st/gbm if st/egl has drm platform

NOTE: This is a candidate for the 7.11 branch.
/external/mesa3d/configure.ac
8123934d5a6a4a25a30dcd77e9f0f0d7b7b74a74 02-Jul-2011 Chia-I Wu <olv@lunarg.com> autoconf: swrast does not require libdrm

This fixes

$ ./configure --disable-driglx-direct \
--with-dri-drivers=swrast \
--with-gallium-drivers=
/external/mesa3d/configure.ac
94ec5fd1b37077c3be8ef5d275b641654f87504c 27-Jun-2011 Chia-I Wu <olv@lunarg.com> autoconf: fix --disable-glx

libdrm is used in multiple places. Always check for it and set
have_libdrm. Each user can then check the variable.

This is useful when only EGL and DRI drivers are needed.
/external/mesa3d/configure.ac
5029ea4d9c0594ef6c08dd59d49a2646ab78b583 27-Jun-2011 Chia-I Wu <olvaffe@gmail.com> autoconf: fix --disable-dri

Define GLX_INDIRECT_RENDERING and GLX_DIRECT_RENDERING when $enable_glx,
not $enable_dri.
/external/mesa3d/configure.ac
9e7a4147c730adda047aae66c17f07d9de5b4a28 26-Jun-2011 Chia-I Wu <olv@lunarg.com> autoconf: add --enable-{dri,glx,osmesa}

The idea is that DRI driver, libGL and libOSMesa are libraries that can
be independently enabled, yet --with-driver does not allow us to easily
do that, if not impossible. This also matches what
--enable-{egl,xorg,d3d1x} do for the respective libraries.

There are two libGL providers: Xlib-based and DRI-based. They cannot
coexist. To be able to choose between them, --enable-xlib-glx is also
added.

With this commit, --with-driver=dri can be replaced by

$ ./configure --enable-dri --enable-glx --disable-osmesa

--with-driver=xlib can be replaced by

$ ./configure --disable-dri --enable-glx --enable-osmesa \
--enable-xlib-glx

and --with-driver=osmesa can be replaced by

$ ./configure --disable-dri --disable-glx --enable-osmesa

Some combinations that cannot be supported with --with-driver will
produce errors at the moment. But in the future, we would like to
support, for example,

$ ./configure --enable-dri --disable-glx --enable-egl
(build libEGL and DRI drivers, but not libGL)

Note that this commit still keeps --with-driver for transitional
purpose.
/external/mesa3d/configure.ac
6479922499638b81569db20394c6cb59e6baf989 28-Jun-2011 Alan Hourihane <alanh@vmware.com> glx: Check HAVE_XF86VIDMODE before adding it as an implicit link
library.
/external/mesa3d/configure.ac
db78643182dc39ed592dd8c2e5fc7c8eeb7316a1 26-Apr-2011 Jon TURNEY <jon.turney@dronecode.org.uk> Don't use -fvisibilty=hidden on cygwin

All it's going to do is generate lots and lots and lots of
'warning: visibility attribute not supported in this configuration; ignored'
warnings

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
560f76227ccc848390095414e93d199e588b0c92 26-Apr-2011 Jon TURNEY <jon.turney@dronecode.org.uk> Fix config check that claims to test if CXX supports -fvisibility=hidden option to actually test the C++ compiler.

Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
/external/mesa3d/configure.ac
618dbc8130415357d412bec631f44e9d4db52207 27-Jun-2011 Marek Olšák <maraeo@gmail.com> configure.ac: sort Gallium directories alphabetically
/external/mesa3d/configure.ac
b8f097f7a0da976ea23f8ee124f6faf0472ce42c 19-Jun-2011 Chia-I Wu <olv@lunarg.com> targets/egl-static: replace targets/egl

Build egl_gallium from targets/egl-static intead of targets/egl. The
latter exposes (unversioned) gallium interfaces and is frowned upon.
/external/mesa3d/configure.ac
15e64242f9f97f5e001bc7b9f94f17b013230ba5 24-Jun-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> configure: Disable drm egl platform by default

So that gbm(_dri) which pulls in shared-glapi is not needed.
/external/mesa3d/configure.ac
e5fc4c81ce5aa261e330977f1a672838cd186cdb 30-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl_dri2: Hookup gbm as drm platform
/external/mesa3d/configure.ac
48d4a001b3faaa707716ea6bd93dd98b487768ce 26-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> gbm: Add gallium (drm) backend
/external/mesa3d/configure.ac
2ff797060d4ffbe1c1bf5b605ea5d4f9e588da41 26-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> gbm: Add dri backend
/external/mesa3d/configure.ac
eddcecbf74da26716509c047b95e85b00c12bab4 26-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> Add gbm (generic/graphics buffer manager)
/external/mesa3d/configure.ac
66c71d150aed5fbecd49cb028332fdcc2c1feb70 20-Jun-2011 Chia-I Wu <olv@lunarg.com> configure.ac: remove deprecated EGL options
/external/mesa3d/configure.ac
1251e1df0f5d4bc81c80c4c2d61c0a5f9b8b759a 18-Jun-2011 Marek Olšák <maraeo@gmail.com> configure.ac: add back --enable-gallium-egl
/external/mesa3d/configure.ac
9ba2907f2ed893da3da1345647e34a597dd6ed07 15-Jun-2011 Cyril Brulebois <kibi@debian.org> configure.ac: Avoid running llvm-config when it hadn't been checked for.

If --disable-gallium is passed, llvm-config isn't checked for, so mark
it explicitly as absent, through LLVM_CONFIG=no.

Passing --disable-gallium would result in:
| ../configure: line 9739: --version: command not found
| ../configure: line 9740: --cppflags: command not found
| ../configure: line 9741: --libs: command not found
| ../configure: line 9743: --ldflags: command not found

With this commit, one gets that instead:
| configure: error: LLVM is required to build Gallium R300 on x86 and x86_64

Signed-off-by: Cyril Brulebois <kibi@debian.org>
/external/mesa3d/configure.ac
0c7c5b68766a0d1d4da870fab0bcfd79fed1ed56 14-Jun-2011 Marek Olšák <maraeo@gmail.com> configure.ac: build r600g by default

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/configure.ac
58b6a19ea4a48abe6307cca74b4d24752a0aeb57 14-Jun-2011 Marek Olšák <maraeo@gmail.com> configure.ac: add option --with-gallium-drivers=DIRS

This removes all the --enable-gallium-$driver options and --disable-gallium.

Gallium can be disabled by --with-gallium-drivers= (without parameters).

Default is:
--with-gallium-drivers=r300,swrast

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/configure.ac
440d71db7853fa81821b36a99e360fb72dbdccab 14-Jun-2011 Marek Olšák <maraeo@gmail.com> configure.ac: remove --with-state-trackers

There is an obvious redundancy:

--with-driver=dri VS --with-state-trackers=dri
--with-driver=xlib VS --with-state-trackers=glx
--enable-openvg VS --with-state-trackers=vega
--enable-egl VS --with-state-trackers=egl

This patch adds two new options for the remaining state trackers:
--enable-xorg
--enable-d3d1x

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/configure.ac
ad50abbac9b166b0fd10b3cf3c24eec32b366f6b 14-Jun-2011 Marek Olšák <maraeo@gmail.com> configure.ac: remove redundant option --enable-gallium-egl

We already have --enable-gallium, --enable-egl, and --with-state-trackers=egl.

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/configure.ac
9f2f5b3d7fd70663b98da5d302fcdfd5bc93db05 15-Jun-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Initial import of the xa state-tracker and the xa-vmwgfx target.

See the file src/gallium/state_trackers/xa/README for more info.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
/external/mesa3d/configure.ac
c17fb8539fcdeb6ebbc0c8a9ff010d1bc01b695f 14-Jun-2011 Marek Olšák <maraeo@gmail.com> configure.ac: cleanup the gallium-r300 option
/external/mesa3d/configure.ac
be2b9bdcee67c0bc1d81c3fcec548e8981488ee0 14-Jun-2011 Marek Olšák <maraeo@gmail.com> xorg-radeon: rename to xorg-r300
/external/mesa3d/configure.ac
1eb957bb4108123bea95b818e0544e3b5f255e08 05-Jun-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video
873379a8818eed9ab16c24728b7091a3a3705c5b 03-Jun-2011 Johannes Obermayr <johannesobermayr@gmx.de> dri/nouveau: Fix build with --enable-shared-dricore.

- Based on the work of Себастьян Gliţa Κατινα <cglita@yahoo.com>
- Split Makefile.template into Makefile.defines and Makefile.targets
- Adapt other drivers to new situation
- Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35441

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
a7cd65fb38a3ece6202d3675a543785c10f0932a 31-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Fix udev linkage when egl_dri2 is not build
/external/mesa3d/configure.ac
0e886219193472be2203f2afccea84029f014dbd 29-May-2011 Christian König <deathsimple@vodafone.de> Initial r300g support

Based uppon a patch from Pali Rohár <pali.rohar@gmail.com>.
This seems to get at least YUV->RGB conversion working.
So a simple "mplayer -vo vdpau" now seems to work fine.
/external/mesa3d/configure.ac
aa63ebc48a2ee1ee9afbf2112d4d25e8a9a8d1e8 21-May-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video
de1df26b5c11a45f2b1ff2ddc7b8ec764356aa94 18-May-2011 Brian Paul <brianp@vmware.com> mesa: check that flex/bison are installed

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=36651

NOTE: This is a candidate for the 7.10 branch.
/external/mesa3d/configure.ac
2758e65f28cc68411775ec41c53f773268cddc05 16-May-2011 Tapani Pälli <tapani.palli@gmail.com> add $SELINUX_LIBS to EGL and OpenVG lib deps

Correctly links against selinux library when MESA is built with --enable-selinux option.

Fixes bug #36333 in Freedesktop bugzilla

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/configure.ac
828540e491d88b9b6217e6568873a78462919ae8 15-May-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video
184bb09ff5cf2715dfee91e25ec20cbaa2e4445c 30-Apr-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Implement EGL_WL_bind_wayland_display for x11,drm,wayland
/external/mesa3d/configure.ac
213b9004a6ee033a16af3dcd187aa68b56c39858 07-May-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_state.c
dc4a3edcf9d414d5098618d5d3b79d8dd90adcc3 05-May-2011 Dave Airlie <airlied@redhat.com> Revert "DRI2/GLX: make swap event handling match spec"

This reverts commit 70227e21bbd4411956ceeb5039640140e64a11a8.

revert this until we sort things out, with a new glproto release
with compatible struct names.
/external/mesa3d/configure.ac
70227e21bbd4411956ceeb5039640140e64a11a8 03-May-2011 Jesse Barnes <jbarnes@virtuousgeek.org> DRI2/GLX: make swap event handling match spec

We only handle a 32 bit swap count, so use the new structure definitions.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
/external/mesa3d/configure.ac
9cb800a97c0ddf87f7870b2a025ab5b8785a426d 29-Apr-2011 Jon TURNEY <jon.turney@dronecode.org.uk> Default to --disable-gallium-r300 if not --with-driver=dri

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/configure.ac
aaa3c0d6de7fc2c8d209d3adba11eba1133c61d1 23-Apr-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> winsys: Add wayland shm sw winsys
/external/mesa3d/configure.ac
0fecb928f5c92e6e79a249421a1646247676b435 21-Apr-2011 Marek Olšák <maraeo@gmail.com> configure.ac: require LLVM for r300g on x86 and x86_64
/external/mesa3d/configure.ac
a86fc719d6402eb482657707741890e69e81700f 21-Apr-2011 Marek Olšák <maraeo@gmail.com> configure.ac: enable LLVM by default on x86 and x86_64
/external/mesa3d/configure.ac
fa31b1095eeea97695125ad5770239805bed37da 23-Apr-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
configs/linux-dri
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_state.c
src/gallium/include/pipe/p_format.h
src/gallium/tests/graw/fragment-shader/frag-abs.sh
src/gallium/tests/graw/fragment-shader/frag-add.sh
src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh
src/gallium/tests/graw/fragment-shader/frag-cb-2d.sh
src/gallium/tests/graw/fragment-shader/frag-dp3.sh
src/gallium/tests/graw/fragment-shader/frag-dp4.sh
src/gallium/tests/graw/fragment-shader/frag-dst.sh
src/gallium/tests/graw/fragment-shader/frag-ex2.sh
src/gallium/tests/graw/fragment-shader/frag-face.sh
src/gallium/tests/graw/fragment-shader/frag-flr.sh
src/gallium/tests/graw/fragment-shader/frag-frc.sh
src/gallium/tests/graw/fragment-shader/frag-kil.sh
src/gallium/tests/graw/fragment-shader/frag-lg2.sh
src/gallium/tests/graw/fragment-shader/frag-lit.sh
src/gallium/tests/graw/fragment-shader/frag-lrp.sh
src/gallium/tests/graw/fragment-shader/frag-mad-immx.sh
src/gallium/tests/graw/fragment-shader/frag-mad.sh
src/gallium/tests/graw/fragment-shader/frag-max.sh
src/gallium/tests/graw/fragment-shader/frag-min.sh
src/gallium/tests/graw/fragment-shader/frag-mov.sh
src/gallium/tests/graw/fragment-shader/frag-mul.sh
src/gallium/tests/graw/fragment-shader/frag-rcp.sh
src/gallium/tests/graw/fragment-shader/frag-rsq.sh
src/gallium/tests/graw/fragment-shader/frag-sge.sh
src/gallium/tests/graw/fragment-shader/frag-slt.sh
src/gallium/tests/graw/fragment-shader/frag-srcmod-abs.sh
src/gallium/tests/graw/fragment-shader/frag-srcmod-absneg.sh
src/gallium/tests/graw/fragment-shader/frag-srcmod-neg.sh
src/gallium/tests/graw/fragment-shader/frag-srcmod-swz.sh
src/gallium/tests/graw/fragment-shader/frag-sub.sh
src/gallium/tests/graw/fragment-shader/frag-tempx.sh
src/gallium/tests/graw/fragment-shader/frag-xpd.sh
src/gallium/tests/graw/vertex-shader/vert-abs.sh
src/gallium/tests/graw/vertex-shader/vert-add.sh
src/gallium/tests/graw/vertex-shader/vert-arl.sh
src/gallium/tests/graw/vertex-shader/vert-arr.sh
src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh
src/gallium/tests/graw/vertex-shader/vert-cb-2d.sh
src/gallium/tests/graw/vertex-shader/vert-dp3.sh
src/gallium/tests/graw/vertex-shader/vert-dp4.sh
src/gallium/tests/graw/vertex-shader/vert-dst.sh
src/gallium/tests/graw/vertex-shader/vert-ex2.sh
src/gallium/tests/graw/vertex-shader/vert-flr.sh
src/gallium/tests/graw/vertex-shader/vert-frc.sh
src/gallium/tests/graw/vertex-shader/vert-lg2.sh
src/gallium/tests/graw/vertex-shader/vert-lit.sh
src/gallium/tests/graw/vertex-shader/vert-lrp.sh
src/gallium/tests/graw/vertex-shader/vert-mad.sh
src/gallium/tests/graw/vertex-shader/vert-max.sh
src/gallium/tests/graw/vertex-shader/vert-min.sh
src/gallium/tests/graw/vertex-shader/vert-mov.sh
src/gallium/tests/graw/vertex-shader/vert-mul.sh
src/gallium/tests/graw/vertex-shader/vert-rcp.sh
src/gallium/tests/graw/vertex-shader/vert-rsq.sh
src/gallium/tests/graw/vertex-shader/vert-sge.sh
src/gallium/tests/graw/vertex-shader/vert-slt.sh
src/gallium/tests/graw/vertex-shader/vert-srcmod-abs.sh
src/gallium/tests/graw/vertex-shader/vert-srcmod-absneg.sh
src/gallium/tests/graw/vertex-shader/vert-srcmod-neg.sh
src/gallium/tests/graw/vertex-shader/vert-srcmod-swz.sh
src/gallium/tests/graw/vertex-shader/vert-sub.sh
src/gallium/tests/graw/vertex-shader/vert-xpd.sh
src/gallium/tools/trace/dump.py
src/gallium/tools/trace/format.py
src/gallium/tools/trace/model.py
src/gallium/tools/trace/parse.py
5b2ff543ab784107a62ac405ed93fa1629a74cc4 22-Apr-2011 Marek Olšák <maraeo@gmail.com> configure.ac: fix up the help text for --enable-gallium-r300
/external/mesa3d/configure.ac
5722286be21a2f766a5f44e19e8005023d26b959 19-Apr-2011 Marek Olšák <maraeo@gmail.com> configure.ac: rename --enable-gallium-radeon to --enable-gallium-r300

Also fix up the help string for both r300 and r600.
/external/mesa3d/configure.ac
848f7d368d97f02eeb0c6546548784d639e3c3bf 01-Apr-2011 Marek Olšák <maraeo@gmail.com> configure.ac: add an enable switch for float textures (v2)

So --enable-texture-float it is.

Hardware drivers (including the Gallium ones) should
use #ifdef TEXTURE_FLOAT_ENABLED to hide any code that may
expose floating-point renderbuffers via any interface,
public or private.

v2: Print a warning when using --enable-texture-float.
/external/mesa3d/configure.ac
c6e33ca285f9eba26cae2fdd74fb5cc694f1e74b 14-Mar-2011 Jon TURNEY <jon.turney@dronecode.org.uk> Disable direct rendering on Cygwin

Add Cygwin platform-specific settings and drivers to build for dri driver:
- by default, disable direct rendering.
- if direct rendering is enabled, the swrast dridriver is the only one it's
sensible to try to build (this doesn't work at the moment as additional patches
are required to build a libGL which can load just swrast without the DRM headers,
even though there's no actual functional dependency)

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Julien Cristau <jcristau@debian.org>
/external/mesa3d/configure.ac
e7d18ed1ef8106e2f0eec1078efde6da358e692b 14-Mar-2011 nobled <nobled@dreamwidth.org> Disable direct rendering on GNU/Hurd

The Hurd kernel doesn't have DRM yet.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Reviewed-By: Jakob Bornecrantz <wallbraker@gmail.com>
/external/mesa3d/configure.ac
758561786c3a34303e6c85dfdb996b94a4eed678 14-Mar-2011 Samuel Thibault <samuel.thibault@ens-lyon.org> Only require libdrm if direct rendering is actually enabled.

Fix build when configured --with-driver=dri --disable-driglx-direct on targets
without drm e.g. GNU/Hurd and Cygwin

Based on the Debian patch file '05_hurd-ftbfs.diff' by Samuel Thibault.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Reviewed-By: Jakob Bornecrantz <wallbraker@gmail.com>
/external/mesa3d/configure.ac
f65cdb9ea5652a9b64f4102b046c373b80871577 22-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] fix configure.ac for r600 video targets
/external/mesa3d/configure.ac
2bf95c519e755146704f4942b1703d47d18bfeaa 19-Mar-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_asm.c
src/gallium/tests/unit/SConscript
f36846c77ee196881c0da560229279fc7ed88170 18-Mar-2011 Christian König <deathsimple@vodafone.de> vdpau: add vdpau-r600 target
/external/mesa3d/configure.ac
202c345c7cf5074c0d0be208067c072c2f53535a 14-Mar-2011 José Fonseca <jfonseca@vmware.com> autoconf/make: Don't specify individual llvm libraries.

We need more and more of these, and it is difficult and prone to version
incompatability issues trying to single out every one of them.

This mimicks what was done in SCons.
/external/mesa3d/configure.ac
110f5e2056f80d0b87f2a4388bc35727070ba6d5 14-Mar-2011 Dave Airlie <airlied@redhat.com> autoconf/llvm: fix build for disassembler

tested by okias on irc
/external/mesa3d/configure.ac
e6314db0ac537695a20feb5fab8d77a30836eccf 13-Mar-2011 José Fonseca <jfonseca@vmware.com> gallivm: Use LLVM MC disassembler, instead of udis86.

Included in LLVM 2.7+. Unlink udis86, should support all instructions that
LLVM can emit.
/external/mesa3d/configure.ac
0eccb1038a620bc76ba45ac00c293b3e88427510 03-Mar-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video
4ca075ac4f047141d5e5ef865991650e0ac488e4 02-Mar-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl_dri2 x11: Workaround device_name xcb-dri2 bug

This commit is basically a copy-over of the fix
Chia-I Wu's commited to wayland:
http://cgit.freedesktop.org/wayland/wayland-demos/commit/?id=1b6c0ed95
"Workaround an xcb-dri2 bug.
xcb_dri2_connect_device_name generated by xcb-proto 1.6 is broken.
It only works when the length of the driver name is a multiple of 4."
/external/mesa3d/configure.ac
6b369c4c7cd8a52f99bbff2a57fb316b33a87495 21-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl: Add EGL_WL_bind_wayland_display
/external/mesa3d/configure.ac
faf1ddacfb006fe50d81aab50b33356567cafaba 01-Mar-2011 Chris Wilson <chris@chris-wilson.co.uk> configure: Bump libdrm requirements

In my last commit I introduced a build dependency upon a new libdrm.
Add the associated autoconf checks. As the headers are part of the core
libdrm, we need to bump that version and so may as well bump the chipset
specific versions simultaneously.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/configure.ac
b922a0ce12916a91cfc3e56714913fcf63279ff2 24-Feb-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
configure.ac
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_asm.h
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_state_inlines.h
src/gallium/drivers/r600/r600_texture.c
4484297505431cfa9d0360f888ea4fb4194c698a 22-Feb-2011 Tom Fogal <tfogal@alumni.unh.edu> Fix GLX_USE_TLS define.

It was only getting set in the case of DRI drivers.
/external/mesa3d/configure.ac
aa6a5cf1d5625ecb5efff3a43233ed972ab29cad 16-Feb-2011 Jon TURNEY <jon.turney@dronecode.org.uk> Fix --enable-shared-glapi configure option

Fix a typo which meant that --enable-shared-glapi didn't actually cause a shared glapi to be built

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
/external/mesa3d/configure.ac
d1e28b22673777fe1290cda899abf73aad02e4aa 03-Feb-2011 Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> mesa: Optionally build a dricore support library (v3)

This an adds --enable-shared-dricore option to configure. When enabled,
DRI modules will link against a shared copy of the common mesa routines
rather than statically linking these.

This saves about 30MB on disc with a full complement of classic DRI
drivers.

v2: Only enable with a gcc-compatible compiler that handles rpath
Handle DRI_CFLAGS without filter-out magic
Build shared libraries with the full mklib voodoo
Fix typos
v3: Resolve conflicts with talloc removal patches

Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
/external/mesa3d/configure.ac
7da5105fb346db1d5c6b0b67109eba913d4c89fd 11-Feb-2011 Marek Olšák <maraeo@gmail.com> configure.ac: remove libdrm_radeon dependency for r300g and r600g
/external/mesa3d/configure.ac
1a8899d6301c01639fa713b87fbb47280e61ff07 10-Feb-2011 Kristian Høgsberg <krh@bitplanet.net> configure.ac: Fix typo
/external/mesa3d/configure.ac
214fc6e85057bc4661b76ae3f3c22733910da69c 04-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl: Implement libwayland-egl

This library is required and defined by wayland for
EGL implementations supporting wayland.
/external/mesa3d/configure.ac
e586c4b7634f856a350f029709adc8a32271562c 04-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl: Add wayland platform
/external/mesa3d/configure.ac
ec96b0ecdbe723f4664188010c7f86d5d7f41d82 06-Feb-2011 Marek Olšák <maraeo@gmail.com> configure.ac: correctly check for libdrm_radeon version
/external/mesa3d/configure.ac
d1d8120545b0bd2f7ec48c5f03c77b967b082e04 17-Jan-2011 Kenneth Graunke <kenneth@whitecape.org> Remove talloc from the make and automake build systems.
/external/mesa3d/configure.ac
903185bf3b7c3f7723d4a862286839f422665486 25-Jan-2011 Tormod Volden <debian.tormod@gmail.com> configure.ac: define LIBDRM_INTEL_REQUIRED

To have the LIBDRM* requirements in one place

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
78faf8d0e9c276a0ff1465e501d58fb3d66de2f7 20-Jan-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_asm.c
e8c7d7598fb48237508f566204c71ba8f74d544f 26-Dec-2010 Chia-I Wu <olv@lunarg.com> glapi: Fix OpenGL and OpenGL ES interop.

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
/external/mesa3d/configure.ac
9767d3b5ad08640737e9d8dd4feb046478ae1f4b 26-Dec-2010 Chia-I Wu <olv@lunarg.com> glapi: Fix OpenGL ES 1.1 and 2.0 interop.

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.
/external/mesa3d/configure.ac
c116a0e2dcce7635707fab724cfe4f6bc23906e3 20-Jan-2011 Chia-I Wu <olv@lunarg.com> autoconf: Fail when --with-state-trackers is incomplete.

When --enable-openvg or --enable-gallium-egl is enabled,
--with-state-trackers must have vega or egl.
/external/mesa3d/configure.ac
a96fe679e2f57e8e4e26c38660d8b6e5b67d5b4b 12-Jan-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_shader.c
0865af4b42bc82816f751e3a96971375f2adbfb4 11-Jan-2011 Jerome Glisse <jglisse@redhat.com> noop: remove dead dri target

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/configure.ac
483f5662225046d5a1e283a151cc85562f5057fb 11-Jan-2011 Brian Paul <brianp@vmware.com> configure: bump libdrm version requirement to 2.4.23

NOTE: This is a candidate for the 7.10 (and 7.9?) branch.
/external/mesa3d/configure.ac
9032d2a13ecd019206a48767d9205c0aafa7cca2 10-Jan-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'vdpau/pipe-video' into pipe-video

Conflicts:
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/drivers/softpipe/sp_video_context.c
src/gallium/include/pipe/p_format.h
src/gallium/state_trackers/xorg/xvmc/context.c
src/gallium/tests/unit/SConscript
31351dc029ff0e12a250e3ffc509f4f01e025a24 06-Dec-2010 Tom Fogal <tfogal@alumni.unh.edu> Export TLS support in gl.pc.
/external/mesa3d/configure.ac
12583174c53b23be6db1fb1cfa3dd1e8dbbd3c15 07-Jan-2011 Chia-I Wu <olv@lunarg.com> mesa: Remove GLES overlay.

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.
/external/mesa3d/configure.ac
c98ea26e16b6458b4385d6558936696e4d099455 07-Jan-2011 Chia-I Wu <olv@lunarg.com> egl: Make egl_dri2 and egl_glx built-in drivers.

These two drivers are small in size. Making them built-in should
simplify packaging.
/external/mesa3d/configure.ac
3349517351059dcd70a81b31bdffe9835bd8f216 10-Jan-2011 Jerome Glisse <jglisse@redhat.com> noop: make noop useable like trace or rbug

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 <jglisse@redhat.com>
/external/mesa3d/configure.ac
72e30991559017c16d48569e612dbc0970e3b9ca 08-Jan-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
configure.ac
src/gallium/drivers/r600/eg_asm.c
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_asm.h
src/gallium/include/pipe/p_format.h
src/gallium/targets/dri-nouveau/Makefile
8fd8de3995343f5cee8536c235e2a4fc5c768490 06-Jan-2011 Pierre Allegraud <pallegra@gmail.com> mesa: fix build for NetBSD

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 <brianp@vmware.com>
/external/mesa3d/configure.ac
cd1cf788280a1eb10d54e1a2b8b069ed7b89c724 04-Jan-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> Merge remote branch 'origin/nvc0'
bd8e65888452abcc2a96a3804df14dbd41da771e 04-Jan-2011 Eric Anholt <eric@anholt.net> intel: Bump libdrm configure.ac requirement for the gen6 BLT ring support.
/external/mesa3d/configure.ac
ada9c78c29ef11720d464211c098b740f8aa11a4 03-Jan-2011 Chia-I Wu <olv@lunarg.com> autoconf: Fix --with-driver=xlib --enable-openvg.

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.
/external/mesa3d/configure.ac
0f68236a2487dbeb0396b996debcda595b0b54a1 19-Dec-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> Merge remote branch 'origin/master' into nvc0-new
772b25e1f366edc857e77b8c1ccdc5297d82cc41 11-Dec-2010 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_texture.c
7da704ee72bcbe656afd5c4f07702687a53a8d47 08-Dec-2010 Brian Paul <brianp@vmware.com> configure: use llvm-config --cppflags instead of --cflags
/external/mesa3d/configure.ac
e6b71530daea3059ee362d4df51575e27e026b22 21-Nov-2010 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
5da246944a787b933a509f0b65bab466574c3339 15-Nov-2010 Jerome Glisse <jglisse@redhat.com> gallium/noop: no operation gallium driver

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 <jglisse@redhat.com>
/external/mesa3d/configure.ac
4c2247538394a313e1e90bfcd07c1ab9c7d41281 12-Nov-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: import nvc0 gallium driver
/external/mesa3d/configure.ac
195bbe8ce218533569dde1368d04da0fd229913d 11-Nov-2010 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video
dbacbb8219c529ed7e2b21e3447a36d4df18bc57 01-Nov-2010 Chia-I Wu <olv@lunarg.com> autoconf: Add --enable-gallium-egl.

This option comes handy when we want to build gallium DRI drivers but
not st/egl.
/external/mesa3d/configure.ac
1230050363cd30c457a64e51dac41f3471e87fc4 31-Oct-2010 Chia-I Wu <olv@lunarg.com> autoconf: Tidy configure output for EGL.

Prefix EGL driver names by "egl_". Make it clear that EGL_CLIENT_APIS
is only used by egl_gallium.
/external/mesa3d/configure.ac
156e955c25ad4acd78d683c4def83769f0bb3ddb 30-Oct-2010 Chia-I Wu <olv@lunarg.com> autoconf: st/vega requires --enable-openvg.

Make it a warning for now to smooth the transition.
/external/mesa3d/configure.ac
815faa448cccc38aebb1b60ecf0bd7e6bf8f277e 28-Oct-2010 Chia-I Wu <olv@lunarg.com> autoconf: Update configuration info.

Output API info first. Move GLU/GLw/GLUT and EGL near driver info.
/external/mesa3d/configure.ac
be5f34a053bfc5ad50dd45f0400ed1e4029651cb 27-Oct-2010 Chia-I Wu <olv@lunarg.com> autoconf: Better client API selection.

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
/external/mesa3d/configure.ac
41ed47d6b8fb6c032e2907ef2e49e414c26f35c1 28-Oct-2010 Christian König <deathsimple@vodafone.de> Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-video

Conflicts:
src/gallium/include/pipe/p_format.h
a565f58edaad646942f2174e66ef1343f56ae679 28-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: enable target va-r600
/external/mesa3d/configure.ac
3acc8265200295265b476222299a013791050b73 25-Oct-2010 Kenneth Graunke <kenneth@whitecape.org> Fix build on systems where "python" is python 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 <chantry.xavier@gmail.com>
Signed-off-by: Matthew William Cox <matt@mattcox.ca>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/configure.ac
990cb6296351a41a2e728f181c0dc096eaddaeb7 27-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: commited Orasanu Lucian's patch containing va stubs.
/external/mesa3d/configure.ac
6ac1bbe21a978e326e6361426343b61d10140aa3 26-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: pipe-video branch merged with Königs pipe-video branch
/external/mesa3d/configure.ac
4926c5748028d33da4808f8a5473aa7b2f2bdc62 26-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> Merge branch 'pipe-video' of git://anongit.freedesktop.org/~deathsimple/xvmc-r600 into pipe-video

Conflicts:
configure.ac
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/drivers/softpipe/sp_video_context.c
src/gallium/include/pipe/p_defines.h
src/gallium/include/pipe/p_screen.h
501ac572c604ef248ed41311a065bc5f4746fcb3 24-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: va state-tracker configuration scripts
/external/mesa3d/configure.ac
4381580936f07e0c5eb0ad7c51d2ccf765000d08 23-Oct-2010 Christian König <deathsimple@vodafone.de> First xvmc-r600 implementation
/external/mesa3d/configure.ac
695cc370a280a637f411f5ff3877b3fd1c05e424 12-Oct-2010 Christian König <deathsimple@vodafone.de> Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-video

Conflicts:
configure.ac
src/gallium/drivers/nvfx/Makefile
src/gallium/include/pipe/p_defines.h
src/gallium/include/pipe/p_screen.h
src/gallium/include/state_tracker/dri1_api.h
src/gallium/include/state_tracker/drm_api.h
src/gallium/winsys/nouveau/drm/nouveau_drm_api.c
1218430e1200a08cd64b6555d3fd1fd0274ad9e5 05-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> Merge branch 'master' into pipe-video

Conflicts:
configs/linux-dri
configure.ac
src/gallium/drivers/nvfx/Makefile
src/gallium/include/pipe/p_defines.h
src/gallium/include/pipe/p_screen.h
src/gallium/include/state_tracker/dri1_api.h
src/gallium/include/state_tracker/drm_api.h
src/gallium/tests/python/samples/tri.py
src/gallium/tests/trivial/Makefile
src/gallium/tests/unit/Makefile
src/gallium/tests/unit/SConscript
src/gallium/tests/unit/u_format_test.c
src/gallium/winsys/nouveau/drm/nouveau_drm_api.c
11eb422a161153da6226042d0fea561161e4f292 28-Sep-2010 Marek Olšák <maraeo@gmail.com> configure.ac: do not build xorg-r300g by default

NOTE: This is a candidate for the 7.9 branch.
/external/mesa3d/configure.ac
a1aec2e2be3222d4b8b8391fa25551643774d833 26-Sep-2010 Marek Olšák <maraeo@gmail.com> configure.ac: look for libdrm_radeon before building gallium/r300,r600

NOTE: This is a candidate for the 7.9 branch.
/external/mesa3d/configure.ac
f762f7b85d11314915cb420d21a062dd597f8ff8 24-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> mesa: make makedepend an hard requirement

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.
/external/mesa3d/configure.ac
85a45dcd5d2a6d4ba5ab414d4e7d4285ac998385 23-Sep-2010 Marek Olšák <maraeo@gmail.com> Build r300g by default

NOTE: This will go to 7.9 as well.
/external/mesa3d/configure.ac
2a910b339672e80e70d49d01ac7e8e870068e7ad 19-Sep-2010 Chia-I Wu <olv@lunarg.com> egl: Enable drm platform by default.

This enables EGL_MESA_drm_display for st/egl in the default setup.
/external/mesa3d/configure.ac
e7424d72405a1cb1fb5ac625b340043aaa9f88be 19-Sep-2010 Chia-I Wu <olv@lunarg.com> st/egl: Rename kms backend to drm.

The main use of the backend is to support EGL_MESA_drm_display. drm
should be a better name.
/external/mesa3d/configure.ac
7b34fcc4874671dc92413fa1a091eafac4191cee 09-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> configure: Enable -fvisibility=hidden for g++ as well
/external/mesa3d/configure.ac
2b9dac397bd97909876bbda8532e2cbce9d8a77f 21-Apr-2010 Jon TURNEY <jon.turney@dronecode.org.uk> Make XF86VIDMODE extension optional

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 <jon.turney@dronecode.org.uk>
/external/mesa3d/configure.ac
c55a8a73a483305c7c9a7bcc7191dd7c833f873d 24-Jul-2010 Jon TURNEY <jon.turney@dronecode.org.uk> Cygwin: Teach mklib/minstall to properly install libraries on cygwin

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 <jon.turney@dronecode.org.uk>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
a3c2bd416aa871166baacff50c89842e3b533d9b 30-Aug-2010 Eric Anholt <eric@anholt.net> Don't pass -ffast-math to clang, since it ignores it and complains.
/external/mesa3d/configure.ac
2a50187a923eb8950bc8b63f50eaea4704d6dc36 30-Aug-2010 nobled <nobled@dreamwidth.org> Make configure work with clang

It was mistaking clang for gcc and deciding its version
was too low.
/external/mesa3d/configure.ac
e637f8b40c426d6ae79e0215fa8865d50326812f 30-Aug-2010 Jon TURNEY <jon.turney@dronecode.org.uk> Add talloc to osmesa library dependencies

also link osmesa with C++ standard libraries, as it now contains C++ code

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
/external/mesa3d/configure.ac
6356303de63c170a63c35f2b1edec76d9f8eba45 30-Aug-2010 Jon TURNEY <jon.turney@dronecode.org.uk> Add talloc to dependencies for libGL built with xlib driver

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
/external/mesa3d/configure.ac
37f0654fa56a97c6f4ea6220c97758ee95267e0b 22-Aug-2010 Dave Airlie <airlied@redhat.com> r300g: rename radeong_dri.so to r300_dri.so

acked on irc by Corbin + Marek.
/external/mesa3d/configure.ac
639cdd3782c40c422c33c907949376c735d9340c 23-Aug-2010 Eric Anholt <eric@anholt.net> mesa: AC_SUBST the talloc libs/cflags so the ./configure results are saved.

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
/external/mesa3d/configure.ac
443a7e4e9a360acbc3e662c098be436f180bf81d 14-Aug-2010 Ian Romanick <ian.d.romanick@intel.com> Merge branch 'master' into glsl2
c33c1912ddc973ae07ac762c66e11c332a27e4af 29-Jul-2010 Li Peng <peng.li@linux.intel.com> configure: fix wrong variable name GLESv1_LIB_DEPS

GLESv1_CM_LIB_DEPS is defined in "configs/autoconf.in",
but configure.ac uses GLESv1_LIB_DEPS.

Signed-off-by: Li Peng <peng.li@linux.intel.com>
/external/mesa3d/configure.ac
afe125e0a18ac3886c45c7e6b02b122fb2d327b5 27-Jul-2010 Eric Anholt <eric@anholt.net> Merge remote branch 'origin/master' into glsl2

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
08f4bc07e424aaeb35eb58736fdca64b1398c190 16-Jul-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix build on FreeBSD.

There is no libdl on FreeBSD. Based on patch from Thinker
<thinker@branda.to>, which is against 7.8.

This fixes fdo bug #29093.
/external/mesa3d/configure.ac
39ae965783d43ecc4426d0340381c091518bdedb 16-Jul-2010 Chia-I Wu <olv@lunarg.com> egl: Build egl_dri2 only when DRI drivers are built.

That is, build egl_dri2 only when --with-driver=dri is given (the
default).
/external/mesa3d/configure.ac
bb217ba76a9c3823e074ec7708f07233a85eb4ac 16-Jul-2010 Chia-I Wu <olv@lunarg.com> egl: Build egl_dri2 only when xcb-dri2 is available.

The driver does not build when xcb-dri2 is not available.
/external/mesa3d/configure.ac
3299997bcc5a672617095adb560b3834dced39a6 14-Jul-2010 Thomas Balling Sørensen <tball@io.dk> vdpau changes
/external/mesa3d/configure.ac
4f956889b7c30282104b3409120f7561d89ab6d1 13-Jul-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/xorg: When selecting st via configure make sure to test for xorg-server
/external/mesa3d/configure.ac
2168b87b51e70e8ad914e547c6c922fc33af3a89 03-Jun-2010 Kristian Høgsberg <krh@bitplanet.net> egl_dri2: Support _EGL_PLATFORM_DRM

This lets the egl_dri2 driver initialize on just a DRM fd.
/external/mesa3d/configure.ac
cf588ab3f1edb89be4cd57045a3888ff482fa817 06-Jul-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add support for !GLX_DIRECT_RENDERING.

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.
/external/mesa3d/configure.ac
9617254a1e5522615c96ab25c9e0a70e0d63d7e7 01-Jul-2010 John Hein <5qgu8gvshg@snkmail.com> Use GLUT_CFLAGS when building glut

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 <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
d8e0e114567ec19fd59f974080a418dc959cc9b6 29-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Reorganize targets.

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.
/external/mesa3d/configure.ac
a01e0afd9fc0d647081c6903baa1a7ba505c4b05 28-Jun-2010 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'gallium-drm-driver-drescriptor'

Conflicts:
src/gallium/state_trackers/egl/x11/native_dri2.c
src/gallium/state_trackers/egl/x11/native_x11.c
src/gallium/state_trackers/egl/x11/native_x11.h
src/gallium/state_trackers/xorg/xorg_driver.c
src/gallium/winsys/radeon/drm/radeon_drm.c
0a1b54df7ac118722bb627c61cb322cb4e248ace 21-Jun-2010 Eric Anholt <eric@anholt.net> glsl2: Replace the GLSL compiler with the glsl2 project.
/external/mesa3d/configure.ac
256097858881323d0b6ece248be163bb157f43aa 23-Jun-2010 Corbin Simpson <MostAwesomeDude@gmail.com> configure: Add galahad to default build.
/external/mesa3d/configure.ac
23a915e2cfbc95c018946155eb301ffad3a0d550 23-Jun-2010 Jakob Bornecrantz <jakob@vmware.com> gallium: Drop sw drm winsys

Last user went away
/external/mesa3d/configure.ac
7dce4f3c27881b4c40ab55e4a8641a3a58f9a210 11-Jun-2010 Jakob Bornecrantz <wallbraker@gmail.com> i915g: Create seperate option for i915g and i965g
/external/mesa3d/configure.ac
da39d5d3b46c55f88a2f051368e09284732fd440 17-Jun-2010 Chia-I Wu <olv@lunarg.com> egl: s/EGL_DISPLAY/EGL_PLATFORM/.

A platform is already used to mean a window system in EGL. No need to
use a different term.
/external/mesa3d/configure.ac
8f3e48ee2c77db7aeaf5ffc904db6790dd5a3bf4 17-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Build sw/fbdev winsys for fbdev backend.

Target egl_fbdev_swrast.so needs sw/fbdev/libfbdev.a.
/external/mesa3d/configure.ac
cbf30fce322506bd43692617de9d201533f41532 16-Jun-2010 Dan Nicholson <dbn.lists@gmail.com> osmesa: always build standalone for internal symbols

When building OSMesa and xlib GL, the resulting OSMesa would be linked
against libGL instead of the internal mesa libraries. However, when
building with -fvisibility=hidden, some of the internal functions used
in OSMesa could not be resolved through libGL.

Instead, always build OSMesa standalone without linking against libGL.
This has the advantage that OSMesa is always built the same way, but it
means that disk space is wasted when libGL is installed since both
libraries will contain the internal objects.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: Tom Fogal <tfogal@alumni.unh.edu>
/external/mesa3d/configure.ac
73de09f265cb1c66d70fd9eb92021882bfbbbef6 07-Jun-2010 Eric Anholt <eric@anholt.net> i965: Convert the binding table to streamed indirect state.

This slightly reduces reduces cairo-gl firefox-talos-gfx runtime on my
Ironlake:
before:
[ # ] backend test min(s) median(s) stddev. count
[ 0] gl firefox-talos-gfx 38.236 38.383 0.43% 5/6
after:
[ 0] gl firefox-talos-gfx 37.799 38.203 0.39% 6/6

It turns out the cost of caching these objects and looking them up in
the cache again is greater than the cost of just computing the object
again, particularly when the overhead of having a separate BO to pin
is removed.

(Those that are paying close attention will note that this is a
reversal of the path I was moving the driver in a couple of years ago.
The major thing that has changed is that back then all state was
recomputed when we wrapped the streaming state buffer, including
recompiling our precious programs. Now, we're uncaching just the
objects that are cheap to compute, and retaining caching of expensive
objects)
/external/mesa3d/configure.ac
0528106cc7a4f87f4920b10d995f881f81ca4154 05-Jun-2010 Jakob Bornecrantz <jakob@vmware.com> glew: Drop glew now that we don't need it for the progs

configs/beos | 2 +-
configs/darwin | 2 +-
configs/default | 4 +-
configs/freebsd-dri | 2 +-
configs/linux-cell | 2 +-
configs/linux-dri-xcb | 2 +-
configs/linux-indirect | 2 +-
configure.ac | 2 +-
include/GL/glew.h |14435 ------------------------------------------------
include/GL/glxew.h | 1476 -----
include/GL/wglew.h | 1247 -----
src/SConscript | 1 -
src/glew/LICENSE.txt | 73 -
src/glew/Makefile | 54 -
src/glew/SConscript | 69 -
src/glew/glew.c |14320 -----------------------------------------------
src/glew/glewinfo.c | 8441 ----------------------------
src/glew/visualinfo.c | 1173 ----
18 files changed, 8 insertions(+), 41299 deletions(-)

Revert "glew: update to version 1.5.4"
This reverts commit a189b1c53b6a3b6c055cc86145c8ef48c580e9d0.

Revert "glew: Include X11 headers and libraries in SCons build."
This reverts commit efdd33985cb38429aeae845a556db2322957e71a.

Revert "scons: Fix GLEW build on Mac OS X."
This reverts commit 8f81769148eab0042ffb7192a702350275648715.

Revert "scons: Use static glew library on Unices to avoid binary compatability issues"
This reverts commit de22c940a1df66d13825dd15c015eafabb61a11d.

Revert "glew: Update to version 1.5.2."
This reverts commit aaf7ecfd816f82fef314f4f772cc53bc0ced553e.

Revert "scons: Build glew on all platforms."
This reverts commit 52eb3e4235cc661ab9626a704c555a5f096c628a.

Revert "scons: Put glut and glew shared libraries into build/xxx/bin or lib."
This reverts commit 8a318edd0838ee3343be0425019d93541b621567.
Didn't revert scons/gallium.py

Revert "scons: Fix glew build on MSVC."
This reverts commit 14a8c9dac7ea43ad8a45052e17f7127451344e5a.

Revert "scons: Build progs together with everything else."
This reverts commit 7bbf7f94ea786e41ff1364cedaf7dd5c0bbf605a.
Only changed src/glew/SConscript

Revert "mesa: include glew headers in MesaDemos tarballs"
This reverts commit c57d81ddc9ba3052ff7f6b72091accab2c2db0ae.

Revert "mesa: include GLEW sources in MesaDemos tarball"
This reverts commit b9e2e32daf5505896a662dc8df60104c0f51b4b9.

Revert "glew: correct misspelling of glFramebufferTextureLayer"
This reverts commit 1b05b5b4fecd9ac8ef34abdda6c085868016ad84.

Revert "glew: fix GLEW_LIB_NAME"
This reverts commit c10df26a31b6af5a720fbfd06411d580cd38a2c8.

Revert "Add dummy install target for glew to fix 'make install'"
This reverts commit c273dfe6a28d4bb64ce167685b4053d22db5a727.

Revert "autoconf: Add GLEW needed by progs when building GLUT"
This reverts commit 2977cee38e21b8e5ebba1635b101185d64ee44a9.

Revert "glew: Build it as a static lib."
This reverts commit fcf9353fea8343a1a86c8c6e0144c8429440c648.

Revert "glew: Initial import."
This reverts commit 57d00016cab9afa3e7853d9830044a8ece9541c4.
/external/mesa3d/configure.ac
56c3cce2a199f7f79a48d7633431e1e80fcd4ba2 07-Jun-2010 Kristian Høgsberg <krh@bitplanet.net> Remove last bits of progs/ infrastructure
/external/mesa3d/configure.ac
8e1b375a8d186c0241239630f766f20513fa5371 31-May-2010 Chia-I Wu <olv@lunarg.com> autoconf: Remove unused APIS.

It was used by glapi, which has been moved to mapi.
/external/mesa3d/configure.ac
ea3a01ae4d2117b733c0d415ce5bc69015984d30 30-May-2010 Younes Manton <younes.m@gmail.com> vl: Get nouveau building again.

Still some DRI2 bits to sort out.
/external/mesa3d/configure.ac
aeee52691ccb3afd24591ab3df30d7f243bc3eeb 13-May-2010 Jakob Bornecrantz <wallbraker@gmail.com> r600g: Integrate into build

Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
/external/mesa3d/configure.ac
2c29a93e875dd96fb08c65ec659efc3eb2d5c15e 09-May-2010 Younes Manton <younes.m@gmail.com> vl: Get softpipe building again.
/external/mesa3d/configure.ac
a8ea1dacc63ac567498049e5756c247b9fec6cd9 01-May-2010 Younes Manton <younes.m@gmail.com> Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-video

Conflicts:
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
src/gallium/auxiliary/util/u_format.csv
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_compositor.h
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h
src/gallium/drivers/identity/id_objects.c
src/gallium/drivers/identity/id_objects.h
src/gallium/drivers/identity/id_screen.c
src/gallium/drivers/nv40/Makefile
src/gallium/drivers/nv40/nv40_screen.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/softpipe/sp_texture.h
src/gallium/drivers/softpipe/sp_video_context.c
src/gallium/drivers/softpipe/sp_video_context.h
src/gallium/include/pipe/p_format.h
src/gallium/include/pipe/p_screen.h
src/gallium/include/pipe/p_video_context.h
src/gallium/include/pipe/p_video_state.h
src/gallium/include/state_tracker/dri1_api.h
src/gallium/include/state_tracker/drm_api.h
src/gallium/state_trackers/dri/common/dri_context.c
src/gallium/state_trackers/xorg/xvmc/attributes.c
src/gallium/state_trackers/xorg/xvmc/block.c
src/gallium/state_trackers/xorg/xvmc/context.c
src/gallium/state_trackers/xorg/xvmc/subpicture.c
src/gallium/state_trackers/xorg/xvmc/surface.c
src/gallium/state_trackers/xorg/xvmc/tests/.gitignore
src/gallium/state_trackers/xorg/xvmc/tests/Makefile
src/gallium/state_trackers/xorg/xvmc/xvmc_private.h
src/gallium/winsys/drm/radeon/core/radeon_drm.c
src/gallium/winsys/g3dvl/vl_winsys.h
src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
src/gallium/winsys/sw/Makefile
1a8b1277c59db49d4d99b15193d07a0bd1ea6446 21-May-2010 Eric Anholt <eric@anholt.net> Fix test for MESA_LLVM.
/external/mesa3d/configure.ac
68fc4b415e322f6744299e39864fbc377c6eff74 21-May-2010 Eric Anholt <eric@anholt.net> Remove demos that have moved to git+ssh://git.freedesktop.org/git/mesa/demos.

The remaining programs are ones I've had difficulty finding a build
environment for to make the build system or are unit tests that should
probably live next to their code instead. Hopefully people can bring
over the build for remaining pieces they care about.
/external/mesa3d/configure.ac
70ae8bf26fbbac58900237b815ce86c01d09eb96 18-May-2010 Chia-I Wu <olv@lunarg.com> progs/egl: Fix building on cygwin.

Update the Makefiles to use variables such as EGL_LIB_NAME. Define M_PI
if it hasn't been defined yet.
/external/mesa3d/configure.ac
2c3fb4ecce27f4c2468892241216a06fc77143c4 04-May-2010 Jakob Bornecrantz <jakob@vmware.com> rbug: Break out of trace
/external/mesa3d/configure.ac
87cc2da16ef2c32813eee9c9c8af3c919f4739d9 12-May-2010 Chia-I Wu <olv@lunarg.com> mesa/es: Merge back to core mesa.

With the omit list gone, there are not too many differences in building
core mesa and ES overlay. Remove the mesa/es and build both of them in
src/mesa/Makefile.
/external/mesa3d/configure.ac
48f8a76549aa2001090c7a5e1fa40891954ff01f 11-May-2010 Vinson Lee <vlee@vmware.com> autoconf: Also strip '\r' character in version scrape.

Fixes autoconf GCC conftest.c test on Cygwin.
/external/mesa3d/configure.ac
3ecb8c20f8683ed2961bc54e5441f694fc3a2143 10-May-2010 Chia-I Wu <olv@lunarg.com> gallium: Add llvmpipe support to st/egl.

Update Makefile rules for st/egl.
/external/mesa3d/configure.ac
63ab2509bf324812d9632c12528677724bdb8775 05-May-2010 Chia-I Wu <olv@lunarg.com> gallium: Add egl-apis target.

The new target installs client API modules to EGL_DRIVER_INSTALL_DIR.
They are used by st/egl.

The client APIs are built from OpenGL and OpenVG state trackers. For
this to work, st/vega is modified to produce a static library,
libvega.a, instead. st/es is also not needed any more. It is removed
and --with-state-trackers=es is replaced by --enable-gles-overlay.

As st/egl now has its own client API modules, this solves the ABI issue
between st/egl and client APIs, as long as the client API modules are
distributed with st/egl. Plus, this allows st/egl to support OpenGL
with non-Gallium libGL.so.
/external/mesa3d/configure.ac
3e1ccb2508fe71d789994daca94106afb7307955 05-May-2010 Chia-I Wu <olv@lunarg.com> mapi: Merge src/gles/.

Remove src/gles and have mapi/{es1api,es2api} build libGLESv1_CM.so and
libGLESv2.so.
/external/mesa3d/configure.ac
874ccd5d83f016e47ef65b7a8c3fff6c8ccd981e 04-May-2010 Chia-I Wu <olv@lunarg.com> Define OpenGL ES and OpenVG library names.

Define <API>_LIB, <API>_LIB_NAME, <API>_LIB_GLOB, and some other
variables in the configs. Fix a typo in glesv1_cm.pc.in where an
inexistent variable is used.
/external/mesa3d/configure.ac
75143ef05576ee9f25ee176bc28c3c4d03705bf5 16-Apr-2010 Chia-I Wu <olv@lunarg.com> st/vega: Use vgapi.

Rename vgFooBar to vegaFooBar and use vgapi as the dispatcher. This
makes sure there is always a current context when the internal functions
are called. And eglGetProcAddress is finally supported.
/external/mesa3d/configure.ac
296adbd545b8efd38c9ed508166b2de2764a444b 25-Apr-2010 Chia-I Wu <olv@lunarg.com> glapi: Move to src/mapi/.

Move glapi to src/mapi/{glapi,es1api,es2api}.
/external/mesa3d/configure.ac
a6ec153830ea25958f8cb5f5b5ae7a3433d61bbc 05-May-2010 Chia-I Wu <olv@lunarg.com> mesa: Fix build of ES overlay.

ES overlay is built with FEATURE_ES1 or FEATURE_ES2, and is built
without FEATURE_GL. Fix the build by always building OpenGL ES sources,
but test for FEATURE_ES1 or FEATURE_ES2. Also, define symbols that are
missing because FEATURE_GL is not defined.
/external/mesa3d/configure.ac
9e4f2da848dff78fce9af1db70212c932f647a15 04-May-2010 Kristian Høgsberg <krh@bitplanet.net> Fix gles .pc file generation
/external/mesa3d/configure.ac
2df3c361efc1d7ac4ec93a5457096b3bd2ce1935 02-May-2010 Kristian Høgsberg <krh@bitplanet.net> configure.ac: Fix test for whether to build src/gles
/external/mesa3d/configure.ac
da76a4d845367242c1ae7726d1dc23900f31e1e4 02-May-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Only compile ES files when ES1 or ES2 are selected

This still requieres manual generation of the es1 and es2 glapis and is
disabled by default.
/external/mesa3d/configure.ac
0870e4a2022cff79805613ae7cd4b9237a2f564c 02-May-2010 Kristian Høgsberg <krh@bitplanet.net> Merge branch 'gles2-2'

Conflicts:
src/mesa/drivers/dri/common/dri_util.h
9fd5fa05122aa0cac0051fa92d1634bde43209db 02-May-2010 Kristian Høgsberg <krh@bitplanet.net> Hook in install rules for es1 and es2
/external/mesa3d/configure.ac
74399d4af5b5ea793ce8318c10014a026cf81563 02-May-2010 Kristian Høgsberg <krh@bitplanet.net> Add glesv2.pc and glesv1_cm.pc pkg-config files for ES 1 and 2
/external/mesa3d/configure.ac
9339c1291d73ada1a85b994cb076a9a0bf3c8110 06-Mar-2010 Kristian Høgsberg <krh@bitplanet.net> gles: Build libGLESv1_CM.so and libGLESv2.so from glapi files
/external/mesa3d/configure.ac
0f68032a7cebe740421e5de4586d13c99a8728ab 27-Apr-2010 Kristian Høgsberg <krh@bitplanet.net> configure.ac: Add options to enable GLES1/2 API support
/external/mesa3d/configure.ac
edca5360cab6063a1dc2a388da800ca01eb86a42 24-Apr-2010 Younes Manton <younes.m@gmail.com> vl: Fix up configure.ac/Makefile
/external/mesa3d/configure.ac
fe0fe67aafbb2283895dfebd76c9e99db955e73c 28-Apr-2010 Jakob Bornecrantz <jakob@vmware.com> configure.ac: Print some llvm info
/external/mesa3d/configure.ac
fbfecda6ae9cf3ccaa1cef3ea60dfec12ca6e503 27-Apr-2010 Chia-I Wu <olv@lunarg.com> progs/egl: Add egl/eglut to PROGRAM_DIRS.

Make sure eglut is built before the demos. This should work more
reliably with make -j<N>.
/external/mesa3d/configure.ac
22e8ddc74843b82606c1f0934ec1d4fad2ffc853 24-Apr-2010 Dave Airlie <airlied@redhat.com> llvm: fix configure.ac harder
/external/mesa3d/configure.ac
81fe19843ac2afdc4fa1e1c87bc979b295af240e 22-Apr-2010 Dave Airlie <airlied@redhat.com> llvmpipe: add initial autoconf support.

allows the swrastg_dri.so to be built with llvmpipe, also links llvm
to all dri drivers

use --enable-gallium-llvm to use it.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/configure.ac
44bafca1a0b1e9bf06e05a3ec982e0feab5ada47 17-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> i915g: Add a software only debuging winsys
/external/mesa3d/configure.ac
c727ef01083c873abfaf3c79b28d7cbcd6361bf3 01-Apr-2010 Chia-I Wu <olv@lunarg.com> progs/egl: Move demos a level deeper.

Move the demos to "opengl" subdirectory.
/external/mesa3d/configure.ac
ff0987a15da31a56c77f9a80c170e009f6056f33 26-Mar-2010 Xavier Chantry <chantry.xavier@gmail.com> svga: Fix typo in configure script

Introduced in a82e37b9e9e34175b7542d0c9b4e462833eab202
/external/mesa3d/configure.ac
5b1fc14627ae37c5def70e2d5fe28bf7a4becee6 25-Mar-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Reshuffle files and make it obvious which files are shared

In short:
git mv ../drisw/Makefile dri/sw
git mv drisw.[c|h] sw
git mv dri2.[c|h] dri1.[c|h] Makefile drm
git rm ../drisw
ln -s <common files> drm/*
ln -s <common files> sw/*
/external/mesa3d/configure.ac
a82e37b9e9e34175b7542d0c9b4e462833eab202 25-Mar-2010 Jakob Bornecrantz <wallbraker@gmail.com> gallium: Add propper sanity checks in configure.ac
/external/mesa3d/configure.ac
7b333298fc4efd1a8e44aaebaae77bf88c28ce19 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> configure:ac add swrastg_dri
/external/mesa3d/configure.ac
992e9572bdbc1f3d5243ca8eecbd6a372721a62b 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> swrastg_dri: add state_tracker
/external/mesa3d/configure.ac
c9f98673c5b6830cd1f41c0c53a9e5e299d47464 16-Mar-2010 Jakob Bornecrantz <jakob@vmware.com> gallium: Reorg winsys directories

Attached output from commit.
delete mode 100644 src/gallium/winsys/drm/SConscript
delete mode 100644 src/gallium/winsys/drm/i965/SConscript
delete mode 100644 src/gallium/winsys/drm/intel/Makefile
delete mode 100644 src/gallium/winsys/drm/intel/SConscript
delete mode 100644 src/gallium/winsys/drm/nouveau/Makefile
delete mode 100644 src/gallium/winsys/drm/radeon/Makefile
delete mode 100644 src/gallium/winsys/drm/radeon/SConscript
delete mode 100644 src/gallium/winsys/drm/vmware/Makefile
delete mode 100644 src/gallium/winsys/drm/vmware/SConscript
rename src/gallium/winsys/{drm/intel/gem => i915/drm}/Makefile (82%)
rename src/gallium/winsys/{drm/intel/gem => i915/drm}/SConscript (100%)
rename src/gallium/winsys/{drm/intel/gem => i915/drm}/intel_drm_api.c (100%)
rename src/gallium/winsys/{drm/intel/gem => i915/drm}/intel_drm_batchbuffer.c (100%)
rename src/gallium/winsys/{drm/intel/gem => i915/drm}/intel_drm_buffer.c (100%)
rename src/gallium/winsys/{drm/intel/gem => i915/drm}/intel_drm_fence.c (100%)
rename src/gallium/winsys/{drm/intel/gem => i915/drm}/intel_drm_winsys.h (100%)
rename src/gallium/winsys/{drm/i965/gem => i965/drm}/Makefile (78%)
rename src/gallium/winsys/{drm/i965/gem => i965/drm}/SConscript (100%)
rename src/gallium/winsys/{drm/i965/gem => i965/drm}/i965_drm_api.c (98%)
rename src/gallium/winsys/{drm/i965/gem => i965/drm}/i965_drm_buffer.c (100%)
rename src/gallium/winsys/{drm/i965/gem => i965/drm}/i965_drm_winsys.h (100%)
rename src/gallium/winsys/{drm => }/i965/xlib/Makefile (97%)
rename src/gallium/winsys/{drm => }/i965/xlib/xlib_i965.c (100%)
rename src/gallium/winsys/{drm => }/nouveau/drm/Makefile (79%)
rename src/gallium/winsys/{drm => }/nouveau/drm/nouveau_dri.h (100%)
rename src/gallium/winsys/{drm => }/nouveau/drm/nouveau_drm_api.c (100%)
rename src/gallium/winsys/{drm => }/nouveau/drm/nouveau_drm_api.h (100%)
rename src/gallium/winsys/{drm/radeon/core => radeon/drm}/Makefile (79%)
rename src/gallium/winsys/{drm/radeon/core => radeon/drm}/SConscript (100%)
rename src/gallium/winsys/{drm/radeon/core => radeon/drm}/radeon_buffer.h (100%)
rename src/gallium/winsys/{drm/radeon/core => radeon/drm}/radeon_drm.c (100%)
rename src/gallium/winsys/{drm/radeon/core => radeon/drm}/radeon_drm.h (100%)
rename src/gallium/winsys/{drm/radeon/core => radeon/drm}/radeon_drm_buffer.c (100%)
rename src/gallium/winsys/{drm/radeon/core => radeon/drm}/radeon_r300.c (100%)
rename src/gallium/winsys/{drm/radeon/core => radeon/drm}/radeon_r300.h (100%)
rename src/gallium/winsys/{drm/radeon/core => radeon/drm}/radeon_winsys.h (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/Makefile (63%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/SConscript (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_buffer.c (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_buffer.h (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_context.c (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_context.h (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_fence.c (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_fence.h (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_screen.c (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_screen.h (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_screen_dri.c (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_screen_ioctl.c (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_screen_pools.c (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_screen_svga.c (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_surface.c (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmw_surface.h (100%)
rename src/gallium/winsys/{drm/vmware/core => svga/drm}/vmwgfx_drm.h (100%)
rename src/gallium/winsys/{drm/i965 => sw}/Makefile (61%)
copy src/gallium/winsys/{drm/sw => sw/drm}/Makefile (73%)
rename src/gallium/winsys/{drm/sw => sw/drm}/sw_drm_api.c (98%)
rename src/gallium/winsys/{drm/sw => sw/drm}/sw_drm_api.h (100%)
rename src/gallium/winsys/{ => sw}/gdi/SConscript (100%)
rename src/gallium/winsys/{ => sw}/gdi/gdi_sw_winsys.c (100%)
rename src/gallium/winsys/{ => sw}/gdi/gdi_sw_winsys.h (100%)
rename src/gallium/winsys/{ => sw}/null/Makefile (78%)
rename src/gallium/winsys/{ => sw}/null/SConscript (100%)
rename src/gallium/winsys/{ => sw}/null/null_sw_winsys.c (100%)
rename src/gallium/winsys/{ => sw}/null/null_sw_winsys.h (100%)
rename src/gallium/winsys/{drm/sw => sw/wrapper}/Makefile (65%)
rename src/gallium/winsys/{drm/sw => sw/wrapper}/wrapper_sw_winsys.c (100%)
rename src/gallium/winsys/{drm/sw => sw/wrapper}/wrapper_sw_winsys.h (100%)
rename src/gallium/winsys/{ => sw}/xlib/Makefile (79%)
rename src/gallium/winsys/{ => sw}/xlib/SConscript (100%)
rename src/gallium/winsys/{ => sw}/xlib/xlib_sw_winsys.c (100%)
/external/mesa3d/configure.ac
43218a45a4cdbe2bc92867dc143f4b0e5fe9ca8d 24-Mar-2010 Jakob Bornecrantz <jakob@vmware.com> gallium: Move xorg drivers to targets

Attached output from git commit:
rename src/gallium/{winsys/drm/intel/xorg => targets/xorg-i915}/Makefile (95%)
rename src/gallium/{winsys/drm/intel/xorg => targets/xorg-i915}/intel_xorg.c (98%)
rename src/gallium/{winsys/drm/i965/xorg => targets/xorg-i965}/Makefile (78%)
rename src/gallium/{winsys/drm/i965/xorg => targets/xorg-i965}/intel_xorg.c (98%)
rename src/gallium/{winsys/drm/nouveau/xorg => targets/xorg-nouveau}/Makefile (96%)
rename src/gallium/{winsys/drm/nouveau/xorg => targets/xorg-nouveau}/nouveau_xorg.c (98%)
rename src/gallium/{winsys/drm/radeon/xorg => targets/xorg-radeon}/Makefile (73%)
rename src/gallium/{winsys/drm/radeon/xorg => targets/xorg-radeon}/radeon_xorg.c (98%)
rename src/gallium/{winsys/drm/vmware/xorg => targets/xorg-vmwgfx}/Makefile (97%)
rename src/gallium/{winsys/drm/vmware/xorg => targets/xorg-vmwgfx}/SConscript (100%)
rename src/gallium/{winsys/drm/vmware/xorg => targets/xorg-vmwgfx}/vmw_driver.h (100%)
rename src/gallium/{winsys/drm/vmware/xorg => targets/xorg-vmwgfx}/vmw_hook.h (100%)
rename src/gallium/{winsys/drm/vmware/xorg => targets/xorg-vmwgfx}/vmw_ioctl.c (99%)
rename src/gallium/{winsys/drm/vmware/xorg => targets/xorg-vmwgfx}/vmw_screen.c (100%)
rename src/gallium/{winsys/drm/vmware/xorg => targets/xorg-vmwgfx}/vmw_video.c (99%)
rename src/gallium/{winsys/drm/vmware/xorg => targets/xorg-vmwgfx}/vmw_xorg.c (100%)
/external/mesa3d/configure.ac
f5ba2cdeb902993b993187a958aad89c5ac79d6b 24-Mar-2010 Jakob Bornecrantz <jakob@vmware.com> gallium: Move egl drivers to targets

Atteched output from git commit:
rename src/gallium/{winsys/drm => targets}/Makefile.egl (100%)
rename src/gallium/{winsys/drm/intel/egl => targets/egl-i915}/Makefile (86%)
rename src/gallium/{winsys/drm/i965/egl => targets/egl-i915}/dummy.c (100%)
rename src/gallium/{winsys/drm/i965/egl => targets/egl-i965}/Makefile (86%)
rename src/gallium/{winsys/drm/intel/egl => targets/egl-i965}/dummy.c (100%)
rename src/gallium/{winsys/drm/nouveau/egl => targets/egl-nouveau}/Makefile (88%)
rename src/gallium/{winsys/drm/nouveau/egl => targets/egl-nouveau}/dummy.c (100%)
rename src/gallium/{winsys/drm/radeon/egl => targets/egl-radeon}/Makefile (87%)
rename src/gallium/{winsys/drm/radeon/egl => targets/egl-radeon}/dummy.c (100%)
create mode 100644 src/gallium/targets/egl-swrast/Makefile
create mode 100644 src/gallium/targets/egl-swrast/swrast_glue.c
rename src/gallium/{winsys/drm/vmware/egl => targets/egl-vmwgfx}/Makefile (86%)
rename src/gallium/{winsys/drm/swrast/egl => targets/egl-vmwgfx}/dummy.c (100%)
delete mode 100644 src/gallium/winsys/drm/swrast/Makefile
delete mode 100644 src/gallium/winsys/drm/swrast/core/Makefile
delete mode 100644 src/gallium/winsys/drm/swrast/core/swrast_drm_api.c
delete mode 100644 src/gallium/winsys/drm/swrast/egl/Makefile
delete mode 100644 src/gallium/winsys/drm/vmware/egl/dummy.c
/external/mesa3d/configure.ac
be38b32531cc974ff8a33e4504d4169150be4d55 23-Mar-2010 Jakob Bornecrantz <jakob@vmware.com> gallium: Move dri drivers to targets

Attached output from git commit:
rename src/gallium/{winsys/drm/Makefile.template => targets/Makefile.dri} (100%)
rename src/gallium/{winsys/drm/intel/dri => targets/dri-i915}/Makefile (75%)
rename src/gallium/{winsys/drm/intel/dri => targets/dri-i915}/SConscript (100%)
rename src/gallium/{winsys/drm/i965/dri => targets/dri-i965}/Makefile (76%)
rename src/gallium/{winsys/drm/i965/dri => targets/dri-i965}/SConscript (100%)
rename src/gallium/{winsys/drm/nouveau/dri => targets/dri-nouveau}/Makefile (86%)
rename src/gallium/{winsys/drm/radeon/dri => targets/dri-radeong}/Makefile (85%)
rename src/gallium/{winsys/drm/radeon/dri => targets/dri-radeong}/SConscript (100%)
rename src/gallium/{winsys/drm/vmware/dri => targets/dri-vmwgfx}/Makefile (85%)
rename src/gallium/{winsys/drm/vmware/dri => targets/dri-vmwgfx}/SConscript (100%)
/external/mesa3d/configure.ac
41d2ebf2020311eb032882d9b0bd1efe916f1feb 16-Mar-2010 Jakob Bornecrantz <jakob@vmware.com> gallium: Remove GALLIUM_WINSYS_DRM_DIRS
/external/mesa3d/configure.ac
e725ef171b5a4d5425461f237d9ccab223806913 16-Mar-2010 Dan Nicholson <dbn.lists@gmail.com> Change libX11 variables to not conflict with AC_PATH_XTRA

The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir
parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars
for linking with Xlib to avoid the conflict.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
f9d09a2e7859a2cf025d71b7c3cb189edb6688c4 21-Feb-2010 Luca Barbieri <luca@luca-barbieri.com> nv30, nv40: move last files to nvfx/ and rm -rf nv30 nv40

This is the last nvfx unification patch.

nv[34]0_fragtex.c are moved to the common directory
nv[34]0_shader.h are renamed to nv[34]0_vertprog.h and moved to
the common directory

The separate nv30 and nv40 directories are removed from the build
system
/external/mesa3d/configure.ac
6321a183319fdcb2ebee757b7f0922efe3f919db 20-Feb-2010 Luca Barbieri <luca@luca-barbieri.com> nvfx: add nvfx directory to build system

Will be used to hold source files unified between nv30 and nv40.

Eventually all nv30 and nv40 code will be moved there and the
nv30 and nv40 directories will be removed.
/external/mesa3d/configure.ac
8d86d395dcf6a5f192b6987485bb7aef49f1fefc 13-Mar-2010 Jeff Smith <whydoubt@yahoo.com> Use X_LIBS from pkg-config, instead of libdir, for locating libX11

Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
b13e305ee1a2454265fd957a99640a2e49507bea 12-Mar-2010 Michel Dänzer <daenzer@vmware.com> Merge branch '7.8'
51bff09f72632fbe431175bc81b49da7b2cc731c 11-Mar-2010 Keith Whitwell <keithw@vmware.com> mesa: fix linux-dri and autogen builds since sw-api-2 merge
/external/mesa3d/configure.ac
a8238bb08a95e7ea4430450c304a6bee210df1a6 07-Mar-2010 Younes Manton <younes.m@gmail.com> Merge remote branch 'origin/master' into pipe-video

Conflicts:
configure.ac
src/gallium/auxiliary/vl/Makefile
src/gallium/auxiliary/vl/SConscript
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_compositor.h
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h
src/gallium/drivers/nouveau/nouveau_winsys.h
src/gallium/drivers/softpipe/sp_video_context.c
src/gallium/include/pipe/p_video_state.h
src/gallium/include/state_tracker/drm_api.h
src/gallium/state_trackers/xorg/xvmc/surface.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.h
src/gallium/winsys/drm/radeon/core/radeon_drm.c
src/gallium/winsys/g3dvl/nouveau/Makefile
683a099954bf03b7a8c28183b39ef26563a57bcc 11-Mar-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fixup configure

Make sure we always test for XEXT version.
Make sure that the user has a recent version of libkms and libdrm installed.

Note that the st/xorg code requires so new versions to work but these are
needed to make a proper vmwgfx_drv.so driver which is the only real user.

Cherry picked from 46cf606cd35d6740b28fd26bd32dbdfdde2c7833
Conflicts:

configure.ac
/external/mesa3d/configure.ac
9009a854d1e0a8682af50b34650e0de62f5fe3a3 06-Mar-2010 George Sapountzis <gsapountzis@gmail.com> config: drop WINDOW_SYSTEM var
/external/mesa3d/configure.ac
40cd082afa42c86e320f73389f3d0836587f97d9 06-Mar-2010 Younes Manton <younes.m@gmail.com> vl: Add switches to autoconf.

Pass 'xorg/xvmc' to --with-state-trackers to get the XvMC state tracker.
Pass --enable-gallium-g3dvl to enable the winsys.
/external/mesa3d/configure.ac
9aa3aa71386394725ce88df463d6183f62777ee5 04-Mar-2010 Ian Romanick <ian.d.romanick@intel.com> Add version check for GCC

Mesa now requires GCC 3.3.0 or later. See the following thread from
the mesa3d-dev mailing list for more details:

http://marc.info/?t=126748568900005&r=1&w=2

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/configure.ac
179d2c0e0bcf96fc40107882ccab909af8c89853 03-Mar-2010 Eric Anholt <eric@anholt.net> intel: Use drm_intel_bo_alloc_tiled for region allocs.

This moves the logic for how to align pitches, heights, and sizes of
objects to one central location. Fixes rendering with texture tiling
on i915. Note that current libdrm is required for the change for
I915_TILING_NONE pitch alignment.
/external/mesa3d/configure.ac
79aeafd3ca3680c28f6d47a21a501334844f4475 25-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Drop fb, ffb and gamma dri drivers
/external/mesa3d/configure.ac
4387580e50f49d642160982208c807da858cd1ab 25-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Remove directfb support
/external/mesa3d/configure.ac
979889038ebb5b95b2e609372aaec10fd9da8172 18-Feb-2010 Brian Paul <brianp@vmware.com> configure: PTHREADS should be defined on cygwin, as well

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Brian Paul <brianp@vmware.com>

(cherry picked from commit c1a4f249f18a766488da0832fbf6700de93af2f8)
/external/mesa3d/configure.ac
aa0cd707af59efe322426420f68d42eb35ee922b 15-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> configure.ac: Lower require dri2proto version to 2.1

Additions after 2.1 are implemented in a conditional way and will be
supported if available.
/external/mesa3d/configure.ac
1ebc5681545786c247aacec8198a0fccef93b5d8 09-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> configure.ac: Enable egl demos when --enable-egl is passed
/external/mesa3d/configure.ac
6e8897ff9f90601ebf6eed500ad942c11b54d1f7 09-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Retire miniglx and move the actual glx code up to src/glx
/external/mesa3d/configure.ac
077bc2fda2afdbe0bf12e1baeafa4ce41b711d1d 05-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> egl_dri2: Use pkg-config cflags and libs from configure output

Running pkg-config in Makefiles is bad form, since it doesn't respect the
PKG_CONFIG_PATH value set at ./configure time.
/external/mesa3d/configure.ac
c036d13d7d2cc905226fe53ebd86a18da808963f 05-Feb-2010 Keith Whitwell <keithw@vmware.com> Merge commit 'fj/mesa-next'
2eb7a2fccd5416d56fd88618ed3138aeeaf0da1c 05-Feb-2010 Chia-I Wu <olvaffe@gmail.com> configure.ac: Check for xcb-dri2 to enable EGL dri2 driver.

Check that xcb-dri2 is available before including EGL dri2 driver into
EGL_DRIVERS_DIRS.
/external/mesa3d/configure.ac
5b6b67eb3ff714fbba8aed88a22a7646e1dbf655 04-Feb-2010 Francisco Jerez <currojerez@riseup.net> Nuke the nv0x-nv2x gallium pipe drivers.
/external/mesa3d/configure.ac
42fa009e641c35a6543f2fb63b229c0adc8a30dc 03-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> egl: Add driver for EGL on X with DRI2
/external/mesa3d/configure.ac
146931769c75978c58ac0088e8ab630fc41074ec 21-Jan-2010 Chia-I Wu <olvaffe@gmail.com> glx: Build GLX normally.

GLX was built specially and before Mesa core because libglapi.a could
not be built with IN_DRI_DRIVER defined. This is no longer the case
since 6e99e6ddbf488f6955e34ef0bc438fdcb4d90f74.

It works fine in my (limited) testing with both direct and indirect
rendering. I also compare the outputs after preprocessing (gcc -E) with
or without this commit, and they are identical.
/external/mesa3d/configure.ac
28c3e57c8354f988f49bac69a6866418e6009a5d 23-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Install drivers to ${libdir}/egl.

Install EGL drivers to EGL_DRIVER_INSTALL_DIR, which is default to
${libdir}/egl.
/external/mesa3d/configure.ac
3c967a920718c2a74996ac23b8c1964915db88c2 22-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Rename to st/egl.

Simply the name to egl.
/external/mesa3d/configure.ac
a1306f4ef6f83a86d03720641f3cdc5e13485fa6 22-Jan-2010 Chia-I Wu <olvaffe@gmail.com> winsys/drm: Add swrast.

The swrast winsys always returns NULL when drm_api_create is called.
/external/mesa3d/configure.ac
52d7b2cedee44fbd9a0e6405b974c62898bed169 22-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl: Remove the egl state tracker.

The egl_g3d state tracker has support for KMS, and the support is based
on the egl state tracker. As egl_g3d provides more features, it should
be better to keep only egl_g3d to unify the efforts.
/external/mesa3d/configure.ac
2a928899e345e400c4266910b4e33b36a20575e2 22-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Remove USING_EGL and the related drivers.

They do not build for a long while and there seems to be no active
users. It might be better for them to live in the git histroy.
/external/mesa3d/configure.ac
f8107a45ce92a7b0aedc2ae562ca609308b096a8 22-Jan-2010 Alan Coopersmith <alan.coopersmith@sun.com> Fix typo in configure message for gcc -fvisibility=hidden

Need to use $CC for a shell variable, not $(CC) for a make variable
which the shell interprets as running the command "CC".

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
/external/mesa3d/configure.ac
5e8240320ac39a3e8984054bc300743725312741 20-Jan-2010 Chia-I Wu <olvaffe@gmail.com> Merge remote branch 'origin/opengl-es-v2'
adda7f3215a0f749751977cbbb6cef67f7163be5 17-Jan-2010 Alan Coopersmith <alan.coopersmith@sun.com> Check if gcc supports -fvisibility=hidden before adding to CFLAGS

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
/external/mesa3d/configure.ac
877cadb65512a93f3ccf2f25bbc2f7565d75050f 14-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> r300g: Build driver by default

Do the auto trick that is used for both i915, i965 and svga.
/external/mesa3d/configure.ac
ed59b13da8b036cb428ae5074d9217792191daeb 13-Jan-2010 Jesse Barnes <jbarnes@virtuousgeek.org> GLX: use glproto CFLAGS etc. when building

Roll the glproto check into the dri2proto and libdrm check so we get the
proper CFLAGS and LDFLAGS for the package.
/external/mesa3d/configure.ac
99a37ed195801fd0a0b64a20f08c8d4f9d66137f 05-Jan-2010 Chia-I Wu <olvaffe@gmail.com> configure.ac: Fix es state tracker build.

mesa/es should be built before the es state trackers. This is done by
separating those that need to be built early from SRC_DIRS to CORE_DIRS.
The new variable is not exported, and will be prepended to SRC_DIRS.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/configure.ac
562c127693200822f04a145db50add1be2425d7b 12-Jan-2010 Chia-I Wu <olvaffe@gmail.com> Merge branch 'master' into opengl-es-v2

Conflicts:
src/mesa/main/dd.h
077d6dd7508af88509dd0499c5dfbdaa186b4015 10-Jan-2010 Chia-I Wu <olvaffe@gmail.com> winsys/drm: Use egl_g3d to build EGL drivers.

The new EGL drivers use egl_g3d and respect EGL_DISPLAYS. They are
named after the display supported and the DRM name.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/configure.ac
a68b51deb2ea4f3cb51f2753b1b879e5677db225 03-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Add support for KMS native display.

The KMS native display implements the modeset interface using DRM
modesetting.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/configure.ac
49381d63e61c724b156b76068058df1c01a906c2 10-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: New EGL state tracker that uses Gallium.

This new (intermediate) EGL state tracker is the base work for EGL
drivers that uses Gallium. It makes it easier to support new window
systems.

Currently, there is support only for X11. This driver supports multiple
APIs (OpenVG, OpenGL, ...) and supports hardware acceleration through
winsys/drm.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/configure.ac
f2f83d9a7891428ea7c784a75bd9e2968fdf00ae 11-Jan-2010 Jesse Barnes <jbarnes@virtuousgeek.org> GLX: check glproto version

This was a silent dependency before, but now we really need 1.4.11 for
INTEL_swap_event support, so check for it.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
/external/mesa3d/configure.ac
c6ef705e414c8e93ee471f50d15ada3492a9b067 11-Jan-2010 Jesse Barnes <jbarnes@virtuousgeek.org> Merge branch 'master' of ssh://people.freedesktop.org/~jbarnes/mesa

Conflicts due to DRI1 removal:
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_screen.c
d4c1ee05345e1e185ac15a3cd3552d9bb0d61bc3 21-Dec-2009 Chia-I Wu <olvaffe@gmail.com> egl: Clean up the Makefile rules.

This allows libEGL to be built as a static library and removes libX11
from the dependencies.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/configure.ac
a35f6bb207efe3c959bbd16a37f2049e5aceeea9 17-Jul-2009 Jesse Barnes <jbarnes@virtuousgeek.org> DRI2: add SwapBuffers support

Support the new DRI2 protocol request, DRI2SwapBuffers, in both direct
and indirect rendering context. This request allows the display server
to optimize back->front swaps (e.g. through page flipping) and allows us
to more easily support other GLX features like swap interval and the OML
sync extension in DRI2.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
/external/mesa3d/configure.ac
27fe7a7303d93bc38df1f3c2861d07af3e82546d 07-Jan-2010 Kristian Høgsberg <krh@bitplanet.net> configure: Fix matching for dri driver to actually work

The shell case statement obviously only evaluates the first matching
block. Thanks to Julien Cristau for spotting the bug.
/external/mesa3d/configure.ac
e5d351dcfde58777162552cf5cd2a9cd8299f4cd 23-Dec-2009 Chia-I Wu <olvaffe@gmail.com> Add es state tracker to autoconf.

mesa/es is needed in SRC_DIRS to build es state tracker.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/configure.ac
8616cec5c9889e6166839b33baa8db52f04d409c 01-Jan-2010 Kristian Høgsberg <krh@bitplanet.net> Check for libdrm_$chipset.pc when needed

This adds missing pkg-config lookup for intel and moves the radeon
lookup into a case...esac so it's only looked up when one or more of
the radeon drivers are enabled.
/external/mesa3d/configure.ac
e388d62b4712bcd75cecad53f5ca20a2bb6f89b1 03-Jan-2010 Kristian Høgsberg <krh@bitplanet.net> Compile with -fvisibility-hidden by default

We have all functions that need to be visible marked with PUBLIC and
this is trimming around 4% off the DRI driver .so size.
/external/mesa3d/configure.ac
c978ab017d103e60e7e69b6a7857a70baca29e7b 02-Jan-2010 José Fonseca <jfonseca@vmware.com> gallium: Hunt down all references to GALLIUM_AUXILIARY_DIRS.
/external/mesa3d/configure.ac
aa02683e45f1eaf61bba2ba7eeda7686efeed2ca 22-Dec-2009 Keith Whitwell <keithw@vmware.com> Merge branch 'i965g-restart'

Conflicts:
configure.ac
9eb7fc6661a1d46c06cec8584b898e3e690af6fa 22-Dec-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
src/mesa/main/version.h
src/mesa/state_tracker/st_atom_shader.c
bf064ce0c31abb036fc035c59fdc1134705a5e3f 22-Dec-2009 Fabio Pedretti <fabio.ped@libero.it> configure.ac: fix for libdrm_radeon API changes.
/external/mesa3d/configure.ac
ae1c0a06e81b8c6f015a3b64616a5d3a989f9373 22-Dec-2009 Fabio Pedretti <fabio.ped@libero.it> configure.ac: fix for libdrm_radeon API changes.
/external/mesa3d/configure.ac
a5585cb533af3d4e5d5324d5f526447b98597402 21-Dec-2009 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/master' into i965g-restart

Conflicts:
SConstruct
configs/default
configs/linux-dri
2f127e5236ca3c53bfe25fc4ffcfe16ae55ed42b 17-Dec-2009 Sedat Dilek <sedat.dilek@gmail.com> configure.ac: Add glsl to SRC_DIRS

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/configure.ac
bc0532b0ed3c6dca3a198c64384636d96b2056ef 04-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> gallium: DRI drivers enabled by default, Xorg drivers auto by default.

This change enabled gallium dri drivers by default under the
configure build system. Xorg drivers are built automaticaly
if a Xorg dev enviroment is installed and the Xorg version
is higher then 1.6.0.
/external/mesa3d/configure.ac
8ac2503397c0618db9caec1c702622830e1268ff 04-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> i915g: Do not build winsys and binaries by default

Using a hack in the configure script the gallium intel
drivers have 3 options. Off, nothing is built. On, the
driver and binaries are built. Auto, only the driver but
not the binaries and winsys is built.

Since the i915g driver builds everywhere its can enable
the driver per default, so we can get build coverage.
But building the binaries per default is a pain for
distributions and testers since they conflict on the
install target with the old mesa drivers. Which are more
stable/faster/better.

So this change gives us the best of both worlds.
/external/mesa3d/configure.ac
60769b232c8eedddc24f25ab91f35bcb6973dded 12-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> svga: Build svga driver
/external/mesa3d/configure.ac
ce4f23aab9e10675a569bab92d0edcbca7399d33 05-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> i965g: Build with configure
/external/mesa3d/configure.ac
4bced42341d13303ae023957d3001a640cf7ea2d 03-Nov-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_6_branch'
35506dec6734a1ae777dc16981cb19e514f41897 28-Oct-2009 Chow Loong Jin <hyperair@gmail.com> Add --with-dri-searchpath argument

* Add an extra argument to configure which allows for specifying
different DRI driver search paths to libGL (FDO #24766)

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
fd7ee2bcb74edf8c4412a244c33fd4749509b912 22-Oct-2009 Corbin Simpson <MostAwesomeDude@gmail.com> Kill off trident.

Hm. I could have said "chew trident and spit it out," or perhaps
"spear trident," instead. Dohoho.
/external/mesa3d/configure.ac
8e4657a9d4cbb899d388068cff0f8c267071fa50 22-Oct-2009 Corbin Simpson <MostAwesomeDude@gmail.com> Nuke s3v.

As per FDO #17889.
/external/mesa3d/configure.ac
9282edfaa0ad24be16f5e395f346ca477050cdf6 13-Oct-2009 Tom Fogal <tfogal@alumni.unh.edu> ac: Fix AIX shared library builds.

AIX uses ".a" for both static and shared library extensions.
/external/mesa3d/configure.ac
5c4bdbd825934fe01330890d360b61caa06fdc8d 15-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> autoconf: Fix case for not having package
/external/mesa3d/configure.ac
ce3801ab87ef6eb29e5b81c2acfdd102f7b9c0ae 14-Oct-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_6_branch'
859828cc4fb989bc5b67d26991a090a9f37e7c05 09-Oct-2009 Eric Anholt <eric@anholt.net> mesa: Bump the required libdrm version to reflect reality.

Not all drivers require the latest version, but distros are good at
tracking it since we've got a good record as far as not regressing, and
it sure beats having a weird compile failure in someone else's driver
later on.
/external/mesa3d/configure.ac
f00da2a3ff59c1a7104ac25a1c6eba5a6050ad68 30-Sep-2009 Jakob Bornecrantz <jakob@vmware.com> i915g: Drop the simple sufix

None of the other driver have a silly sufix,
so just drop it. Nothing new added in this commit
or any other commit but this is better marketing.
/external/mesa3d/configure.ac
f547472bfa0a797adacc2a7688b4c1ba65381a80 28-Sep-2009 Younes Manton <younes.m@gmail.com> g3dvl: pipe_video_context interface, softpipe impl, auxiliary libs
/external/mesa3d/configure.ac
e9d6ab72be065becf7a077c33919d37faa8db92e 21-Sep-2009 Dave Airlie <airlied@redhat.com> xorg/st: fixup builds against later dpms headers.
/external/mesa3d/configure.ac
5d526ed21ac9f1ec9220c2adb4c905893eb9d990 15-Sep-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
1402ea8f3984e5d8659ff2d923d438ecbf79042e 14-Sep-2009 Thierry Vignaud <tvignaud@mandriva.com> configure: fix comment
/external/mesa3d/configure.ac
c705e7238292d6c534d18dddcc03ecc6a24a5d66 31-Aug-2009 Marc Dietrich <marvin24@gmx.de> mesa: fix 32bit cross compilation on a 64bit machine

When cross compiling on a 64bit machine, gen_matypes.c is build
for the host machine (64bit) but must generates code for the target
machine (32bit). This causes wrong offsets all over the place and
crashes googleearth on my machine. Solution is to add -m32 when
cross compiling.

Attached patch is compatible with linux-x86-32 and autoconf based
builds.
/external/mesa3d/configure.ac
a48ee529a256611676884262ced218ad6c05f961 31-Aug-2009 Marc Dietrich <marvin24@gmx.de> mesa: fix 32bit cross compilation on a 64bit machine

When cross compiling on a 64bit machine, gen_matypes.c is build
for the host machine (64bit) but must generates code for the target
machine (32bit). This causes wrong offsets all over the place and
crashes googleearth on my machine. Solution is to add -m32 when
cross compiling.

Attached patch is compatible with linux-x86-32 and autoconf based
builds.
/external/mesa3d/configure.ac
467b3d9a6f32b38c36a4be145b07c8f7b719215a 14-Aug-2009 Brian Paul <brianp@vmware.com> Add configure options for MAX_WIDTH/HEIGHT.

This adds two --with configure options for setting defines for
MAX_WIDTH and MAX_HEIGHT. It's conceivably just as easy to define
these in CFLAGS manually, but this way users don't need to know
about internal Mesa details.

Patch updated by BrianP to set DEFINES, not CFLAGS.

(cherry picked from master, commit 7085dce750f478312a47f474330d63cc900a8448)
/external/mesa3d/configure.ac
7085dce750f478312a47f474330d63cc900a8448 14-Aug-2009 Tom Fogal <tfogal@alumni.unh.edu> Add configure options for MAX_WIDTH/HEIGHT.

This adds two --with configure options for setting defines for
MAX_WIDTH and MAX_HEIGHT. It's conceivably just as easy to define
these in CFLAGS manually, but this way users don't need to know
about internal Mesa details.

Patch updated by BrianP to set DEFINES, not CFLAGS.
/external/mesa3d/configure.ac
5e6fff7ac4a4e0d06d394391f6e2dd2eb6ff8aee 19-Jul-2009 Jakob Bornecrantz <jakob@vmware.com> svga: Do the gallium intel configure trick for svga as well

Since the drivers we produce on systems where we use
configure depend on none stable kernel API the driver
deliverables should not be built by default in the
mesa 7.7 release.

People wishing to shoot them self in the foot have to
pull the trigger themself, we just hand them the gun.
/external/mesa3d/configure.ac
c5c19919ce627b98d8aab4284da1694573bcccd4 15-Jul-2009 Alex Deucher <alexdeucher@gmail.com> Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r6xx-rewrite

This builds, but I get an assertion in radeonGetLock() due to
the drawable being null.
9615daa9324341f6a56932dc46b807f402d18283 13-Jul-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'
cade071d525f71069f635fd0b705e64d897b32c4 10-Jul-2009 Michel Dänzer <daenzer@vmware.com> Remove stale reference to non-Gallium nouveau driver from configure.ac.
/external/mesa3d/configure.ac
d60b2c68552a2729dfdb33c2bac4822453cf8ae2 24-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> identity: Add new identity driver

This driver does no transformation of the gallium calls
going to the real driver, like the identity matrix. It is
intended to be the basis for transforming and/or debug
drivers like trace and rbug.

Authors of this patch are:
Michal Krol, orignal heavy lifting.
José Fonesca, object wrapping code stolen from trace.
Jakob Bornecrantz, put it all toghether and renamed a stuff.
/external/mesa3d/configure.ac
1036ef2bf468611d37b5df06fc4424f2002e3837 12-Jun-2009 Alex Deucher <alexdeucher@gmail.com> Merge master and fix conflicts
7f223ff89172069dbad987f592aea2a8ba16355f 12-Jun-2009 Dave Airlie <airlied@redhat.com> Merge remote branch 'main/radeon-rewrite'
ee98ae5a29ca870149c4a0d2a8f25f55e0fd333a 09-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
src/mesa/main/version.h
src/mesa/shader/slang/slang_preprocess.c
src/mesa/state_tracker/st_cb_bufferobjects.c
7eed6ab5b525b75f690d05042c90d05827253114 08-Jun-2009 Jon TURNEY <jon.turney@dronecode.org.uk> Cygwin build fixes

Fix mklib to deal with NOPREFIX and use --enable-auto-image-base for cygwin
Teach configure.ac some basic facts about cygwin

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
/external/mesa3d/configure.ac
545e574cd9a2a659cd9a93879dff8884bd247558 07-Jun-2009 Dave Airlie <airlied@redhat.com> Merge remote branch 'origin/master' into radeon-rewrite
bc466be695913cd504cefddd857ac1cefda87a04 04-Jun-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: add pipe_buffer/fence code to pipe drivers, move nv50 over
/external/mesa3d/configure.ac
6453605785a3036c7e633400e4bd35bf2297b000 05-Jun-2009 Dan Nicholson <dbn.lists@gmail.com> osmesa: Link with -ldl for dlopen code

Now that the dlopen wrappers are built into libmesa.a, we need to link
standalone libOSMesa with libdl to resolve dlopen and friends on
platforms that need it.
(cherry picked from commit 4795dd5950d4dcd7c8d421c8fb4851c193297ba1)
/external/mesa3d/configure.ac
4795dd5950d4dcd7c8d421c8fb4851c193297ba1 05-Jun-2009 Dan Nicholson <dbn.lists@gmail.com> osmesa: Link with -ldl for dlopen code

Now that the dlopen wrappers are built into libmesa.a, we need to link
standalone libOSMesa with libdl to resolve dlopen and friends on
platforms that need it.
/external/mesa3d/configure.ac
bc302b2a33ceffe454bcf443daa0ac1edc118e9b 22-May-2009 Dan Nicholson <dbn.lists@gmail.com> Use separate $(MINSTALL) for installing libraries

The special feature of bin/minstall to copy symlinks is only ever needed
when installing libraries which may have .so symlinks. All the headers
and directories can use a normal install program.

These two modes are separated as $(INSTALL) and $(MINSTALL) to allow the
user (or autoconf) to override installing normal files as they please.
An autoconf check for the install program has been added and will be
used in preference to minstall when available.

Fixes bug 16053.
/external/mesa3d/configure.ac
dfa4ebcbcc9c7e9e7562f73a4ddc367756623e5e 15-May-2009 Jakob Bornecrantz <jakob@vmware.com> rbug: Add Gallium Remote Debugger Protocol code

This is the (de)marshalling and connection managment code
/external/mesa3d/configure.ac
221b30d595ab2f97fd0518c761615dd28f3ef5ca 10-May-2009 Jerome Glisse <glisse@freedesktop.org> Merge commit 'origin/master' into radeon-rewrite

Conflicts:
src/mesa/drivers/dri/r200/r200_state.c
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_fragprog.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_texmem.c
src/mesa/drivers/dri/r300/r300_texstate.c
src/mesa/drivers/dri/r300/r500_fragprog.c
src/mesa/drivers/dri/radeon/radeon_screen.c
src/mesa/drivers/dri/radeon/radeon_state.c
66f978625685d83b04c32b19b62c3cb8c0d25f74 29-Apr-2009 Dan Nicholson <dbn.lists@gmail.com> autoconf: Add switch for optional EGL

EGL doesn't build on all platforms, so allow people to opt out.
/external/mesa3d/configure.ac
356f311c4a3ee91a4afe33d210dd4c5fdc897ea3 29-Apr-2009 Dan Nicholson <dbn.lists@gmail.com> autoconf: Clean up some m4 usage

m4_fatal is equivalent to m4_errprint + m4_exit.
/external/mesa3d/configure.ac
d18dd6ad11268c7a6c2835f4f5fa999c735da300 23-Apr-2009 Samuel Thibault <samuel.thibault@ens-lyon.org> GNU/Hurd fixes

Here is a couple of fixes for GNU/Hurd:
- dri_interface.h: no libdrm support either.
- configure.ac:
- GNU/Hurd is a GNU OS with _GNU_SOURCE and PTHREADS.
- GNU needs a couple of flags like other OSes

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
466c78c93538f2853449124c06274d538830cd5a 22-Apr-2009 Dave Airlie <airlied@linux.ie> Merge remote branch 'origin/master' into radeon-rewrite
6bd4bc785e587ac86231349648595fc0e136f10d 21-Apr-2009 Michel Dänzer <daenzer@vmware.com> Update GALLIUM_AUXILIARY_DIRS in configure.ac to match configs/default.
/external/mesa3d/configure.ac
373e6716830c52377374458a3c655f32ae84b54f 19-Apr-2009 Jakob Bornecrantz <jakob@vmware.com> autoconf: Build gallium softpipe when driver=xlib
/external/mesa3d/configure.ac
04f335fd16c2a13b9425797acf5c3989cb6def7f 10-Apr-2009 Alex Deucher <alexdeucher@gmail.com> Merge branch 'radeon-rewrite' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r6xx-rewrite
48f0543b39969694626bbeeca0b69b184db315f6 10-Apr-2009 Robert Noland <rnoland@2hip.net> Build dri drivers for powerpc and sparc on FreeBSD.
/external/mesa3d/configure.ac
d1a9b1f513109c975a5a7ed5a2d0c329b280afe4 09-Apr-2009 Dave Airlie <airlied@redhat.com> Merge remote branch 'origin/master' into radeon-rewrite

Conflicts:
src/mesa/drivers/dri/r200/r200_tex.c
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_swtcl.c
src/mesa/drivers/dri/r300/r300_tex.c
src/mesa/drivers/dri/r300/r300_texmem.c
src/mesa/drivers/dri/r300/r300_texstate.c
src/mesa/drivers/dri/radeon/radeon_tex.c
4138bdb3b1e845d8a6172015025e1231fda7dcd1 08-Apr-2009 Alex Deucher <alexdeucher@gmail.com> R600: initial copy of r300 code
/external/mesa3d/configure.ac
3cf6e62ae32870d16b2cfc45a37e54a6fb3a1fbe 24-Mar-2009 Alan Coopersmith <alan.coopersmith@sun.com> mklib improvements for Solaris

Move flags for linking standard C/C++ libraries from configure.ac to mklib
Use -norunpath flag when linking with Sun C++ compiler
Convert mklib -exports list into a linker mapfile
Set FINAL_LIBS correctly when -noprefix is used

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
/external/mesa3d/configure.ac
407e8ae5b167b0193e1e5b1266a5d61ed836dfb5 20-Mar-2009 Dave Airlie <airlied@redhat.com> Merge remote branch 'main/master' into radeon-rewrite

Conflicts:
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_swtcl.c
src/mesa/drivers/dri/r300/radeon_ioctl.c
src/mesa/drivers/dri/radeon/radeon_screen.c
8acca48cd575335b33cdc8fed6906f4d656233cc 06-Mar-2009 Joel Bosveld <Joel.Bosveld@gmail.com> st/xorg: Install to XORG_DRIVER_INSTALL_DIR
/external/mesa3d/configure.ac
ac55db1d7d6cd58e49a033859d1d86a7dcf71d45 04-Mar-2009 Dan Nicholson <dbn.lists@gmail.com> autoconf: Restore _GNU_SOURCE for all Linux systems

This catches the linux-uclibc case and any others that were being set
prior to 98fcdf3f. Fixes bug 20345.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
857ac1e817808f4b6bf985679162d0e3d709e5b5 26-Feb-2009 David S. Miller <davem@davemloft.net> mesa: Resurrect SPARC asm code.

This rewrites the sparc GLAPI code so that it's PIC friendly and works
with all of the TLS/PTHREADS/64-bit/32-bit combinations properly.

As a result we can turn SPARC asm back on. Currently it's only
enabled on Linux, as that's the only place where I can test this
stuff out.

For the moment the cliptest SPARC asm routines are disabled as they
are non-working. The problem is that they use register %g7 as a
temporary which is where the threading libraries store the thread
pointer on SPARC. I will fix that code up in a future change as it's
a pretty important routine to optimize.

Like x86 we do the runtime patch as a pthread once-invoked initializer
in init_glapi_relocs().

Unlike x86, however, our GLAPI stubs on SPARC are just two instruction
sequences that branch to a trampoline and put the GLAPI offset into a
register. The trampoline is what we run-time patch. The stubs thus
all look like:

glFoo:
ba __glapi_sparc_foo_stub
sethi GLAPI_OFFSET(glFOO) * PTR_SIZE, %g3

This actually makes generate_entrypoint() a lot simpler on SPARC. For
this case in generate_entrypoint() we generate stubs using a 'call'
instead of the 'ba' above to make sure it can reach.

In order to get a proper tail call going here, in the unpatched case,
we do several tricks. To get the current PC, for example, we save the
return address register into a temporary, do a call, save the return
address register written by the call to another temporary, then
restore the original return address register value. This is to
avoid having to allocate a stack frame.

This is necessary for PIC address formation.

This new GLAPI scheme lets us get rid of the ugly SPARC GLAPI hacks in
__glXInitialize() and one_time_init().

Signed-off-by: David S. Miller <davem@davemloft.net>
/external/mesa3d/configure.ac
53b373451142aeea9111143d7902bf8f5716ef75 26-Feb-2009 Dan Nicholson <dbn.lists@gmail.com> autoconf: Fixup EGL build

This gets the needed libraries pulled in for libEGL for autoconf.
/external/mesa3d/configure.ac
32dc28ac7ace3ab9fedeba66ab90cf690b1d6794 25-Feb-2009 David S. Miller <davem@davemloft.net> mesa: Build DRI by default on Linux/sparc

Signed-off-by: David S. Miller <davem@davemloft.net>
/external/mesa3d/configure.ac
d67bd60ecf13331ec5aa12bdb88b35f44dccdeb0 20-Feb-2009 Jakob Bornecrantz <jakob@vmware.com> gallium: s/GALLIUM_DRIVER_DIRS/GALLIUM_DRIVERS_DIRS/
/external/mesa3d/configure.ac
b0e8ac8fd2eeb88b5f9299afb36102113a2435d4 15-Feb-2009 Dave Airlie <airlied@redhat.com> radeon: add cflags to decide whether to link libdrm_radeon or not.

You don't need libdrm_radeon for the legacy driver to build,
only for the experimental mm/cs paths.
/external/mesa3d/configure.ac
11eb127e47c67bf714c8cf97495663e6b711b392 18-Feb-2009 Jakob Bornecrantz <jakob@vmware.com> gallium: Disable i965simple pipe driver after it was broken

It is only the i965simple pipe driver that was broken
in the gallium-texture-transfere merge that is being
disabled, mothing more nothing less.

FYI, there never where working i965 hardware support
in gallium anyways.
/external/mesa3d/configure.ac
252671f6ebd739a3ab2e53db441f076b5b702208 16-Feb-2009 Dan Nicholson <dbn.lists@gmail.com> autoconf: Always enable glew

Maybe this should turn into an option (--disable-glew), but for now just
enable glew all the time.
/external/mesa3d/configure.ac
2977cee38e21b8e5ebba1635b101185d64ee44a9 13-Feb-2009 Dan Nicholson <dbn.lists@gmail.com> autoconf: Add GLEW needed by progs when building GLUT

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
3ede3776e2faffdc0dee102dbd37d33491726c36 13-Feb-2009 Jakob Bornecrantz <jakob@vmware.com> gallium: Add a bunch of autoconf options

./configure --help for more info
/external/mesa3d/configure.ac
8217f24f21a0ea9888a18ec7399d2d974a43d1cb 12-Feb-2009 Dan Nicholson <dbn.lists@gmail.com> autoconf: Fix lib globbing for static builds

Reported-by: Siddhartha Chaudhuri <expiring_frog@yahoo.co.uk>
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
c5bae14245192e83e7a91a6b72dc8451dd76f8ef 11-Feb-2009 Dan Nicholson <dbn.lists@gmail.com> autoconf: Adjust to new asm SOURCES variables

Commit 90b2beb661f630966788a6e909dc759c99e38973 changed the assembly
variables. Without this change, the glapi assembly wasn't being built
when it was supposed to, resulting in missing symbols in libGL.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
61e925f354fabc90bb3b2ed49ad82eaf939533e2 11-Feb-2009 Dan Nicholson <dbn.lists@gmail.com> autoconf: Restore commented ASM_FLAGS

This is not the proper approach to disabling assembly. If there are bugs,
they should be fixed or the assembly can default to off.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
7e54d7d3d6153895c5301cd16c7ba76a126f06ee 11-Feb-2009 Jakob Bornecrantz <jakob@vmware.com> gallium: Update autoconf to latest gallium build
/external/mesa3d/configure.ac
e94b4dd4f0c7f2e199e4fb2d1b81ac818d0d6078 11-Feb-2009 Jakob Bornecrantz <jakob@vmware.com> gallium: Disable nouveau by default

Most piep drivers should be able to build by default, but since
the nouveau ones depend drm they can't be enabled by default.
/external/mesa3d/configure.ac
e97681c7f551a2a2a6bd5eff0f4192a870c816c0 09-Feb-2009 Brian Paul <brianp@vmware.com> mesa: merge gallium-0.2 into gallium-master-merge

Merge commit 'origin/gallium-0.2' into gallium-master-merge

Conflicts:

Makefile
docs/relnotes-7.4.html
docs/relnotes.html
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/main/imports.c
src/mesa/main/mtypes.h
src/mesa/main/texcompress.c
src/mesa/main/texenvprogram.c
src/mesa/main/version.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_draw.c
1a46c8a062aea59de5cf55881104489db5d609e5 09-Feb-2009 Siddhartha Chaudhuri <expiring_frog@yahoo.co.uk> mesa: autoconf fixes for OS X

See bug report 17566.
/external/mesa3d/configure.ac
14f79d46a56797924550dfdb3846c8c589637319 18-Dec-2008 Jerome Glisse <glisse@freedesktop.org> gallium autoconf/automake
/external/mesa3d/configure.ac
a3d223f0d204670696338d61fe4870ff2a41f210 30-Jan-2009 Dan Nicholson <dbn.lists@gmail.com> autoconf: Use include-fixed directory with makedepend on newer GCC

On newer GCC releases, the compiler's headers have been split between
the include and include-fixed directories. Add both if the directories
exist.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Julien Cristau <jcristau@debian.org>
/external/mesa3d/configure.ac
29f603a270da711a2a980cc9896e5883e59227cd 12-Jan-2009 Dan Nicholson <dbn.lists@gmail.com> autoconf: Only _GNU_SOURCE feature test macro needed on gnu systems

According to feature_test_macros(7), _GNU_SOURCE encompasses all the
other feature macros we were setting, so we can just dispose of them.
/external/mesa3d/configure.ac
7f7fc3e3af6471a224a10bf3d2cd6ddd7a96d334 12-Jan-2009 Julien Cristau <jcristau@debian.org> mesa: match against *-gnu* instead of *-gnu in configure.ac

Fixes build on arm-linux-gnueabi
/external/mesa3d/configure.ac
44557bf065b89abc45c24829c6ba7395925463e8 11-Jan-2009 Brian <brianp@vmware.com> mesa: require libdrm 2.4.3 in configure.ac
/external/mesa3d/configure.ac
8be02fc8c67433bd2647f59abece5e8111859e40 14-Dec-2008 Dan Nicholson <dbn.lists@gmail.com> Add OSMesa pkg-config file

This makes the GLU .pc file a little simpler, too.
/external/mesa3d/configure.ac
71e208bafe9ca5e1c189fae3f251cc84034e5959 24-Nov-2008 Dan Nicholson <dbn.lists@gmail.com> Add more package metadata to the pkg-config files

The pkg-config files have been filled in more thoroughly to allow users
to use mesa more effectively. By adding metadata to Requires.private,
Libs.private and Cflags, we can ensure that all the libraries and
headers will be found in all situations. However, the full substitutions
are only done when using the configure script.

This also fixes the glu pkg-config file to account for using GL or
OSMesa.

Fixes bug 18161.
/external/mesa3d/configure.ac
154a9e5317f890618932cea0129ef887e16baf84 02-Dec-2008 Kristian Høgsberg <krh@redhat.com> Bump dri2proto requirement to 1.99.3, drop CopyRegion bitmask from protocol.
/external/mesa3d/configure.ac
5f19f5c5865fb3fd7bf82f842d433264d3d2bf99 04-Nov-2008 RALOVICH, Kristóf <tade60@freemail.hu> configure.ac: advertise XCB
/external/mesa3d/configure.ac
98fcdf3f49aea14b4dd4f4b83c956f8a117020c9 28-Oct-2008 Julien Cristau <jcristau@debian.org> configure.ac: Add support for gnu/kfreebsd

Check for *-gnu instead of linux* to set DEFINES.
Change some freebsd* checks to *freebsd*.
/external/mesa3d/configure.ac
4a32f0c63886b985743ecadc24fd60a23864c491 04-Sep-2008 Kristian Høgsberg <krh@redhat.com> configure.ac: bump dri2proto requirement, drop TTM_API define.
/external/mesa3d/configure.ac
b5095ab97f4cf4d2d0e5b99b7813a2e466c2459c 28-Jul-2008 Florent Thoumie <flz@FreeBSD.org> autoconf: disable dri drivers build if being asked

Allow --with-dri-drivers={,no} to disable DRI drivers build.

Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
Signed-off-by: Robert Noland <rnoland@2hip.net>
/external/mesa3d/configure.ac
776c60d3c33b05f59181a2052a9f03147bc51111 18-Jul-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Support Motif widgets in GLw with --enable-motif

Add an --enable-motif option, which will enable the Motif widgets in
libGLw and link it with libXm. The Motif installation information will
be gathered from the motif-config script (this comes with LessTif) or
fallback to the standard autoconf checks.

To allow the location of the Motif headers to be set from configure, the
default setting of -I/usr/include/Motif1.2 has been moved into
configs/default and then passed to the Makefile through the MOTIF_CFLAGS
variable.
/external/mesa3d/configure.ac
bfb27b5fc020437d95b1185f0fce850209744d92 30-Jun-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Subsitute SHELL for all platforms

Establish the shell that make will use from configure. This is exactly
how autoconf/automake operate, with the environment variable
CONFIG_SHELL respected to override the autoconf checks. In the usual
case where the user just executes `./configure', autoconf will pick a
shell from the current shell, sh, bash, ksh or sh5 that meets its base
criteria.

The special Solaris case of looking for a POSIX shell has been changed
to just set the SHELL variable since autoconf substitutes this already.
The EXTRA_CONFIG_LINES substitution is dropped as it should no longer be
needed.
/external/mesa3d/configure.ac
99803a4ec90d70363305c0652203550d63f086ec 01-Jul-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Add information about the --x-* options to --help output

Try to tell the user that the --x-* options are only used when the X
libraries can't be found by pkg-config.
/external/mesa3d/configure.ac
e97ab72b593278edeac9f9b71b8237a79247c7c7 01-Jul-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Tell the user about docs/autoconf.html in --help output

The documentation in autoconf.html is much more explicit about how the
different configure options control the build. This adds a notice at the
end of the `./configure --help' output to tell the user about it.
/external/mesa3d/configure.ac
e6e4f25aa5433fc77a3c1b0dba2300cc4cee5d33 06-Jul-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Allow commas or spaces to separate DRI drivers

Explicitly allow the argument to --with-dri-drivers to contain
comma-separated or space-separated drivers. A space-separated driver
list worked by chance before.
/external/mesa3d/configure.ac
11ac5b2456575060627e9f52946d7d0e218a228d 03-Jul-2008 Dan Nicholson <dbn.lists@gmail.com> Set library and header installation directories from configuration

Currently the installation directories for libraries and headers are
resolved within the install commands. For instance, the libraries will
be installed to $(INSTALL_DIR)/$(LIB_DIR). This limits the flexibility
of the installation, such as when the libraries should be installed to a
subdirectory like /usr/lib/tls.

This adds the make variables $(INSTALL_LIB_DIR) and $(INSTALL_INC_DIR)
to define the locations that the libraries and headers are installed.
For the static configs, this resolves exactly as before to
$(INSTALL_DIR)/include and $(INSTALL_DIR)/$(LIB_DIR). For autoconf, they
are derived directly from the --libdir and --includedir settings.
/external/mesa3d/configure.ac
5cae1b747bf7013124c21f15c410635c16593656 30-Jun-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Improve the visibility of the swrast DRI driver

Improve the --with-dri-drivers help text so that users are aware that
they should install the swrast DRI driver.
/external/mesa3d/configure.ac
985e1cdfe82336d3ce97470eaf98c3c9d54532c8 04-Jun-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Check for posix_memalign

Rather than just defining HAVE_POSIX_MEMALIGN on Linux, check whether
the function exists on all platforms and define the macro if it is.
/external/mesa3d/configure.ac
e1f9adc27445ea3381af1f71cfec0317298be5b1 21-Jun-2008 Alan Coopersmith <alan.coopersmith@sun.com> Solaris port of Mesa 7.1 with autoconf support

Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com>
/external/mesa3d/configure.ac
41bdb88f271284b79b870a5217f3ae50d70dfcdd 12-Jun-2008 Dave Airlie <airlied@redhat.com> sparc: add swrast to dri drivers
/external/mesa3d/configure.ac
2b0e75ea7a2395cc8614d6eeabb9529d503652c9 11-Jun-2008 Dave Airlie <airlied@redhat.com> sparc: add DRI drivers for sparc patch from Fedora
/external/mesa3d/configure.ac
871125a68d11c26efdfa930cf29cdeb8dcc169a5 04-Jun-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Collect arch/platform settings in one location

The architecture- and platorm-specific settings were scattered
throughout the configure script. This moves them near the beginning
before any of the driver-specific settings.
/external/mesa3d/configure.ac
0b734bd7cf921592eee441f759687e10f48a2cbc 28-May-2008 Dave Airlie <airlied@redhat.com> mesa/drm/ttm: allow build against non-TTM aware libdrm

I'll release a libdrm 2.3.1 without TTM apis included from a special
drm branch that should allow mesa 7.1 to build against it.

I've had to turn off DRI2 stuff.
/external/mesa3d/configure.ac
d4510e53d8dd18ac397ca0d4df74d4de682e0a38 23-May-2008 George Sapountzis <gsap7@yahoo.gr> drop GLcore
/external/mesa3d/configure.ac
280bf89bd4a6bb7977abb00b88d59234d2c80844 11-May-2008 George Sapountzis <gsap7@yahoo.gr> Add DRI driver that uses the mesa swrast module.
/external/mesa3d/configure.ac
2d709fe2721e6e7f8c33e2973e623fcf44b19efe 06-May-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Allow XCB to be used for GLX

Adds an --enable-xcb switch to use XCB in GLX. This only has an effect
when the driver is DRI.
/external/mesa3d/configure.ac
5dbbde5b222204fa8dfc086b88a8105516f7d727 06-May-2008 Dan Nicholson <dbn.lists@gmail.com> Default DRI driver directory to match X.Org xserver

Since the only valid consumer of the DRI drivers is the X.Org xserver,
this changes the default DRI driver directory to match xorg-server:
${libdir}/dri. The old default of /usr/X11R6/modules/dri was wrong for
nearly all current systems.
/external/mesa3d/configure.ac
d368eed9c78aa3ced8540c66bdc4c5e1d4a067b4 06-May-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Attempt to figure out the PIC flags for the platform

This commit adds an autoconf macro, MESA_PIC_FLAGS, which sets the
PIC flags according to platform and static/shared setting. The platform
specifics are taken straight from libtool.m4 and stripped down to just
the flags and platforms we cover in Mesa. This should hopefully make it
possible to use autoconf on non-GCC platforms.

The macro is added external to configure.ac in acinclude.m4 since it's
pretty bloated.

Note to BSDers: Previously, x86 defaulted to non-PIC on FreeBSD. I
didn't carry that preference into this macro. Instead, you can just use
--disable-pic where desired.
/external/mesa3d/configure.ac
e14ebbce41c8acee5f77633c6c536d92f84a5c20 06-May-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Replace the configs/current symlink from config.status

Minor tweak so that running config.status will entirely recreate the
configure settings by replacing the configs/current symlink.
/external/mesa3d/configure.ac
7d016b76e22c0911f9a5ee024a2849096661ddd7 06-May-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Sanitize asm build for cross-compiling and --enable-*-bit

Two fixes to the asm configuration:
- Disable when the user is cross-compiling for x86 or x86_64 since it
requires running an executable compiled for the target host.
- If the user has specified --enable-32-bit on x86_64 or --enable-64-bit
on x86, respect that and choose the correct asm architecture.
/external/mesa3d/configure.ac
cc77e8f1131fc66e8405dc4d3b03582db1f54ca4 05-May-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Error for incompatible version of libdrm

The DRI modules can only be built against libdrm master (currently
version 2.3.1), so this should be enforced to save people from trying to
build against older versions.

Added a section at the top of the script to consolidate all required
versions.
/external/mesa3d/configure.ac
297e16cc7acc45b7946e03febd370ecba7835750 06-May-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: More quoting, just to be safe
/external/mesa3d/configure.ac
e6a0609f2efff83e58ddd7eb1d2c8e1ac47d9f6d 06-May-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Allow non-pkg-config builds to succeed

The variable no_x was being set to yes when libX11 was not found through
pkg-config. This causes AC_PATH_XTRA to skip its search for the X11
libraries, which was not the intended effect. Also switched to using the
PKG_CHECK_EXISTS autoconf macro.
/external/mesa3d/configure.ac
00994ac08cb84937ca1e35b7a556d8924229bacb 01-May-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Scrape the version from configs/default

Added the make script version.mk to print the various version numbers
from configs/default. This is used to substitute the version in autoconf
rather than duplicating it in both places.
/external/mesa3d/configure.ac
2ed0f7278e389ecc0cf568518799a9a8f33b1365 25-Apr-2008 George Sapountzis <gsap7@yahoo.gr> glcore: Set all external variables in configuration

based on patch by Dan Nicholson <dbn.lists@gmail.com>
/external/mesa3d/configure.ac
7154d661a667681828efb75b3547c97484455d9e 30-Apr-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Fail from autoconf if the pkg-config macros aren't defined

Instead of postponing the error from missing pkg-config macros to when
configure is run, make autoconf exit by using m4 macros.
/external/mesa3d/configure.ac
80f68e1b6a0e5bd2da799c659c963e213dbf9e66 30-Apr-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Don't substitute MESA_MAJOR and friends

Since the autoconf config inherits from default, we don't need to
duplicate and substitute the MESA_* version numbers in configure.ac.
The version number is only needed in configure for the help text.
/external/mesa3d/configure.ac
32a2a095f4d8e3be7fa2807cb436bd09e8eb5a75 18-Apr-2008 George Sapountzis <gsap7@yahoo.gr> glcore: build from mesa
/external/mesa3d/configure.ac
711222bb7b4fd7ea8e7f801ac26532360bc5440f 19-Apr-2008 Eric Anholt <eric@anholt.net> autoconf: Default the build to DRI on OS+CPU combos where it's expected.
/external/mesa3d/configure.ac
9f8df2d07f47b970b98ebcf98180022e03fbee52 09-Apr-2008 Hasso Tepper <hasso@estpak.ee> autoconf: Add dfbsd support.
/external/mesa3d/configure.ac
e786924bf08583f74fff135a211c040843abd0bb 03-Apr-2008 Kristian Høgsberg <krh@redhat.com> Pick up dri2proto from the standard proto header include path.
/external/mesa3d/configure.ac
b645942df9779f44089029de8832928b21746173 24-Mar-2008 Dan Nicholson <dbn.lists@gmail.com> Use AC_CHECK_PROGS to find alternate make programs

The autoconf macro AC_PATH_PROGS handles the case of searching for
multiple program names already, so we don't need to open code it. Also
changed the search to AC_CHECK_PROGS so that it doesn't set the full
path unless the user specified. Finally, report back the found value at
the end for what the user should run.
/external/mesa3d/configure.ac
e82dd8c6e1fa2fff5b960de26961080ba5e9651d 27-Mar-2008 Kristian Høgsberg <krh@redhat.com> DRI interface changes and DRI2 direct rendering support.

Add DRI2 direct rendering support to libGL and add DRI2 client side
protocol code. Extend the GLX 1.3 create drawable functions in
glx_pbuffer.c to call into the DRI driver when possible.

Introduce __DRIconfig, opaque struct that represents a DRI driver
configuration. Get's rid of the open coded __GLcontextModes in the
DRI driver interface and the context modes create and destroy
functions that the loader was requires to provide. glcore.h is no
longer part of the DRI driver interface. The DRI config is GL binding
agnostic, that is, not specific to GLX, EGL or other bindings.

The core API is now also an extension, and the driver exports a list
of extensions as the symbol __driDriverExtensions, which the loader
must dlsym() for. The list of extension will always include the DRI
core extension, which allows creating and manipulating DRI screens,
drawables and contexts. The DRI legacy extension, when available,
provides alternative entry points for creating the DRI objects that
work with the XF86DRI infrastructure.

Change DRI2 client code to not use drm drawables or contexts. We
never used drm_drawable_t's and the only use for drm_context_t was as
a unique identifier when taking the lock. We now just allocate a
unique lock ID out of the DRILock sarea block. Once we get rid of the
lock entirely, we can drop this hack.

Change the interface between dri_util.c and the drivers, so that the
drivers now export the DriverAPI struct as driDriverAPI instead of the
InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2
init screen function to see if DRI2 is supported by the driver.
/external/mesa3d/configure.ac
c98642169496cfa7d8026dbd5214fafbde962002 22-Mar-2008 Eric Anholt <eric@anholt.net> autoconf: Add a workaround for second AC_PROG_PATH not overwriting results.
/external/mesa3d/configure.ac
050c533cbfe957ba84b2c933b33f8f876010bf9b 21-Mar-2008 Eric Anholt <eric@anholt.net> autoconf: automatically detect if -ldl is required.

This logic was copied from the xserver.
/external/mesa3d/configure.ac
5ad06156b2ed3b157445d3569888bb5f5091791e 21-Mar-2008 Eric Anholt <eric@anholt.net> Fix autoconf build on FreeBSD: detect gmake, and put -D*_SOURCE under linux.
/external/mesa3d/configure.ac
b957655a91fe90f477de3e068654f050869c770e 10-Mar-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Enable xdemos by default when we build libGL

Since the xdemos only link to libGL now, we can enable them for all but
the osmesa driver target.
/external/mesa3d/configure.ac
db7fc6311086b512f63ba74d7ab6cda47b662839 07-Mar-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Print GCC include path directly and be more robust using it

Rather than constructing the GCC include path from `-print-search-dirs',
we can get the path directly from `-print-file-name=include'. This is
used in the Linux kernel build, for example. If no output is returned
from the command, then we don't append a -I path the the makedepend
options.
/external/mesa3d/configure.ac
bcecea6ea6c2727e4071f5a43fab49673573e905 26-Feb-2008 Kristian Høgsberg <krh@redhat.com> autoconf: Add gcc search patch to MKDEP_OPTIONS to eliminate warnings.

Also, use -include to avoid error message when make initially fails to
include the non-existent depend file.
/external/mesa3d/configure.ac
758b99894170c1c18370b370eb33dda7d0d14a8d 21-Feb-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Fix thinko when checking freebsd CPU types
/external/mesa3d/configure.ac
112a40ec0280756d83ac9145fd5908d6ffb12e4c 21-Feb-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Set the default drivers after checking platform specifics

The platform-specific overrides to the DRI drivers were being ignored
because the default was being set first. Instead, have the default be a
fallback after the platform checks.
/external/mesa3d/configure.ac
66611f2298539fa28a3667c02ca4013602634d3d 15-Feb-2008 Adam Jackson <ajax@redhat.com> Trivial SELinux awareness. Enable with --enable-selinux.

Avoids AVC warnings when allocating executable memory by first checking
if the current process has permission to do so.
/external/mesa3d/configure.ac
0c275b6a41294793030d9e380dbcc705264a3768 16-Jan-2008 Dan Nicholson <dbn.lists@gmail.com> autoconf: Use -fno-strict-aliasing on GCC

This change adds -fno-strict-aliasing when using gcc and g++, just like
the existing configs.
/external/mesa3d/configure.ac
544ab209e75ec3646d7edbafd736dcf4c93738cc 30-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> Allow osmesa to be enabled or disabled

The conditional in src/mesa/Makefile currently hardcodes the cases where
libOSMesa can be built on libGL. Likewise, the xlib case always includes
libOSMesa in the stand-alone target.

This changes the conditional to a loop over the DRIVER_DIRS variable.
This means that any driver configuration can enable or disable osmesa.
The current "stand-alone" rule is changed so that DRIVER_DIRS=x11 and
DRIVER_DIRS="x11 osmesa" are both respected.

The configure option is changed to --enable-gl-osmesa as this change
allows libOSMesa to be built upon any of the libGL-enabling drivers.
/external/mesa3d/configure.ac
ab57cbaccccb30fd743ba3283251430e6bc3a071 26-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Helper options for adding GCC 32/64 bit flags

Two new configure options to add -m32 or -m64 to the CFLAGS and CXXFLAGS
when GCC is in use. By default, the user supplied options are
environment variables are respected, but these options are quick helps
for the common case of x86/x86_64 using GCC.
/external/mesa3d/configure.ac
c79c93c0acd184e0333c1c9cedfbce11381e66e2 13-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Improve help text for demos and DRI drivers

Changed the text for the default demos to be "auto" instead of "yes"
since that didn't make much sense in this context. Added an example
value for the --with-dri-drivers option as suggested by Brian.
/external/mesa3d/configure.ac
f64d6fe0d31d8134b9214324a59ad18b48361fed 13-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Update bug address and fix some autoconf warnings

Point bug reports to Bugzilla like bugs.html. Also, a warning from
autoconf w.r.t. AC_OUTPUT was cleaned up.
/external/mesa3d/configure.ac
a130718f448065173cf7b019e5b65a6a4334c3f7 13-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Consistently use xlib for the driver name

Brian suggested that there should be more consistency using xlib vs. x11
in the configure script. Changed the options and variables to suit.
/external/mesa3d/configure.ac
3e288627cb67c81fee92f2450a802f9c0b5ad040 12-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Optional assembly usage with --disable-asm

Allow the user to disable use of assembly code through the --disable-asm
option. This is only relevant on the platforms where assembly is
normally enabled such as Linux and FreeBSD.
/external/mesa3d/configure.ac
16a07fb5569a7e4d471a389f292a8b245fc12cba 12-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Report the compiler options in the summary

Report the compiler flags and macros that will be used in the build.
This just provides a quick way to see what configure has silently been
doing.
/external/mesa3d/configure.ac
23656c47c9f50c3e074362f2fa857c0ce5ddaf14 12-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Optional debug build with --enable-debug

Allow the user to set the compiler debug flags and macros through the
option --enable-debug. This addes -DDEBUG to the macros and -g to the
CFLAGS and CXXFLAGS if gcc and g++ are in use.
/external/mesa3d/configure.ac
41b00707e20f0c07e0dce055884c773de4b82612 12-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: More informative errors when pkg-config macros undefined

Added a check that PKG_PROG_PKG_CONFIG is defined before calling it so
the user can see a proper error. Without it, the generated configure
script will just pass on to the next statement and bomb with a strange
shell syntax error.
/external/mesa3d/configure.ac
aab38cfc43581e0d09195c2e53092d355a09841c 11-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Replace configs/current symlink from configure

Rather than having the user run `make autoconf' and have the Makefile
setup the configs/current -> autoconf symlink, we can just do that in
configure. This allows the user to just run `make' to build.
/external/mesa3d/configure.ac
79ad458ec66c5001479dd4b1e0f8f83e1713270f 08-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Clearer help text for the enable/disable options

Make it clearer what the defaults for the AC_ARG_ENABLE options are and
how to change them.
/external/mesa3d/configure.ac
a76e2452d2ae5fd0c3b6fb6eb7ba32f2e6a52f20 07-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Since default DRI drivers to build with master

Sync the default DRI_DIRS with the configs in master. Added some of the
comments from there, too.
/external/mesa3d/configure.ac
70d0c838901138e9be585b89638f50a2696a01e9 07-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: glut doesn't need Xt

Don't link glut with libXt since it's not needed.
(see commit ce98779571eee3f51d9f571fecf8deb83dd60f78)
/external/mesa3d/configure.ac
9cad8e312f5c6dae150be7b9fd28f86e3f7a0c20 30-Nov-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Output summary information from configure

Report some of the common settings back to the user after configure
has completed.
/external/mesa3d/configure.ac
af3d2f292d5076f4b01a44601237d99c3250320c 15-Nov-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Configurable DRI drivers

The user can request specific DRI drivers to build rather than the
default of "all that build on this platform". This allows the list of
drivers to be easily slimmed down.

This is controlled through the option --with-dri-drivers. For example:

./configure --with-driver=dri --with-dri-drivers="i965,nouveau"

Unfortunately, using this setting means the DRI drivers aren't filtered
by platform anymore and you might try to build something that doesn't
work.
/external/mesa3d/configure.ac
88586332d38b3422cec0f3ff05985d0266ae4dfd 15-Nov-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Allow static library builds

Allow the user to specify that they want static libraries through the
--{enable,disable}-{static,shared} switches like libtool. The mesa build
only allows for one at a time, so static will be chosen if someone has
passed --enable-static or --disable-shared.

This also allows the mklib options to be set at build time. This allows
-static to be set for mklib, but any platform specific settings are
allowed by setting MKLIB_OPTIONS for configure.

Handling of the program libraries through the APP_LIB_DEPS variable is
pretty ugly, but it seems to work.
/external/mesa3d/configure.ac
8e4d14743035ba59b16e5c84246916f43487d455 15-Nov-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Configurable demos directories

The user can request specific demos directories to build in. For
example:

./configure --with-demos="demos,xdemos"

The drawback is that we don't check for the necessary libararies in
that case, only that the directory in progs/ exists.
/external/mesa3d/configure.ac
6689f9ebcb586333d059ace12ccff950bb6411b1 06-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Configure the osmesa channel size for OSMesa16 and OSMesa32

Allow the user to specify channel bits of 16 or 32 to enable OSMesa16 or
OSMesa32 instead of the default OSMesa. This option is controlled
through the option --with-osmesa-bits=BITS and is only honored when the
driver is osmesa.

The osdemos are not enabled in the 16 or 32 bit case because the
Makefile is currently hardcoded to link to -lOSMesa.
/external/mesa3d/configure.ac
979ff5153d563e5c79c17142fedecc1b45858a2f 06-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Add support for osmesa-only builds

Added autoconf support for using OSMesa as the driver instead linking
it to libGL. This is enabled through --with-driver=osmesa.

To differentiate these cases, another option --enable-x11-osmesa is used
to enable or disable building OSMesa when the driver is x11.
/external/mesa3d/configure.ac
44d9914b29f1e27080756600b462d852d631d788 06-Dec-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Add support for shared DRI build on linux and freebsd

Added autoconf bits to allow using DRI as the driver through the option
--with-dri-driver=DRIVER. The options are x11 (default) and dri. Three
DRI specific options for controlling the driver directory, direct
rendering and TLS are also added.

The DRI will probably not work for platforms besides linux and freebsd.
/external/mesa3d/configure.ac
dca1b796b74b13602c87e2628cea747aa2a985be 23-Oct-2007 Dan Nicholson <dbn.lists@gmail.com> autoconf: Initial support for an autoconf configuration

This adds the initial support for using autoconf configuration. Support
is available for shared Xlib driver builds. Later this will be extended
to dri and osmesa-only builds and possibly targetting non-X backends.
Support for static library builds will also be added.

The configure script fills in the autoconf config. This is then used by
running `make autoconf' after ./configure.

Testing has been done on Linux/GNU. The configure script tries to
faithfully reproduce the current configs/linux* and configs/freebsd*.
Other platforms can be handled later by adding similar statements and
feature tests.

Pkg-config is used to search for packages when possible. This makes the
build much more flexible and robust to the user's configuration. This
requires that the pkg-config autoconf macros pkg.m4 are included in
aclocal.m4. This requires autoconf and aclocal from autoconf and
automake, respectively.
/external/mesa3d/configure.ac