summaryrefslogtreecommitdiff
path: root/Xext/xvmain.c
diff options
context:
space:
mode:
authorTomas Carnecky <tom@dbservice.com>2012-07-10 02:03:06 +0100
committerKeith Packard <keithp@keithp.com>2012-07-09 23:28:37 -0700
commit7a11b817e770cd2196814f1ac6264c6d87b76c6a (patch)
tree0bb1790955241d88029503cc6ea920e6323b51c9 /Xext/xvmain.c
parent7d859bd87834dd79c7fa3792075496ece698c082 (diff)
Move Xv and XvMC from extmod to built-in
Always build these extensions into the core server, rather than letting them languish in extmod. Signed-off-by: Tomas Carnecky <tom@dbservice.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext/xvmain.c')
-rw-r--r--Xext/xvmain.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Xext/xvmain.c b/Xext/xvmain.c
index c2860b86a..77c4156de 100644
--- a/Xext/xvmain.c
+++ b/Xext/xvmain.c
@@ -194,6 +194,18 @@ XvExtensionInit(void)
}
}
+DevPrivateKey (*XvGetScreenKeyProc)(void) = NULL;
+unsigned long (*XvGetRTPortProc)(void) = NULL;
+int (*XvScreenInitProc)(ScreenPtr) = NULL;
+
+void
+XvRegister(void)
+{
+ XvScreenInitProc = XvScreenInit;
+ XvGetScreenKeyProc = XvGetScreenKey;
+ XvGetRTPortProc = XvGetRTPort;
+}
+
static Bool
CreateResourceTypes(void)
{