egl: delete DRI_TEX_BUFFER remnants

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30494>
This commit is contained in:
Mike Blumenkrantz 2024-07-30 10:57:44 -04:00 committed by Marge Bot
parent f6c649a0ef
commit c684a9b918
2 changed files with 0 additions and 20 deletions

View file

@ -585,14 +585,6 @@ const __DRIimageLookupExtension image_lookup_extension = {
.lookupEGLImageValidated = dri2_lookup_egl_image_validated,
};
static const struct dri_extension_match dri2_core_extensions[] = {
{__DRI_TEX_BUFFER, 2, offsetof(struct dri2_egl_display, tex_buffer), false},
};
static const struct dri_extension_match swrast_core_extensions[] = {
{__DRI_TEX_BUFFER, 2, offsetof(struct dri2_egl_display, tex_buffer), false},
};
static const struct dri_extension_match optional_core_extensions[] = {
{__DRI2_FENCE, 2, offsetof(struct dri2_egl_display, fence), true},
{__DRI2_INTEROP, 1, offsetof(struct dri2_egl_display, interop), true},
@ -883,17 +875,6 @@ dri2_setup_extensions(_EGLDisplay *disp)
extensions = driGetExtensions(dri2_dpy->dri_screen_render_gpu);
if (!dri2_dpy->swrast) {
if (!loader_bind_extensions(dri2_dpy, dri2_core_extensions,
ARRAY_SIZE(dri2_core_extensions), extensions))
return EGL_FALSE;
} else {
if (!loader_bind_extensions(dri2_dpy, swrast_core_extensions,
ARRAY_SIZE(swrast_core_extensions),
extensions))
return EGL_FALSE;
}
#ifdef HAVE_DRI3_MODIFIERS
#ifdef HAVE_X11_PLATFORM
if (dri2_dpy->conn) {

View file

@ -242,7 +242,6 @@ struct dri2_egl_display {
__DRIscreen *dri_screen_display_gpu;
bool own_dri_screen;
const __DRIconfig **driver_configs;
const __DRItexBufferExtension *tex_buffer;
const __DRI2fenceExtension *fence;
const __DRI2blobExtension *blob;
const __DRI2interopExtension *interop;