Mesa (master): 30 new commits
Emil Velikov
evelikov at kemper.freedesktop.org
Wed Jul 22 15:44:59 UTC 2015
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b06a6852ff782bb20d9e91a3a67eccb92e856ed3
Author: Dylan Baker <baker.dylan.c at gmail.com>
Date: Thu Jul 2 10:25:41 2015 -0700
glapi: fix argument parsing in glX_proto_recv.py
One of the plugins I use with vim "helpfully" added an underscore to the
front of mode for kicks.
Obviously this isn't a feature used very often because it's been broken
since d986cb7c70db (since May 20th), and no one has noticed.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=461b4b103f545027beb59c1d747c85892c6c1f63
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 21 15:34:19 2015 +0100
egl: android: remove DRM_GRALLOC_TOP hack
Now that the drm_gralloc module exports the correct includes we can get
rid of this hack.
Cc: Chih-Wei Huang <cwhuang at android-x86.org>
Cc: Eric Anholt <eric at anholt.net>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Tested-by: Varad Gautam <varadgautam at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2ef659c2ed36cca5a5c4a09440edb227eedcf60
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 14 00:28:46 2015 +0100
egl: remove old makefile.sources
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1040a861a80486502c7ac86a258741d5cdf6459a
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 14 00:28:10 2015 +0100
android: rework the EGL build
See previous two commits for details.
v2: Don't forget git mv, bring back DRM_GRALLOC_TOP. Spotted by Varad.
Cc: Chih-Wei Huang <cwhuang at android-x86.org>
Cc: Eric Anholt <eric at anholt.net>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Matt Turner <mattst88 at gmail.com>
Tested-by: Varad Gautam <varadgautam at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7e29189e27bb404bf84d757a8f1dd617126808a
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 14 02:04:30 2015 +0100
scons: rework the EGL build
The scons equivalent of the previous commit - just fold the almost
identical driver + main Sconscripts.
Cc: Alexander von Gluck IV <kallisti5 at unixzen.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3420396124c75ec9679c4d1cf3a42c185207e5a
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 14 01:58:33 2015 +0100
automake: rework the EGL build
Simplify things by merging the two makefiles. This way we can combine
the duplicated HAVE_PLATFORM_ checks, and build the library without
having a separate static library.
v2: use $() when referencing variables, use correct define (Matt)
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0399d7ab3f69624b7f0b7b39e948432959fe270e
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jun 30 22:43:50 2015 +0100
gbm: do not build intermittent libgbm_dri static library
The only user of it (libgbm.la) immediately links it. Just build it
directly into the library.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e5e18ac286f0782380c72cebffd4c54c98e4ccb
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Mon Jul 13 22:35:25 2015 +0100
egl: automake: remove unused HAVE_XCB_DRI2 define
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1202807dccc6e2ac02ff52639a49f6c2d06648d
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 14 01:58:12 2015 +0100
egl: remove unused _EGL_DRIVER_SEARCH_DIR define
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b915856bac4871b90c101b44a2830b9a0e22e05
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Mon Jul 13 22:16:11 2015 +0100
egl/haiku: remove unused DEFAULT_DRIVER_DIR define
Cc: Alexander von Gluck IV <kallisti5 at unixzen.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c17e01748e9efc2d638b7b5bc9d4344521334f48
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 14 01:57:23 2015 +0100
egl: remove final Windows specific workaround
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3593f37fd7b599e217bd1f894ac671a14a058b8d
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 14 00:19:54 2015 +0100
egl: remove custom string functions
Support for Windows has been removed for a while now, and virtually
every POSIX compliant system provides strcasecmp, strdup and snprintf.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d62879565a5c8479c3cfea513aa4e90f0d90b304
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Mon Jul 13 23:36:19 2015 +0100
egl: remove _EGL_PLATFORM_WINDOWS enum
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=32debea337755cf15550844955b14c29bb3006fa
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Mon Jul 13 22:05:46 2015 +0100
egl: remove final references of platform_null
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc1ece3748f3a97d685c9c72ad26684fd35f1944
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Mon Jul 13 22:20:38 2015 +0100
egl: remove flatten HAVE_SHARED_GLAPI
It is simply not possible to use the dri backend without shared glapi,
as the alternative provider (libGL) is not always present. We have fixed
the build for a while now, so we can rip this out.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=78674631a2d0ff1eb538470e2a1d516201361f03
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 14 01:52:51 2015 +0100
egl: remove the non-haiku scons build
It has been broken since 2011 with commit c98ea26e16b(egl: Make
egl_dri2 and egl_glx built-in drivers.). When the backends got merged
into the main library each entry point was guarded by a
_EGL_BUILT_IN_DRIVER_* define.
As the define was missing, the linker kindly removed the whole of the
dri2 backend, thus we did not notice any errors due to the unresolved
link to xcb and friends.
Cc: Chia-I Wu <olv at lunarg.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Acked-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce2a4bd541241dade00a36e9f2d8e5ca16c6ff03
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Mon Jul 13 21:12:01 2015 +0100
dri/common: remove unused drm_version variable
As of last commit the only user of it (radeon/r200) no longer uses it.
As such let's remove it and cleanup the nasty hacks that we had in place
to support this.
v2: Leave LIBDRM_CFLAGS around.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com> (v1)
Reviewed-by: Marek Olšák <marek.olsak at amd.com> (v1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5284e9e2c4922479b28db96ae88121a053a6e66b
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Thu Jul 9 18:06:14 2015 +0100
radeon,r200: allow hyperz for radeon DRM module v2
The original code only half considered hyperz as an option. As per
previous commit "major != 2 cannot occur" we can simply things, and
allow users to set the option if they choose to do so.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=48926da0f7a1d1656bfbaf9d5344cc1fa0b6e089
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Thu Jul 9 17:34:30 2015 +0100
radeon,r200: remove support for UMS radeon DRM module
As mentioned by Michel Dänzer
"FWIW though, any code which is specific to radeon DRM major version 1
can be removed, because that's the UMS major version."
and Marek Olšák
"major != 2" can't occur. You don't have to check the major version at
all and you can just assume it's always 2."
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf6247f608969c3f1fa987e297c6063c02896b5a
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Thu Jul 9 17:29:57 2015 +0100
radeon,r200: remove unused variable texmicrotile
Dead since at least 2009 with commit ccf7814a315(radeon: major cleanups
removing old dead codepaths.)
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=66d77cd71c6359cddfd21c128afe95bad860e231
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Wed Jul 8 01:44:31 2015 +0100
scons: don't build the kms-dri winsys
Same as previous commit - unused (gbm is not a thing outside the
autotools build).
v2: Remove trailing HAVE_LIBDRM.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a29a8b92ff05f3a63dd3b6ae8c7d0e07f039c0ad
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 7 21:02:40 2015 +0100
android: don't build the kms-dri winsys
GBM (the only user of kms-dri) is currently not available under Android.
Considering we have no way of testing/using this let's not bother
building it for now.
Cc: Chih-Wei Huang <cwhuang at linux.org.tw>
Cc: Eric Anholt <eric at anholt.net>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe1503fe38602c91e030ca206cb392a26a343f91
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 7 16:04:27 2015 +0100
android: dri: correctly set HAVE_LIBDRM
Set the macro if we're not building swrast alone.
Cc: Eric Anholt <eric at anholt.net>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Chih-Wei Huang <cwhuang at linux.org.tw>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=787995bffb52d955f3046618286d831b76b72119
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 7 15:59:32 2015 +0100
swrast: remove unneeded __NOT_HAVE_DRM_H define
No longer applicable since the cleanup of dri_interface.h.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ab5b644ef64ee23f88a6687cc541ee4e745234a
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 7 15:57:41 2015 +0100
dri/common: use HAVE_LIBDRM over __NOT_HAVE_DRM_H
See previous commit message for details.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c328b8aa79b0644160082b7e9e02df18ab3ca48
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 7 15:42:15 2015 +0100
loader: use HAVE_LIBDRM instead of ! __NOT_HAVE_DRM_H
Double negatives in English language are normally avoided, plus the
former seems cleaner and more consistent.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=72c784347bf66b61385cb57bb666033e5234ba69
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Wed Jul 22 16:34:15 2015 +0100
st/dri: unwrap/remove __NOT_HAVE_DRM_H magic
With the dri_interface.h clean of the macro, we can remove the final
only st/dri specific use of the very same.
Seemingly it was incorrectly used, as the build-time presence of dri2 is
not libdrm specific. At run-time, the code is already limited to dri2
use-cases plus returning true, when the extension is not present (or too
old) will likely lead to a crash as one tries to use it shortly after
the dri_with_format() call.
As a side effect this gives us a nice cleanup the builds.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0efd773f719dd2deddb4b6703edf022b294cd349
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Tue Jul 7 15:13:46 2015 +0100
dri_interface: drop __NOT_HAVE_DRM_H magic
v2: use HAVE_LIBDRM macro.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=816e4c1b5e2887c45ffa69d41c8106e7b31977fb
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Wed Jul 22 16:22:44 2015 +0100
dri/swrast: automake: add LIBDRM_CFLAGS
With the follow up commit we'll remove the __NOT_HAVE_DRM_H macro. As
requested by Ian HAVE_LIBDRM will be used instead, which will lead to
swrast including drm.h when libdrm package is available, even though we
don't need/make use of the header.
As the define is added after the AM_CFLAGS we cannnot use -UHAVE_LIBDRM,
but instead let's just add LIBDRM_CFLAGS. The latter of which will
expand to NULL when the libdrm package is not around.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=16f6d432de07dcb537dafd0c9f3ef7614891ed6b
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Thu Jul 9 21:19:15 2015 +0100
configure.ac: do not set HAVE_DRI(23) when libdrm is missing
These conditionals are used to guard both dri modules and loader(s).
Currently if we try to build the gallium swrast dri module (without glx)
on a system that's missing libdrm the build will fail.
v2: Make sure we assign prior to checking the have_libdrm variable.
Cc: 10.6 <mesa-stable at lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
More information about the mesa-commit
mailing list