dri: Remove remnants of TexBuffer extension

This is no longer needed as a DRI extension.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35885>
This commit is contained in:
Daniel Stone 2025-07-04 13:05:49 +01:00 committed by Marge Bot
parent a9298ca55c
commit e59305c29f
3 changed files with 0 additions and 27 deletions

View file

@ -311,12 +311,6 @@ dri_set_tex_buffer2(struct dri_context *ctx, GLint target,
}
}
const __DRItexBufferExtension driTexBufferExtension = {
.base = { __DRI_TEX_BUFFER, 2 },
.setTexBuffer2 = dri_set_tex_buffer2,
};
/**
* Get the format and binding of an attachment.
*/

View file

@ -155,8 +155,6 @@ dri_flush(struct dri_context *ctx,
void
dri_flush_drawable(struct dri_drawable *dPriv);
extern const __DRItexBufferExtension driTexBufferExtension;
void
drisw_update_tex_buffer(struct dri_drawable *drawable,
struct dri_context *ctx,

View file

@ -75,25 +75,6 @@ typedef struct {
#define __DRI_TEXTURE_FORMAT_RGB 0x20D9
#define __DRI_TEXTURE_FORMAT_RGBA 0x20DA
#define __DRI_TEX_BUFFER "DRI_TexBuffer"
typedef struct {
__DRIextension base;
/**
* Method to override base texture image with the contents of a
* struct dri_drawable, including the required texture format attribute.
*
* For GLX_EXT_texture_from_pixmap with AIGLX. Used by the X server since
* 2011.
*
* \since 2
*/
void (*setTexBuffer2)(struct dri_context *pDRICtx,
int target,
int format,
struct dri_drawable *pDraw);
} __DRItexBufferExtension;
/**
* Used by drivers that implement DRI2. Version 3 is used by the X server.
*/