egl: delete DRI_MUTABLE_RENDER_BUFFER_DRIVER 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 11:44:37 -04:00
committed by Marge Bot
parent 79b8ea9b76
commit 8407e674cc
2 changed files with 0 additions and 11 deletions

View File

@@ -585,11 +585,6 @@ const __DRIimageLookupExtension image_lookup_extension = {
.lookupEGLImageValidated = dri2_lookup_egl_image_validated,
};
static const struct dri_extension_match optional_core_extensions[] = {
{__DRI_MUTABLE_RENDER_BUFFER_DRIVER, 1,
offsetof(struct dri2_egl_display, mutable_render_buffer), true},
};
const __DRIextension **
dri_loader_get_extensions(const char *driver_name);
@@ -862,9 +857,6 @@ EGLBoolean
dri2_setup_extensions(_EGLDisplay *disp)
{
struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp);
const __DRIextension **extensions;
extensions = driGetExtensions(dri2_dpy->dri_screen_render_gpu);
#ifdef HAVE_DRI3_MODIFIERS
#ifdef HAVE_X11_PLATFORM
@@ -882,8 +874,6 @@ dri2_setup_extensions(_EGLDisplay *disp)
return EGL_FALSE;
#endif
loader_bind_extensions(dri2_dpy, optional_core_extensions,
ARRAY_SIZE(optional_core_extensions), extensions);
return EGL_TRUE;
}

View File

@@ -242,7 +242,6 @@ struct dri2_egl_display {
__DRIscreen *dri_screen_display_gpu;
bool own_dri_screen;
const __DRIconfig **driver_configs;
const __DRImutableRenderBufferDriverExtension *mutable_render_buffer;
/* fd of the GPU used for rendering. */
int fd_render_gpu;
/* fd of the GPU used for display. If the same GPU is used for display