From 6142232fa0feeb39412cda85ca727cc770eaa042 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 28 Mar 2012 18:59:26 +0100 Subject: sna: Add video sprite support for ILK+ Based on the work by Jesse Barnes. Signed-off-by: Chris Wilson --- src/sna/sna_video.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/sna/sna_video.h') diff --git a/src/sna/sna_video.h b/src/sna/sna_video.h index 47ddab0f..687fbe1a 100644 --- a/src/sna/sna_video.h +++ b/src/sna/sna_video.h @@ -51,6 +51,7 @@ struct sna_video { uint32_t gamma5; int color_key; + int color_key_changed; /** YUV data buffers */ struct kgem_bo *old_buf[2]; @@ -58,6 +59,7 @@ struct sna_video { Bool textured; Rotation rotation; + int plane; int SyncToVblank; /* -1: auto, 0: off, 1: on */ }; @@ -78,10 +80,9 @@ struct sna_video_frame { }; void sna_video_init(struct sna *sna, ScreenPtr screen); -XF86VideoAdaptorPtr sna_video_overlay_setup(struct sna *sna, - ScreenPtr screen); -XF86VideoAdaptorPtr sna_video_textured_setup(struct sna *sna, - ScreenPtr screen); +XF86VideoAdaptorPtr sna_video_overlay_setup(struct sna *sna, ScreenPtr screen); +XF86VideoAdaptorPtr sna_video_sprite_setup(struct sna *sna, ScreenPtr screen); +XF86VideoAdaptorPtr sna_video_textured_setup(struct sna *sna, ScreenPtr screen); #define FOURCC_XVMC (('C' << 24) + ('M' << 16) + ('V' << 8) + 'X') -- cgit v1.2.3