summaryrefslogtreecommitdiff
path: root/src/radeon_glamor.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-09-23 07:57:15 +0100
committerAlex Deucher <alexander.deucher@amd.com>2013-09-30 08:57:40 -0400
commit2d791370dfc5570eb74d7a1fb3baf4d4c8ecf243 (patch)
tree1a641ca523728d62be15c69955e513071842fd09 /src/radeon_glamor.h
parentcbb99f659ee7b18ded0008a606e41ded38c1a194 (diff)
radeon: use glamor Xv support if present.
This creates adaptors using glamor if possible. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_glamor.h')
-rw-r--r--src/radeon_glamor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_glamor.h b/src/radeon_glamor.h
index cb76ff4f..67584002 100644
--- a/src/radeon_glamor.h
+++ b/src/radeon_glamor.h
@@ -27,6 +27,7 @@
#ifndef RADEON_GLAMOR_H
#define RADEON_GLAMOR_H
+#include "xf86xv.h"
#ifdef USE_GLAMOR
#include "radeon_surface.h"
@@ -43,6 +44,8 @@ void radeon_glamor_exchange_buffers(PixmapPtr src, PixmapPtr dst);
Bool radeon_glamor_pixmap_is_offscreen(PixmapPtr pixmap);
+XF86VideoAdaptorPtr radeon_glamor_xv_init(ScreenPtr pScreen, int num_adapt);
+
struct radeon_pixmap {
struct radeon_surface surface;
struct radeon_bo *bo;
@@ -88,6 +91,7 @@ static inline Bool radeon_glamor_pixmap_is_offscreen(PixmapPtr pixmap) { return
static inline struct radeon_pixmap *radeon_get_pixmap_private(PixmapPtr pixmap) { return NULL; }
+static inline XF86VideoAdaptorPtr radeon_glamor_xv_init(ScreenPtr pScreen) { return NULL }
#endif
#endif /* RADEON_GLAMOR_H */