HomeSort by relevance Sort by last modified time
    Searched refs:genID (Results 1 - 13 of 13) sorted by null

  /external/skia/src/core/
SkYUVPlanesCache.h 35 static SkCachedData* FindAndRef(uint32_t genID, Info* info,
41 static void Add(uint32_t genID, SkCachedData* data, Info* info,
SkYUVPlanesCache.cpp 24 YUVPlanesKey(uint32_t genID)
25 : fGenID(genID)
27 this->init(&gYUVPlanesKeyNamespaceLabel, SkMakeResourceCacheSharedIDForBitmap(genID),
28 sizeof(genID));
73 SkCachedData* SkYUVPlanesCache::FindAndRef(uint32_t genID, Info* info,
76 YUVPlanesKey key(genID);
85 void SkYUVPlanesCache::Add(uint32_t genID, SkCachedData* data, Info* info,
87 YUVPlanesKey key(genID);
SkDrawable.cpp 17 int32_t genID;
19 genID = sk_atomic_inc(&gCanvasDrawableGenerationID) + 1;
20 } while (0 == genID);
21 return genID;
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();
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) {
291 * We are forcing the genID to match an external value. The caller must ensure that this
297 fTaggedGenID.store(genID);
SkBitmapCache.h 42 static SkBitmapCacheDesc Make(uint32_t genID, int origWidth, int origHeight);
SkPath.cpp 338 uint32_t genID = fPathRef->genID();
341 genID |= static_cast<uint32_t>(fFillType) << kPathRefGenIDBitCnt;
343 return genID;
    [all...]
SkPathRef.cpp 573 uint32_t SkPathRef::genID() const {
599 // we need to be called *before* the genID gets changed or zerod
  /external/skia/tests/
YUVCacheTest.cpp 42 const uint32_t genID = 12345678;
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/
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; }
223 Plot(int index, uint64_t genID, int offX, int offY, int width, int height,
GrDrawOpAtlas.cpp 55 GrDrawOpAtlas::Plot::Plot(int index, uint64_t genID, int offX, int offY, int width, int height,
60 , fGenID(genID)
  /external/skia/include/core/
SkPixelRef.h 326 void setImmutableWithID(uint32_t genID);
SkPathRef.h 305 uint32_t genID() const;
369 /** Makes additional room but does not change the counts or change the genID */
526 kEmptyGenID = 1, // GenID reserved for path ref with zero points and zero verbs.
  /external/skia/gm/
image_pict.cpp 319 SkDEBUGCODE(const uint32_t genID = gen->uniqueID();)
329 SkASSERT(fCache->uniqueID() == genID);
330 SkASSERT(fCacheSubset->uniqueID() != genID);

Completed in 225 milliseconds