mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
glx/drisw: store the flush extension to the screen
cc: mesa-stable Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17147>
This commit is contained in:
parent
cee1c4fc7f
commit
23b63e536e
2 changed files with 3 additions and 0 deletions
|
|
@ -837,6 +837,8 @@ driswBindExtensions(struct drisw_screen *psc, const __DRIextension **extensions)
|
|||
__glXEnableDirectExtension(&psc->base,
|
||||
"GLX_ARB_context_flush_control");
|
||||
}
|
||||
if (strcmp(extensions[i]->name, __DRI2_FLUSH) == 0)
|
||||
psc->f = (__DRI2flushExtension *) extensions[i];
|
||||
}
|
||||
|
||||
if (psc->kopper) {
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ struct drisw_screen
|
|||
const __DRIcoreExtension *core;
|
||||
const __DRIswrastExtension *swrast;
|
||||
const __DRIkopperExtension *kopper;
|
||||
const __DRI2flushExtension *f;
|
||||
const __DRItexBufferExtension *texBuffer;
|
||||
const __DRIcopySubBufferExtension *copySubBuffer;
|
||||
const __DRI2rendererQueryExtension *rendererQuery;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue