mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 09:30:11 +01:00
dri: Update dri_util to keep track of __DRI_BACKGROUND_CALLABLE
Acked-by: Timothy Arceri <tarceri@itsqueeze.com> Acked-by: Marek Olšák <maraeo@gmail.com> Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de> Tested-by: Mike Lothian <mike@fireburn.co.uk>
This commit is contained in:
parent
e043b2a1a0
commit
5bc527d39d
2 changed files with 3 additions and 0 deletions
|
|
@ -75,6 +75,8 @@ setupLoaderExtensions(__DRIscreen *psp,
|
|||
psp->dri2.image = (__DRIimageLookupExtension *) extensions[i];
|
||||
if (strcmp(extensions[i]->name, __DRI_USE_INVALIDATE) == 0)
|
||||
psp->dri2.useInvalidate = (__DRIuseInvalidateExtension *) extensions[i];
|
||||
if (strcmp(extensions[i]->name, __DRI_BACKGROUND_CALLABLE) == 0)
|
||||
psp->dri2.backgroundCallable = (__DRIbackgroundCallableExtension *) extensions[i];
|
||||
if (strcmp(extensions[i]->name, __DRI_SWRAST_LOADER) == 0)
|
||||
psp->swrast_loader = (__DRIswrastLoaderExtension *) extensions[i];
|
||||
if (strcmp(extensions[i]->name, __DRI_IMAGE_LOADER) == 0)
|
||||
|
|
|
|||
|
|
@ -172,6 +172,7 @@ struct __DRIscreenRec {
|
|||
const __DRIdri2LoaderExtension *loader;
|
||||
const __DRIimageLookupExtension *image;
|
||||
const __DRIuseInvalidateExtension *useInvalidate;
|
||||
const __DRIbackgroundCallableExtension *backgroundCallable;
|
||||
} dri2;
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue