/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A 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()
|
H A 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()
|
H A D | ExternalTexture.cpp | 34 (textureView->GetTexture()->GetUsage() & wgpu::TextureUsage::TextureBinding) == 0, in ValidateExternalTexturePlane() 36 textureView, textureView->GetTexture()->GetUsage(), wgpu::TextureUsage::TextureBinding); in ValidateExternalTexturePlane()
|
H A 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
|
H A D | Buffer.h | 59 wgpu::BufferUsage GetUsage() const;
|
H A D | Texture.h | 68 // |GetUsage| returns the usage with which the texture was created using the base WebGPU 71 wgpu::TextureUsage GetUsage() const;
|
H A D | SwapChain.h | 128 wgpu::TextureUsage GetUsage() const;
|
H A 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()
|
H A D | ComputePassEncoder.cpp | 271 ASSERT(indirectBuffer->GetUsage() & kInternalStorageBuffer); in TransformIndirectDispatchBuffer()
|
H A D | Buffer.cpp | 216 wgpu::BufferUsage BufferBase::GetUsage() const { in GetUsage() function in BufferBase
|
H A D | Texture.cpp | 551 wgpu::TextureUsage TextureBase::GetUsage() const { in GetUsage() function in dawn_native::TextureBase
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A 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()
|
H A D | SwapChainD3D12.cpp | 161 mConfig.usage = ToDXGIUsage(GetUsage()); in Initialize()
|
/third_party/skia/src/sksl/ |
H A D | SkSLAnalysis.h | 87 std::unique_ptr<ProgramUsage> GetUsage(const Program& program); 88 std::unique_ptr<ProgramUsage> GetUsage(const LoadedModule& module);
|
H A D | SkSLCompiler.cpp | 518 std::unique_ptr<ProgramUsage> usage = Analysis::GetUsage(module); in optimize()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A 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()
|
H A D | SwapChainVk.cpp | 376 VulkanImageUsage(GetUsage(), GetDevice()->GetValidInternalFormat(GetFormat())); in ChooseConfig() 382 config.wgpuUsage = GetUsage(); in ChooseConfig()
|
H A D | TextureVk.cpp | 1296 if ((GetTexture()->GetUsage() & in Initialize()
|
/third_party/skia/src/sksl/analysis/ |
H A 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/lzma/CPP/7zip/UI/Common/ |
H A D | Bench.h | 34 UInt64 GetUsage() const;
|
H A D | Bench.cpp | 704 UInt64 CBenchInfo::GetUsage() const
2802 Usage = info.GetUsage();
3297 UsageRes = info.GetUsage();
3498 usage = info.GetUsage();
4428 const UInt64 usage = bi.GetUsage();
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | ExternalImageSiblingImpl11.cpp | 46 resource->GetUsage(&resourceUsage); in initialize()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLProgram.h | 94 fUsage = Analysis::GetUsage(*this); in Program()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | TextureGL.cpp | 105 (texture->GetUsage() & wgpu::TextureUsage::TextureBinding) != 0 && in RequiresCreatingNewTextureView() 543 if (!UsageNeedsTextureView(texture->GetUsage())) { in TextureView()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/ |
H A D | DeviceNull.cpp | 301 return (GetUsage() & (wgpu::BufferUsage::MapRead | wgpu::BufferUsage::MapWrite)) != 0; in IsCPUWritableAtCreation()
|