/external/skia/src/gpu/ |
D | GrGpuBuffer.cpp | 21 GrScratchKey* key) { in ComputeScratchKeyForDynamicVBO() 22 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKeyForDynamicVBO() 23 GrScratchKey::Builder builder(key, kType, 1 + (sizeof(size_t) + 3) / 4); in ComputeScratchKeyForDynamicVBO() 34 void GrGpuBuffer::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
|
D | GrTexture.cpp | 79 void GrTexture::computeScratchKey(GrScratchKey* key) const { in computeScratchKey() 94 GrMipMapped mipMapped, GrScratchKey* key) { in ComputeScratchKey() 95 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() 109 GrScratchKey::Builder builder(key, kType, 3); in ComputeScratchKey() 115 void GrTexturePriv::ComputeScratchKey(const GrSurfaceDesc& desc, GrScratchKey* key) { in ComputeScratchKey()
|
D | GrResourceCache.h | 137 GrGpuResource* findAndRefScratchResource(const GrScratchKey& scratchKey, size_t resourceSize, 142 int countScratchEntriesForKey(const GrScratchKey& scratchKey) const { in countScratchEntriesForKey() 293 static const GrScratchKey& GetKey(const GrGpuResource& r) { in GetKey() 297 static uint32_t Hash(const GrScratchKey& key) { return key.hash(); } in Hash() 300 typedef SkTMultiMap<GrGpuResource, GrScratchKey, ScratchMapTraits> ScratchMap;
|
D | GrResourceAllocator.h | 96 static const GrScratchKey& GetKey(const GrSurface& s) { in GetKey() 100 static uint32_t Hash(const GrScratchKey& key) { return key.hash(); } in Hash() 103 typedef SkTMultiMap<GrSurface, GrScratchKey, FreePoolTraits> FreePoolMultiMap;
|
D | GrTexturePriv.h | 53 static void ComputeScratchKey(const GrSurfaceDesc&, GrScratchKey*); 56 GrMipMapped, GrScratchKey* key);
|
D | GrGpuBuffer.h | 22 static void ComputeScratchKeyForDynamicVBO(size_t size, GrGpuBufferType, GrScratchKey*); 106 void computeScratchKey(GrScratchKey* key) const override;
|
D | GrGpuResourcePriv.h | 65 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey()
|
D | GrSurfaceProxyPriv.h | 36 void computeScratchKey(GrScratchKey* key) const { return fProxy->computeScratchKey(key); } in computeScratchKey()
|
/external/skqp/src/gpu/ |
D | GrTexture.cpp | 79 void GrTexture::computeScratchKey(GrScratchKey* key) const { in computeScratchKey() 94 GrMipMapped mipMapped, GrScratchKey* key) { in ComputeScratchKey() 95 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() 109 GrScratchKey::Builder builder(key, kType, 3); in ComputeScratchKey() 115 void GrTexturePriv::ComputeScratchKey(const GrSurfaceDesc& desc, GrScratchKey* key) { in ComputeScratchKey()
|
D | GrBuffer.cpp | 48 GrScratchKey* key) { in ComputeScratchKeyForDynamicVBO() 49 static const GrScratchKey::ResourceType kType = GrScratchKey::GenerateResourceType(); in ComputeScratchKeyForDynamicVBO() 50 GrScratchKey::Builder builder(key, kType, 1 + (sizeof(size_t) + 3) / 4); in ComputeScratchKeyForDynamicVBO() 67 void GrBuffer::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
|
D | GrResourceCache.h | 136 GrGpuResource* findAndRefScratchResource(const GrScratchKey& scratchKey, size_t resourceSize, 141 int countScratchEntriesForKey(const GrScratchKey& scratchKey) const { in countScratchEntriesForKey() 289 static const GrScratchKey& GetKey(const GrGpuResource& r) { in GetKey() 293 static uint32_t Hash(const GrScratchKey& key) { return key.hash(); } in Hash() 296 typedef SkTMultiMap<GrGpuResource, GrScratchKey, ScratchMapTraits> ScratchMap;
|
D | GrResourceAllocator.h | 96 static const GrScratchKey& GetKey(const GrSurface& s) { in GetKey() 100 static uint32_t Hash(const GrScratchKey& key) { return key.hash(); } in Hash() 103 typedef SkTMultiMap<GrSurface, GrScratchKey, FreePoolTraits> FreePoolMultiMap;
|
D | GrTexturePriv.h | 53 static void ComputeScratchKey(const GrSurfaceDesc&, GrScratchKey*); 56 GrMipMapped, GrScratchKey* key);
|
D | GrBuffer.h | 28 static void ComputeScratchKeyForDynamicVBO(size_t size, GrBufferType, GrScratchKey*); 120 void computeScratchKey(GrScratchKey* key) const override;
|
D | GrGpuResourcePriv.h | 65 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey()
|
D | GrSurfaceProxyPriv.h | 36 void computeScratchKey(GrScratchKey* key) const { return fProxy->computeScratchKey(key); } in computeScratchKey()
|
D | GrResourceCache.cpp | 34 GrScratchKey::ResourceType GrScratchKey::GenerateResourceType() { in GenerateResourceType() 267 GrGpuResource* GrResourceCache::findAndRefScratchResource(const GrScratchKey& scratchKey, in findAndRefScratchResource() 753 const GrScratchKey& scratchKey = resource->resourcePriv().getScratchKey(); in validate()
|
/external/skqp/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()
|
/external/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()
|
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 295 static void ComputeScratchKey(SimulatedProperty property, GrScratchKey* key) { in ComputeScratchKey() 296 static GrScratchKey::ResourceType t = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() 297 GrScratchKey::Builder builder(key, t, kScratchKeyFieldCnt); in ComputeScratchKey() 304 return sizeof(uint32_t) * (kScratchKeyFieldCnt + GrScratchKey::kMetaDataCnt); in ExpectedScratchKeySize() 331 void computeScratchKey(GrScratchKey* key) const override { in computeScratchKey() 698 GrScratchKey key; in test_unbudgeted_to_scratch() 770 GrScratchKey scratchKey1; in test_duplicate_scratch_key() 775 GrScratchKey scratchKey; in test_duplicate_scratch_key() 817 GrScratchKey scratchKey; in test_remove_scratch_key() 877 GrScratchKey scratchKey; in test_scratch_key_consistency() [all …]
|
/external/skqp/tests/ |
D | ResourceCacheTest.cpp | 295 static void ComputeScratchKey(SimulatedProperty property, GrScratchKey* key) { in ComputeScratchKey() 296 static GrScratchKey::ResourceType t = GrScratchKey::GenerateResourceType(); in ComputeScratchKey() 297 GrScratchKey::Builder builder(key, t, kScratchKeyFieldCnt); in ComputeScratchKey() 304 return sizeof(uint32_t) * (kScratchKeyFieldCnt + GrScratchKey::kMetaDataCnt); in ExpectedScratchKeySize() 331 void computeScratchKey(GrScratchKey* key) const override { in computeScratchKey() 698 GrScratchKey key; in test_unbudgeted_to_scratch() 770 GrScratchKey scratchKey1; in test_duplicate_scratch_key() 775 GrScratchKey scratchKey; in test_duplicate_scratch_key() 817 GrScratchKey scratchKey; in test_remove_scratch_key() 877 GrScratchKey scratchKey; in test_scratch_key_consistency() [all …]
|
/external/skqp/include/gpu/ |
D | GrGpuResource.h | 300 virtual void computeScratchKey(GrScratchKey*) const {} in computeScratchKey() argument 342 GrScratchKey fScratchKey;
|
D | GrTexture.h | 85 void computeScratchKey(GrScratchKey*) const override;
|
/external/skia/include/gpu/ |
D | GrGpuResource.h | 305 virtual void computeScratchKey(GrScratchKey*) const {} in computeScratchKey() argument 348 GrScratchKey fScratchKey;
|
D | GrTexture.h | 82 void computeScratchKey(GrScratchKey*) const override;
|