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

  /external/skia/src/core/
SkYUVPlanesCache.h 40 static SkCachedData* FindAndRef(uint32_t genID, Info* info,
46 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));
69 SkCachedData* SkYUVPlanesCache::FindAndRef(uint32_t genID, Info* info,
72 YUVPlanesKey key(genID);
81 void SkYUVPlanesCache::Add(uint32_t genID, SkCachedData* data, Info* info,
83 YUVPlanesKey key(genID);
SkDrawable.cpp 17 int32_t genID;
19 genID = sk_atomic_inc(&gCanvasDrawableGenerationID) + 1;
20 } while (0 == genID);
21 return genID;
SkBitmapCache.cpp 51 BitmapKey(uint32_t genID, SkScalar sx, SkScalar sy, const SkIRect& bounds)
52 : fGenID(genID)
57 this->init(&gBitmapKeyNamespaceLabel, SkMakeResourceCacheSharedIDForBitmap(genID),
68 BitmapRec(uint32_t genID, SkScalar scaleX, SkScalar scaleY, const SkIRect& bounds,
70 : fKey(genID, scaleX, scaleY, bounds)
119 bool SkBitmapCache::Find(uint32_t genID, const SkIRect& subset, SkBitmap* result,
121 BitmapKey key(genID, SK_Scalar1, SK_Scalar1, subset);
153 MipMapKey(uint32_t genID, const SkIRect& bounds) : fGenID(genID), fBounds(bounds) {
154 this->init(&gMipMapKeyNamespaceLabel, SkMakeResourceCacheSharedIDForBitmap(genID),
    [all...]
SkPixelRef.cpp 62 uint32_t genID;
65 genID = sk_atomic_fetch_add(&gNextGenID, 2u) + 2; // Never set the low bit.
66 } while (0 == genID);
67 return genID;
130 // This is subtle. We must call that.getGenerationID() to make sure its genID isn't 0.
131 uint32_t genID = that.getGenerationID();
135 this->fTaggedGenID.store(genID & ~1u);
136 that. fTaggedGenID.store(genID & ~1u);
234 // we need to be called *before* the genID gets changed or zerod
236 // We don't invalidate ourselves if we think another SkPixelRef is sharing our genID
    [all...]
SkBitmapCache.h 43 * Search based on the bitmap's genID and subset. If found, returns true and
46 static bool Find(uint32_t genID, const SkIRect& subset, SkBitmap* result,
SkPathRef.cpp 218 // We've done the work to determine that these are equal. If either has a zero genID, copy
219 // the other's. If both are 0 then genID() will compute the next ID.
221 fGenerationID = ref.genID();
223 ref.fGenerationID = this->genID();
272 // We could call genID() here to force a real ID (instead of 0). However, if we're making
421 uint32_t SkPathRef::genID() const {
SkPath.cpp 295 uint32_t genID = fPathRef->genID();
298 genID |= static_cast<uint32_t>(fFillType) << kPathRefGenIDBitCnt;
300 return genID;
    [all...]
  /external/skia/tests/
YUVCacheTest.cpp 43 const uint32_t genID = 12345678;
45 SkCachedData* data = SkYUVPlanesCache::FindAndRef(genID, &yuvInfo, &cache);
52 SkYUVPlanesCache::Add(genID, data, &yuvInfo, &cache);
59 data = SkYUVPlanesCache::FindAndRef(genID, &yuvInfoRead, &cache);
SkResourceCacheTest.cpp 224 const uint32_t genID = src[i].getGenerationID();
226 bool found = SkBitmapCache::Find(genID, subset, &result, cache);
235 found = SkBitmapCache::Find(genID, subset, &result, cache);
  /external/skia/src/pipe/
SkGPipePriv.h 164 BitmapInfo(SkBitmap* bitmap, uint32_t genID, int toBeDrawnCount)
166 , fGenID(genID)
  /external/skia/src/effects/
SkColorCubeFilter.cpp 30 int32_t genID;
32 genID = sk_atomic_inc(&gColorCubeUniqueID) + 1;
33 } while (0 == genID);
34 return genID;
  /external/skia/src/gpu/
GrBatchAtlas.cpp 39 // index() refers to the index of the plot in the owning GrAtlas's plot array. genID() is a
41 // wiped, or when the plot itself is evicted from the atlas(ie, there is continuity in genID()
44 int genID() const { return fGenID; }
334 int generation = plot->genID();
357 return fPlotArray[index]->genID() == GetGenerationFromID(id);
GrClipMaskManager.cpp 220 int32_t genID = 0;
256 &genID,
311 result = this->createSoftwareClipMask(genID,
317 result = this->createAlphaClipMask(genID,
347 genID,
    [all...]
SkGr.cpp 127 uint32_t genID = bitmap.getGenerationID();
134 builder[0] = genID;
160 // When the SkPixelRef genID changes, invalidate a corresponding GrResource described by key.
  /external/skia/include/core/
SkPathRef.h 254 uint32_t genID() const;
310 /** Makes additional room but does not change the counts or change the genID */
452 kEmptyGenID = 1, // GenID reserved for path ref with zero points and zero verbs.
  /external/skia/src/utils/
SkLua.cpp 638 int32_t genID;
646 &genID,
    [all...]

Completed in 604 milliseconds