/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | CommandBuffer.cpp | 117 !view->GetTexture()->IsSubresourceContentInitialized(range)) { in LazyClearRenderPassAttachments() 129 resolveView->GetTexture()->SetIsSubresourceContentInitialized( in LazyClearRenderPassAttachments() 135 view->GetTexture()->SetIsSubresourceContentInitialized(true, range); in LazyClearRenderPassAttachments() 139 view->GetTexture()->SetIsSubresourceContentInitialized(false, range); in LazyClearRenderPassAttachments() 159 if (!view->GetTexture()->IsSubresourceContentInitialized(depthRange) && in LazyClearRenderPassAttachments() 165 if (!view->GetTexture()->IsSubresourceContentInitialized(stencilRange) && in LazyClearRenderPassAttachments() 171 view->GetTexture()->SetIsSubresourceContentInitialized( in LazyClearRenderPassAttachments() 174 view->GetTexture()->SetIsSubresourceContentInitialized( in LazyClearRenderPassAttachments()
|
D | ExternalTexture.cpp | 34 (textureView->GetTexture()->GetUsage() & wgpu::TextureUsage::TextureBinding) == 0, in ValidateExternalTexturePlane() 36 textureView, textureView->GetTexture()->GetUsage(), wgpu::TextureUsage::TextureBinding); in ValidateExternalTexturePlane() 46 DAWN_INVALID_IF(textureView->GetTexture()->GetSampleCount() != 1, in ValidateExternalTexturePlane() 48 textureView, textureView->GetTexture()->GetSampleCount()); in ValidateExternalTexturePlane()
|
D | AttachmentState.cpp | 61 mSampleCount = attachment->GetTexture()->GetSampleCount(); in AttachmentStateBlueprint() 63 ASSERT(mSampleCount == attachment->GetTexture()->GetSampleCount()); in AttachmentStateBlueprint() 70 mSampleCount = attachment->GetTexture()->GetSampleCount(); in AttachmentStateBlueprint() 72 ASSERT(mSampleCount == attachment->GetTexture()->GetSampleCount()); in AttachmentStateBlueprint()
|
D | SwapChain.cpp | 285 ASSERT(mCurrentTextureView->GetTexture()->GetTextureState() == in ~NewSwapChainBase() 330 ASSERT(view->GetTexture()->GetFormat().format == mFormat); in APIGetCurrentTextureView() 331 ASSERT(IsSubset(mUsage, view->GetTexture()->GetUsage())); in APIGetCurrentTextureView() 335 ASSERT(view->GetTexture()->GetMipLevelVirtualSize(view->GetBaseMipLevel()).width == mWidth); in APIGetCurrentTextureView() 336 ASSERT(view->GetTexture()->GetMipLevelVirtualSize(view->GetBaseMipLevel()).height == in APIGetCurrentTextureView() 352 ASSERT(mCurrentTextureView->GetTexture()->GetTextureState() == in APIPresent()
|
D | CommandEncoder.cpp | 127 attachment->GetTexture()->GetMipLevelVirtualSize(attachment->GetBaseMipLevel()); in ValidateOrSetAttachmentSize() 148 *sampleCount = colorAttachment->GetTexture()->GetSampleCount(); in ValidateOrSetColorAttachmentSampleCount() 152 *sampleCount != colorAttachment->GetTexture()->GetSampleCount(), in ValidateOrSetColorAttachmentSampleCount() 155 colorAttachment, colorAttachment->GetTexture()->GetSampleCount(), *sampleCount); in ValidateOrSetColorAttachmentSampleCount() 170 DAWN_TRY(ValidateCanUseAs(colorAttachment.resolveTarget->GetTexture(), in ValidateResolveTarget() 174 !attachment->GetTexture()->IsMultisampledTexture(), in ValidateResolveTarget() 179 DAWN_INVALID_IF(resolveTarget->GetTexture()->IsMultisampledTexture(), in ValidateResolveTarget() 181 resolveTarget, resolveTarget->GetTexture()->GetSampleCount()); in ValidateResolveTarget() 192 attachment->GetTexture()->GetMipLevelVirtualSize(attachment->GetBaseMipLevel()); in ValidateResolveTarget() 194 resolveTarget->GetTexture()->GetMipLevelVirtualSize( in ValidateResolveTarget() [all …]
|
D | PassResourceUsageTracker.cpp | 36 TextureBase* texture = view->GetTexture(); in TextureViewUsedAs() 198 group->GetBindingAsTextureView(index)->GetTexture()); in AddResourcesReferencedByBindGroup() 214 mUsage.referencedTextures.insert(textureViews[0].Get()->GetTexture()); in AddResourcesReferencedByBindGroup()
|
D | Texture.h | 128 const TextureBase* GetTexture() const; 129 TextureBase* GetTexture();
|
D | Texture.cpp | 727 const TextureBase* TextureViewBase::GetTexture() const { in GetTexture() function in dawn_native::TextureViewBase 732 TextureBase* TextureViewBase::GetTexture() { in GetTexture() function in dawn_native::TextureViewBase
|
D | BindGroup.cpp | 137 TextureBase* texture = view->GetTexture(); in ValidateTextureBinding()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | BindGroupGL.cpp | 38 textureViewLayerCount != entry.textureView->GetTexture()->GetArrayLayers(), in ValidateGLBindGroupDescriptor() 42 entry.textureView->GetTexture()->GetArrayLayers()); in ValidateGLBindGroupDescriptor()
|
D | CommandBufferGL.cpp | 309 if (ToBackend(view->GetTexture())->GetGLFormat().format == in ApplyBindGroup() 337 Texture* texture = ToBackend(view->GetTexture()); in ApplyBindGroup() 413 renderPass->colorAttachments[i].view->GetTexture(); in ResolveMultisampledRenderTargets() 424 renderPass->colorAttachments[i].resolveTarget->GetTexture(); in ResolveMultisampledRenderTargets() 997 GLuint texture = ToBackend(textureView->GetTexture())->GetHandle(); in ExecuteRenderPass() 1002 if (textureView->GetTexture()->GetArrayLayers() == 1) { in ExecuteRenderPass() 1003 GLenum target = ToBackend(textureView->GetTexture())->GetGLTarget(); in ExecuteRenderPass() 1019 GLuint texture = ToBackend(textureView->GetTexture())->GetHandle(); in ExecuteRenderPass() 1020 const Format& format = textureView->GetTexture()->GetFormat(); in ExecuteRenderPass() 1034 if (textureView->GetTexture()->GetArrayLayers() == 1) { in ExecuteRenderPass() [all …]
|
D | TextureGL.cpp | 539 if (GetTexture()->GetTextureState() == Texture::TextureState::Destroyed) { in TextureView()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | BindGroupD3D12.cpp | 136 ID3D12Resource* resource = ToBackend(view->GetTexture())->GetD3D12Resource(); in BindGroup() 154 ID3D12Resource* resource = ToBackend(view->GetTexture())->GetD3D12Resource(); in BindGroup() 191 ToBackend(views[0]->GetTexture())->GetD3D12Resource(); in BindGroup()
|
D | RenderPassBuilderD3D12.cpp | 53 ToBackend(resolveSource->GetTexture())->GetD3D12Resource(); in D3D12EndingAccessResolveParameters() 55 ToBackend(resolveDestination->GetTexture())->GetD3D12Resource(); in D3D12EndingAccessResolveParameters() 87 Texture* resolveDestinationTexture = ToBackend(resolveDestination->GetTexture()); in D3D12EndingAccessResolveSubresourceParameters()
|
D | CommandBufferD3D12.cpp | 628 Texture* colorTexture = ToBackend(colorView->GetTexture()); in ResolveMultisampledRenderPass() 629 Texture* resolveTexture = ToBackend(resolveTarget->GetTexture()); in ResolveMultisampledRenderPass() 1214 ToBackend(view->GetTexture())->GetD3D12Resource(), &viewDesc, baseDescriptor); in SetupRenderPass() 1226 ToBackend(resolveDestinationView->GetTexture()); in SetupRenderPass() 1255 ToBackend(view->GetTexture())->GetD3D12Resource(), &viewDesc, baseDescriptor); in SetupRenderPass() 1259 const bool hasDepth = view->GetTexture()->GetFormat().HasDepth(); in SetupRenderPass() 1260 const bool hasStencil = view->GetTexture()->GetFormat().HasStencil(); in SetupRenderPass()
|
D | TextureD3D12.cpp | 1242 if (GetTexture()->IsMultisampledTexture()) { in TextureView() 1304 return ToBackend(GetTexture()) in GetRTVDescriptor() 1311 return ToBackend(GetTexture()) in GetDSVDescriptor() 1320 ASSERT(!GetTexture()->IsMultisampledTexture()); in GetUAVDescriptor() 1333 uavDesc.Texture3D.WSize = GetTexture()->GetDepth() >> GetBaseMipLevel(); in GetUAVDescriptor()
|
D | SwapChainD3D12.cpp | 123 ToBackend(view->GetTexture()) in OnBeforePresent()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BindGroupVk.cpp | 109 ToBackend(view->GetTexture()), wgpu::TextureUsage::TextureBinding); in BindGroup() 147 ToBackend(view->GetTexture()), wgpu::TextureUsage::TextureBinding); in BindGroup()
|
D | TextureVk.cpp | 1296 if ((GetTexture()->GetUsage() & in Initialize() 1305 if (GetTexture()->GetTextureState() == Texture::TextureState::Destroyed) { in Initialize() 1309 Device* device = ToBackend(GetTexture()->GetDevice()); in Initialize() 1315 createInfo.image = ToBackend(GetTexture())->GetHandle(); in Initialize() 1341 Device* device = ToBackend(GetTexture()->GetDevice()); in DestroyImpl()
|
D | SwapChainVk.cpp | 77 ToBackend(view->GetTexture()) in OnBeforePresent()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/ |
D | DestroyObjectTests.cpp | 50 Ref<TextureMock> GetTexture() { in GetTexture() function in dawn_native::__anone16b0b070111::DestroyObjectTests 522 TextureViewMock textureViewMock(GetTexture().Get()); in TEST_F() 533 TextureViewMock* textureViewMock = new TextureViewMock(GetTexture().Get()); in TEST_F() 541 mDevice.CreateTextureView(GetTexture().Get(), &desc)); in TEST_F() 563 TextureViewMock* textureViewMock = new TextureViewMock(GetTexture().Get()); in TEST_F() 736 mDevice.CreateTextureView(GetTexture().Get(), &desc)); in TEST_F()
|
/third_party/cef/libcef/browser/gpu/ |
D | external_texture_manager.cc | 251 TextureRef* texture_ref = tex_man->GetTexture(texture_id); in CreateTexture() 319 texture_ref = tex_man->GetTexture(texture_id); in DeleteTexture()
|
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_native/ |
D | webgpu_absl_format.cpp | 126 const std::string& textureLabel = value->GetTexture()->GetLabel(); in AbslFormatConvert()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | CommandBufferMTL.mm | 87 ToBackend(attachmentInfo.view->GetTexture())->GetMTLTexture(); 94 ToBackend(attachmentInfo.resolveTarget->GetTexture())->GetMTLTexture(); 126 ToBackend(attachmentInfo.view->GetTexture())->GetMTLTexture(); 127 const Format& format = attachmentInfo.view->GetTexture()->GetFormat();
|
D | TextureMTL.mm | 732 Texture* texture = ToBackend(GetTexture()); 735 if (GetTexture()->GetTextureState() == Texture::TextureState::Destroyed) {
|