diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-18 16:34:17 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-18 18:49:42 +0000 |
commit | 4b893ab0812452238305b29b1beea224219f641d (patch) | |
tree | a2953c56850ad117dfa1cfe93096eb50f69d6952 | |
parent | 965586544a8559b6b6b98c20e14c1266e46bf20d (diff) |
sna: Remove defunct debugging option
FORCE_GPU_ONLY now has no effect except for marking the initial pixmap
as all-damaged on the GPU, and so not testing the paths for which it was
originally introduction.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_accel.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 29321a8b..0904f0f0 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -54,7 +54,6 @@ #define DBG(x) ErrorF x #endif -#define FORCE_GPU_ONLY 0 #define FORCE_INPLACE 0 #define FORCE_FALLBACK 0 #define FORCE_FLUSH 0 @@ -655,11 +654,6 @@ static PixmapPtr sna_create_pixmap(ScreenPtr screen, width, height, depth, I915_TILING_Y); - if (FORCE_GPU_ONLY && width && height) - return sna_pixmap_create_scratch(screen, - width, height, depth, - I915_TILING_X); - if (usage == CREATE_PIXMAP_USAGE_GLYPH_PICTURE || !kgem_can_create_2d(&sna->kgem, width, height, BitsPerPixel(depth), I915_TILING_NONE)) |