Age | Commit message (Collapse) | Author |
|
|
|
Move glapi to src/mapi/{glapi,es1api,es2api}.
|
|
|
|
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.
|
|
Flags like -Wmissing-prototypes don't apply to g++.
|
|
This reverts part of commit ebe2f7609533645e7e9c8af4a55bc0127b9bc515
and allows things to build here.
|
|
also update the cell config a bit
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
|
|
|
|
Add -D_SVID_SOURCE to silence warnings when building glx files.
Don't build the non-gallium drivers.
|
|
This reverts commit 22c6c1eaad49692416f45bcbbcdc6424aea2da7c.
Need to revert this since we reverted commited this depended on.
|
|
|
|
From glew 1.5.1 release.
|
|
Some of these fixes are quick band-aids for now.
|
|
|
|
|
|
Needed to get MAP_ANONYMOUS in execmem.c and to define timezone type in glxgears.c
Adding -std=c99 earlier caused this regression.
|
|
|
|
|
|
For Cell, need to use different compilers for the libraries vs. the demos/tests
to avoid strange link error regarding "_Unwind_GetIPInfo@GCC_4.2.0"
|
|
linux-cell is now the optimized configuration.
Remove some Cell-specific stuff from winsys/xlib/Makefile.
|
|
|
|
|
|
|
|
In other words, don't build src/gallium source code from within src/mesa/Makefile.
Also, allow to customize which gallium auxiliary dirs, driver driver, winsys
dirs get built from the config/* files.
|
|
|
|
|
|
Update the Makefiles and includes for the new paths.
Note that there hasn't been no separation of the Makefiles yet, and make is
jumping all over the place. That will be taken care shortly. But for now, make
should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm
might require some minor tweaks.
|
|
|
|
|
|
|
|
Removing the paths on certain commands (e.g., ppu32-gcc) and removing
-I/usr/include makes it possible to build for Cell on both PowerPC and
x86 hosts.
|
|
|
|
libspe is deprecated in Cell SDK 2.1, and it is removed in Cell SDK 3.0.
This patch ports the existing libspe-based code to libspe2. Some error
checking (eh-hem) would be nice.
|
|
Including altivec.h caused problems in some places that use "pixel" as a
variable name.
|
|
|
|
|
|
|
|
|
|
No real code yet. Just stand-ins and make/build infrastructure.
|