xv: move noXvExtension to xvmain.c

It's more appropriate having those kind of flags in the corresponding
extension.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1512>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-04-30 13:25:27 +02:00 committed by Marge Bot
parent dec57e5796
commit 8e32cec204
2 changed files with 2 additions and 3 deletions

View File

@ -108,6 +108,8 @@ SOFTWARE.
static DevPrivateKeyRec XvScreenKeyRec; static DevPrivateKeyRec XvScreenKeyRec;
Bool noXvExtension = FALSE;
#define XvScreenKey (&XvScreenKeyRec) #define XvScreenKey (&XvScreenKeyRec)
unsigned long XvExtensionGeneration = 0; unsigned long XvExtensionGeneration = 0;
unsigned long XvScreenGeneration = 0; unsigned long XvScreenGeneration = 0;

View File

@ -173,9 +173,6 @@ Bool noXFixesExtension = FALSE;
/* Xinerama is disabled by default unless enabled via +xinerama */ /* Xinerama is disabled by default unless enabled via +xinerama */
Bool noPanoramiXExtension = TRUE; Bool noPanoramiXExtension = TRUE;
#endif #endif
#ifdef XV
Bool noXvExtension = FALSE;
#endif
#ifdef DRI2 #ifdef DRI2
Bool noDRI2Extension = FALSE; Bool noDRI2Extension = FALSE;
#endif #endif