Home
last modified time | relevance | path

Searched refs:sharedID (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/core/
DSkResourceCache.h38 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);
DSkResourceCache.cpp32 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()
DSkBitmapCache.cpp19 uint64_t sharedID = SkSetFourByteTag('b', 'm', 'a', 'p'); in SkMakeResourceCacheSharedIDForBitmap() local
20 return (sharedID << 32) | bitmapGenID; in SkMakeResourceCacheSharedIDForBitmap()
/external/skia/tests/
DImageCacheTest.cpp17 TestingKey(intptr_t value, uint64_t sharedID = 0) : fValue(value) { in TestingKey()
18 this->init(&gGlobalAddress, sharedID, sizeof(fValue)); in TestingKey()
DImageTest.cpp327 const bool sharedID = (image->uniqueID() == bm.getGenerationID()); in DEF_TEST() local
328 REPORTER_ASSERT(reporter, sharedID == rec[i].fExpectSharedID); in DEF_TEST()