Lines Matching refs:dawn_native
157 static dawn::Device createDevice(const dawn_native::Instance& instance, in createDevice()
158 dawn_native::BackendType type) { in createDevice()
159 DawnProcTable backendProcs = dawn_native::GetProcs(); in createDevice()
162 std::vector<dawn_native::Adapter> adapters = instance.GetAdapters(); in createDevice()
163 for (dawn_native::Adapter adapter : adapters) { in createDevice()
172 std::unique_ptr<dawn_native::Instance> instance = std::make_unique<dawn_native::Instance>(); in Create()
177 dawn_native::BackendType type; in Create()
179 dawn_native::opengl::AdapterDiscoveryOptions adapterOptions; in Create()
190 type = dawn_native::BackendType::OpenGL; in Create()
194 type = dawn_native::BackendType::Metal; in Create()
196 type = dawn_native::BackendType::D3D12; in Create()
198 type = dawn_native::BackendType::Vulkan; in Create()
228 DawnTestContextImpl(std::unique_ptr<dawn_native::Instance> instance, in DawnTestContextImpl()
238 std::unique_ptr<dawn_native::Instance> fInstance;