diff options
author | Kristian Høgsberg <[email protected]> | 2008-03-08 19:15:50 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2008-03-08 19:15:50 -0500 |
commit | a1ea6f6198d80f716936a308cfab235f18a014e1 (patch) | |
tree | 81f3ad6b1c4faf31958b6eca098e2bb4bb113597 /src/glx/x11/glxclient.h | |
parent | 425f9ed44e576aef27f7ab98968043f7f180d0fd (diff) |
Convert driCreateScreen and driDestroyScreen to function pointers.
We avoid leaking the symbols and will be able to replace them with
DRI2 implementation later on.
Diffstat (limited to 'src/glx/x11/glxclient.h')
-rw-r--r-- | src/glx/x11/glxclient.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/glx/x11/glxclient.h b/src/glx/x11/glxclient.h index b3f07a30b6e..99dbb597a68 100644 --- a/src/glx/x11/glxclient.h +++ b/src/glx/x11/glxclient.h @@ -98,6 +98,9 @@ struct __GLXDRIdisplayRec { * Method to destroy the private DRI display data. */ void (*destroyDisplay)(__GLXDRIdisplay *display); + + void (*createScreen)(__GLXscreenConfigs *psc, int screen, + __GLXdisplayPrivate *priv); }; /* @@ -105,9 +108,6 @@ struct __GLXDRIdisplayRec { ** dependent methods. */ extern __GLXDRIdisplay *driCreateDisplay(Display *dpy); -extern void driCreateScreen(__GLXscreenConfigs *psc, int screen, - __GLXdisplayPrivate *priv); -extern void driDestroyScreen(__GLXscreenConfigs *psc); extern void DRI_glXUseXFont( Font font, int first, int count, int listbase ); @@ -436,6 +436,8 @@ struct __GLXscreenConfigsRec { int scr; void *driver; + void (*driDestroyScreen)(__GLXscreenConfigs *psc); + #ifdef __DRI_COPY_SUB_BUFFER __DRIcopySubBufferExtension *copySubBuffer; #endif |