Home
last modified time | relevance | path

Searched refs:env_var_as_boolean (Results 1 - 25 of 37) sorted by relevance

12

/third_party/mesa3d/src/glx/apple/
H A Dapple_visual.c86 bool use_core_profile = env_var_as_boolean("LIBGL_PROFILE_CORE", false); in apple_visual_create_pfobj()
94 else if (env_var_as_boolean("LIBGL_ALWAYS_SOFTWARE", false)) { in apple_visual_create_pfobj()
100 else if (env_var_as_boolean("LIBGL_ALLOW_SOFTWARE", false)) { in apple_visual_create_pfobj()
/third_party/mesa3d/src/util/
H A Ddisk_cache.c114 if (env_var_as_boolean("MESA_DISK_CACHE_SINGLE_FILE", false)) { in disk_cache_create()
245 if (env_var_as_boolean("MESA_DISK_CACHE_SINGLE_FILE", false)) in disk_cache_destroy()
348 if (env_var_as_boolean("MESA_DISK_CACHE_SINGLE_FILE", false)) { in cache_put()
446 if (env_var_as_boolean("MESA_DISK_CACHE_SINGLE_FILE", false)) { in disk_cache_get()
H A Ddebug.h49 env_var_as_boolean(const char *var_name, bool default_value);
H A Ddisk_cache_os.c817 if (env_var_as_boolean("MESA_DISK_CACHE_SINGLE_FILE", false)) in disk_cache_generate_cache_dir()
887 if (env_var_as_boolean("MESA_DISK_CACHE_SINGLE_FILE", false)) { in disk_cache_generate_cache_dir()
922 if (env_var_as_boolean(envvar_name, disable_by_default)) in disk_cache_enabled()
H A Ddebug.c118 env_var_as_boolean(const char *var_name, bool default_value) in env_var_as_boolean() function
/third_party/mesa3d/src/gallium/auxiliary/target-helpers/
H A Dinline_sw_helper.h82 UNUSED bool only_sw = env_var_as_boolean("LIBGL_ALWAYS_SOFTWARE", false); in sw_screen_create_vk()
H A Dsw_helper.h85 UNUSED bool only_sw = env_var_as_boolean("LIBGL_ALWAYS_SOFTWARE", false); in sw_screen_create_vk()
/third_party/mesa3d/src/vulkan/util/
H A Dvk_util.c78 if (env_var_as_boolean("MESA_VK_IGNORE_CONFORMANCE_WARNING", false)) in vk_warn_non_conformant_implementation()
/third_party/mesa3d/src/glx/
H A Dglxext.c927 glx_direct = !env_var_as_boolean("LIBGL_ALWAYS_INDIRECT", false); in __glXInitialize()
928 glx_accel = !env_var_as_boolean("LIBGL_ALWAYS_SOFTWARE", false); in __glXInitialize()
950 if (!env_var_as_boolean("LIBGL_DRI3_DISABLE", false)) in __glXInitialize()
953 if (!env_var_as_boolean("LIBGL_DRI2_DISABLE", false)) in __glXInitialize()
H A Dindirect_glx.c341 state->NoDrawArraysProtocol = env_var_as_boolean("LIBGL_NO_DRAWARRAYS", false); in indirect_create_context_attribs()
/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_device.c125 if (env_var_as_boolean("WGL_DISABLE_ERROR_DIALOGS", false)) in stw_init()
/third_party/mesa3d/src/gallium/targets/wgl/
H A Dwgl.c118 UNUSED bool sw_only = env_var_as_boolean("LIBGL_ALWAYS_SOFTWARE", false); in wgl_screen_create()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_compiler.c117 compiler->precise_trig = env_var_as_boolean("INTEL_PRECISE_TRIG", false); in brw_compiler_create()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_dxgi_screen.cpp84 bool want_warp = env_var_as_boolean("LIBGL_ALWAYS_SOFTWARE", false); in choose_dxgi_adapter()
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_screen.c118 enable = env_var_as_boolean("IRIS_ENABLE_CLOVER", false); in iris_enable_clover()
847 screen->precompile = env_var_as_boolean("shader_precompile", true); in iris_screen_create()
H A Diris_batch.c296 if (env_var_as_boolean("INTEL_COMPUTE_CLASS", false) && in iris_create_engines_context()
/third_party/mesa3d/src/egl/drivers/dri2/
H A Dplatform_device.c277 bool request_software = env_var_as_boolean("LIBGL_ALWAYS_SOFTWARE", false); in device_probe_device()
H A Dplatform_x11.c1689 if (!env_var_as_boolean("LIBGL_DRI3_DISABLE", false)) in dri2_initialize_x11()
1694 if (!env_var_as_boolean("LIBGL_DRI2_DISABLE", false)) in dri2_initialize_x11()
/third_party/mesa3d/src/gallium/frontends/dri/
H A Ddri_context.c160 if (env_var_as_boolean("MESA_NO_ERROR", false) || in dri_create_context()
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_device.c180 if (env_var_as_boolean("MESA_VK_ENABLE_SUBMIT_THREAD", false)) { in vk_device_init()
318 if (env_var_as_boolean("MESA_VK_ABORT_ON_DEVICE_LOSS", false)) in _vk_device_set_lost()
H A Dvk_pipeline_cache.c609 env_var_as_boolean("VK_ENABLE_PIPELINE_CACHE", true)) { in vk_pipeline_cache_create()
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_screen.c770 screen->precompile = env_var_as_boolean("shader_precompile", true); in crocus_screen_create()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_device.c185 env_var_as_boolean("ANV_EXPERIMENTAL_NV_MESH_SHADER", false); in get_device_extensions()
682 if (env_var_as_boolean("INTEL_COMPUTE_CLASS", false)) in anv_physical_device_init_queue_families()
896 if (env_var_as_boolean("ANV_QUEUE_THREAD_DISABLE", false)) in anv_physical_device_try_create()
921 env_var_as_boolean("ANV_ALWAYS_BINDLESS", false); in anv_physical_device_try_create()
925 !env_var_as_boolean("ANV_DISABLE_SECONDARY_CMD_BUFFER_CALLS", false); in anv_physical_device_try_create()
/third_party/mesa3d/src/compiler/spirv/
H A Dvtn_cfg.c1412 env_var_as_boolean("MESA_SPIRV_FORCE_UNSTRUCTURED", false); in vtn_function_emit()
/third_party/mesa3d/src/compiler/glsl/
H A Dir_validate.cpp1217 if (!env_var_as_boolean("GLSL_VALIDATE", false)) in validate_ir_tree()

Completed in 27 milliseconds

12