Home
last modified time | relevance | path

Searched refs:canvasSelector (Results 1 - 1 of 1) sorted by relevance

/third_party/skia/experimental/webgpu-bazel/src/
H A Dbindings.cpp57 wgpu::SwapChain getSwapChainForCanvas(wgpu::Device device, std::string canvasSelector, int width, int height) { in getSwapChainForCanvas() argument
59 surfaceSelector.selector = canvasSelector.c_str(); in getSwapChainForCanvas()
101 WebGPUSurface(std::string canvasSelector, int width, int height) { in WebGPUSurface() argument
103 fCanvasSwap = getSwapChainForCanvas(fDevice, canvasSelector, width, height); in WebGPUSurface()

Completed in 1 milliseconds