/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | SubresourceStorageTests.cpp | 39 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/ |
D | Subresource.cpp | 96 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()
|
D | SubresourceStorage.h | 148 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 …]
|
D | Subresource.h | 71 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);
|
D | Texture.h | 64 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;
|
D | CommandBuffer.cpp | 91 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()
|
D | PassResourceUsageTracker.cpp | 37 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()
|
D | CommandBuffer.h | 63 SubresourceRange GetSubresourcesAffectedByCopy(const TextureCopy& copy,
|
D | Texture.cpp | 539 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()
|
D | DawnNative.cpp | 219 SubresourceRange range(aspect, {baseArrayLayer, layerCount}, {baseMipLevel, levelCount}); in IsTextureSubresourceInitialized()
|
D | CommandValidation.cpp | 50 textureUsage.Iterate([&](const SubresourceRange&, const wgpu::TextureUsage& usage) { in ValidateSyncScopeResourceUsage() argument
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | TextureD3D12.h | 70 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,
|
D | TextureD3D12.cpp | 719 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 …]
|
D | CommandBufferD3D12.cpp | 288 [&](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()
|
D | DeviceD3D12.cpp | 504 SubresourceRange range = GetSubresourcesAffectedByCopy(*dst, copySizePixels); in CopyFromStagingToTexture()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | TextureVk.h | 72 const SubresourceRange& range); 80 const SubresourceRange& range); 112 const SubresourceRange& range, 117 const SubresourceRange& range, 129 const SubresourceRange& range,
|
D | TextureVk.cpp | 170 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 …]
|
D | CommandBufferVk.cpp | 180 [&](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/ |
D | TextureGL.h | 39 void EnsureSubresourceContentInitialized(const SubresourceRange& range); 45 MaybeError ClearTexture(const SubresourceRange& range, TextureBase::ClearValue clearValue);
|
D | TextureGL.cpp | 213 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()
|
D | QueueGL.cpp | 69 SubresourceRange range = GetSubresourcesAffectedByCopy(textureCopy, writeSizePixel); in WriteTextureImpl()
|
D | CommandBufferGL.cpp | 575 [&](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/ |
D | TextureMTL.h | 53 const SubresourceRange& range); 72 const SubresourceRange& range,
|
D | TextureMTL.mm | 511 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) {
|
D | UtilsMetal.mm | 164 SubresourceRange range = GetSubresourcesAffectedByCopy(dst, size);
|