Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSwapChain.cpp36 wgpu::TextureUsage allowedUsage, in APIConfigure() argument
156 wgpu::TextureUsage allowedUsage, in APIConfigure() argument
159 if (GetDevice()->ConsumedError(ValidateConfigure(format, allowedUsage, width, height))) { in APIConfigure()
164 allowedUsage |= wgpu::TextureUsage::Present; in APIConfigure()
167 mAllowedUsage = allowedUsage; in APIConfigure()
171 static_cast<WGPUTextureUsage>(allowedUsage), width, height); in APIConfigure()
229 wgpu::TextureUsage allowedUsage, in ValidateConfigure() argument
235 DAWN_TRY(ValidateTextureUsage(allowedUsage)); in ValidateConfigure()
305 wgpu::TextureUsage allowedUsage, in APIConfigure() argument
DSwapChain.h43 wgpu::TextureUsage allowedUsage,
62 wgpu::TextureUsage allowedUsage,
76 wgpu::TextureUsage allowedUsage,
119 wgpu::TextureUsage allowedUsage,
/third_party/skia/third_party/externals/dawn/src/common/
DSwapChainUtils.h29 impl.Configure = [](void* userData, WGPUTextureFormat format, WGPUTextureUsage allowedUsage, in CreateSwapChainImplementation()
31 return static_cast<T*>(userData)->Configure(format, allowedUsage, width, height); in CreateSwapChainImplementation()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBufferD3D12.cpp74 D3D12_HEAP_TYPE D3D12HeapType(wgpu::BufferUsage allowedUsage) { in D3D12HeapType() argument
75 if (allowedUsage & wgpu::BufferUsage::MapRead) { in D3D12HeapType()
77 } else if (allowedUsage & wgpu::BufferUsage::MapWrite) { in D3D12HeapType()
/third_party/skia/third_party/externals/dawn/src/include/dawn/
Ddawn_wsi.h44 WGPUTextureUsage allowedUsage,
/third_party/skia/tools/sk_app/mac/
DDawnMTLWindowContext_mac.mm32 impl.Configure = [](void* userData, WGPUTextureFormat format, WGPUTextureUsage allowedUsage,
34 return static_cast<T*>(userData)->Configure(format, allowedUsage, width, height);