diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/dmx/glxProxy/glxext.c | 7 | ||||
-rw-r--r-- | hw/kdrive/ephyr/ephyrdriext.c | 2 | ||||
-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 | ||||
-rw-r--r-- | hw/xquartz/applewm.c | 3 | ||||
-rw-r--r-- | hw/xquartz/xpr/dri.c | 4 | ||||
-rwxr-xr-x | hw/xwin/winwindowswm.c | 3 |
9 files changed, 31 insertions, 0 deletions
diff --git a/hw/dmx/glxProxy/glxext.c b/hw/dmx/glxProxy/glxext.c index 0c3906897..c00ae6ee5 100644 --- a/hw/dmx/glxProxy/glxext.c +++ b/hw/dmx/glxProxy/glxext.c @@ -44,6 +44,7 @@ #include "glxvisuals.h" #include "micmap.h" #include "glxswap.h" +#include "registry.h" /* ** Stubs to satisfy miinitext.c references. @@ -303,6 +304,12 @@ void GlxExtensionInit(void) !__glXWindowRes || !__glXPbufferRes) return; + RegisterResourceName(__glXContextRes, "GLXContext"); + RegisterResourceName(__glXClientRes, "GLXClient"); + RegisterResourceName(__glXPixmapRes, "GLXPixmap"); + RegisterResourceName(__glXWindowRes, "GLXWindow"); + RegisterResourceName(__glXPbufferRes, "GLXPbuffer"); + /* ** Add extension to server extensions. */ diff --git a/hw/kdrive/ephyr/ephyrdriext.c b/hw/kdrive/ephyr/ephyrdriext.c index ba1733bdf..a2839eac3 100644 --- a/hw/kdrive/ephyr/ephyrdriext.c +++ b/hw/kdrive/ephyr/ephyrdriext.c @@ -43,6 +43,7 @@ #include "privates.h" #include "dixstruct.h" #include "extnsionst.h" +#include "registry.h" #include "colormapst.h" #include "cursorstr.h" #include "scrnintstr.h" @@ -145,6 +146,7 @@ ephyrDRIExtensionInit (ScreenPtr a_screen) EPHYR_LOG_ERROR ("failed to register DRI event resource type\n") ; goto out ; } + RegisterResourceName(EventType, "DRIEvents"); #endif if ((extEntry = AddExtension(XF86DRINAME, 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, diff --git a/hw/xquartz/applewm.c b/hw/xquartz/applewm.c index d1a6175bf..26cf5d2e9 100644 --- a/hw/xquartz/applewm.c +++ b/hw/xquartz/applewm.c @@ -37,6 +37,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "dixstruct.h" #include "globals.h" #include "extnsionst.h" +#include "registry.h" #include "colormapst.h" #include "cursorstr.h" #include "scrnintstr.h" @@ -129,6 +130,8 @@ AppleWMExtensionInit( WMEventBase = extEntry->eventBase; EventSwapVector[WMEventBase] = (EventSwapPtr) SNotifyEvent; appleWMProcs = procsPtr; + RegisterResourceName(ClientType, "WMClient"); + RegisterResourceName(EventType, "WMEvent"); } } diff --git a/hw/xquartz/xpr/dri.c b/hw/xquartz/xpr/dri.c index a9c0f2234..b59f5d3f8 100644 --- a/hw/xquartz/xpr/dri.c +++ b/hw/xquartz/xpr/dri.c @@ -55,6 +55,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" @@ -279,6 +280,9 @@ DRIExtensionInit(void) { DRIDrawablePrivResType = CreateNewResourceType(DRIDrawablePrivDelete); + if (DRIDrawablePrivResType != 0) + RegisterResourceName(DRIDrawablePrivResType, "DRIDrawable"); + return (DRIDrawablePrivResType != 0); } diff --git a/hw/xwin/winwindowswm.c b/hw/xwin/winwindowswm.c index 3d4d8c208..2383c597a 100755 --- a/hw/xwin/winwindowswm.c +++ b/hw/xwin/winwindowswm.c @@ -34,6 +34,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" @@ -102,6 +103,8 @@ winWindowsWMExtensionInit () WMErrorBase = extEntry->errorBase; WMEventBase = extEntry->eventBase; EventSwapVector[WMEventBase] = (EventSwapPtr) SNotifyEvent; + RegisterResourceName(ClientType, "WMClient"); + RegisterResourceName(eventResourceType, "WMEvent"); } } |