diff options
Diffstat (limited to 'hw/xfree86')
-rw-r--r-- | hw/xfree86/dixmods/extmod/xf86vmode.c | 2 | ||||
-rw-r--r-- | hw/xfree86/dri/dri.c | 3 | ||||
-rw-r--r-- | hw/xfree86/dri/xf86dri.c | 4 | ||||
-rw-r--r-- | hw/xfree86/dri2/dri2ext.c | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/hw/xfree86/dixmods/extmod/xf86vmode.c b/hw/xfree86/dixmods/extmod/xf86vmode.c index 49201155e..c35a83f64 100644 --- a/hw/xfree86/dixmods/extmod/xf86vmode.c +++ b/hw/xfree86/dixmods/extmod/xf86vmode.c @@ -39,6 +39,7 @@ from Kaleb S. KEITHLEY #include "misc.h" #include "dixstruct.h" #include "extnsionst.h" +#include "registry.h" #include "scrnintstr.h" #include "servermd.h" #include <X11/extensions/xf86vmproto.h> @@ -201,6 +202,7 @@ XFree86VidModeExtensionInit(void) #endif VidModeErrorBase = extEntry->errorBase; #ifdef XF86VIDMODE_EVENTS + RegisterResourceName(EventType, "VidModeEvent"); XF86VidModeEventBase = extEntry->eventBase; EventSwapVector[XF86VidModeEventBase] = (EventSwapPtr)SXF86VidModeNotifyEvent; #endif diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c index 1a6cb4d83..be0604e27 100644 --- a/hw/xfree86/dri/dri.c +++ b/hw/xfree86/dri/dri.c @@ -51,6 +51,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "misc.h" #include "dixstruct.h" #include "extnsionst.h" +#include "registry.h" #include "colormapst.h" #include "cursorstr.h" #include "scrnintstr.h" @@ -794,6 +795,8 @@ DRIExtensionInit(void) if (!DRIDrawablePrivResType || !DRIContextPrivResType) return FALSE; + RegisterResourceName(DRIDrawablePrivResType, "DRIDrawable"); + RegisterResourceName(DRIContextPrivResType, "DRIContext"); RegisterBlockAndWakeupHandlers(DRIBlockHandler, DRIWakeupHandler, NULL); diff --git a/hw/xfree86/dri/xf86dri.c b/hw/xfree86/dri/xf86dri.c index 035057b77..2da9767e8 100644 --- a/hw/xfree86/dri/xf86dri.c +++ b/hw/xfree86/dri/xf86dri.c @@ -47,6 +47,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "misc.h" #include "dixstruct.h" #include "extnsionst.h" +#include "registry.h" #include "colormapst.h" #include "cursorstr.h" #include "scrnintstr.h" @@ -111,6 +112,9 @@ XFree86DRIExtensionInit(void) StandardMinorOpcode))) { DRIReqCode = (unsigned char)extEntry->base; DRIErrorBase = extEntry->errorBase; +#ifdef XF86DRI_EVENTS + RegisterResourceName(EventType, "DRIEvent"); +#endif } } diff --git a/hw/xfree86/dri2/dri2ext.c b/hw/xfree86/dri2/dri2ext.c index 8acf26709..112e76c39 100644 --- a/hw/xfree86/dri2/dri2ext.c +++ b/hw/xfree86/dri2/dri2ext.c @@ -42,6 +42,7 @@ #include "scrnintstr.h" #include "pixmapstr.h" #include "extnsionst.h" +#include "registry.h" #include "xf86drm.h" #include "xfixes.h" #include "dri2.h" @@ -421,6 +422,8 @@ DRI2ExtensionInit(void) if (!dri2DrawableRes) return; + RegisterResourceName(dri2DrawableRes, "DRI2Drawable"); + dri2Extension = AddExtension(DRI2_NAME, DRI2NumberEvents, DRI2NumberErrors, |