Searched defs:genID (Results 1 - 7 of 7) sorted by relevance
/external/skia/src/core/ |
H A D | SkDrawable.cpp | 17 int32_t genID; local 19 genID = sk_atomic_inc(&gCanvasDrawableGenerationID) + 1; 20 } while (0 == genID); 21 return genID;
|
H A D | SkYUVPlanesCache.cpp | 24 YUVPlanesKey(uint32_t genID) argument 25 : fGenID(genID) 27 this->init(&gYUVPlanesKeyNamespaceLabel, SkMakeResourceCacheSharedIDForBitmap(genID), 28 sizeof(genID)); 73 SkCachedData* SkYUVPlanesCache::FindAndRef(uint32_t genID, Info* info, argument 76 YUVPlanesKey key(genID); 85 void SkYUVPlanesCache::Add(uint32_t genID, SkCachedData* data, Info* info, argument 87 YUVPlanesKey key(genID);
|
H A D | SkPixelRef.cpp | 78 // This is subtle. We must call that.getGenerationID() to make sure its genID isn't 0. 79 uint32_t genID = that.getGenerationID(); local 83 this->fTaggedGenID.store(genID & ~1u); 84 that. fTaggedGenID.store(genID & ~1u); 252 // we need to be called *before* the genID gets changed or zerod 254 // We don't invalidate ourselves if we think another SkPixelRef is sharing our genID. 289 void SkPixelRef::setImmutableWithID(uint32_t genID) { argument 291 * We are forcing the genID to match an external value. The caller must ensure that this 297 fTaggedGenID.store(genID);
|
H A D | SkPath.cpp | 338 uint32_t genID = fPathRef->genID(); local 341 genID |= static_cast<uint32_t>(fFillType) << kPathRefGenIDBitCnt; 343 return genID;
|
/external/skia/tests/ |
H A D | YUVCacheTest.cpp | 42 const uint32_t genID = 12345678; local 44 SkCachedData* data = SkYUVPlanesCache::FindAndRef(genID, &yuvInfo, &cache); 51 SkYUVPlanesCache::Add(genID, data, &yuvInfo, &cache); 58 data = SkYUVPlanesCache::FindAndRef(genID, &yuvInfoRead, &cache);
|
/external/skia/src/gpu/ |
H A D | GrDrawOpAtlas.cpp | 55 GrDrawOpAtlas::Plot::Plot(int index, uint64_t genID, int offX, int offY, int width, int height, argument 60 , fGenID(genID)
|
H A D | GrDrawOpAtlas.h | 101 return fPlotArray[index]->genID() == GetGenerationFromID(id); 195 * genID() is incremented when the plot is evicted due to a atlas spill. It is used to know 198 uint64_t genID() const { return fGenID; } function in class:GrDrawOpAtlas::Plot 223 Plot(int index, uint64_t genID, int offX, int offY, int width, int height,
|
Completed in 900 milliseconds