Home
last modified time | relevance | path

Searched refs:optionCache (Results 1 – 25 of 32) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/util/
Du_driconf.c28 const struct driOptionCache *optionCache) in u_driconf_fill_st_options() argument
31 options->option = driQueryOption##type(optionCache, #option) in u_driconf_fill_st_options()
36 char *option = driQueryOptionstr(optionCache, #option); \ in u_driconf_fill_st_options()
68 driComputeOptionsSha1(optionCache, options->config_options_sha1); in u_driconf_fill_st_options()
Du_driconf.h36 const struct driOptionCache *optionCache);
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_context.c185 driParseConfigFiles (&rmesa->radeon.optionCache, &screen->optionCache, in r100CreateContext()
187 rmesa->radeon.initialMaxAnisotropy = driQueryOptionf(&rmesa->radeon.optionCache, in r100CreateContext()
190 if (driQueryOptionb(&rmesa->radeon.optionCache, "hyperz")) in r100CreateContext()
223 ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->radeon.optionCache, in r100CreateContext()
325 fthrottle_mode = driQueryOptioni(&rmesa->radeon.optionCache, "fthrottle_mode"); in r100CreateContext()
333 tcl_mode = driQueryOptioni(&rmesa->radeon.optionCache, "tcl_mode"); in r100CreateContext()
Dradeon_common_context.c169 fthrottle_mode = driQueryOptioni(&radeon->optionCache, "fthrottle_mode"); in radeonInitContext()
183 radeon->texture_depth = driQueryOptioni (&radeon->optionCache, in radeonInitContext()
277 driDestroyOptionCache(&radeon->optionCache); in radeonDestroyContext()
Dradeon_screen.h149 driOptionCache optionCache; member
Dradeon_screen.c584 driParseOptionInfo (&screen->optionCache, radeon_driconf, in radeonCreateScreen2()
634 driDestroyOptionInfo (&screen->optionCache); in radeonDestroyScreen()
Dradeon_common_context.h412 driOptionCache optionCache; member
Dradeon_state_init.c710 switch ( driQueryOptioni( &rmesa->radeon.optionCache, "dither_mode" ) ) { in radeonInitState()
718 if ( driQueryOptioni( &rmesa->radeon.optionCache, "round_mode" ) == in radeonInitState()
723 if ( driQueryOptioni (&rmesa->radeon.optionCache, "color_reduction" ) == in radeonInitState()
/third_party/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c157 driParseConfigFiles(&psp->optionCache, &psp->optionInfo, psp->myNum, in driCreateNewScreen2()
240 driDestroyOptionCache(&psp->optionCache); in driDestroyScreen()
744 if (!driCheckOption(&screen->optionCache, var, DRI_BOOL)) in dri2ConfigQueryb()
747 *val = driQueryOptionb(&screen->optionCache, var); in dri2ConfigQueryb()
755 if (!driCheckOption(&screen->optionCache, var, DRI_INT) && in dri2ConfigQueryi()
756 !driCheckOption(&screen->optionCache, var, DRI_ENUM)) in dri2ConfigQueryi()
759 *val = driQueryOptioni(&screen->optionCache, var); in dri2ConfigQueryi()
767 if (!driCheckOption(&screen->optionCache, var, DRI_FLOAT)) in dri2ConfigQueryf()
770 *val = driQueryOptionf(&screen->optionCache, var); in dri2ConfigQueryf()
778 if (!driCheckOption(&screen->optionCache, var, DRI_STRING)) in dri2ConfigQuerys()
[all …]
Ddri_util.h224 driOptionCache optionCache; member
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_context.c219 driParseConfigFiles (&rmesa->radeon.optionCache, &screen->optionCache, in r200CreateContext()
221 rmesa->radeon.initialMaxAnisotropy = driQueryOptionf(&rmesa->radeon.optionCache, in r200CreateContext()
224 if (driQueryOptionb( &rmesa->radeon.optionCache, "hyperz")) in r200CreateContext()
261 ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->radeon.optionCache, in r200CreateContext()
384 tcl_mode = driQueryOptioni(&rmesa->radeon.optionCache, "tcl_mode"); in r200CreateContext()
Dradeon_common_context.c169 fthrottle_mode = driQueryOptioni(&radeon->optionCache, "fthrottle_mode"); in radeonInitContext()
183 radeon->texture_depth = driQueryOptioni (&radeon->optionCache, in radeonInitContext()
277 driDestroyOptionCache(&radeon->optionCache); in radeonDestroyContext()
Dradeon_screen.h149 driOptionCache optionCache; member
Dradeon_screen.c584 driParseOptionInfo (&screen->optionCache, radeon_driconf, in radeonCreateScreen2()
634 driDestroyOptionInfo (&screen->optionCache); in radeonDestroyScreen()
Dradeon_common_context.h412 driOptionCache optionCache; member
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_extensions.c95 if (driQueryOptionb(&intel->optionCache, "fragment_shader")) in intelInitExtensions()
98 if (driQueryOptionb(&intel->optionCache, "stub_occlusion_query")) in intelInitExtensions()
Dintel_context.c449 driParseConfigFiles(&intel->optionCache, &intelScreen->optionCache, in intelInitContext()
472 bo_reuse_mode = driQueryOptioni(&intel->optionCache, "bo_reuse"); in intelInitContext()
542 if (driQueryOptionb(&intel->optionCache, "always_flush_batch")) { in intelInitContext()
547 if (driQueryOptionb(&intel->optionCache, "always_flush_cache")) { in intelInitContext()
552 if (driQueryOptionb(&intel->optionCache, "disable_throttling")) { in intelInitContext()
600 driDestroyOptionCache(&intel->optionCache); in intelDestroyContext()
Dintel_screen.h53 driOptionCache optionCache; member
Dintel_screen.c855 driDestroyOptionInfo(&intelScreen->optionCache); in intelDestroyScreen()
1129 bool has_fragment_shader = driQueryOptionb(&screen->optionCache, "fragment_shader"); in set_max_gl_versions()
1130 bool has_occlusion_query = driQueryOptionb(&screen->optionCache, "stub_occlusion_query"); in set_max_gl_versions()
1182 driParseOptionInfo(&intelScreen->optionCache, i915_driconf, in intelInitScreen2()
Dintel_context.h246 driOptionCache optionCache; member
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_screen.h102 driOptionCache optionCache; member
Dbrw_context.c625 driQueryOptioni(&brw->screen->optionCache, "clamp_max_samples"); in brw_initialize_context_constants()
886 const driOptionCache *const options = &brw->screen->optionCache; in brw_process_driconf_options()
913 brw->precompile = driQueryOptionb(&brw->screen->optionCache, "shader_precompile"); in brw_process_driconf_options()
915 if (driQueryOptionb(&brw->screen->optionCache, "precise_trig")) in brw_process_driconf_options()
954 driComputeOptionsSha1(&brw->screen->optionCache, in brw_process_driconf_options()
1039 driQueryOptionb(&screen->optionCache, "force_compat_profile")) { in brw_create_context()
1225 driQueryOptionb(&screen->optionCache, "mesa_glthread")) { in brw_create_context()
Dbrw_screen.c1745 driDestroyOptionInfo(&screen->optionCache); in brw_destroy_screen()
1893 int bo_reuse_mode = driQueryOptioni(&screen->optionCache, "bo_reuse"); in brw_init_bufmgr()
2172 bool allow_rgb10_configs = driQueryOptionb(&screen->optionCache, in brw_allowed_format()
2180 bool allow_rgb565_configs = driQueryOptionb(&screen->optionCache, in brw_allowed_format()
2451 if (driQueryOptionb(&screen->optionCache, "disable_blend_func_extended")) { in set_max_gl_versions()
2465 if (driQueryOptionb(&screen->optionCache, "allow_higher_compat_version")) in set_max_gl_versions()
2541 driParseConfigFiles(&screen->optionCache, &options, dri_screen->myNum, in brw_init_screen()
2803 …MESA_SHADER_VERTEX].PositionAlwaysInvariant = driQueryOptionb(&screen->optionCache, "vs_position_a… in brw_init_screen()
2804 …ESA_SHADER_TESS_EVAL].PositionAlwaysPrecise = driQueryOptionb(&screen->optionCache, "vs_position_a… in brw_init_screen()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_context.c67 const struct driOptionCache *optionCache = &screen->dev->option_cache; in dri_create_context() local
94 if (driQueryOptionb(optionCache, "force_compat_profile")) { in dri_create_context()
Ddri_screen.c66 const struct driOptionCache *optionCache = &screen->dev->option_cache; in dri_init_options() local
68 u_driconf_fill_st_options(options, optionCache); in dri_init_options()

12