/external/skia/include/gpu/ |
D | GrResourceKey.h | 216 class GrUniqueKey : public GrResourceKey { 226 GrUniqueKey() {} in GrUniqueKey() function 228 GrUniqueKey(const GrUniqueKey& that) { *this = that; } in GrUniqueKey() function 235 GrUniqueKey& operator=(const GrUniqueKey& that) { 240 bool operator==(const GrUniqueKey& that) const { 243 bool operator!=(const GrUniqueKey& that) const { return !(*this == that); } 247 Builder(GrUniqueKey* key, Domain domain, int data32Count) in Builder() 251 Builder(GrUniqueKey* key, const GrUniqueKey& innerKey, Domain domain, in Builder() 263 static int Data32CntForInnerKey(const GrUniqueKey& innerKey) { in Data32CntForInnerKey() 281 static GrUniqueKey name; \ [all …]
|
D | GrTextureProvider.h | 39 void assignUniqueKeyToTexture(const GrUniqueKey& key, GrTexture* texture) { in assignUniqueKeyToTexture() 44 GrTexture* findAndRefTextureByUniqueKey(const GrUniqueKey& key) { in findAndRefTextureByUniqueKey() 59 bool existsTextureWithUniqueKey(const GrUniqueKey& key) const { in existsTextureWithUniqueKey() 134 void assignUniqueKeyToResource(const GrUniqueKey&, GrGpuResource*); 141 GrGpuResource* findAndRefResourceByUniqueKey(const GrUniqueKey&); 148 bool existsResourceWithUniqueKey(const GrUniqueKey& key) const;
|
D | GrGpuResource.h | 211 const GrUniqueKey& getUniqueKey() const { return fUniqueKey; } in getUniqueKey() 291 void setUniqueKey(const GrUniqueKey&); 314 GrUniqueKey fUniqueKey;
|
/external/skia/src/gpu/ |
D | SkGr.cpp | 111 static bool make_stretched_key(const GrUniqueKey& origKey, Stretch stretch, in make_stretched_key() 112 GrUniqueKey* stretchedKey) { in make_stretched_key() 114 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in make_stretched_key() 115 GrUniqueKey::Builder builder(stretchedKey, origKey, kDomain, 1); in make_stretched_key() 124 static void make_unstretched_key(const SkBitmap& bitmap, GrUniqueKey* key) { in make_unstretched_key() 132 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in make_unstretched_key() 133 GrUniqueKey::Builder builder(key, kDomain, 4); in make_unstretched_key() 142 GrUniqueKey* key, in make_bitmap_keys() 143 GrUniqueKey* stretchedKey) { in make_bitmap_keys() 163 explicit BitmapInvalidator(const GrUniqueKey& key) : fMsg(key) {} in BitmapInvalidator() [all …]
|
D | GrStencilAttachment.cpp | 13 GrUniqueKey* key) { in ComputeSharedStencilAttachmentKey() 14 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in ComputeSharedStencilAttachmentKey() 15 GrUniqueKey::Builder builder(key, kDomain, 3); in ComputeSharedStencilAttachmentKey()
|
D | GrResourceProvider.h | 26 template <typename T> T* findAndRefTByUniqueKey(const GrUniqueKey& key) { in findAndRefTByUniqueKey() 47 const GrUniqueKey& key) { in refOrCreateInstancedIndexBuffer() 79 const GrUniqueKey& key); 83 GrUniqueKey fQuadIndexBufferKey;
|
D | GrResourceCache.h | 141 GrGpuResource* findAndRefUniqueResource(const GrUniqueKey& key) { in findAndRefUniqueResource() 152 bool hasUniqueKey(const GrUniqueKey& key) const { in hasUniqueKey() 196 void changeUniqueKey(GrGpuResource*, const GrUniqueKey&); 232 static const GrUniqueKey& GetKey(const GrGpuResource& r) { return r.getUniqueKey(); } in GetKey() 234 static uint32_t Hash(const GrUniqueKey& key) { return key.hash(); } in Hash() 236 typedef SkTDynamicHash<GrGpuResource, GrUniqueKey, UniqueHashTraits> UniqueHash; 345 void changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey()
|
D | GrPath.cpp | 16 void GrPath::ComputeKey(const SkPath& path, const SkStrokeRec& stroke, GrUniqueKey* key) { in ComputeKey() 17 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in ComputeKey() 18 GrUniqueKey::Builder builder(key, kDomain, 3); in ComputeKey()
|
D | GrTextureProvider.cpp | 121 void GrTextureProvider::assignUniqueKeyToResource(const GrUniqueKey& key, GrGpuResource* resource) { in assignUniqueKeyToResource() 128 bool GrTextureProvider::existsResourceWithUniqueKey(const GrUniqueKey& key) const { in existsResourceWithUniqueKey() 132 GrGpuResource* GrTextureProvider::findAndRefResourceByUniqueKey(const GrUniqueKey& key) { in findAndRefResourceByUniqueKey()
|
D | GrStencilAndCoverTextContext.cpp | 224 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in get_gr_glyphs() 225 GrUniqueKey key; in get_gr_glyphs() 226 GrUniqueKey::Builder builder(&key, kDomain, 4); in get_gr_glyphs()
|
D | GrPath.h | 30 static void ComputeKey(const SkPath& path, const SkStrokeRec& stroke, GrUniqueKey* key);
|
D | GrGpuResourcePriv.h | 26 void setUniqueKey(const GrUniqueKey& key) { fResource->setUniqueKey(key); } in setUniqueKey()
|
D | GrStencilAttachment.h | 53 GrUniqueKey* key);
|
D | GrResourceProvider.cpp | 26 const GrUniqueKey& key) { in createInstancedIndexBuffer()
|
D | GrGpuResourceCacheAccess.h | 59 void setUniqueKey(const GrUniqueKey& key) { fResource->fUniqueKey = key; } in setUniqueKey()
|
D | GrResourceCache.cpp | 33 GrUniqueKey::Domain GrUniqueKey::GenerateDomain() { in GenerateDomain() 289 void GrResourceCache::changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey() 656 const GrUniqueKey& uniqueKey = resource->getUniqueKey(); in validate()
|
D | GrGpuResource.cpp | 92 void GrGpuResource::setUniqueKey(const GrUniqueKey& key) { in setUniqueKey()
|
D | GrStencilAndCoverPathRenderer.cpp | 78 GrUniqueKey key; in get_gr_path()
|
D | GrGpu.cpp | 137 GrUniqueKey sbKey; in attachStencilAttachmentToRenderTarget()
|
/external/skia/bench/ |
D | GrResourceCacheBench.cpp | 32 static void ComputeKey(int i, GrUniqueKey* key) { in ComputeKey() 33 static GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in ComputeKey() 34 GrUniqueKey::Builder builder(key, kDomain, 1); in ComputeKey() 46 GrUniqueKey key; in populate_cache() 129 GrUniqueKey key; in onDraw()
|
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 337 template <int> static void make_unique_key(GrUniqueKey* key, int data) { in make_unique_key() 338 static GrUniqueKey::Domain d = GrUniqueKey::GenerateDomain(); in make_unique_key() 339 GrUniqueKey::Builder builder(key, d, 1); in make_unique_key() 348 GrUniqueKey uniqueKey; in test_budgeting() 366 GrUniqueKey uniqueKey2; in test_budgeting() 433 GrUniqueKey uniqueKey; in test_unbudgeted() 722 GrUniqueKey key; in test_duplicate_unique_key() 764 GrUniqueKey differentKey; in test_duplicate_unique_key() 803 GrUniqueKey key1, key2, key3; in test_purge_invalidated() 871 GrUniqueKey key1, key2; in test_cache_chained_purge() [all …]
|
D | GLProgramsTest.cpp | 121 GrUniqueKey key; in random_render_target() 122 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in random_render_target() 123 GrUniqueKey::Builder builder(&key, kDomain, 2); in random_render_target()
|
/external/skia/src/gpu/effects/ |
D | GrTextureStripAtlas.cpp | 201 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in lockTexture() 202 GrUniqueKey key; in lockTexture() 203 GrUniqueKey::Builder builder(&key, kDomain, 1); in lockTexture()
|
/external/skia/src/effects/ |
D | SkColorCubeFilter.cpp | 342 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in asFragmentProcessors() 343 GrUniqueKey key; in asFragmentProcessors() 344 GrUniqueKey::Builder builder(&key, kDomain, 2); in asFragmentProcessors()
|
D | SkBlurMaskFilter.cpp | 763 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in CreateBlurProfileTexture() 764 GrUniqueKey key; in CreateBlurProfileTexture() 765 GrUniqueKey::Builder builder(&key, kDomain, 1); in CreateBlurProfileTexture() 927 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in Create() 928 GrUniqueKey key; in Create() 929 GrUniqueKey::Builder builder(&key, kDomain, 2); in Create()
|