Home
last modified time | relevance | path

Searched refs:SubresourceRange (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DSubresourceStorageTests.cpp39 void Update(const SubresourceRange& range, F&& updateFunc) { in Update()
45 SubresourceRange range = SubresourceRange::MakeSingle(aspect, layer, level); in Update()
57 SubresourceRange range = SubresourceRange::MakeSingle(aspect, layer, level); in Merge()
100 void Track(const SubresourceRange& range) { in Track()
102 mTracked.Update(range, [](const SubresourceRange&, uint32_t* counter) { in Track() argument
108 void CheckTrackedExactly(const SubresourceRange& range) { in CheckTrackedExactly()
110 mTracked.Update(range, [](const SubresourceRange&, uint32_t* counter) { in CheckTrackedExactly() argument
131 real.Iterate([&](const SubresourceRange& range, const T& data) { in CheckSameAs()
156 SubresourceRange::MakeFull(mAspects, mArrayLayerCount, mMipLevelCount)); in CheckSameAs()
167 s.Iterate([&](const SubresourceRange& range, const T&) { in CheckAspectCompressed()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSubresource.cpp96 SubresourceRange::SubresourceRange(Aspect aspects, in SubresourceRange() function in dawn_native::SubresourceRange
106 SubresourceRange::SubresourceRange() in SubresourceRange() function in dawn_native::SubresourceRange
111 SubresourceRange SubresourceRange::SingleMipAndLayer(uint32_t baseMipLevel, in SingleMipAndLayer()
118 SubresourceRange SubresourceRange::MakeSingle(Aspect aspect, in MakeSingle()
126 SubresourceRange SubresourceRange::MakeFull(Aspect aspects, in MakeFull()
DSubresourceStorage.h148 void Update(const SubresourceRange& range, F&& updateFunc);
188 SubresourceRange GetFullLayerRange(Aspect aspect, uint32_t layer) const;
241 void SubresourceStorage<T>::Update(const SubresourceRange& range, F&& updateFunc) { in Update()
253 SubresourceRange updateRange = in Update()
254 SubresourceRange::MakeFull(aspect, mArrayLayerCount, mMipLevelCount); in Update()
267 SubresourceRange updateRange = GetFullLayerRange(aspect, layer); in Update()
277 SubresourceRange updateRange = in Update()
278 SubresourceRange::MakeSingle(aspect, layer, level); in Update()
313 Update(SubresourceRange::MakeFull(aspect, mArrayLayerCount, mMipLevelCount), in Merge()
314 [&](const SubresourceRange& subrange, T* data) { in Merge()
[all …]
DSubresource.h71 struct SubresourceRange {
72 SubresourceRange(Aspect aspects,
75 SubresourceRange();
83 static SubresourceRange SingleMipAndLayer(uint32_t baseMipLevel,
86 static SubresourceRange MakeSingle(Aspect aspect,
90 static SubresourceRange MakeFull(Aspect aspects, uint32_t layerCount, uint32_t levelCount);
DTexture.h64 SubresourceRange GetAllSubresources() const;
76 bool IsSubresourceContentInitialized(const SubresourceRange& range) const;
77 void SetIsSubresourceContentInitialized(bool isInitialized, const SubresourceRange& range);
138 const SubresourceRange& GetSubresourceRange() const;
152 SubresourceRange mRange;
DCommandBuffer.cpp91 SubresourceRange GetSubresourcesAffectedByCopy(const TextureCopy& copy, in GetSubresourcesAffectedByCopy()
113 SubresourceRange range = view->GetSubresourceRange(); in LazyClearRenderPassAttachments()
149 SubresourceRange range = view->GetSubresourceRange(); in LazyClearRenderPassAttachments()
151 SubresourceRange depthRange = range; in LazyClearRenderPassAttachments()
154 SubresourceRange stencilRange = range; in LazyClearRenderPassAttachments()
DPassResourceUsageTracker.cpp37 const SubresourceRange& range = view->GetSubresourceRange(); in TextureViewUsedAs()
48 [usage](const SubresourceRange&, wgpu::TextureUsage* storedUsage) { in TextureViewUsedAs() argument
75 textureUsage, [](const SubresourceRange&, wgpu::TextureUsage* storedUsage, in AddRenderBundleTextureUsage()
DCommandBuffer.h63 SubresourceRange GetSubresourcesAffectedByCopy(const TextureCopy& copy,
DTexture.cpp539 SubresourceRange TextureBase::GetAllSubresources() const { in GetAllSubresources()
573 bool TextureBase::IsSubresourceContentInitialized(const SubresourceRange& range) const { in IsSubresourceContentInitialized()
592 const SubresourceRange& range) { in SetIsSubresourceContentInitialized()
772 const SubresourceRange& TextureViewBase::GetSubresourceRange() const { in GetSubresourceRange()
DDawnNative.cpp219 SubresourceRange range(aspect, {baseArrayLayer, layerCount}, {baseMipLevel, levelCount}); in IsTextureSubresourceInitialized()
DCommandValidation.cpp50 textureUsage.Iterate([&](const SubresourceRange&, const wgpu::TextureUsage& usage) { in ValidateSyncScopeResourceUsage() argument
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.h70 const SubresourceRange& range);
78 const SubresourceRange& range);
81 const SubresourceRange& range);
84 const SubresourceRange& range);
111 const SubresourceRange& range,
125 const SubresourceRange& range);
127 const SubresourceRange& range,
DTextureD3D12.cpp719 const SubresourceRange& range) { in TrackUsageAndTransitionNow()
736 const SubresourceRange& range) { in TrackUsageAndTransitionNow()
761 const SubresourceRange& range, in TransitionSubresourceRange()
863 const SubresourceRange& range) { in TransitionUsageAndGetResourceBarrier()
872 const SubresourceRange& range) { in TransitionUsageAndGetResourceBarrier()
881 range, [&](const SubresourceRange& updateRange, StateAndDecay* state) { in TransitionUsageAndGetResourceBarrier()
904 mSubresourceStateAndDecay.Merge(textureUsages, [&](const SubresourceRange& mergeRange, in TrackUsageAndGetResourceBarrierForPass()
991 const SubresourceRange& range, in ClearTexture()
1012 SubresourceRange::SingleMipAndLayer(level, layer, aspect))) { in ClearTexture()
1060 SubresourceRange::SingleMipAndLayer(level, layer, Aspect::Color))) { in ClearTexture()
[all …]
DCommandBufferD3D12.cpp288 [&](const SubresourceRange& range, wgpu::TextureUsage usage) { in TransitionAndClearForSyncScope()
748 SubresourceRange subresources = in RecordCommands()
783 SubresourceRange subresources = in RecordCommands()
809 SubresourceRange srcRange = in RecordCommands()
811 SubresourceRange dstRange = in RecordCommands()
DDeviceD3D12.cpp504 SubresourceRange range = GetSubresourcesAffectedByCopy(*dst, copySizePixels); in CopyFromStagingToTexture()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DTextureVk.h72 const SubresourceRange& range);
80 const SubresourceRange& range);
112 const SubresourceRange& range,
117 const SubresourceRange& range,
129 const SubresourceRange& range,
DTextureVk.cpp170 const SubresourceRange& range) { in BuildMemoryBarrier()
902 SubresourceRange::SingleMipAndLayer(0, 0, GetFormat().aspects))); in TweakTransitionForExternalUsage()
998 textureUsages.Iterate([&](const SubresourceRange& range, wgpu::TextureUsage usage) { in TransitionUsageForPass()
999 SubresourceRange updateRange = range; in TransitionUsageForPass()
1003 updateRange, [&](const SubresourceRange&, wgpu::TextureUsage* combinedUsage) { in TransitionUsageForPass() argument
1032 subresourceUsages, [&](const SubresourceRange& range, wgpu::TextureUsage* lastUsage, in TransitionUsageForPassImpl()
1058 const SubresourceRange& range) { in TransitionUsageNow()
1080 const SubresourceRange& range, in TransitionUsageAndGetResourceBarrier()
1089 SubresourceRange updatedRange = range; in TransitionUsageAndGetResourceBarrier()
1103 const SubresourceRange& range, in TransitionUsageAndGetResourceBarrierImpl()
[all …]
DCommandBufferVk.cpp180 [&](const SubresourceRange& range, wgpu::TextureUsage usage) { in TransitionAndClearForSyncScope()
568 SubresourceRange range = in RecordCommands()
611 SubresourceRange range = in RecordCommands()
640 SubresourceRange srcRange = GetSubresourcesAffectedByCopy(src, copy->copySize); in RecordCommands()
641 SubresourceRange dstRange = GetSubresourcesAffectedByCopy(dst, copy->copySize); in RecordCommands()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.h39 void EnsureSubresourceContentInitialized(const SubresourceRange& range);
45 MaybeError ClearTexture(const SubresourceRange& range, TextureBase::ClearValue clearValue);
DTextureGL.cpp213 MaybeError Texture::ClearTexture(const SubresourceRange& range, in ClearTexture()
273 SubresourceRange::SingleMipAndLayer(level, 0, in ClearTexture()
296 SubresourceRange::SingleMipAndLayer(level, layer, in ClearTexture()
359 SubresourceRange::SingleMipAndLayer(level, layer, Aspect::Color))) { in ClearTexture()
504 SubresourceRange::SingleMipAndLayer(level, layer, Aspect::Color))) { in ClearTexture()
522 void Texture::EnsureSubresourceContentInitialized(const SubresourceRange& range) { in EnsureSubresourceContentInitialized()
DQueueGL.cpp69 SubresourceRange range = GetSubresourcesAffectedByCopy(textureCopy, writeSizePixel); in WriteTextureImpl()
DCommandBufferGL.cpp575 [&](const SubresourceRange& range, wgpu::TextureUsage usage) { in Execute()
655 SubresourceRange range = GetSubresourcesAffectedByCopy(dst, copy->copySize); in Execute()
704 SubresourceRange subresources = in Execute()
806 SubresourceRange srcRange = GetSubresourcesAffectedByCopy(src, copy->copySize); in Execute()
807 SubresourceRange dstRange = GetSubresourcesAffectedByCopy(dst, copy->copySize); in Execute()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DTextureMTL.h53 const SubresourceRange& range);
72 const SubresourceRange& range,
DTextureMTL.mm511 const SubresourceRange& range,
531 IsSubresourceContentInitialized(SubresourceRange::SingleMipAndLayer(
547 IsSubresourceContentInitialized(SubresourceRange::SingleMipAndLayer(
596 IsSubresourceContentInitialized(SubresourceRange::SingleMipAndLayer(
680 SubresourceRange::SingleMipAndLayer(level, arrayLayer, aspect))) {
711 const SubresourceRange& range) {
DUtilsMetal.mm164 SubresourceRange range = GetSubresourcesAffectedByCopy(dst, size);

12