/third_party/flutter/skia/src/gpu/ |
D | GrGpuBuffer.cpp | 51 GrScratchKey* key) { in ComputeScratchKeyForDynamicVBO() 52 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKeyForDynamicVBO() 53 GrScratchKey::Builder builder(key, kType, 1 + (sizeof(size_t) + 3) / 4); in ComputeScratchKeyForDynamicVBO() 64 void GrGpuBuffer::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
|
D | GrTexture.cpp | 81 void GrTexture::computeScratchKey(GrScratchKey* key) const { in computeScratchKey() 96 GrScratchKey* key) { in ComputeScratchKey() 97 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() 109 GrScratchKey::Builder builder(key, kType, 3); in ComputeScratchKey() 119 int sampleCnt, GrScratchKey* key) { in ComputeScratchKey()
|
D | GrResourceCache.h | 154 GrGpuResource* findAndRefScratchResource(const GrScratchKey& scratchKey, size_t resourceSize, 159 int countScratchEntriesForKey(const GrScratchKey& scratchKey) const { in countScratchEntriesForKey() 313 static const GrScratchKey& GetKey(const GrGpuResource& r) { in GetKey() 317 static uint32_t Hash(const GrScratchKey& key) { return key.hash(); } in Hash() 320 typedef SkTMultiMap<GrGpuResource, GrScratchKey, ScratchMapTraits> ScratchMap;
|
D | GrGpuBuffer.h | 22 static void ComputeScratchKeyForDynamicVBO(size_t size, GrGpuBufferType, GrScratchKey*); 96 void computeScratchKey(GrScratchKey* key) const override;
|
D | GrTexturePriv.h | 56 static void ComputeScratchKey(const GrSurfaceDesc&, GrRenderable, int sampleCnt, GrScratchKey*); 58 int sampleCnt, GrMipMapped, GrScratchKey* key);
|
D | GrResourceAllocator.h | 133 static const GrScratchKey& GetKey(const GrSurface& s) { in GetKey() 137 static uint32_t Hash(const GrScratchKey& key) { return key.hash(); } in Hash() 140 typedef SkTMultiMap<GrSurface, GrScratchKey, FreePoolTraits> FreePoolMultiMap;
|
D | GrGpuResourcePriv.h | 65 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey()
|
D | GrSurfaceProxyPriv.h | 22 void computeScratchKey(GrScratchKey* key) const { return fProxy->computeScratchKey(key); } in computeScratchKey()
|
/third_party/skia/src/gpu/ |
D | GrGpuBuffer.cpp | 62 GrScratchKey* key) { in ComputeScratchKeyForDynamicBuffer() 63 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKeyForDynamicBuffer() 64 GrScratchKey::Builder builder(key, kType, 1 + (sizeof(size_t) + 3) / 4); in ComputeScratchKeyForDynamicBuffer() 72 void GrGpuBuffer::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
|
D | GrResourceAllocator.h | 137 static const GrScratchKey& GetKey(const Register& r) { in GetKey() 141 static uint32_t Hash(const GrScratchKey& key) { return key.hash(); } in Hash() 144 typedef SkTMultiMap<Register, GrScratchKey, FreePoolTraits> FreePoolMultiMap; 160 Register(GrSurfaceProxy* originatingProxy, GrScratchKey, GrResourceProvider*); 162 const GrScratchKey& scratchKey() const { return fScratchKey; } in scratchKey() 182 GrScratchKey fScratchKey; // free pool wants a reference to this.
|
D | GrAttachment.cpp | 88 GrScratchKey* key) { in ComputeScratchKey() 89 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() 91 GrScratchKey::Builder builder(key, kType, 5); in ComputeScratchKey() 96 void GrAttachment::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
|
D | GrTexture.cpp | 89 void GrTexture::computeScratchKey(GrScratchKey* key) const { in computeScratchKey() 110 GrScratchKey* key) { in ComputeScratchKey() 111 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() 123 GrScratchKey::Builder builder(key, kType, 5); in ComputeScratchKey()
|
D | GrResourceCache.h | 148 GrGpuResource* findAndRefScratchResource(const GrScratchKey& scratchKey); 152 int countScratchEntriesForKey(const GrScratchKey& scratchKey) const { in countScratchEntriesForKey() 325 static const GrScratchKey& GetKey(const GrGpuResource& r) { in GetKey() 329 static uint32_t Hash(const GrScratchKey& key) { return key.hash(); } in Hash() 332 typedef SkTMultiMap<GrGpuResource, GrScratchKey, ScratchMapTraits> ScratchMap;
|
D | GrGpuBuffer.h | 22 static void ComputeScratchKeyForDynamicBuffer(size_t size, GrGpuBufferType, GrScratchKey*); 96 void computeScratchKey(GrScratchKey* key) const override;
|
D | GrTexture.h | 64 GrScratchKey* key); 71 void computeScratchKey(GrScratchKey*) const override;
|
D | GrAttachment.h | 70 GrScratchKey* key); 85 void computeScratchKey(GrScratchKey*) const final;
|
D | GrResourceAllocator.cpp | 117 GrScratchKey scratchKey, in Register() 289 Register* r = fInternalAllocator.make<Register>(proxy, GrScratchKey(), resourceProvider); in findOrCreateRegisterFor() 295 GrScratchKey scratchKey; in findOrCreateRegisterFor()
|
D | GrGpuResource.h | 358 virtual void computeScratchKey(GrScratchKey*) const {} in computeScratchKey() argument 395 GrScratchKey fScratchKey;
|
D | GrGpuResourcePriv.h | 63 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey()
|
D | GrSurfaceProxyPriv.h | 20 void computeScratchKey(const GrCaps& caps, GrScratchKey* key) const { in computeScratchKey()
|
/third_party/flutter/skia/include/private/ |
D | GrResourceKey.h | 186 class GrScratchKey : public GrResourceKey { 198 GrScratchKey() {} in GrScratchKey() function 200 GrScratchKey(const GrScratchKey& that) { *this = that; } in GrScratchKey() function 209 GrScratchKey& operator=(const GrScratchKey& that) { 214 bool operator==(const GrScratchKey& that) const { return this->INHERITED::operator==(that); } 215 bool operator!=(const GrScratchKey& that) const { return !(*this == that); } 219 Builder(GrScratchKey* key, ResourceType type, int data32Count) in Builder()
|
/third_party/skia/include/private/ |
D | GrResourceKey.h | 187 class GrScratchKey : public GrResourceKey { 199 GrScratchKey() {} in GrScratchKey() function 201 GrScratchKey(const GrScratchKey& that) { *this = that; } in GrScratchKey() function 210 GrScratchKey& operator=(const GrScratchKey& that) { 215 bool operator==(const GrScratchKey& that) const { return this->INHERITED::operator==(that); } 216 bool operator!=(const GrScratchKey& that) const { return !(*this == that); } 220 Builder(GrScratchKey* key, ResourceType type, int data32Count) in Builder()
|
/third_party/skia/tests/ |
D | ResourceCacheTest.cpp | 273 static void ComputeScratchKey(SimulatedProperty property, GrScratchKey* key) { in ComputeScratchKey() 274 static GrScratchKey::ResourceType t = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() 275 GrScratchKey::Builder builder(key, t, kScratchKeyFieldCnt); in ComputeScratchKey() 282 return sizeof(uint32_t) * (kScratchKeyFieldCnt + GrScratchKey::kMetaDataCnt); in ExpectedScratchKeySize() 309 void computeScratchKey(GrScratchKey* key) const override { in computeScratchKey() 739 GrScratchKey key; in test_unbudgeted_to_scratch() 810 GrScratchKey scratchKey1; in test_duplicate_scratch_key() 815 GrScratchKey scratchKey; in test_duplicate_scratch_key() 858 GrScratchKey scratchKey; in test_remove_scratch_key() 916 GrScratchKey scratchKey; in test_scratch_key_consistency() [all …]
|
/third_party/flutter/skia/tests/ |
D | ResourceCacheTest.cpp | 293 static void ComputeScratchKey(SimulatedProperty property, GrScratchKey* key) { in ComputeScratchKey() 294 static GrScratchKey::ResourceType t = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() 295 GrScratchKey::Builder builder(key, t, kScratchKeyFieldCnt); in ComputeScratchKey() 302 return sizeof(uint32_t) * (kScratchKeyFieldCnt + GrScratchKey::kMetaDataCnt); in ExpectedScratchKeySize() 329 void computeScratchKey(GrScratchKey* key) const override { in computeScratchKey() 696 GrScratchKey key; in test_unbudgeted_to_scratch() 768 GrScratchKey scratchKey1; in test_duplicate_scratch_key() 773 GrScratchKey scratchKey; in test_duplicate_scratch_key() 815 GrScratchKey scratchKey; in test_remove_scratch_key() 875 GrScratchKey scratchKey; in test_scratch_key_consistency() [all …]
|
/third_party/flutter/skia/include/gpu/ |
D | GrGpuResource.h | 385 virtual void computeScratchKey(GrScratchKey*) const {} in computeScratchKey() argument 428 GrScratchKey fScratchKey;
|