From 1724716ed1421e7f92b36c5b3d2e82fecd0ba4a0 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 30 Jul 2024 14:37:38 -0400 Subject: [PATCH] dri: delete dri_screen::extensions accessor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Reviewed-by: Adam Jackson Part-of: --- src/gallium/frontends/dri/dri_util.c | 6 ------ src/gallium/frontends/dri/dri_util.h | 1 - 2 files changed, 7 deletions(-) diff --git a/src/gallium/frontends/dri/dri_util.c b/src/gallium/frontends/dri/dri_util.c index 0ac1bb9b6bb..c6b08832cfe 100644 --- a/src/gallium/frontends/dri/dri_util.c +++ b/src/gallium/frontends/dri/dri_util.c @@ -244,11 +244,6 @@ void driDestroyScreen(__DRIscreen *psp) } } -const __DRIextension **driGetExtensions(__DRIscreen *psp) -{ - return dri_screen(psp)->extensions; -} - /*@}*/ /* WARNING: HACK: Local defines to avoid pulling glx.h. @@ -956,7 +951,6 @@ const __DRIcoreExtension driCoreExtension = { .createNewScreen = NULL, .destroyScreen = driDestroyScreen, - .getExtensions = driGetExtensions, .getConfigAttrib = driGetConfigAttrib, .indexConfigAttrib = driIndexConfigAttrib, .createNewDrawable = NULL, diff --git a/src/gallium/frontends/dri/dri_util.h b/src/gallium/frontends/dri/dri_util.h index 83e63868b24..ddf682b9964 100644 --- a/src/gallium/frontends/dri/dri_util.h +++ b/src/gallium/frontends/dri/dri_util.h @@ -126,7 +126,6 @@ PUBLIC __DRIdrawable * driCreateNewDrawable(__DRIscreen *psp, const __DRIconfig *config, void *data); extern const __DRIimageDriverExtension driImageDriverExtension; PUBLIC void driDestroyScreen(__DRIscreen *psp); -PUBLIC const __DRIextension **driGetExtensions(__DRIscreen *psp); PUBLIC int driGetConfigAttrib(const __DRIconfig *config, unsigned int attrib, unsigned int *value); PUBLIC int