Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_screen.c63 const struct driOptionCache *optionCache = &screen->dev->option_cache; in dri_fill_st_options() local
66 driQueryOptionb(optionCache, "disable_blend_func_extended"); in dri_fill_st_options()
68 driQueryOptionb(optionCache, "disable_glsl_line_continuations"); in dri_fill_st_options()
70 driQueryOptionb(optionCache, "disable_shader_bit_encoding"); in dri_fill_st_options()
72 driQueryOptionb(optionCache, "force_glsl_extensions_warn"); in dri_fill_st_options()
74 driQueryOptioni(optionCache, "force_glsl_version"); in dri_fill_st_options()
76 driQueryOptionb(optionCache, "allow_glsl_extension_directive_midshader"); in dri_fill_st_options()
78 driQueryOptionb(optionCache, "allow_glsl_builtin_variable_redeclaration"); in dri_fill_st_options()
80 driQueryOptionb(optionCache, "allow_higher_compat_version"); in dri_fill_st_options()
81 options->glsl_zero_init = driQueryOptionb(optionCache, "glsl_zero_init"); in dri_fill_st_options()
[all …]
/external/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()
334 if (driQueryOptionb(&rmesa->radeon.optionCache, "no_rast")) { in r100CreateContext()
Dradeon_common_context.c168 fthrottle_mode = driQueryOptioni(&radeon->optionCache, "fthrottle_mode"); in radeonInitContext()
182 radeon->texture_depth = driQueryOptioni (&radeon->optionCache, in radeonInitContext()
276 driDestroyOptionCache(&radeon->optionCache); in radeonDestroyContext()
Dradeon_screen.h97 driOptionCache optionCache; member
Dradeon_screen.c565 driParseOptionInfo (&screen->optionCache, radeon_config_options.xml); in radeonCreateScreen2()
614 driDestroyOptionInfo (&screen->optionCache); in radeonDestroyScreen()
Dradeon_common_context.h412 driOptionCache optionCache; member
Dradeon_state_init.c709 switch ( driQueryOptioni( &rmesa->radeon.optionCache, "dither_mode" ) ) { in radeonInitState()
717 if ( driQueryOptioni( &rmesa->radeon.optionCache, "round_mode" ) == in radeonInitState()
722 if ( driQueryOptioni (&rmesa->radeon.optionCache, "color_reduction" ) == in radeonInitState()
Dradeon_tex.c289 min = driQueryOptionb (&rmesa->radeon.optionCache, "no_neg_lod_bias") ? in radeonTexEnv()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_context.c218 driParseConfigFiles (&rmesa->radeon.optionCache, &screen->optionCache, in r200CreateContext()
220 rmesa->radeon.initialMaxAnisotropy = driQueryOptionf(&rmesa->radeon.optionCache, in r200CreateContext()
223 if (driQueryOptionb( &rmesa->radeon.optionCache, "hyperz")) in r200CreateContext()
260 ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->radeon.optionCache, in r200CreateContext()
383 tcl_mode = driQueryOptioni(&rmesa->radeon.optionCache, "tcl_mode"); in r200CreateContext()
384 if (driQueryOptionb(&rmesa->radeon.optionCache, "no_rast")) { in r200CreateContext()
Dradeon_common_context.c168 fthrottle_mode = driQueryOptioni(&radeon->optionCache, "fthrottle_mode"); in radeonInitContext()
182 radeon->texture_depth = driQueryOptioni (&radeon->optionCache, in radeonInitContext()
276 driDestroyOptionCache(&radeon->optionCache); in radeonDestroyContext()
Dradeon_screen.h97 driOptionCache optionCache; member
Dradeon_screen.c565 driParseOptionInfo (&screen->optionCache, radeon_config_options.xml); in radeonCreateScreen2()
614 driDestroyOptionInfo (&screen->optionCache); in radeonDestroyScreen()
Dradeon_common_context.h412 driOptionCache optionCache; member
Dr200_state_init.c964 switch ( driQueryOptioni( &rmesa->radeon.optionCache, "dither_mode" ) ) { in r200InitState()
972 if ( driQueryOptioni( &rmesa->radeon.optionCache, "round_mode" ) == in r200InitState()
977 if ( driQueryOptioni (&rmesa->radeon.optionCache, "color_reduction" ) == in r200InitState()
984 driQueryOptionf (&rmesa->radeon.optionCache,"texture_blend_quality"); in r200InitState()
Dr200_tex.c333 min = driQueryOptionb (&rmesa->radeon.optionCache, "no_neg_lod_bias") ? in r200TexEnv()
/external/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c149 driParseConfigFiles(&psp->optionCache, &psp->optionInfo, psp->myNum, "dri2"); in driCreateNewScreen2()
231 driDestroyOptionCache(&psp->optionCache); in driDestroyScreen()
741 if (!driCheckOption(&screen->optionCache, var, DRI_BOOL)) in dri2ConfigQueryb()
744 *val = driQueryOptionb(&screen->optionCache, var); in dri2ConfigQueryb()
752 if (!driCheckOption(&screen->optionCache, var, DRI_INT) && in dri2ConfigQueryi()
753 !driCheckOption(&screen->optionCache, var, DRI_ENUM)) in dri2ConfigQueryi()
756 *val = driQueryOptioni(&screen->optionCache, var); in dri2ConfigQueryi()
764 if (!driCheckOption(&screen->optionCache, var, DRI_FLOAT)) in dri2ConfigQueryf()
767 *val = driQueryOptionf(&screen->optionCache, var); in dri2ConfigQueryf()
Ddri_util.h216 driOptionCache optionCache; member
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.c449 driParseConfigFiles(&intel->optionCache, &intelScreen->optionCache, in intelInitContext()
472 bo_reuse_mode = driQueryOptioni(&intel->optionCache, "bo_reuse"); in intelInitContext()
534 intel->use_early_z = driQueryOptionb(&intel->optionCache, "early_z"); in intelInitContext()
539 if (driQueryOptionb(&intel->optionCache, "no_rast")) { in intelInitContext()
544 if (driQueryOptionb(&intel->optionCache, "always_flush_batch")) { in intelInitContext()
549 if (driQueryOptionb(&intel->optionCache, "always_flush_cache")) { in intelInitContext()
554 if (driQueryOptionb(&intel->optionCache, "disable_throttling")) { in intelInitContext()
602 driDestroyOptionCache(&intel->optionCache); in intelDestroyContext()
Dintel_extensions.c96 if (driQueryOptionb(&intel->optionCache, "fragment_shader")) in intelInitExtensions()
99 if (driQueryOptionb(&intel->optionCache, "stub_occlusion_query")) in intelInitExtensions()
Dintel_screen.h55 driOptionCache optionCache; member
Dintel_screen.c840 driDestroyOptionInfo(&intelScreen->optionCache); in intelDestroyScreen()
1139 bool has_fragment_shader = driQueryOptionb(&screen->optionCache, "fragment_shader"); in set_max_gl_versions()
1140 bool has_occlusion_query = driQueryOptionb(&screen->optionCache, "stub_occlusion_query"); in set_max_gl_versions()
1192 driParseOptionInfo(&intelScreen->optionCache, i915_config_options.xml); in intelInitScreen2()
Dintel_context.h248 driOptionCache optionCache; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_screen.h99 driOptionCache optionCache; member
Dbrw_context.c481 driQueryOptioni(&brw->optionCache, "clamp_max_samples"); in brw_initialize_context_constants()
766 driOptionCache *options = &brw->optionCache; in brw_process_driconf_options()
767 driParseConfigFiles(options, &brw->screen->optionCache, in brw_process_driconf_options()
804 brw->precompile = driQueryOptionb(&brw->optionCache, "shader_precompile"); in brw_process_driconf_options()
806 if (driQueryOptionb(&brw->optionCache, "precise_trig")) in brw_process_driconf_options()
839 driComputeOptionsSha1(&brw->screen->optionCache, in brw_process_driconf_options()
1131 driDestroyOptionCache(&brw->optionCache); in intelDestroyContext()
Dintel_extensions.c171 !driQueryOptionb(&brw->optionCache, "disable_blend_func_extended"); in intelInitExtensions()

12