diff --git a/src/gallium/frontends/dri/dri_drawable.c b/src/gallium/frontends/dri/dri_drawable.c index b219caefa60..2efcb633985 100644 --- a/src/gallium/frontends/dri/dri_drawable.c +++ b/src/gallium/frontends/dri/dri_drawable.c @@ -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. */ diff --git a/src/gallium/frontends/dri/dri_drawable.h b/src/gallium/frontends/dri/dri_drawable.h index 1d27771c35f..4605c8a6b31 100644 --- a/src/gallium/frontends/dri/dri_drawable.h +++ b/src/gallium/frontends/dri/dri_drawable.h @@ -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, diff --git a/src/gallium/include/mesa_interface.h b/src/gallium/include/mesa_interface.h index 598681c7de0..cd97dd93374 100644 --- a/src/gallium/include/mesa_interface.h +++ b/src/gallium/include/mesa_interface.h @@ -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. */