Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A 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()
108 void CheckTrackedExactly(const SubresourceRange& range) { in CheckTrackedExactly()
110 mTracked.Update(range, [](const SubresourceRange&, uint32_t* counter) { in CheckTrackedExactly()
131 real.Iterate([&](const SubresourceRange in CheckSameAs()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A 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
[all...]
H A DSubresourceStorage.h50 // subresources.Iterate([](const SubresourceRange& range, const T& data) {
124 // arguments of type (const SubresourceRange& range, const T& data) and returns void,
129 // subresources.Iterate([&](const SubresourceRange& range, const T& data) {
136 // arguments of type (const SubresourceRange& range, T* data) and returns void,
140 // subresources.Update(view->GetRange(), [](const SubresourceRange&, T* data) {
148 void Update(const SubresourceRange& range, F&& updateFunc);
151 // arguments of type (const SubresourceRange& range, T* data, const U& otherData) and
157 // [](const SubresourceRange&, T* data, const T& otherData) {
188 SubresourceRange GetFullLayerRange(Aspect aspect, uint32_t layer) const;
241 void SubresourceStorage<T>::Update(const SubresourceRange
[all...]
H A DSubresource.h71 struct SubresourceRange { struct
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);
H A 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;
H A 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()
H A DPassResourceUsageTracker.cpp37 const SubresourceRange& range = view->GetSubresourceRange(); in TextureViewUsedAs()
48 [usage](const SubresourceRange&, wgpu::TextureUsage* storedUsage) { in TextureViewUsedAs()
75 textureUsage, [](const SubresourceRange&, wgpu::TextureUsage* storedUsage, in AddRenderBundleTextureUsage()
H A DCommandBuffer.h63 SubresourceRange GetSubresourcesAffectedByCopy(const TextureCopy& copy,
H A DTexture.cpp539 SubresourceRange TextureBase::GetAllSubresources() const { in GetAllSubresources()
573 bool TextureBase::IsSubresourceContentInitialized(const SubresourceRange& range) const { in IsSubresourceContentInitialized()
592 const SubresourceRange& range) {
772 const SubresourceRange& TextureViewBase::GetSubresourceRange() const { in GetSubresourceRange()
H A DDawnNative.cpp219 SubresourceRange range(aspect, {baseArrayLayer, layerCount}, {baseMipLevel, levelCount}); in IsTextureSubresourceInitialized()
H A DCommandValidation.cpp50 textureUsage.Iterate([&](const SubresourceRange&, const wgpu::TextureUsage& usage) { in ValidateSyncScopeResourceUsage()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A 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,
H A 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 in ClearTexture()
[all...]
H A 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()
H A DDeviceD3D12.cpp504 SubresourceRange range = GetSubresourcesAffectedByCopy(*dst, copySizePixels); in CopyFromStagingToTexture()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DTextureVk.h72 const SubresourceRange& range);
80 const SubresourceRange& range);
112 const SubresourceRange& range,
117 const SubresourceRange& range,
129 const SubresourceRange& range,
H A DTextureVk.cpp170 const SubresourceRange& range) { in BuildMemoryBarrier()
902 SubresourceRange::SingleMipAndLayer(0, 0, GetFormat().aspects))); in TweakTransitionForExternalUsage()
994 // for DEPTH | STENCIL since the SubresourceRange uses Aspect::CombinedDepthStencil. in TransitionUsageForPass()
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()
1032 subresourceUsages, [&](const SubresourceRange& range, wgpu::TextureUsage* lastUsage, in TransitionUsageForPassImpl()
1058 const SubresourceRange& range) { in TransitionUsageNow()
1080 const SubresourceRange& range, in TransitionUsageAndGetResourceBarrier()
1086 // be produced for DEPTH | STENCIL since the SubresourceRange use in TransitionUsageAndGetResourceBarrier()
[all...]
H A 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()
H A DDeviceVk.cpp692 SubresourceRange range = GetSubresourcesAffectedByCopy(*dst, copySizePixels); in CopyFromStagingToTexture()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DTextureGL.h39 void EnsureSubresourceContentInitialized(const SubresourceRange& range);
45 MaybeError ClearTexture(const SubresourceRange& range, TextureBase::ClearValue clearValue);
H A 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()
H A DQueueGL.cpp69 SubresourceRange range = GetSubresourcesAffectedByCopy(textureCopy, writeSizePixel); in WriteTextureImpl()
H A 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/
H A DTextureMTL.h53 const SubresourceRange& range);
72 const SubresourceRange& range,

Completed in 31 milliseconds