summaryrefslogtreecommitdiff
path: root/src/radeon_glamor.c
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.c
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.c')
-rw-r--r--src/radeon_glamor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c
index 7f00d5b0..bd731a86 100644
--- a/src/radeon_glamor.c
+++ b/src/radeon_glamor.c
@@ -355,3 +355,8 @@ radeon_glamor_flush(ScrnInfoPtr pScrn)
if (info->use_glamor)
glamor_block_handler(pScrn->pScreen);
}
+
+XF86VideoAdaptorPtr radeon_glamor_xv_init(ScreenPtr pScreen, int num_adapt)
+{
+ return glamor_xv_init(pScreen, num_adapt);
+}