/external/skqp/include/private/ |
D | GrResourceKey.h | 238 class GrUniqueKey : public GrResourceKey { 248 GrUniqueKey() : fTag(nullptr) {} in GrUniqueKey() function 250 GrUniqueKey(const GrUniqueKey& that) { *this = that; } in GrUniqueKey() function 257 GrUniqueKey& operator=(const GrUniqueKey& that) { 264 bool operator==(const GrUniqueKey& that) const { return this->INHERITED::operator==(that); } 265 bool operator!=(const GrUniqueKey& that) const { return !(*this == that); } 281 Builder(GrUniqueKey* key, Domain type, int data32Count, const char* tag = nullptr) 287 Builder(GrUniqueKey* key, const GrUniqueKey& innerKey, Domain domain, int extraData32Cnt, 300 static int Data32CntForInnerKey(const GrUniqueKey& innerKey) { in Data32CntForInnerKey() 322 static SkAlignedSTStorage<1, GrUniqueKey> name##_storage; \ [all …]
|
/external/skia/include/private/ |
D | GrResourceKey.h | 238 class GrUniqueKey : public GrResourceKey { 248 GrUniqueKey() : fTag(nullptr) {} in GrUniqueKey() function 250 GrUniqueKey(const GrUniqueKey& that) { *this = that; } in GrUniqueKey() function 257 GrUniqueKey& operator=(const GrUniqueKey& that) { 264 bool operator==(const GrUniqueKey& that) const { return this->INHERITED::operator==(that); } 265 bool operator!=(const GrUniqueKey& that) const { return !(*this == that); } 281 Builder(GrUniqueKey* key, Domain type, int data32Count, const char* tag = nullptr) 287 Builder(GrUniqueKey* key, const GrUniqueKey& innerKey, Domain domain, int extraData32Cnt, 300 static int Data32CntForInnerKey(const GrUniqueKey& innerKey) { in Data32CntForInnerKey() 322 static SkAlignedSTStorage<1, GrUniqueKey> name##_storage; \ [all …]
|
/external/skia/src/gpu/ |
D | GrImageTextureMaker.h | 31 void makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey) override; 32 void didCacheCopy(const GrUniqueKey& copyKey, uint32_t contextUniqueID) override {} in didCacheCopy() 39 GrUniqueKey fOriginalKey; 57 void makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey) override; 58 void didCacheCopy(const GrUniqueKey& copyKey, uint32_t contextUniqueID) override {} in didCacheCopy() 72 GrUniqueKey fOriginalKey;
|
D | GrTextureProducer.h | 123 static void MakeCopyKeyFromOrigKey(const GrUniqueKey& origKey, in MakeCopyKeyFromOrigKey() 125 GrUniqueKey* copyKey) { in MakeCopyKeyFromOrigKey() 128 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in MakeCopyKeyFromOrigKey() 129 GrUniqueKey::Builder builder(copyKey, origKey, kDomain, 3); in MakeCopyKeyFromOrigKey() 144 virtual void makeCopyKey(const CopyParams&, GrUniqueKey* copyKey) = 0; 151 virtual void didCacheCopy(const GrUniqueKey& copyKey, uint32_t contextUniqueID) = 0;
|
D | GrImageTextureMaker.cpp | 31 void GrImageTextureMaker::makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey) { in makeCopyKey() 33 GrUniqueKey cacheKey; in makeCopyKey() 70 void GrYUVAImageTextureMaker::makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey) { in makeCopyKey() 73 GrUniqueKey cacheKey; in makeCopyKey() 74 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in makeCopyKey() 75 GrUniqueKey::Builder builder(&cacheKey, fOriginalKey, kDomain, 0, "Image"); in makeCopyKey()
|
D | GrStencilAttachment.cpp | 12 GrUniqueKey* key) { in ComputeSharedStencilAttachmentKey() 13 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in ComputeSharedStencilAttachmentKey() 14 GrUniqueKey::Builder builder(key, kDomain, 3); in ComputeSharedStencilAttachmentKey()
|
D | GrProxyProvider.h | 34 bool assignUniqueKeyToProxy(const GrUniqueKey&, GrTextureProxy*); 51 sk_sp<GrTextureProxy> findProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin); 57 sk_sp<GrTextureProxy> findOrCreateProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin); 213 void processInvalidUniqueKey(const GrUniqueKey&, GrTextureProxy*, InvalidateGPUResource); 253 static const GrUniqueKey& GetKey(const GrTextureProxy& p) { return p.getUniqueKey(); } in GetKey() 255 static uint32_t Hash(const GrUniqueKey& key) { return key.hash(); } in Hash() 257 …typedef SkTDynamicHash<GrTextureProxy, GrUniqueKey, UniquelyKeyedProxyHashTraits> UniquelyKeyedPro…
|
D | GrResourceProvider.h | 66 findByUniqueKey(const GrUniqueKey& key) { in findByUniqueKey() 146 const void* data, const GrUniqueKey& key); 165 const GrUniqueKey& key) { in findOrCreatePatternedIndexBuffer() 230 void assignUniqueKeyToResource(const GrUniqueKey&, GrGpuResource*); 260 sk_sp<GrGpuResource> findResourceByUniqueKey(const GrUniqueKey&); 290 const GrUniqueKey* key);
|
D | GrPath.cpp | 17 void GrPath::ComputeKey(const GrShape& shape, GrUniqueKey* key, bool* outIsVolatile) { in ComputeKey() 27 static const GrUniqueKey::Domain kGeneralPathDomain = GrUniqueKey::GenerateDomain(); in ComputeKey() 28 GrUniqueKey::Builder builder(key, kGeneralPathDomain, geoCnt + styleCnt, "Path"); in ComputeKey()
|
D | GrOnFlushResourceProvider.h | 81 bool assignUniqueKeyToProxy(const GrUniqueKey&, GrTextureProxy*); 83 void processInvalidUniqueKey(const GrUniqueKey&); 84 sk_sp<GrTextureProxy> findOrCreateProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin); 93 const GrUniqueKey&);
|
D | GrResourceCache.h | 150 GrGpuResource* findAndRefUniqueResource(const GrUniqueKey& key) { in findAndRefUniqueResource() 161 bool hasUniqueKey(const GrUniqueKey& key) const { in hasUniqueKey() 264 void changeUniqueKey(GrGpuResource*, const GrUniqueKey&); 303 static const GrUniqueKey& GetKey(const GrGpuResource& r) { return r.getUniqueKey(); } in GetKey() 305 static uint32_t Hash(const GrUniqueKey& key) { return key.hash(); } in Hash() 307 typedef SkTDynamicHash<GrGpuResource, GrUniqueKey, UniqueHashTraits> UniqueHash; 431 void changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey()
|
/external/skqp/src/gpu/ |
D | GrImageTextureMaker.h | 30 void makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey) override; 31 void didCacheCopy(const GrUniqueKey& copyKey, uint32_t contextUniqueID) override {} in didCacheCopy() 38 GrUniqueKey fOriginalKey; 56 void makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey) override; 57 void didCacheCopy(const GrUniqueKey& copyKey, uint32_t contextUniqueID) override {} in didCacheCopy() 72 GrUniqueKey fOriginalKey;
|
D | GrImageTextureMaker.cpp | 30 void GrImageTextureMaker::makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey) { in makeCopyKey() 32 GrUniqueKey cacheKey; in makeCopyKey() 68 void GrYUVAImageTextureMaker::makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey) { in makeCopyKey() 71 GrUniqueKey cacheKey; in makeCopyKey() 72 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in makeCopyKey() 73 GrUniqueKey::Builder builder(&cacheKey, fOriginalKey, kDomain, 0, "Image"); in makeCopyKey()
|
D | GrTextureProducer.h | 124 static void MakeCopyKeyFromOrigKey(const GrUniqueKey& origKey, in MakeCopyKeyFromOrigKey() 126 GrUniqueKey* copyKey) { in MakeCopyKeyFromOrigKey() 129 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in MakeCopyKeyFromOrigKey() 130 GrUniqueKey::Builder builder(copyKey, origKey, kDomain, 3); in MakeCopyKeyFromOrigKey() 145 virtual void makeCopyKey(const CopyParams&, GrUniqueKey* copyKey) = 0; 152 virtual void didCacheCopy(const GrUniqueKey& copyKey, uint32_t contextUniqueID) = 0;
|
D | GrStencilAttachment.cpp | 12 GrUniqueKey* key) { in ComputeSharedStencilAttachmentKey() 13 static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in ComputeSharedStencilAttachmentKey() 14 GrUniqueKey::Builder builder(key, kDomain, 3); in ComputeSharedStencilAttachmentKey()
|
D | GrResourceProvider.h | 69 template <typename T = GrGpuResource> sk_sp<T> findByUniqueKey(const GrUniqueKey& key) { in findByUniqueKey() 149 const void* data, const GrUniqueKey& key); 168 const GrUniqueKey& key) { in findOrCreatePatternedIndexBuffer() 233 void assignUniqueKeyToResource(const GrUniqueKey&, GrGpuResource*); 263 sk_sp<GrGpuResource> findResourceByUniqueKey(const GrUniqueKey&); 293 const GrUniqueKey& key); 300 GrUniqueKey fQuadIndexBufferKey;
|
D | GrProxyProvider.h | 38 bool assignUniqueKeyToProxy(const GrUniqueKey&, GrTextureProxy*); 55 sk_sp<GrTextureProxy> findProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin); 61 sk_sp<GrTextureProxy> findOrCreateProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin); 214 void processInvalidUniqueKey(const GrUniqueKey&, GrTextureProxy*, InvalidateGPUResource); 263 static const GrUniqueKey& GetKey(const GrTextureProxy& p) { return p.getUniqueKey(); } in GetKey() 265 static uint32_t Hash(const GrUniqueKey& key) { return key.hash(); } in Hash() 267 …typedef SkTDynamicHash<GrTextureProxy, GrUniqueKey, UniquelyKeyedProxyHashTraits> UniquelyKeyedPro…
|
D | GrPath.cpp | 17 void GrPath::ComputeKey(const GrShape& shape, GrUniqueKey* key, bool* outIsVolatile) { in ComputeKey() 27 static const GrUniqueKey::Domain kGeneralPathDomain = GrUniqueKey::GenerateDomain(); in ComputeKey() 28 GrUniqueKey::Builder builder(key, kGeneralPathDomain, geoCnt + styleCnt, "Path"); in ComputeKey()
|
D | GrOnFlushResourceProvider.h | 81 bool assignUniqueKeyToProxy(const GrUniqueKey&, GrTextureProxy*); 83 void processInvalidUniqueKey(const GrUniqueKey&); 84 sk_sp<GrTextureProxy> findOrCreateProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin); 93 const GrUniqueKey&);
|
D | GrResourceCache.h | 149 GrGpuResource* findAndRefUniqueResource(const GrUniqueKey& key) { in findAndRefUniqueResource() 160 bool hasUniqueKey(const GrUniqueKey& key) const { in hasUniqueKey() 260 void changeUniqueKey(GrGpuResource*, const GrUniqueKey&); 299 static const GrUniqueKey& GetKey(const GrGpuResource& r) { return r.getUniqueKey(); } in GetKey() 301 static uint32_t Hash(const GrUniqueKey& key) { return key.hash(); } in Hash() 303 typedef SkTDynamicHash<GrGpuResource, GrUniqueKey, UniqueHashTraits> UniqueHash; 409 void changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey()
|
D | GrBitmapTextureMaker.h | 25 void makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey) override; 26 void didCacheCopy(const GrUniqueKey& copyKey, uint32_t contextUniqueID) override; 33 GrUniqueKey fOriginalKey;
|
/external/skia/bench/ |
D | GrResourceCacheBench.cpp | 29 static void ComputeKey(int i, int keyData32Count, GrUniqueKey* key) { in ComputeKey() 30 static GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in ComputeKey() 31 GrUniqueKey::Builder builder(key, kDomain, keyData32Count); in ComputeKey() 45 GrUniqueKey key; in populate_cache() 144 GrUniqueKey key; in onDraw()
|
/external/skqp/bench/ |
D | GrResourceCacheBench.cpp | 29 static void ComputeKey(int i, int keyData32Count, GrUniqueKey* key) { in ComputeKey() 30 static GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); in ComputeKey() 31 GrUniqueKey::Builder builder(key, kDomain, keyData32Count); in ComputeKey() 45 GrUniqueKey key; in populate_cache() 144 GrUniqueKey key; in onDraw()
|
/external/skia/tests/ |
D | TextureProxyTest.cpp | 81 static GrUniqueKey::Domain d = GrUniqueKey::GenerateDomain(); in wrapped_with_key() 84 GrUniqueKey key; in wrapped_with_key() 86 GrUniqueKey::Builder builder(&key, d, 1, nullptr); in wrapped_with_key() 134 GrUniqueKey key; in basic_test() 161 const GrUniqueKey texKey = proxy->peekSurface()->getUniqueKey(); in basic_test() 268 static GrUniqueKey::Domain d = GrUniqueKey::GenerateDomain(); in invalidation_and_instantiation_test() 269 GrUniqueKey key; in invalidation_and_instantiation_test() 270 GrUniqueKey::Builder builder(&key, d, 1, nullptr); in invalidation_and_instantiation_test()
|
/external/skqp/tests/ |
D | TextureProxyTest.cpp | 81 static GrUniqueKey::Domain d = GrUniqueKey::GenerateDomain(); in wrapped_with_key() 84 GrUniqueKey key; in wrapped_with_key() 86 GrUniqueKey::Builder builder(&key, d, 1, nullptr); in wrapped_with_key() 134 GrUniqueKey key; in basic_test() 161 const GrUniqueKey texKey = proxy->peekSurface()->getUniqueKey(); in basic_test() 268 static GrUniqueKey::Domain d = GrUniqueKey::GenerateDomain(); in invalidation_and_instantiation_test() 269 GrUniqueKey key; in invalidation_and_instantiation_test() 270 GrUniqueKey::Builder builder(&key, d, 1, nullptr); in invalidation_and_instantiation_test()
|