diff options
-rw-r--r-- | include/GL/internal/dri_interface.h | 17 | ||||
-rw-r--r-- | src/gallium/frontends/dri/dri_util.h | 7 |
2 files changed, 7 insertions, 17 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 7f1f48243e1..b8b4d3e4a6f 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -1857,23 +1857,6 @@ typedef struct __DRIconfigOptionsExtensionRec { } __DRIconfigOptionsExtension; /** - * This extension provides a driver vtable to a set of common driver helper - * functions (driCoreExtension, driDRI2Extension) within the driver - * implementation, as opposed to having to pass them through a global - * variable. - * - * It is not intended to be public API to the actual loader, and the vtable - * layout may change at any time. - */ -#define __DRI_DRIVER_VTABLE "DRI_DriverVtable" -#define __DRI_DRIVER_VTABLE_VERSION 1 - -typedef struct __DRIDriverVtableExtensionRec { - __DRIextension base; - const struct __DriverAPIRec *vtable; -} __DRIDriverVtableExtension; - -/** * Query renderer driver extension * * This allows the window system layer (either EGL or GLX) to query aspects of diff --git a/src/gallium/frontends/dri/dri_util.h b/src/gallium/frontends/dri/dri_util.h index 6e6bd76fba7..412fda87ea0 100644 --- a/src/gallium/frontends/dri/dri_util.h +++ b/src/gallium/frontends/dri/dri_util.h @@ -62,6 +62,13 @@ #include "util/xmlconfig.h" #include <stdbool.h> +#define __DRI_DRIVER_VTABLE "DRI_DriverVtable" + +typedef struct __DRIDriverVtableExtensionRec { + __DRIextension base; + const struct __DriverAPIRec *vtable; +} __DRIDriverVtableExtension; + struct __DRIconfigRec { struct gl_config modes; }; |