/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | BufferD3D12.cpp | 112 size_t alignment = D3D12BufferSizeAlignment(GetUsage()); in Initialize() 132 resourceDescriptor.Flags = D3D12ResourceFlags(GetUsage() | wgpu::BufferUsage::CopyDst); in Initialize() 134 auto heapType = D3D12HeapType(GetUsage()); in Initialize() 314 return (GetUsage() & wgpu::BufferUsage::MapWrite) != 0; in IsCPUWritableAtCreation() 347 ASSERT((GetUsage() & wgpu::BufferUsage::MapWrite) != 0); in MapAtCreationImpl() 469 if (D3D12HeapType(GetUsage()) == D3D12_HEAP_TYPE_UPLOAD) { in ClearBuffer()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | BindGroup.cpp | 104 DAWN_INVALID_IF(!(entry.buffer->GetUsage() & requiredUsage), in ValidateBufferBinding() 106 entry.buffer->GetUsage(), entry.buffer, requiredUsage); in ValidateBufferBinding() 146 !(texture->GetUsage() & wgpu::TextureUsage::TextureBinding), in ValidateTextureBinding() 148 texture->GetUsage(), texture); in ValidateTextureBinding() 168 !(texture->GetUsage() & wgpu::TextureUsage::StorageBinding), in ValidateTextureBinding() 170 texture->GetUsage(), texture); in ValidateTextureBinding()
|
D | CommandValidation.cpp | 92 DAWN_INVALID_IF(!(buffer->GetUsage() & wgpu::BufferUsage::CopyDst), in ValidateWriteBuffer() 93 "%s usage (%s) does not include %s.", buffer, buffer->GetUsage(), in ValidateWriteBuffer() 443 DAWN_INVALID_IF(!(texture->GetUsage() & usage), "%s usage (%s) doesn't include %s.", in ValidateCanUseAs() 444 texture, texture->GetUsage(), usage); in ValidateCanUseAs() 460 DAWN_INVALID_IF(!(buffer->GetUsage() & usage), "%s usage (%s) doesn't include %s.", buffer, in ValidateCanUseAs() 461 buffer->GetUsage(), usage); in ValidateCanUseAs()
|
D | ExternalTexture.cpp | 34 (textureView->GetTexture()->GetUsage() & wgpu::TextureUsage::TextureBinding) == 0, in ValidateExternalTexturePlane() 36 textureView, textureView->GetTexture()->GetUsage(), wgpu::TextureUsage::TextureBinding); in ValidateExternalTexturePlane()
|
D | SwapChain.cpp | 105 desc.usage = swapChain->GetUsage(); in GetSwapChainBaseTextureDescriptor() 331 ASSERT(IsSubset(mUsage, view->GetTexture()->GetUsage())); in APIGetCurrentTextureView() 369 wgpu::TextureUsage NewSwapChainBase::GetUsage() const { in GetUsage() function in dawn_native::NewSwapChainBase
|
D | SwapChain.h | 128 wgpu::TextureUsage GetUsage() const;
|
D | Buffer.h | 59 wgpu::BufferUsage GetUsage() const;
|
D | Texture.h | 71 wgpu::TextureUsage GetUsage() const;
|
D | Queue.cpp | 468 DAWN_INVALID_IF(!(destination->texture->GetUsage() & wgpu::TextureUsage::CopyDst), in ValidateWriteTexture() 469 "Usage (%s) of %s does not include %s.", destination->texture->GetUsage(), in ValidateWriteTexture()
|
/third_party/skia/src/sksl/ |
D | SkSLAnalysis.h | 87 std::unique_ptr<ProgramUsage> GetUsage(const Program& program); 88 std::unique_ptr<ProgramUsage> GetUsage(const LoadedModule& module);
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | BufferD3D12.cpp | 87 resourceDescriptor.Flags = D3D12ResourceFlags(GetUsage() | dawn::BufferUsageBit::CopyDst); in Buffer() 89 auto heapType = D3D12HeapType(GetUsage()); in Buffer() 208 return (GetUsage() & (dawn::BufferUsageBit::MapRead | dawn::BufferUsageBit::MapWrite)) != 0; in IsMapWritable()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | BufferMTL.mm | 64 if (GetUsage() & kMappableBufferUsages) { 79 if (GetUsage() & 89 if ((GetUsage() & wgpu::BufferUsage::Vertex) != 0) { 151 return GetUsage() & kMappableBufferUsages;
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | BufferMTL.mm | 24 if (GetUsage() & (dawn::BufferUsageBit::MapRead | dawn::BufferUsageBit::MapWrite)) { 52 return (GetUsage() & (dawn::BufferUsageBit::MapRead | dawn::BufferUsageBit::MapWrite)) != 0;
|
/third_party/skia/src/sksl/analysis/ |
D | SkSLProgramUsage.cpp | 92 std::unique_ptr<ProgramUsage> Analysis::GetUsage(const Program& program) { in GetUsage() function in SkSL::Analysis 99 std::unique_ptr<ProgramUsage> Analysis::GetUsage(const LoadedModule& module) { in GetUsage() function in SkSL::Analysis
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BufferVk.cpp | 145 if (GetUsage() & (wgpu::BufferUsage::Vertex | wgpu::BufferUsage::Index)) { in Initialize() 187 createInfo.usage = VulkanBufferUsage(GetUsage() | wgpu::BufferUsage::CopyDst); in Initialize() 202 if (GetUsage() & kMappableBufferUsages) { in Initialize()
|
D | SwapChainVk.cpp | 376 VulkanImageUsage(GetUsage(), GetDevice()->GetValidInternalFormat(GetFormat())); in ChooseConfig() 382 config.wgpuUsage = GetUsage(); in ChooseConfig()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | BindGroup.cpp | 57 if (!(binding.buffer->GetUsage() & requiredUsage)) { in ValidateBufferBinding() 73 if (!(binding.textureView->GetTexture()->GetUsage() & requiredUsage)) { in ValidateTextureBinding()
|
D | Buffer.h | 55 dawn::BufferUsageBit GetUsage() const;
|
D | Texture.h | 57 dawn::TextureUsageBit GetUsage() const;
|
D | CommandEncoder.cpp | 267 if (!(buffer->GetUsage() & usage)) { in ValidateCanUseAs() 276 if (!(texture->GetUsage() & usage)) { in ValidateCanUseAs() 528 if (usage & ~buffer->GetUsage()) { in ValidateUsages() 547 if (usage & ~texture->GetUsage()) { in ValidateUsages()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BufferVk.cpp | 123 createInfo.usage = VulkanBufferUsage(GetUsage() | dawn::BufferUsageBit::CopyDst); in Buffer() 137 (GetUsage() & (dawn::BufferUsageBit::MapRead | dawn::BufferUsageBit::MapWrite)) != 0; in Buffer()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | ExternalImageSiblingImpl11.cpp | 53 resource->GetUsage(&resourceUsage); in initialize()
|
/third_party/skia/src/sksl/ir/ |
D | SkSLProgram.h | 94 fUsage = Analysis::GetUsage(*this); in Program()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | ExternalImageSiblingImpl11.cpp | 46 resource->GetUsage(&resourceUsage); in initialize()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | TextureGL.cpp | 105 (texture->GetUsage() & wgpu::TextureUsage::TextureBinding) != 0 && in RequiresCreatingNewTextureView() 543 if (!UsageNeedsTextureView(texture->GetUsage())) { in TextureView()
|