diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-06-21 12:28:13 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-06-22 11:04:56 +0100 |
commit | ea71133da78632d4cfee5b0b4c96e8dddd6cdf44 (patch) | |
tree | 9dd464de5258f6287e9a550b7db9dbcd8d83f99e /src/sna/sna_video.h | |
parent | 2f6afb5b1f02cc448da1b342627108ceddda4f0d (diff) |
sna/video: Use pwrite for upload of unclipped, unrotated frames
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 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/sna/sna_video.h b/src/sna/sna_video.h index f66a6977..bf4f6a49 100644 --- a/src/sna/sna_video.h +++ b/src/sna/sna_video.h @@ -64,13 +64,12 @@ struct sna_video { struct sna_video_frame { struct kgem_bo *bo; - int id; - int width, height; - int pitch[2]; - int size; - uint32_t YBufOffset; + uint32_t id; + uint32_t size; uint32_t UBufOffset; uint32_t VBufOffset; + uint16_t width, height; + uint16_t pitch[2]; }; void sna_video_init(struct sna *sna, ScreenPtr screen); |