/third_party/flutter/skia/src/core/ |
D | SkResourceCache.h | 38 void init(void* nameSpace, uint64_t sharedID, size_t dataSize); 114 PurgeSharedIDMessage(uint64_t sharedID) : fSharedID(sharedID) {} in PurgeSharedIDMessage() 183 static void PostPurgeSharedID(uint64_t sharedID); 244 void purgeSharedID(uint64_t sharedID);
|
D | SkResourceCache.cpp | 42 void SkResourceCache::Key::init(void* nameSpace, uint64_t sharedID, size_t dataSize) { in init() argument 56 fSharedID_lo = (uint32_t)(sharedID & 0xFFFFFFFF); in init() 57 fSharedID_hi = (uint32_t)(sharedID >> 32); in init() 235 void SkResourceCache::purgeSharedID(uint64_t sharedID) { in purgeSharedID() argument 236 if (0 == sharedID) { in purgeSharedID() 249 if (rec->getKey().getSharedID() == sharedID) { in purgeSharedID() 538 void SkResourceCache::PostPurgeSharedID(uint64_t sharedID) { in PostPurgeSharedID() argument 539 if (sharedID) { in PostPurgeSharedID() 540 SkMessageBus<PurgeSharedIDMessage>::Post(PurgeSharedIDMessage(sharedID)); in PostPurgeSharedID()
|
D | SkBitmapCache.cpp | 20 uint64_t sharedID = SkSetFourByteTag('b', 'm', 'a', 'p'); in SkMakeResourceCacheSharedIDForBitmap() local 21 return (sharedID << 32) | bitmapGenID; in SkMakeResourceCacheSharedIDForBitmap()
|
/third_party/skia/src/core/ |
D | SkResourceCache.h | 38 void init(void* nameSpace, uint64_t sharedID, size_t dataSize); 114 PurgeSharedIDMessage(uint64_t sharedID) : fSharedID(sharedID) {} in PurgeSharedIDMessage() 184 static void PostPurgeSharedID(uint64_t sharedID); 245 void purgeSharedID(uint64_t sharedID);
|
D | SkResourceCache.cpp | 42 void SkResourceCache::Key::init(void* nameSpace, uint64_t sharedID, size_t dataSize) { in init() argument 56 fSharedID_lo = (uint32_t)(sharedID & 0xFFFFFFFF); in init() 57 fSharedID_hi = (uint32_t)(sharedID >> 32); in init() 237 void SkResourceCache::purgeSharedID(uint64_t sharedID) { in purgeSharedID() argument 238 if (0 == sharedID) { in purgeSharedID() 251 if (rec->getKey().getSharedID() == sharedID) { in purgeSharedID() 545 void SkResourceCache::PostPurgeSharedID(uint64_t sharedID) { in PostPurgeSharedID() argument 546 if (sharedID) { in PostPurgeSharedID() 547 SkMessageBus<PurgeSharedIDMessage, uint32_t>::Post(PurgeSharedIDMessage(sharedID)); in PostPurgeSharedID()
|
D | SkPicturePriv.h | 39 uint64_t sharedID = SkSetFourByteTag('p', 'i', 'c', 't'); in MakeSharedID() local 40 return (sharedID << 32) | pictureID; in MakeSharedID()
|
D | SkBitmapCache.cpp | 20 uint64_t sharedID = SkSetFourByteTag('b', 'm', 'a', 'p'); in SkMakeResourceCacheSharedIDForBitmap() local 21 return (sharedID << 32) | bitmapGenID; in SkMakeResourceCacheSharedIDForBitmap()
|
/third_party/flutter/skia/tests/ |
D | SkResourceCacheTest.cpp | 215 TestKey(int sharedID, int32_t data) : fData(data) { in TestKey() 216 this->init(&gTestNamespace, sharedID, sizeof(fData)); in TestKey() 229 TestRec(int sharedID, int32_t data, int* flagPtr) : fKey(sharedID, data), fFlags(flagPtr) { in TestRec() 244 int sharedID = 1; in test_duplicate_add() local 249 auto rec0 = skstd::make_unique<TestRec>(sharedID, data, &flags0); in test_duplicate_add() 250 auto rec1 = skstd::make_unique<TestRec>(sharedID, data, &flags1); in test_duplicate_add()
|
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 | 314 const bool sharedID = (image->uniqueID() == bm.getGenerationID()); in DEF_TEST() local 315 REPORTER_ASSERT(reporter, sharedID == rec[i].fExpectSharedID); in DEF_TEST()
|
/third_party/skia/tests/ |
D | SkResourceCacheTest.cpp | 215 TestKey(int sharedID, int32_t data) : fData(data) { in TestKey() 216 this->init(&gTestNamespace, sharedID, sizeof(fData)); in TestKey() 229 TestRec(int sharedID, int32_t data, int* flagPtr) : fKey(sharedID, data), fFlags(flagPtr) { in TestRec() 244 int sharedID = 1; in test_duplicate_add() local 249 auto rec0 = std::make_unique<TestRec>(sharedID, data, &flags0); in test_duplicate_add() 250 auto rec1 = std::make_unique<TestRec>(sharedID, data, &flags1); in test_duplicate_add()
|
D | PictureShaderTest.cpp | 69 uint64_t sharedID; in DEF_TEST() member 77 if (rec.getKey().getSharedID() == ((Data*)dataPtr)->sharedID) { in DEF_TEST()
|
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 | 321 const bool sharedID = (image->uniqueID() == bm.getGenerationID()); in DEF_TEST() local 322 REPORTER_ASSERT(reporter, sharedID == rec[i].fExpectSharedID); in DEF_TEST()
|
/third_party/flutter/skia/src/shaders/ |
D | SkPictureShader.cpp | 68 uint64_t sharedID = SkSetFourByteTag('p', 's', 'd', 'r'); in MakeSharedID() local 69 return (sharedID << 32) | shaderID; in MakeSharedID()
|