Searched refs:wgpu_device (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/third_party/externals/imgui/examples/example_emscripten_wgpu/ |
D | main.cpp | 18 static WGPUDevice wgpu_device = NULL; variable 79 ImGui_ImplWGPU_Init(wgpu_device, 3, WGPUTextureFormat_RGBA8Unorm); in main() 109 wgpu_device = emscripten_webgpu_get_device(); in init_wgpu() 110 if (!wgpu_device) in init_wgpu() 113 wgpuDeviceSetUncapturedErrorCallback(wgpu_device, print_wgpu_error, NULL); in init_wgpu() 155 wgpu_swap_chain = wgpuDeviceCreateSwapChain(wgpu_device, wgpu_surface, &swap_chain_desc); in main_loop() 216 WGPUCommandEncoder encoder = wgpuDeviceCreateCommandEncoder(wgpu_device, &enc_desc); in main_loop() 224 WGPUQueue queue = wgpuDeviceGetQueue(wgpu_device); in main_loop()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPUAdapter.cpp | 215 auto wgpu_device = adapter_.CreateDevice(&desc); in requestDevice() local 216 if (wgpu_device) { in requestDevice() 217 promise.Resolve(interop::GPUDevice::Create<GPUDevice>(env, env, wgpu_device)); in requestDevice()
|
/third_party/chromium/patch/ |
D | 0001-cve.patch | 2966 std::move(*callback).Run(status, wgpu_device, message);
|