Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_context.c220 driParseConfigFiles (&rmesa->radeon.optionCache, &screen->optionCache, in r100CreateContext()
222 rmesa->radeon.initialMaxAnisotropy = driQueryOptionf(&rmesa->radeon.optionCache, in r100CreateContext()
225 if ( driQueryOptionb( &rmesa->radeon.optionCache, "hyperz" ) ) { in r100CreateContext()
269 ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->radeon.optionCache, in r100CreateContext()
277 i = driQueryOptioni( &rmesa->radeon.optionCache, "allow_large_textures"); in r100CreateContext()
368 else if (driQueryOptionb (&rmesa->radeon.optionCache, "force_s3tc_enable")) { in r100CreateContext()
386 fthrottle_mode = driQueryOptioni(&rmesa->radeon.optionCache, "fthrottle_mode"); in r100CreateContext()
400 tcl_mode = driQueryOptioni(&rmesa->radeon.optionCache, "tcl_mode"); in r100CreateContext()
401 if (driQueryOptionb(&rmesa->radeon.optionCache, "no_rast")) { in r100CreateContext()
Dradeon_screen.h98 driOptionCache optionCache; member
Dradeon_common_context.c166 fthrottle_mode = driQueryOptioni(&radeon->optionCache, "fthrottle_mode"); in radeonInitContext()
180 radeon->texture_depth = driQueryOptioni (&radeon->optionCache, in radeonInitContext()
257 driDestroyOptionCache(&radeon->optionCache); in radeonDestroyContext()
/external/mesa3d/src/gallium/state_trackers/dri/common/
Ddri_context.c48 ctx->pp_enabled[i] = driQueryOptioni(&ctx->optionCache, pp_filters[i].name); in dri_pp_query()
53 const struct driOptionCache * optionCache) in dri_fill_st_options() argument
56 driQueryOptionb(optionCache, "force_glsl_extensions_warn"); in dri_fill_st_options()
114 driParseConfigFiles(&ctx->optionCache, in dri_create_context()
115 &screen->optionCache, sPriv->myNum, driver_descriptor.name); in dri_create_context()
117 dri_fill_st_options(&attribs.options, &ctx->optionCache); in dri_create_context()
175 FREE(ctx->optionCache.values); in dri_destroy_context()
Ddri_screen.c356 if (screen->optionCache.info) { in dri_destroy_option_cache()
357 for (i = 0; i < (1 << screen->optionCache.tableSize); ++i) { in dri_destroy_option_cache()
358 FREE(screen->optionCache.info[i].name); in dri_destroy_option_cache()
359 FREE(screen->optionCache.info[i].ranges); in dri_destroy_option_cache()
361 FREE(screen->optionCache.info); in dri_destroy_option_cache()
364 FREE(screen->optionCache.values); in dri_destroy_option_cache()
414 driParseOptionInfo(&screen->optionCache, in dri_init_screen_helper()
Ddri_context.h53 driOptionCache optionCache; member
Ddri_screen.h62 driOptionCache optionCache; member
/external/mesa3d/src/gallium/state_trackers/dri/drm/
Ddri_context.c48 ctx->pp_enabled[i] = driQueryOptioni(&ctx->optionCache, pp_filters[i].name); in dri_pp_query()
53 const struct driOptionCache * optionCache) in dri_fill_st_options() argument
56 driQueryOptionb(optionCache, "force_glsl_extensions_warn"); in dri_fill_st_options()
114 driParseConfigFiles(&ctx->optionCache, in dri_create_context()
115 &screen->optionCache, sPriv->myNum, driver_descriptor.name); in dri_create_context()
117 dri_fill_st_options(&attribs.options, &ctx->optionCache); in dri_create_context()
175 FREE(ctx->optionCache.values); in dri_destroy_context()
Ddri_screen.c356 if (screen->optionCache.info) { in dri_destroy_option_cache()
357 for (i = 0; i < (1 << screen->optionCache.tableSize); ++i) { in dri_destroy_option_cache()
358 FREE(screen->optionCache.info[i].name); in dri_destroy_option_cache()
359 FREE(screen->optionCache.info[i].ranges); in dri_destroy_option_cache()
361 FREE(screen->optionCache.info); in dri_destroy_option_cache()
364 FREE(screen->optionCache.values); in dri_destroy_option_cache()
414 driParseOptionInfo(&screen->optionCache, in dri_init_screen_helper()
/external/mesa3d/src/gallium/state_trackers/dri/sw/
Ddri_context.c48 ctx->pp_enabled[i] = driQueryOptioni(&ctx->optionCache, pp_filters[i].name); in dri_pp_query()
53 const struct driOptionCache * optionCache) in dri_fill_st_options() argument
56 driQueryOptionb(optionCache, "force_glsl_extensions_warn"); in dri_fill_st_options()
114 driParseConfigFiles(&ctx->optionCache, in dri_create_context()
115 &screen->optionCache, sPriv->myNum, driver_descriptor.name); in dri_create_context()
117 dri_fill_st_options(&attribs.options, &ctx->optionCache); in dri_create_context()
175 FREE(ctx->optionCache.values); in dri_destroy_context()
Ddri_screen.c356 if (screen->optionCache.info) { in dri_destroy_option_cache()
357 for (i = 0; i < (1 << screen->optionCache.tableSize); ++i) { in dri_destroy_option_cache()
358 FREE(screen->optionCache.info[i].name); in dri_destroy_option_cache()
359 FREE(screen->optionCache.info[i].ranges); in dri_destroy_option_cache()
361 FREE(screen->optionCache.info); in dri_destroy_option_cache()
364 FREE(screen->optionCache.values); in dri_destroy_option_cache()
414 driParseOptionInfo(&screen->optionCache, in dri_init_screen_helper()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_context.c253 driParseConfigFiles (&rmesa->radeon.optionCache, &screen->optionCache, in r200CreateContext()
255 rmesa->radeon.initialMaxAnisotropy = driQueryOptionf(&rmesa->radeon.optionCache, in r200CreateContext()
259 && driQueryOptionb( &rmesa->radeon.optionCache, "hyperz" ) ) { in r200CreateContext()
306 ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->radeon.optionCache, in r200CreateContext()
315 i = driQueryOptioni( &rmesa->radeon.optionCache, "allow_large_textures"); in r200CreateContext()
415 else if (driQueryOptionb (&rmesa->radeon.optionCache, "force_s3tc_enable")) { in r200CreateContext()
428 driQueryOptionb(&rmesa->radeon.optionCache, "nv_vertex_program"); in r200CreateContext()
452 tcl_mode = driQueryOptioni(&rmesa->radeon.optionCache, "tcl_mode"); in r200CreateContext()
453 if (driQueryOptionb(&rmesa->radeon.optionCache, "no_rast")) { in r200CreateContext()
Dradeon_screen.h98 driOptionCache optionCache; member
Dradeon_common_context.c166 fthrottle_mode = driQueryOptioni(&radeon->optionCache, "fthrottle_mode"); in radeonInitContext()
180 radeon->texture_depth = driQueryOptioni (&radeon->optionCache, in radeonInitContext()
257 driDestroyOptionCache(&radeon->optionCache); in radeonDestroyContext()
Dradeon_screen.c501 driParseOptionInfo (&screen->optionCache, in radeonCreateScreen2()
562 driDestroyOptionInfo (&screen->optionCache); in radeonDestroyScreen()
/external/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c116 driParseConfigFiles(&psp->optionCache, &psp->optionInfo, psp->myNum, "dri2"); in dri2CreateNewScreen()
140 driDestroyOptionCache(&psp->optionCache); in driDestroyScreen()
526 if (!driCheckOption(&screen->optionCache, var, DRI_BOOL)) in dri2ConfigQueryb()
529 *val = driQueryOptionb(&screen->optionCache, var); in dri2ConfigQueryb()
537 if (!driCheckOption(&screen->optionCache, var, DRI_INT) && in dri2ConfigQueryi()
538 !driCheckOption(&screen->optionCache, var, DRI_ENUM)) in dri2ConfigQueryi()
541 *val = driQueryOptioni(&screen->optionCache, var); in dri2ConfigQueryi()
549 if (!driCheckOption(&screen->optionCache, var, DRI_FLOAT)) in dri2ConfigQueryf()
552 *val = driQueryOptionf(&screen->optionCache, var); in dri2ConfigQueryf()
Ddri_util.h167 driOptionCache optionCache; member
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.c652 driParseConfigFiles(&intel->optionCache, &intelScreen->optionCache, in intelInitContext()
661 bo_reuse_mode = driQueryOptioni(&intel->optionCache, "bo_reuse"); in intelInitContext()
757 intel->use_texture_tiling = driQueryOptionb(&intel->optionCache, in intelInitContext()
759 intel->use_early_z = driQueryOptionb(&intel->optionCache, "early_z"); in intelInitContext()
761 if (!driQueryOptionb(&intel->optionCache, "hiz")) { in intelInitContext()
772 if (driQueryOptionb(&intel->optionCache, "no_rast")) { in intelInitContext()
778 if (driQueryOptionb(&intel->optionCache, "always_flush_batch")) { in intelInitContext()
783 if (driQueryOptionb(&intel->optionCache, "always_flush_cache")) { in intelInitContext()
831 driDestroyOptionCache(&intel->optionCache); in intelDestroyContext()
Dintel_extensions.c111 …ctx->Extensions.ARB_blend_func_extended = !driQueryOptionb(&intel->optionCache, "disable_blend_fun… in intelInitExtensions()
179 if (driQueryOptionb(&intel->optionCache, "fragment_shader")) in intelInitExtensions()
182 if (driQueryOptionb(&intel->optionCache, "stub_occlusion_query")) in intelInitExtensions()
190 else if (driQueryOptionb(&intel->optionCache, "force_s3tc_enable")) { in intelInitExtensions()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_context.c652 driParseConfigFiles(&intel->optionCache, &intelScreen->optionCache, in intelInitContext()
661 bo_reuse_mode = driQueryOptioni(&intel->optionCache, "bo_reuse"); in intelInitContext()
757 intel->use_texture_tiling = driQueryOptionb(&intel->optionCache, in intelInitContext()
759 intel->use_early_z = driQueryOptionb(&intel->optionCache, "early_z"); in intelInitContext()
761 if (!driQueryOptionb(&intel->optionCache, "hiz")) { in intelInitContext()
772 if (driQueryOptionb(&intel->optionCache, "no_rast")) { in intelInitContext()
778 if (driQueryOptionb(&intel->optionCache, "always_flush_batch")) { in intelInitContext()
783 if (driQueryOptionb(&intel->optionCache, "always_flush_cache")) { in intelInitContext()
831 driDestroyOptionCache(&intel->optionCache); in intelDestroyContext()
Dintel_extensions.c111 …ctx->Extensions.ARB_blend_func_extended = !driQueryOptionb(&intel->optionCache, "disable_blend_fun… in intelInitExtensions()
179 if (driQueryOptionb(&intel->optionCache, "fragment_shader")) in intelInitExtensions()
182 if (driQueryOptionb(&intel->optionCache, "stub_occlusion_query")) in intelInitExtensions()
190 else if (driQueryOptionb(&intel->optionCache, "force_s3tc_enable")) { in intelInitExtensions()
Dintel_screen.h70 driOptionCache optionCache; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_context.c652 driParseConfigFiles(&intel->optionCache, &intelScreen->optionCache, in intelInitContext()
661 bo_reuse_mode = driQueryOptioni(&intel->optionCache, "bo_reuse"); in intelInitContext()
757 intel->use_texture_tiling = driQueryOptionb(&intel->optionCache, in intelInitContext()
759 intel->use_early_z = driQueryOptionb(&intel->optionCache, "early_z"); in intelInitContext()
761 if (!driQueryOptionb(&intel->optionCache, "hiz")) { in intelInitContext()
772 if (driQueryOptionb(&intel->optionCache, "no_rast")) { in intelInitContext()
778 if (driQueryOptionb(&intel->optionCache, "always_flush_batch")) { in intelInitContext()
783 if (driQueryOptionb(&intel->optionCache, "always_flush_cache")) { in intelInitContext()
831 driDestroyOptionCache(&intel->optionCache); in intelDestroyContext()
Dintel_extensions.c111 …ctx->Extensions.ARB_blend_func_extended = !driQueryOptionb(&intel->optionCache, "disable_blend_fun… in intelInitExtensions()
179 if (driQueryOptionb(&intel->optionCache, "fragment_shader")) in intelInitExtensions()
182 if (driQueryOptionb(&intel->optionCache, "stub_occlusion_query")) in intelInitExtensions()
190 else if (driQueryOptionb(&intel->optionCache, "force_s3tc_enable")) { in intelInitExtensions()
Dbrw_context.c387 brw->precompile = driQueryOptionb(&intel->optionCache, "shader_precompile"); in brwCreateContext()
392 …ctx->Const.ForceGLSLExtensionsWarn = driQueryOptionb(&intel->optionCache, "force_glsl_extensions_w… in brwCreateContext()

12