dri: delete __DRI_COPY_SUB_BUFFER
bye-bye Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400>
This commit is contained in:

committed by
Marge Bot

parent
945fe0ef4a
commit
0341623f39
@@ -640,13 +640,6 @@ driswCopySubBuffer(__DRIdrawable *pdp, int x, int y, int w, int h)
|
||||
drisw_copy_sub_buffer(drawable, x, y, w, h);
|
||||
}
|
||||
|
||||
/* for swrast only */
|
||||
const __DRIcopySubBufferExtension driSWCopySubBufferExtension = {
|
||||
.base = { __DRI_COPY_SUB_BUFFER, 1 },
|
||||
|
||||
.copySubBuffer = driswCopySubBuffer,
|
||||
};
|
||||
|
||||
static const struct __DRImesaCoreExtensionRec mesaCoreExtension = {
|
||||
.base = { __DRI_MESA, 2 },
|
||||
.version_string = MESA_INTERFACE_VERSION_STRING,
|
||||
@@ -660,7 +653,6 @@ const __DRIextension *galliumsw_driver_extensions[] = {
|
||||
&driCoreExtension.base,
|
||||
&mesaCoreExtension.base,
|
||||
&driSWRastExtension.base,
|
||||
&driSWCopySubBufferExtension.base,
|
||||
&gallium_config_options.base,
|
||||
NULL
|
||||
};
|
||||
|
@@ -49,7 +49,6 @@ typedef struct __DRIversionRec __DRIversion;
|
||||
|
||||
typedef struct __DRIcoreExtensionRec __DRIcoreExtension;
|
||||
typedef struct __DRIextensionRec __DRIextension;
|
||||
typedef struct __DRIcopySubBufferExtensionRec __DRIcopySubBufferExtension;
|
||||
typedef struct __DRIswapControlExtensionRec __DRIswapControlExtension;
|
||||
typedef struct __DRIframeTrackingExtensionRec __DRIframeTrackingExtension;
|
||||
typedef struct __DRImediaStreamCounterExtensionRec __DRImediaStreamCounterExtension;
|
||||
@@ -111,18 +110,6 @@ struct __DRIextensionRec {
|
||||
#define __DRI_READ_DRAWABLE "DRI_ReadDrawable"
|
||||
#define __DRI_READ_DRAWABLE_VERSION 1
|
||||
|
||||
/**
|
||||
* Used by drivers that implement the GLX_MESA_copy_sub_buffer extension.
|
||||
*
|
||||
* Used by the X server in swrast mode.
|
||||
*/
|
||||
#define __DRI_COPY_SUB_BUFFER "DRI_CopySubBuffer"
|
||||
#define __DRI_COPY_SUB_BUFFER_VERSION 1
|
||||
struct __DRIcopySubBufferExtensionRec {
|
||||
__DRIextension base;
|
||||
void (*copySubBuffer)(__DRIdrawable *drawable, int x, int y, int w, int h);
|
||||
};
|
||||
|
||||
/**
|
||||
* Used by drivers that implement the GLX_SGI_swap_control or
|
||||
* GLX_MESA_swap_control extension.
|
||||
|
Reference in New Issue
Block a user