diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-10 00:15:55 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-10 00:16:58 +0100 |
commit | 97d809c26bec2c0120f2dc0bcfd840379bd996fa (patch) | |
tree | ef30cc41b6b65535a03dfb7c7f58d1587e561015 /src/sna/gen4_render.c | |
parent | b16999da214803a026d7246ec4aa62031e82dfc8 (diff) |
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 <jirislaby@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen4_render.c')
-rw-r--r-- | src/sna/gen4_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c index 48a8852d..fe138737 100644 --- a/src/sna/gen4_render.c +++ b/src/sna/gen4_render.c @@ -2716,7 +2716,7 @@ gen4_render_fill_op_done(struct sna *sna, const struct sna_fill_op *op) static bool gen4_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 *op) { if (sna_blt_fill(sna, alu, |