diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-10-16 18:23:33 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-10-16 19:39:24 +0100 |
commit | c348b69f66cbe1cafc88396523da9768e1006889 (patch) | |
tree | 7421ebd6dc9abc6d743a0aec7670efa896c369d8 /src/sna/sna.h | |
parent | 6fdc9e3fd3f8defb7ad62de11f8cb069a10e5736 (diff) |
sna: Prefer to accelerate non-RENDER operations if already using the GPU
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index e27c3335..4ba3f57a 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -140,6 +140,7 @@ struct sna_pixmap { uint8_t pinned :1; uint8_t gpu_only :1; uint8_t flush :1; + uint8_t gpu :1; }; static inline PixmapPtr get_drawable_pixmap(DrawablePtr drawable) |