xf86-video-intel: src/sna/sna_accel.c
Chris Wilson
ickle at kemper.freedesktop.org
Fri Aug 10 13:42:55 PDT 2012
src/sna/sna_accel.c | 9 +++++++++
1 file changed, 9 insertions(+)
New commits:
commit ff54d4af39edcddd55f597c404ab6dd548a24aa9
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Aug 10 21:41:38 2012 +0100
sna: Add a couple of debug options to control use of BLT patterns
References: https://bugs.freedesktop.org/show_bug.cgi?id=53353
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 496f57b..9e7e61c 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -88,6 +88,9 @@
#define ACCEL_IMAGE_GLYPH 1
#define ACCEL_PUSH_PIXELS 1
+#define NO_TILE_8x8 0
+#define NO_STIPPLE_8x8 0
+
#if 0
static void __sna_fallback_flush(DrawablePtr d)
{
@@ -9411,6 +9414,9 @@ sna_poly_fill_rect_tiled_8x8_blt(DrawablePtr drawable,
int16_t dx, dy;
uint32_t *b;
+ if (NO_TILE_8x8)
+ return false;
+
DBG(("%s x %d [(%d, %d)+(%d, %d)...], clipped=%x\n",
__FUNCTION__, n, r->x, r->y, r->width, r->height, clipped));
@@ -9991,6 +9997,9 @@ sna_poly_fill_rect_stippled_8x8_blt(DrawablePtr drawable,
int16_t dx, dy;
uint32_t *b;
+ if (NO_STIPPLE_8x8)
+ return false;
+
DBG(("%s: alu=%d, upload (%d, %d), (%d, %d), origin (%d, %d)\n",
__FUNCTION__, gc->alu,
extents->x1, extents->y1,
More information about the xorg-commit
mailing list