Home
last modified time | relevance | path

Searched refs:GetTexture (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandBuffer.cpp117 !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()
DExternalTexture.cpp34 (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()
DAttachmentState.cpp61 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()
DSwapChain.cpp285 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()
DCommandEncoder.cpp127 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 …]
DPassResourceUsageTracker.cpp36 TextureBase* texture = view->GetTexture(); in TextureViewUsedAs()
198 group->GetBindingAsTextureView(index)->GetTexture()); in AddResourcesReferencedByBindGroup()
214 mUsage.referencedTextures.insert(textureViews[0].Get()->GetTexture()); in AddResourcesReferencedByBindGroup()
DTexture.h128 const TextureBase* GetTexture() const;
129 TextureBase* GetTexture();
DTexture.cpp727 const TextureBase* TextureViewBase::GetTexture() const { in GetTexture() function in dawn_native::TextureViewBase
732 TextureBase* TextureViewBase::GetTexture() { in GetTexture() function in dawn_native::TextureViewBase
DBindGroup.cpp137 TextureBase* texture = view->GetTexture(); in ValidateTextureBinding()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DBindGroupGL.cpp38 textureViewLayerCount != entry.textureView->GetTexture()->GetArrayLayers(), in ValidateGLBindGroupDescriptor()
42 entry.textureView->GetTexture()->GetArrayLayers()); in ValidateGLBindGroupDescriptor()
DCommandBufferGL.cpp309 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 …]
DTextureGL.cpp539 if (GetTexture()->GetTextureState() == Texture::TextureState::Destroyed) { in TextureView()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBindGroupD3D12.cpp136 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()
DRenderPassBuilderD3D12.cpp53 ToBackend(resolveSource->GetTexture())->GetD3D12Resource(); in D3D12EndingAccessResolveParameters()
55 ToBackend(resolveDestination->GetTexture())->GetD3D12Resource(); in D3D12EndingAccessResolveParameters()
87 Texture* resolveDestinationTexture = ToBackend(resolveDestination->GetTexture()); in D3D12EndingAccessResolveSubresourceParameters()
DCommandBufferD3D12.cpp628 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()
DTextureD3D12.cpp1242 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()
DSwapChainD3D12.cpp123 ToBackend(view->GetTexture()) in OnBeforePresent()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBindGroupVk.cpp109 ToBackend(view->GetTexture()), wgpu::TextureUsage::TextureBinding); in BindGroup()
147 ToBackend(view->GetTexture()), wgpu::TextureUsage::TextureBinding); in BindGroup()
DTextureVk.cpp1296 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()
DSwapChainVk.cpp77 ToBackend(view->GetTexture()) in OnBeforePresent()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DDestroyObjectTests.cpp50 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/
Dexternal_texture_manager.cc251 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/
Dwebgpu_absl_format.cpp126 const std::string& textureLabel = value->GetTexture()->GetLabel(); in AbslFormatConvert()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DCommandBufferMTL.mm87 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();
DTextureMTL.mm732 Texture* texture = ToBackend(GetTexture());
735 if (GetTexture()->GetTextureState() == Texture::TextureState::Destroyed) {

12