History log of /external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9aae167e9474b7c220cbc3f172a27c0b6bf9b20a 11-Nov-2016 George Kyriazis <george.kyriazis@intel.com> gallium: Add support for SWR compilation

Include swr library and include -DHAVE_SWR in the compile line.

v3: split to a separate commit

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
52addd90d1406f9b156a384fe8b98dee27aeddf6 16-May-2016 Emil Velikov <emil.velikov@collabora.com> scons: gallium: link against nir as needed

... otherwise we'll produce uncomplete binaries with introduction of NIR
as alternative IR with next commits.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
fa46848e51a619aba5a748316fe8fe4c2e17d243 09-Apr-2016 Jose Fonseca <jfonseca@vmware.com> scons: Allow building with Address Sanitizer.

libasan is never linked to shared objects (which doesn't go well with
-z,defs). It must either be linked to the main executable, or (more
practically for OpenGL drivers) be pre-loaded via LD_PRELOAD.

Otherwise works.

I didn't find anything with llvmpipe. I suspect the fact that the
JIT compiled code isn't instrumented means there are lots of errors it
can't catch.

But for non-JIT drivers, the Address/Leak Sanitizers seem like a faster
alternative to Valgrind.

Usage (Ubuntu 15.10):

scons asan=1 libgl-xlib
export LD_LIBRARY_PATH=$PWD/build/linux-x86_64-debug/gallium/targets/libgl-xlib
LD_PRELOAD=libasan.so.2 any-opengl-application

Acked-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
1a882fd2ee84ae28a06cf07902dc4645d8ad4a6d 18-Jan-2016 Emil Velikov <emil.velikov@collabora.com> nir: move shader_enums.[ch] to compiler

This way one can reuse it in glsl, nir or other infrastructure without
pulling nir as dependency.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Matt Turner <mattst88@gmail.com>
Acked-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
ea3f394e4a2bd8303d199acd0642f39784b7e27f 26-Nov-2015 Jose Fonseca <jfonseca@vmware.com> scons: Use LD version script for libgl-xlib.

Trivial.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
b23a4859f4dbbcca7d6a637010167d470211e45b 19-Oct-2015 Jose Fonseca <jfonseca@vmware.com> scons: Build nir/glsl_types.cpp once.

Undoes early hacks, and ensures nir/glsl_types.cpp is built once, and
only once.

The root problem is that SCons doesn't know about NIR nor any source
file in the NIR_FILES source list.

Tested with libgl-gdi and libgl-xlib scons targets.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
b9b40ef9b7644ea24768bc8b7464b1719efe99bf 10-Oct-2015 Rob Clark <robclark@freedesktop.org> nir: remove dependency on glsl

Move glsl_types into NIR, now that the dependency on glsl_symbol_table
has been split out.

Possibly makes sense to rename things at this point, but if we do that
I'd like to keep it split out into a separate patch to make git history
easier to follow (IMHO).

v2: fix android build
v3: I f***ing hate scons.. but at least it builds

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
429a4355259b3c4fe80838b499a8d8afa41f290a 14-Mar-2015 Emil Velikov <emil.l.velikov@gmail.com> galahad: remove driver

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
afcf5d33cfd01a85dbd0adc930a1f4b137beaf95 05-Aug-2014 Emil Velikov <emil.l.velikov@gmail.com> libgl-xlib: drop duplicate mesautil from scons build

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
efa0aa8ffc63e8fdd23335e67ca76eb358cfd1ac 23-Jul-2014 Jason Ekstrand <jason.ekstrand@intel.com> util: Gather some common macros

This gathers macros that have been included across components into util so
that the include chain can be more vertical. In particular, this makes
util stand on its own without any dependence whatsoever on the rest of
mesa.

Signed-off-by: "Jason Ekstrand" <jason.ekstrand@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
1e0da6233be6e5fb0143615d5e3d3642ddb7964f 25-Feb-2014 Kenneth Graunke <kenneth@whitecape.org> util: Move ralloc to a new src/util directory.

For a long time, we've wanted a place to put utility code which isn't
directly tied to Mesa or Gallium internals. This patch creates a new
src/util directory for exactly that purpose, and builds the contents as
libmesautil.la.

ralloc seemed like a good first candidate. These days, it's directly
used by mesa/main, i965, i915, and r300g, so keeping it in src/glsl
didn't make much sense.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>

v2 (Jason Ekstrand): More realloc uses and some scons fixes

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
190312949e8ce2c1dc884d4db5d6a44511666641 21-Jul-2013 José Fonseca <jfonseca@vmware.com> scons: Don't use -z defs ld option on Mac.

Should fix fdo bug 67098.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
719000bd7d7d227a721ee24ea49a55ab9a972b56 19-Jul-2013 José Fonseca <jfonseca@vmware.com> scons: Disallow undefined symbols in Xlib libGL.so.

It's not the first time that, due to missing build dependencies or
incomplete commits, we end up with a broken libGL.so that's missing
symbols, causing all tests to fail catastrophically.

Instead try to catch this sort of issues earlier.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
71c87e42e17a160dfc5c2a47c9cbaa297c34c484 21-Jan-2013 José Fonseca <jfonseca@vmware.com> scons: Fix dependencies of generated headers.

It appears that scons implicit dependency scanners fail to chain
dependencies of generated headers when these are outside the build tree.

This patch ensures generated source files are _always_ put in the build
tree. I'm not 100% this will fix all depency issues, but from my
experiments it does seem to fix this.

NOTE: For this to be effective it is necessary to clean the source tree
from generated header/source files.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
f8840057710041e2d43fddfe4ef9f392c475e129 17-Nov-2012 Vinson Lee <vlee@freedesktop.org> scons: Append x11 library path if linking x11 library.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
dff36e900c645401b26c9a44106459e96ee7a24d 30-May-2012 Brian Paul <brianp@vmware.com> scons: add code to generate the various GL API files

This fixes recent build breakage when we began building the generated
API files from xml as part of the normal build process.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=50475
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
ccd4d4367f2b4e5aebfc59b832599812a4a1c7d8 29-Nov-2011 Kai Wasserbäch <kai@dev.carbon-project.org> gallium/cell: Remove the driver.

Complicates Gallium3D development and doesn't seem to have active users.

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
61efad6865978b641cdacc4c087c2e623b1eab11 08-Jul-2011 José Fonseca <jose.r.fonseca@gmail.com> scons: Generate libGL.so.1.5 and libGL.so.1 symlinks.

In build/xxx/src/gallium/targets/libgl-xlib/SConscript
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
2699fce0d69db5158427c8b6c8194b2eefc5e58b 17-Jun-2011 José Fonseca <jfonseca@vmware.com> scons: Buid libGL.so (WIP).
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
8aac5d123c4636fad5e9d70c3a6706aaa6f1f240 24-Jan-2011 Kenneth Graunke <kenneth@whitecape.org> Remove talloc from the SCons build system.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
bb770af3a59e5935c108c05ee45490fc5668d4a3 14-Jan-2011 Chia-I Wu <olv@lunarg.com> scons: Add support for GLES.

GLES can be enabled by running scons with

$ scons gles=yes

When gles=yes is given, the build is changed in three ways. First,
libmesa.a will be built with FEATURE_ES1 and FEATURE_ES2. This makes
DRI drivers and libEGL support and advertise GLES support. Second, GLES
libraries will be created. They are libGLESv1_CM, libGLESv2, and
libglapi. Last, libGL or opengl32 will link to libglapi. This change
is required as _glapi_* will be declared as __declspec(dllimport) in
libmesa.a on windows. libmesa.a expects those symbols to be defined in
another DLL. Due to this change to GL, GLES support is marked
experimental.

Note that GLES requires libxml2-python to generate some of its sources.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
3dcc3153b087a2ec42e6177d965dd8b2c95779c2 18-Nov-2010 José Fonseca <jfonseca@vmware.com> scons: Use inline wrap helpers more consistently.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
c30656d8c24eafeb29276fa31503b30608239468 11-Nov-2010 Jakob Bornecrantz <jakob@vmware.com> libgl-xlib: Use inline debug helper instead of non-inline version
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
601498ae73e654c2de997ea75075613a694d604d 01-Nov-2010 José Fonseca <jfonseca@vmware.com> scons: Revamp how to specify targets to build.

Use scons target and dependency system instead of ad-hoc options.

Now is simply a matter of naming what to build. For example:

scons libgl-xlib

scons libgl-gdi

scons graw-progs

scons llvmpipe

and so on. And there is also the possibility of scepcified subdirs, e.g.

scons src/gallium/drivers

If nothing is specified then everything will be build.

There might be some rough corners over the next days. Please bare with me.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
f1de38b851d274b16e8b58669a110b0124e0f40b 04-Sep-2010 Brian Paul <brianp@vmware.com> libgl-xlib: enable galahad support

If the GALLIUM_GALAHAD env var is 1 we'll wrap the regular driver with
the galahad validation driver.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
1d22923fae7f4c749b3820844110e3d8ee4d26c0 14-Aug-2010 José Fonseca <jfonseca@vmware.com> scons: Link talloc.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
53cbb81576671d6d39e6a353e79ebda2c512d735 12-May-2010 Jakob Bornecrantz <jakob@vmware.com> rbug: Add to all targets that link against trace

Also added calls to the create function in target helpers and in
tr_drm.c the latter being a hack and should be replaced with the
wrap screen target helper. But at least this way we don't regress.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
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/src/gallium/targets/libgl-xlib/SConscript
47a89e9255846f55efe0992c94b65ae7c911dbb3 10-Apr-2010 José Fonseca <jfonseca@vmware.com> scons: Always build softpipe and llvmpipe (when llvm available).

These are our reference software rasterizers. They can build everywhere
and are a precious debugging tool.

Making them always present immensily simplifies the scons logic.

If people want to avoid building it is still possible to pass
direcotries and target names to scons to narrow the build.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
ea532f0e725bd68e7784189c9b7f6f7bf7f9d901 10-Apr-2010 José Fonseca <jfonseca@vmware.com> scons: Make LLVM a black-white dependency.

Now that draw depends on llvm it is very difficult to correctly handle
broken llvm installations. Either the user requests LLVM and it needs to
supply a working installation. Or it doesn't, and it gets no LLVM
accelerate pipe drivers.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
36e92a0494f8a4d2d840d08ffece6719bc8260d6 31-Mar-2010 José Fonseca <jfonseca@vmware.com> libgl-xlib: Fix missing X11 symbols.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
63aa8a39c4e7ee996afc87404474cce570ac3729 21-Mar-2010 George Sapountzis <gsapountzis@gmail.com> Revert "fix scons build"

This reverts commit 29ec05164838f13d9535271796a50fa213d07912.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
29ec05164838f13d9535271796a50fa213d07912 21-Mar-2010 George Sapountzis <gsapountzis@gmail.com> fix scons build
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
c27ffc5215573d6ff106d4770168117adea884f9 09-Mar-2010 José Fonseca <jfonseca@vmware.com> scons: Fix the libg-xlib Sconscript.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript
99f11d0e18e1ff5a433c84d52ffc13b9684c2650 08-Mar-2010 Keith Whitwell <keithw@vmware.com> gallium: introduce target directory

Currently there are still at least two functions bundled up inside the
winsys concept:

a) that of a backend resource manager, sometimes capable of performing
present() operations,

b) the initialization code/routine for the whole driver stack.

The inclusion of (b) makes it difficult to share implementations of
(a) between different drivers. For instance, a clean xlib winsys
could be of use for software-rasterized VG, GLES, EGL, etc, stacks.
But that is only true as long as there is no dependency from the
winsys to higher level code, as would be the case when we include (b)
in this component.

This change creates a new gallium/targets subtree, specifically for
implementing the glue needed to build individual driver stacks, and
moves that code out of a single example winsys, namely xlib.

Other drivers continue to build unchanged, but hopefully can migrate
to this structure over time.
/external/mesa3d/src/gallium/targets/libgl-xlib/SConscript