summaryrefslogtreecommitdiff
path: root/src/sna/sna_video.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-06-06 21:40:30 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-06-06 21:40:59 +0100
commit7e1e18aca214a8705270972131a1800c81bc3b4d (patch)
tree718eb2f55cae18bce617f9336c8e71db670816a9 /src/sna/sna_video.h
parent0869acc0a6a5b92f5528049d2bd5ec62121ba114 (diff)
sna/video: Fixup formats to select visuals
Fixes regression from commit 195a51353c3af7bd253227da5f759f06cea01f73 [2.21.8] Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Apr 9 19:13:46 2013 +0100 sna/video: Convert to a pure Xv backend Reported-by: Edward Sheldrake <ejsheldrake@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65479 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sna/sna_video.h b/src/sna/sna_video.h
index e1b289d4..593a8cc4 100644
--- a/src/sna/sna_video.h
+++ b/src/sna/sna_video.h
@@ -109,6 +109,9 @@ void sna_video_textured_setup(struct sna *sna, ScreenPtr screen);
void sna_video_destroy_window(WindowPtr win);
XvAdaptorPtr sna_xv_adaptor_alloc(struct sna *sna);
+int sna_xv_fixup_formats(ScreenPtr screen,
+ XvFormatPtr formats,
+ int num_formats);
int sna_xv_alloc_port(unsigned long port, XvPortPtr in, XvPortPtr *out);
int sna_xv_free_port(XvPortPtr port);