glx: delete __DRImesaCoreExtension usage
Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400>
This commit is contained in:

committed by
Marge Bot

parent
5dba565ada
commit
f5dd5e4b44
@@ -1024,7 +1024,6 @@ dri2CreateScreen(int screen, struct glx_display * priv, bool driver_name_is_infe
|
||||
|
||||
static const struct dri_extension_match exts[] = {
|
||||
{ __DRI_DRI2, 5, offsetof(struct dri2_screen, dri2), false },
|
||||
{ __DRI_MESA, 2, offsetof(struct dri2_screen, mesa), false },
|
||||
};
|
||||
if (!loader_bind_extensions(psc, exts, ARRAY_SIZE(exts), extensions))
|
||||
goto handle_error;
|
||||
|
@@ -45,7 +45,6 @@ struct dri2_screen {
|
||||
__DRIscreen *driScreen;
|
||||
__GLXDRIscreen vtable;
|
||||
const __DRIdri2Extension *dri2;
|
||||
const __DRImesaCoreExtension *mesa;
|
||||
|
||||
const __DRI2flushExtension *f;
|
||||
const __DRI2configQueryExtension *config;
|
||||
|
@@ -838,12 +838,6 @@ dri3_create_screen(int screen, struct glx_display * priv, bool driver_name_is_in
|
||||
if (extensions == NULL)
|
||||
goto handle_error;
|
||||
|
||||
static const struct dri_extension_match exts[] = {
|
||||
{ __DRI_MESA, 2, offsetof(struct dri3_screen, mesa), false },
|
||||
};
|
||||
if (!loader_bind_extensions(psc, exts, ARRAY_SIZE(exts), extensions))
|
||||
goto handle_error;
|
||||
|
||||
if (psc->fd_render_gpu != psc->fd_display_gpu) {
|
||||
driverNameDisplayGPU = loader_get_driver_for_fd(psc->fd_display_gpu);
|
||||
if (driverNameDisplayGPU) {
|
||||
|
@@ -80,7 +80,6 @@ struct dri3_screen {
|
||||
__DRIscreen *driScreenRenderGPU;
|
||||
|
||||
const __DRIimageExtension *image;
|
||||
const __DRImesaCoreExtension *mesa;
|
||||
const __DRI2flushExtension *f;
|
||||
const __DRI2configQueryExtension *config;
|
||||
const __DRItexBufferExtension *texBuffer;
|
||||
|
@@ -965,7 +965,6 @@ driswCreateScreen(int screen, struct glx_display *priv, enum glx_driver glx_driv
|
||||
{ __DRI_SWRAST, 5, offsetof(struct drisw_screen, swrast), false },
|
||||
{ __DRI_KOPPER, 1, offsetof(struct drisw_screen, kopper), true },
|
||||
{ __DRI_COPY_SUB_BUFFER, 1, offsetof(struct drisw_screen, copySubBuffer), true },
|
||||
{ __DRI_MESA, 2, offsetof(struct drisw_screen, mesa), false },
|
||||
};
|
||||
if (!loader_bind_extensions(psc, exts, ARRAY_SIZE(exts), extensions))
|
||||
goto handle_error;
|
||||
|
@@ -39,7 +39,6 @@ struct drisw_screen
|
||||
|
||||
__DRIscreen *driScreen;
|
||||
__GLXDRIscreen vtable;
|
||||
const __DRImesaCoreExtension *mesa;
|
||||
const __DRIswrastExtension *swrast;
|
||||
const __DRIkopperExtension *kopper;
|
||||
const __DRI2flushExtension *f;
|
||||
|
Reference in New Issue
Block a user