mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
Cell: use Cell driver by default if linux-cell is built
To disable the Cell driver and use softpipe instead, export GALLIUM_NOCELL=1
This commit is contained in:
parent
6e2c3b3a49
commit
47b3afc53f
1 changed files with 2 additions and 2 deletions
|
|
@ -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_NOCELL")) {
|
||||
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_NOCELL")) {
|
||||
struct cell_winsys *cws = cell_get_winsys(pixelformat);
|
||||
pipe = cell_create_context(pws, cws);
|
||||
if (pipe)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue