mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
dri: delete DRI2_THROTTLE interface
unused Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30450>
This commit is contained in:
parent
64a77a9017
commit
ec3ad889da
4 changed files with 0 additions and 29 deletions
|
|
@ -2106,7 +2106,6 @@ static const __DRIextension *dri_screen_extensions_base[] = {
|
|||
&driTexBufferExtension.base,
|
||||
&dri2FlushExtension.base,
|
||||
&dri2GalliumConfigQueryExtension.base,
|
||||
&dri2ThrottleExtension.base,
|
||||
&dri2FenceExtension.base,
|
||||
&dri2InteropExtension.base,
|
||||
&driBlobExtension.base,
|
||||
|
|
|
|||
|
|
@ -585,12 +585,4 @@ dri_throttle(__DRIcontext *cPriv, __DRIdrawable *dPriv,
|
|||
dri_flush(cPriv, dPriv, 0, reason);
|
||||
}
|
||||
|
||||
|
||||
const __DRI2throttleExtension dri2ThrottleExtension = {
|
||||
.base = { __DRI2_THROTTLE, 1 },
|
||||
|
||||
.throttle = dri_throttle,
|
||||
};
|
||||
|
||||
|
||||
/* vim: set sw=3 ts=8 sts=3 expandtab: */
|
||||
|
|
|
|||
|
|
@ -167,7 +167,6 @@ void
|
|||
dri_flush_drawable(__DRIdrawable *dPriv);
|
||||
|
||||
extern const __DRItexBufferExtension driTexBufferExtension;
|
||||
extern const __DRI2throttleExtension dri2ThrottleExtension;
|
||||
#endif
|
||||
|
||||
/* vim: set sw=3 ts=8 sts=3 expandtab: */
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@ typedef struct __DRIbufferRec __DRIbuffer;
|
|||
typedef struct __DRIdri2ExtensionRec __DRIdri2Extension;
|
||||
typedef struct __DRIdri2LoaderExtensionRec __DRIdri2LoaderExtension;
|
||||
typedef struct __DRI2flushExtensionRec __DRI2flushExtension;
|
||||
typedef struct __DRI2throttleExtensionRec __DRI2throttleExtension;
|
||||
typedef struct __DRI2fenceExtensionRec __DRI2fenceExtension;
|
||||
typedef struct __DRI2interopExtensionRec __DRI2interopExtension;
|
||||
typedef struct __DRI2blobExtensionRec __DRI2blobExtension;
|
||||
|
|
@ -232,24 +231,6 @@ struct __DRI2flushExtensionRec {
|
|||
enum __DRI2throttleReason throttle_reason);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Extension that the driver uses to request
|
||||
* throttle callbacks.
|
||||
*
|
||||
* Not used by the X server.
|
||||
*/
|
||||
|
||||
#define __DRI2_THROTTLE "DRI2_Throttle"
|
||||
#define __DRI2_THROTTLE_VERSION 1
|
||||
|
||||
struct __DRI2throttleExtensionRec {
|
||||
__DRIextension base;
|
||||
void (*throttle)(__DRIcontext *ctx,
|
||||
__DRIdrawable *drawable,
|
||||
enum __DRI2throttleReason reason);
|
||||
};
|
||||
|
||||
/**
|
||||
* Extension for EGL_ANDROID_blob_cache
|
||||
* *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue