diff options
author | Kristian Høgsberg <[email protected]> | 2007-05-10 18:38:49 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2007-10-10 17:09:16 -0400 |
commit | 8ed5c7ca0572a09375bdfd411c3804456dac78d6 (patch) | |
tree | 79a5fc7225b5d1be313bc99599ea7a51a4e8f7c3 /src/glx/x11/glxclient.h | |
parent | 4ff95e78e19e5902352ea3759d32d9f013255f42 (diff) |
Drop createContext and destroyContext from DRIinterfaceMethods.
As for createDrawable and destroyDrawable, these functions immediately
upon entry to driCreateNewContext and immediately before exit from
driDestroyContext. Instead of passing function pointers back and forth
just obtain the drm_context_t prior to calling DRIscreen::createNewContext
and pass it as a parameter.
This change also lets us keep the DRI context XID in the libGL loader only.
Diffstat (limited to 'src/glx/x11/glxclient.h')
-rw-r--r-- | src/glx/x11/glxclient.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glx/x11/glxclient.h b/src/glx/x11/glxclient.h index 7ed45496581..56973251758 100644 --- a/src/glx/x11/glxclient.h +++ b/src/glx/x11/glxclient.h @@ -361,6 +361,11 @@ struct __GLXcontextRec { * Pointer to the mode used to create this context. */ const __GLcontextModes * mode; + + /** + * XID for the server side drm_context_t + */ + XID hwContextID; #endif /** |