(submit/miext-extinit) Xext: xv: move noXvExtension into extension

Those flags are better off in the corresponding extension instead
of the OS layer.

Still needs to remain exported, at least for the Intel driver.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-06-28 23:19:34 +02:00
parent 072b8b7403
commit 29f601863e
3 changed files with 3 additions and 3 deletions

View File

@ -106,6 +106,8 @@ SOFTWARE.
#endif #endif
#include "xvdisp.h" #include "xvdisp.h"
Bool noXvExtension = FALSE;
static DevPrivateKeyRec XvScreenKeyRec; static DevPrivateKeyRec XvScreenKeyRec;
#define XvScreenKey (&XvScreenKeyRec) #define XvScreenKey (&XvScreenKeyRec)

View File

@ -62,6 +62,7 @@ extern _X_EXPORT Bool noCompositeExtension;
extern _X_EXPORT Bool noPanoramiXExtension; extern _X_EXPORT Bool noPanoramiXExtension;
#endif #endif
/* required by: intel_drv */
#if defined(XV) #if defined(XV)
extern _X_EXPORT Bool noXvExtension; extern _X_EXPORT Bool noXvExtension;
#endif #endif

View File

@ -132,9 +132,6 @@ Bool noXFree86DRIExtension = FALSE;
#ifdef XF86VIDMODE #ifdef XF86VIDMODE
Bool noXFree86VidModeExtension = FALSE; Bool noXFree86VidModeExtension = FALSE;
#endif #endif
#ifdef XV
Bool noXvExtension = FALSE;
#endif
#ifdef DRI2 #ifdef DRI2
Bool noDRI2Extension = FALSE; Bool noDRI2Extension = FALSE;
#endif #endif