Home
last modified time | relevance | path

Searched refs:GetTexture (Results 1 - 24 of 24) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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() in ValidateResolveTarget()
[all...]
H A DTexture.h128 const TextureBase* GetTexture() const;
129 TextureBase* GetTexture();
H A 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()
H A 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
H A DBindGroup.cpp137 TextureBase* texture = view->GetTexture(); in ValidateTextureBinding()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DBindGroupGL.cpp38 textureViewLayerCount != entry.textureView->GetTexture()->GetArrayLayers(), in ValidateGLBindGroupDescriptor()
42 entry.textureView->GetTexture()->GetArrayLayers()); in ValidateGLBindGroupDescriptor()
H A 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() in ExecuteRenderPass()
[all...]
H A DTextureGL.cpp539 if (GetTexture()->GetTextureState() == Texture::TextureState::Destroyed) { in TextureView()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A 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()
H A DRenderPassBuilderD3D12.cpp53 ToBackend(resolveSource->GetTexture())->GetD3D12Resource(); in D3D12EndingAccessResolveParameters()
55 ToBackend(resolveDestination->GetTexture())->GetD3D12Resource(); in D3D12EndingAccessResolveParameters()
87 Texture* resolveDestinationTexture = ToBackend(resolveDestination->GetTexture()); in D3D12EndingAccessResolveSubresourceParameters()
H A 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()
H A 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()
H A DSwapChainD3D12.cpp123 ToBackend(view->GetTexture()) in OnBeforePresent()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DBindGroupVk.cpp109 ToBackend(view->GetTexture()), wgpu::TextureUsage::TextureBinding); in BindGroup()
147 ToBackend(view->GetTexture()), wgpu::TextureUsage::TextureBinding); in BindGroup()
H A 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()
H A DSwapChainVk.cpp77 ToBackend(view->GetTexture()) in OnBeforePresent()
H A DCommandBufferVk.cpp221 attachmentInfo.view->GetTexture()->GetFormat().format, in RecordBeginRenderPass()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
H A DDestroyObjectTests.cpp50 Ref<TextureMock> GetTexture() { in GetTexture() function in dawn_native::__anon20578::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/skia/third_party/externals/dawn/generator/templates/dawn_native/
H A Dwebgpu_absl_format.cpp126 const std::string& textureLabel = value->GetTexture()->GetLabel(); in AbslFormatConvert()
/third_party/mesa3d/include/D3D9/
H A Dd3d9.h222 virtual HRESULT WINAPI GetTexture(DWORD Stage, IDirect3DBaseTexture9 **ppTexture) = 0;
810 HRESULT (WINAPI *GetTexture)(IDirect3DDevice9 *This, DWORD Stage, IDirect3DBaseTexture9 **ppTexture); member
937 #define IDirect3DDevice9_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b)
1061 HRESULT (WINAPI *GetTexture)(IDirect3DDevice9Ex *This, DWORD Stage, IDirect3DBaseTexture9 **ppTexture); member
1204 #define IDirect3DDevice9Ex_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b)

Completed in 29 milliseconds