dri: make DRI2_CONFIG_QUERY public

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:
Mike Blumenkrantz
2024-07-25 12:11:44 -04:00
committed by Marge Bot
parent e8d4b0a253
commit 98b62ee57f
3 changed files with 14 additions and 4 deletions
+4 -4
View File
@@ -849,7 +849,7 @@ dri2ConfigQuerys(__DRIscreen *psp, const char *var, char **val)
/**
* \brief the DRI2ConfigQueryExtension configQueryb method
*/
static int
int
dri2GalliumConfigQueryb(__DRIscreen *sPriv, const char *var,
unsigned char *val)
{
@@ -866,7 +866,7 @@ dri2GalliumConfigQueryb(__DRIscreen *sPriv, const char *var,
/**
* \brief the DRI2ConfigQueryExtension configQueryi method
*/
static int
int
dri2GalliumConfigQueryi(__DRIscreen *sPriv, const char *var, int *val)
{
struct dri_screen *screen = dri_screen(sPriv);
@@ -883,7 +883,7 @@ dri2GalliumConfigQueryi(__DRIscreen *sPriv, const char *var, int *val)
/**
* \brief the DRI2ConfigQueryExtension configQueryf method
*/
static int
int
dri2GalliumConfigQueryf(__DRIscreen *sPriv, const char *var, float *val)
{
struct dri_screen *screen = dri_screen(sPriv);
@@ -899,7 +899,7 @@ dri2GalliumConfigQueryf(__DRIscreen *sPriv, const char *var, float *val)
/**
* \brief the DRI2ConfigQueryExtension configQuerys method
*/
static int
int
dri2GalliumConfigQuerys(__DRIscreen *sPriv, const char *var, char **val)
{
struct dri_screen *screen = dri_screen(sPriv);
+9
View File
@@ -184,4 +184,13 @@ dri_flush(__DRIcontext *cPriv,
PUBLIC void
dri_invalidate_drawable(__DRIdrawable *dPriv);
PUBLIC int
dri2GalliumConfigQueryb(__DRIscreen *sPriv, const char *var,
unsigned char *val);
PUBLIC int
dri2GalliumConfigQueryi(__DRIscreen *sPriv, const char *var, int *val);
PUBLIC int
dri2GalliumConfigQueryf(__DRIscreen *sPriv, const char *var, float *val);
PUBLIC int
dri2GalliumConfigQuerys(__DRIscreen *sPriv, const char *var, char **val);
#endif /* _DRI_UTIL_H_ */
+1
View File
@@ -16,6 +16,7 @@
dri_flush_drawable;
dri_flush;
dri_invalidate_drawable;
dri2GalliumConfigQuery*;
dri_loader_get_extensions;
@nouveau_drm_screen_create@
@radeon_drm_winsys_create@