mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
glx: always expose GLX_ARB_context_flush_control
this is always supported Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30450>
This commit is contained in:
parent
e678c4d271
commit
18c25edb94
3 changed files with 3 additions and 15 deletions
|
|
@ -890,14 +890,10 @@ dri2BindExtensions(struct dri2_screen *psc, struct glx_display * priv,
|
|||
if (strcmp(extensions[i]->name, __DRI2_ROBUSTNESS) == 0)
|
||||
__glXEnableDirectExtension(&psc->base,
|
||||
"GLX_ARB_create_context_robustness");
|
||||
|
||||
if (strcmp(extensions[i]->name, __DRI2_FLUSH_CONTROL) == 0)
|
||||
__glXEnableDirectExtension(&psc->base,
|
||||
"GLX_ARB_context_flush_control");
|
||||
}
|
||||
|
||||
__glXEnableDirectExtension(&psc->base, "GLX_EXT_texture_from_pixmap");
|
||||
|
||||
__glXEnableDirectExtension(&psc->base, "GLX_ARB_context_flush_control");
|
||||
__glXEnableDirectExtension(&psc->base, "GLX_MESA_query_renderer");
|
||||
|
||||
if (psc->interop)
|
||||
|
|
|
|||
|
|
@ -720,12 +720,9 @@ dri3_bind_extensions(struct dri3_screen *psc, struct glx_display * priv,
|
|||
if (strcmp(extensions[i]->name, __DRI2_ROBUSTNESS) == 0)
|
||||
__glXEnableDirectExtension(&psc->base,
|
||||
"GLX_ARB_create_context_robustness");
|
||||
|
||||
if (strcmp(extensions[i]->name, __DRI2_FLUSH_CONTROL) == 0)
|
||||
__glXEnableDirectExtension(&psc->base,
|
||||
"GLX_ARB_context_flush_control");
|
||||
}
|
||||
|
||||
__glXEnableDirectExtension(&psc->base, "GLX_ARB_context_flush_control");
|
||||
__glXEnableDirectExtension(&psc->base, "GLX_MESA_query_renderer");
|
||||
|
||||
if (psc->interop)
|
||||
|
|
|
|||
|
|
@ -805,15 +805,10 @@ driswBindExtensions(struct drisw_screen *psc, const __DRIextension **extensions)
|
|||
if (strcmp(extensions[i]->name, __DRI2_ROBUSTNESS) == 0)
|
||||
__glXEnableDirectExtension(&psc->base,
|
||||
"GLX_ARB_create_context_robustness");
|
||||
|
||||
if (strcmp(extensions[i]->name, __DRI2_FLUSH_CONTROL) == 0) {
|
||||
__glXEnableDirectExtension(&psc->base,
|
||||
"GLX_ARB_context_flush_control");
|
||||
}
|
||||
}
|
||||
|
||||
__glXEnableDirectExtension(&psc->base, "GLX_EXT_texture_from_pixmap");
|
||||
|
||||
__glXEnableDirectExtension(&psc->base, "GLX_ARB_context_flush_control");
|
||||
__glXEnableDirectExtension(&psc->base, "GLX_MESA_query_renderer");
|
||||
|
||||
if (psc->kopper) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue