dri: move private __DRIDriverVtableExtension out of dri_interface.h
It's only used internally. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19741>
This commit is contained in:
@@ -1856,23 +1856,6 @@ typedef struct __DRIconfigOptionsExtensionRec {
|
||||
char *(*getXml)(const char *driver_name);
|
||||
} __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
|
||||
*
|
||||
|
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user