Searched refs:sharedID (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/core/ |
D | SkResourceCache.h | 38 void init(void* nameSpace, uint64_t sharedID, size_t dataSize); 102 PurgeSharedIDMessage(uint64_t sharedID) : fSharedID(sharedID) {} in PurgeSharedIDMessage() 178 static void PostPurgeSharedID(uint64_t sharedID); 239 void purgeSharedID(uint64_t sharedID);
|
D | SkResourceCache.cpp | 32 void SkResourceCache::Key::init(void* nameSpace, uint64_t sharedID, size_t dataSize) { in DECLARE_SKMESSAGEBUS_MESSAGE() 46 fSharedID_lo = (uint32_t)sharedID; in DECLARE_SKMESSAGEBUS_MESSAGE() 47 fSharedID_hi = (uint32_t)(sharedID >> 32); in DECLARE_SKMESSAGEBUS_MESSAGE() 330 void SkResourceCache::purgeSharedID(uint64_t sharedID) { in purgeSharedID() argument 331 if (0 == sharedID) { in purgeSharedID() 344 if (rec->getKey().getSharedID() == sharedID) { in purgeSharedID() 642 void SkResourceCache::PostPurgeSharedID(uint64_t sharedID) { in PostPurgeSharedID() argument 643 if (sharedID) { in PostPurgeSharedID() 644 SkMessageBus<PurgeSharedIDMessage>::Post(PurgeSharedIDMessage(sharedID)); in PostPurgeSharedID()
|
D | SkBitmapCache.cpp | 19 uint64_t sharedID = SkSetFourByteTag('b', 'm', 'a', 'p'); in SkMakeResourceCacheSharedIDForBitmap() local 20 return (sharedID << 32) | bitmapGenID; in SkMakeResourceCacheSharedIDForBitmap()
|
/external/skia/tests/ |
D | ImageCacheTest.cpp | 17 TestingKey(intptr_t value, uint64_t sharedID = 0) : fValue(value) { in TestingKey() 18 this->init(&gGlobalAddress, sharedID, sizeof(fValue)); in TestingKey()
|
D | ImageTest.cpp | 327 const bool sharedID = (image->uniqueID() == bm.getGenerationID()); in DEF_TEST() local 328 REPORTER_ASSERT(reporter, sharedID == rec[i].fExpectSharedID); in DEF_TEST()
|