summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/target-helpers/inline_sw_helper.h
diff options
context:
space:
mode:
authorKai Wasserbäch <kai@dev.carbon-project.org>2011-11-29 18:17:47 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-11-29 20:26:53 +0000
commitccd4d4367f2b4e5aebfc59b832599812a4a1c7d8 (patch)
treeb5e510235d4be8dd4644a72c721693eaae02c1b5 /src/gallium/auxiliary/target-helpers/inline_sw_helper.h
parent09e67706e9a74600e16fe012ecfd192b0d31960a (diff)
downloadexternal_mesa3d-ccd4d4367f2b4e5aebfc59b832599812a4a1c7d8.zip
external_mesa3d-ccd4d4367f2b4e5aebfc59b832599812a4a1c7d8.tar.gz
external_mesa3d-ccd4d4367f2b4e5aebfc59b832599812a4a1c7d8.tar.bz2
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>
Diffstat (limited to 'src/gallium/auxiliary/target-helpers/inline_sw_helper.h')
-rw-r--r--src/gallium/auxiliary/target-helpers/inline_sw_helper.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/gallium/auxiliary/target-helpers/inline_sw_helper.h b/src/gallium/auxiliary/target-helpers/inline_sw_helper.h
index 34bfa52..596c691 100644
--- a/src/gallium/auxiliary/target-helpers/inline_sw_helper.h
+++ b/src/gallium/auxiliary/target-helpers/inline_sw_helper.h
@@ -8,7 +8,7 @@
/* Helper function to choose and instantiate one of the software rasterizers:
- * cell, llvmpipe, softpipe.
+ * llvmpipe, softpipe.
*/
#ifdef GALLIUM_SOFTPIPE
@@ -19,21 +19,12 @@
#include "llvmpipe/lp_public.h"
#endif
-#ifdef GALLIUM_CELL
-#include "cell/ppu/cell_public.h"
-#endif
-
static INLINE struct pipe_screen *
sw_screen_create_named(struct sw_winsys *winsys, const char *driver)
{
struct pipe_screen *screen = NULL;
-#if defined(GALLIUM_CELL)
- if (screen == NULL && strcmp(driver, "cell") == 0)
- screen = cell_create_screen(winsys);
-#endif
-
#if defined(GALLIUM_LLVMPIPE)
if (screen == NULL && strcmp(driver, "llvmpipe") == 0)
screen = llvmpipe_create_screen(winsys);
@@ -54,9 +45,7 @@ sw_screen_create(struct sw_winsys *winsys)
const char *default_driver;
const char *driver;
-#if defined(GALLIUM_CELL)
- default_driver = "cell";
-#elif defined(GALLIUM_LLVMPIPE)
+#if defined(GALLIUM_LLVMPIPE)
default_driver = "llvmpipe";
#elif defined(GALLIUM_SOFTPIPE)
default_driver = "softpipe";