diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-29 13:33:26 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-29 13:33:26 +0100 |
commit | a0bb41d16f75901bc18b7024679e2b3a35fc14f6 (patch) | |
tree | 482789c0b92f1c5c3def2c93fb972372b1a56630 /src/sna/sna_video.h | |
parent | 0dd20381364aabede2e1306945abe21d57c1d7b4 (diff) |
sna/video: The sprite framebuffer also encodes its format
So we need to check whether the cached framebuffer matches the requested
format, or else recreate.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video.h')
-rw-r--r-- | src/sna/sna_video.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_video.h b/src/sna/sna_video.h index 996377bd..f906e95e 100644 --- a/src/sna/sna_video.h +++ b/src/sna/sna_video.h @@ -92,7 +92,7 @@ struct sna_video { /** YUV data buffers */ struct kgem_bo *old_buf[2]; struct kgem_bo *buf; - int width, height; + int width, height, format; int alignment; bool tiled; |