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@chris-wilson.co.uk>
This commit is contained in:
parent
2230614403
commit
ff54d4af39
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue