Home
last modified time | relevance | path

Searched refs:forceBackend (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPU.cpp100 std::string forceBackend; in requestAdapter() local
104 forceBackend = envVar; in requestAdapter()
109 forceBackend = *f; in requestAdapter()
112 std::transform(forceBackend.begin(), forceBackend.end(), forceBackend.begin(), in requestAdapter()
115 if (!forceBackend.empty()) { in requestAdapter()
116 if (forceBackend == "null") { in requestAdapter()
118 } else if (forceBackend == "webgpu") { in requestAdapter()
120 } else if (forceBackend == "d3d11") { in requestAdapter()
122 } else if (forceBackend == "d3d12" || forceBackend == "d3d") { in requestAdapter()
124 } else if (forceBackend == "metal") { in requestAdapter()
[all …]