From 97d809c26bec2c0120f2dc0bcfd840379bd996fa Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 10 Oct 2013 00:15:55 +0100 Subject: sna: Pass usage hint down to render fill routines For the scanlines emitted for rendering Core drawing primitives, it is preferable to use the BLT engine, so pass those hints down. Reported-by: Jiri Slaby Signed-off-by: Chris Wilson --- src/sna/gen2_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sna/gen2_render.c') diff --git a/src/sna/gen2_render.c b/src/sna/gen2_render.c index 9ae8352a..2ee534db 100644 --- a/src/sna/gen2_render.c +++ b/src/sna/gen2_render.c @@ -2943,7 +2943,7 @@ gen2_render_fill_op_done(struct sna *sna, const struct sna_fill_op *op) static bool gen2_render_fill(struct sna *sna, uint8_t alu, PixmapPtr dst, struct kgem_bo *dst_bo, - uint32_t color, + uint32_t color, unsigned flags, struct sna_fill_op *tmp) { #if NO_FILL -- cgit v1.2.3