projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e2c3b3
)
Cell: use Cell driver by default if linux-cell is built
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 24 Jan 2008 16:18:15 +0000
(09:18 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 24 Jan 2008 16:18:43 +0000
(09:18 -0700)
To disable the Cell driver and use softpipe instead, export GALLIUM_NOCELL=1
src/mesa/pipe/xlib/xm_winsys.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/xlib/xm_winsys.c
b/src/mesa/pipe/xlib/xm_winsys.c
index 10dc09b13c1af18b523d3bb85c3198180f250049..432431aca1a1ef43206bb24c974fa0172b74f7bc 100644
(file)
--- a/
src/mesa/pipe/xlib/xm_winsys.c
+++ b/
src/mesa/pipe/xlib/xm_winsys.c
@@
-405,7
+405,7
@@
xm_surface_alloc(struct pipe_winsys *ws)
xms->surface.winsys = ws;
#ifdef GALLIUM_CELL
- if (
getenv("GALLIUM_
CELL")) {
+ if (
!getenv("GALLIUM_NO
CELL")) {
xms->tileSize = 32; /** probably temporary */
}
#endif
@@
-511,7
+511,7
@@
xmesa_create_pipe_context(XMesaContext xmesa, uint pixelformat)
struct pipe_context *pipe;
#ifdef GALLIUM_CELL
- if (
getenv("GALLIUM_
CELL")) {
+ if (
!getenv("GALLIUM_NO
CELL")) {
struct cell_winsys *cws = cell_get_winsys(pixelformat);
pipe = cell_create_context(pws, cws);
if (pipe)