Home
last modified time | relevance | path

Searched refs:SamplerHeapCacheEntry (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DSamplerHeapCacheD3D12.cpp29 SamplerHeapCacheEntry::SamplerHeapCacheEntry(std::vector<Sampler*> samplers) in SamplerHeapCacheEntry() function in dawn_native::d3d12::SamplerHeapCacheEntry
33 SamplerHeapCacheEntry::SamplerHeapCacheEntry(SamplerHeapCache* cache, in SamplerHeapCacheEntry() function in dawn_native::d3d12::SamplerHeapCacheEntry
46 std::vector<Sampler*>&& SamplerHeapCacheEntry::AcquireSamplers() { in AcquireSamplers()
50 SamplerHeapCacheEntry::~SamplerHeapCacheEntry() { in ~SamplerHeapCacheEntry()
60 bool SamplerHeapCacheEntry::Populate(Device* device, in Populate()
87 D3D12_GPU_DESCRIPTOR_HANDLE SamplerHeapCacheEntry::GetBaseDescriptor() const { in GetBaseDescriptor()
91 ResultOrError<Ref<SamplerHeapCacheEntry>> SamplerHeapCache::GetOrCreate( in GetOrCreate()
113 SamplerHeapCacheEntry blueprint(std::move(samplers)); in GetOrCreate()
116 return Ref<SamplerHeapCacheEntry>(*iter); in GetOrCreate()
135 Ref<SamplerHeapCacheEntry> entry = AcquireRef(new SamplerHeapCacheEntry( in GetOrCreate()
[all …]
DSamplerHeapCacheD3D12.h45 class SamplerHeapCacheEntry : public RefCounted {
47 SamplerHeapCacheEntry() = default;
48 SamplerHeapCacheEntry(std::vector<Sampler*> samplers);
49 SamplerHeapCacheEntry(SamplerHeapCache* cache,
53 ~SamplerHeapCacheEntry() override;
63 size_t operator()(const SamplerHeapCacheEntry* entry) const;
67 bool operator()(const SamplerHeapCacheEntry* a, const SamplerHeapCacheEntry* b) const;
89 ResultOrError<Ref<SamplerHeapCacheEntry>> GetOrCreate(
93 void RemoveCacheEntry(SamplerHeapCacheEntry* entry);
98 using Cache = std::unordered_set<SamplerHeapCacheEntry*,
[all …]
DBindGroupD3D12.h28 class SamplerHeapCacheEntry; variable
48 void SetSamplerAllocationEntry(Ref<SamplerHeapCacheEntry> entry);
59 Ref<SamplerHeapCacheEntry> mSamplerAllocationEntry;
DBindGroupLayoutD3D12.cpp148 Ref<SamplerHeapCacheEntry> samplerHeapCacheEntry; in AllocateBindGroup()
DBindGroupD3D12.cpp276 void BindGroup::SetSamplerAllocationEntry(Ref<SamplerHeapCacheEntry> entry) { in SetSamplerAllocationEntry()