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:

committed by
Marge Bot

parent
79b8ea9b76
commit
8407e674cc
@@ -585,11 +585,6 @@ const __DRIimageLookupExtension image_lookup_extension = {
|
|||||||
.lookupEGLImageValidated = dri2_lookup_egl_image_validated,
|
.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 **
|
const __DRIextension **
|
||||||
dri_loader_get_extensions(const char *driver_name);
|
dri_loader_get_extensions(const char *driver_name);
|
||||||
|
|
||||||
@@ -862,9 +857,6 @@ EGLBoolean
|
|||||||
dri2_setup_extensions(_EGLDisplay *disp)
|
dri2_setup_extensions(_EGLDisplay *disp)
|
||||||
{
|
{
|
||||||
struct dri2_egl_display *dri2_dpy = dri2_egl_display(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_DRI3_MODIFIERS
|
||||||
#ifdef HAVE_X11_PLATFORM
|
#ifdef HAVE_X11_PLATFORM
|
||||||
@@ -882,8 +874,6 @@ dri2_setup_extensions(_EGLDisplay *disp)
|
|||||||
return EGL_FALSE;
|
return EGL_FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
loader_bind_extensions(dri2_dpy, optional_core_extensions,
|
|
||||||
ARRAY_SIZE(optional_core_extensions), extensions);
|
|
||||||
return EGL_TRUE;
|
return EGL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -242,7 +242,6 @@ struct dri2_egl_display {
|
|||||||
__DRIscreen *dri_screen_display_gpu;
|
__DRIscreen *dri_screen_display_gpu;
|
||||||
bool own_dri_screen;
|
bool own_dri_screen;
|
||||||
const __DRIconfig **driver_configs;
|
const __DRIconfig **driver_configs;
|
||||||
const __DRImutableRenderBufferDriverExtension *mutable_render_buffer;
|
|
||||||
/* fd of the GPU used for rendering. */
|
/* fd of the GPU used for rendering. */
|
||||||
int fd_render_gpu;
|
int fd_render_gpu;
|
||||||
/* fd of the GPU used for display. If the same GPU is used for display
|
/* fd of the GPU used for display. If the same GPU is used for display
|
||||||
|
Reference in New Issue
Block a user