X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fdrivers%2Fdri%2Fcommon%2Futils.h;h=7be0465c2617c91ffbd35d74b51e706f7966416f;hb=f8894fab0294817481b30e3cc40f6b3ccfe9314d;hp=e3b3940da304a2d052ba102f8e15b76d89bde36d;hpb=1f6e10f67b0fce811eb91abfbdb3e9c6ed0035a3;p=mesa.git diff --git a/src/mesa/drivers/dri/common/utils.h b/src/mesa/drivers/dri/common/utils.h index e3b3940da30..7be0465c261 100644 --- a/src/mesa/drivers/dri/common/utils.h +++ b/src/mesa/drivers/dri/common/utils.h @@ -32,14 +32,6 @@ #include #include "main/context.h" -struct dri_debug_control { - const char * string; - unsigned flag; -}; - -extern unsigned driParseDebugString( const char * debug, - const struct dri_debug_control * control ); - extern unsigned driGetRendererString( char * buffer, const char * hardware_name, GLuint agp_mode ); @@ -48,12 +40,12 @@ struct __DRIconfigRec { }; extern __DRIconfig ** -driCreateConfigs(gl_format format, +driCreateConfigs(mesa_format format, const uint8_t * depth_bits, const uint8_t * stencil_bits, unsigned num_depth_stencil_bits, const GLenum * db_modes, unsigned num_db_modes, const uint8_t * msaa_samples, unsigned num_msaa_modes, - GLboolean enable_accum); + GLboolean enable_accum, GLboolean color_depth_match); __DRIconfig **driConcatConfigs(__DRIconfig **a, __DRIconfig **b); @@ -65,4 +57,7 @@ int driIndexConfigAttrib(const __DRIconfig *config, int index, unsigned int *attrib, unsigned int *value); +int +driQueryRendererIntegerCommon(__DRIscreen *psp, int param, unsigned int *value); + #endif /* DRI_DEBUG_H */