/external/skia/src/core/ |
D | SkYUVPlanesCache.cpp | 24 YUVPlanesKey(uint32_t genID) in YUVPlanesKey() 25 : fGenID(genID) in YUVPlanesKey() 27 this->init(&gYUVPlanesKeyNamespaceLabel, SkMakeResourceCacheSharedIDForBitmap(genID), in YUVPlanesKey() 28 sizeof(genID)); in YUVPlanesKey() 73 SkCachedData* SkYUVPlanesCache::FindAndRef(uint32_t genID, Info* info, in FindAndRef() argument 76 YUVPlanesKey key(genID); in FindAndRef() 85 void SkYUVPlanesCache::Add(uint32_t genID, SkCachedData* data, Info* info, in Add() argument 87 YUVPlanesKey key(genID); in Add()
|
D | SkBitmapCache.cpp | 87 BitmapKey(uint32_t genID, int width, int height, const SkIRect& bounds) in BitmapKey() 88 : fGenID(genID) in BitmapKey() 119 BitmapRec(uint32_t genID, int width, int height, const SkIRect& bounds, in BitmapRec() 121 : fKey(genID, width, height, bounds) in BitmapRec() 185 bool SkBitmapCache::Find(uint32_t genID, const SkIRect& subset, SkBitmap* result, in Find() argument 187 BitmapKey key(genID, SK_Scalar1, SK_Scalar1, subset); in Find() 211 bool SkBitmapCache::Find(uint32_t genID, SkBitmap* result, SkResourceCache* localCache) { in Find() argument 212 BitmapKey key(genID, SK_Scalar1, SK_Scalar1, SkIRect::MakeEmpty()); in Find() 217 void SkBitmapCache::Add(uint32_t genID, const SkBitmap& result, SkResourceCache* localCache) { in Add() argument 220 BitmapRec* rec = new BitmapRec(genID, 1, 1, SkIRect::MakeEmpty(), result); in Add() [all …]
|
D | SkDrawable.cpp | 17 int32_t genID; in next_generation_id() local 19 genID = sk_atomic_inc(&gCanvasDrawableGenerationID) + 1; in next_generation_id() 20 } while (0 == genID); in next_generation_id() 21 return genID; in next_generation_id()
|
D | SkBitmapCache.h | 59 static bool Find(uint32_t genID, const SkIRect& subset, SkBitmap* result, 69 static bool Find(uint32_t genID, SkBitmap* result, SkResourceCache* localCache = nullptr); 71 static void Add(uint32_t genID, const SkBitmap&, SkResourceCache* localCache = nullptr);
|
D | SkPixelRef.cpp | 79 uint32_t genID = that.getGenerationID(); in cloneGenID() local 83 this->fTaggedGenID.store(genID & ~1u); in cloneGenID() 84 that. fTaggedGenID.store(genID & ~1u); in cloneGenID() 289 void SkPixelRef::setImmutableWithID(uint32_t genID) { in setImmutableWithID() argument 297 fTaggedGenID.store(genID); in setImmutableWithID()
|
D | SkYUVPlanesCache.h | 40 static SkCachedData* FindAndRef(uint32_t genID, Info* info, 46 static void Add(uint32_t genID, SkCachedData* data, Info* info,
|
D | SkPathRef.cpp | 453 uint32_t SkPathRef::genID() const { in genID() function in SkPathRef
|
D | SkPath.cpp | 330 uint32_t genID = fPathRef->genID(); in getGenerationID() local 333 genID |= static_cast<uint32_t>(fFillType) << kPathRefGenIDBitCnt; in getGenerationID() 335 return genID; in getGenerationID()
|
/external/skia/tests/ |
D | YUVCacheTest.cpp | 43 const uint32_t genID = 12345678; in DEF_TEST() local 45 SkCachedData* data = SkYUVPlanesCache::FindAndRef(genID, &yuvInfo, &cache); in DEF_TEST() 52 SkYUVPlanesCache::Add(genID, data, &yuvInfo, &cache); in DEF_TEST() 59 data = SkYUVPlanesCache::FindAndRef(genID, &yuvInfoRead, &cache); in DEF_TEST()
|
D | SkResourceCacheTest.cpp | 167 const uint32_t genID = src[i].getGenerationID(); in test_bitmap_notify() local 169 bool found = SkBitmapCache::Find(genID, subset, &result, cache); in test_bitmap_notify() 178 found = SkBitmapCache::Find(genID, subset, &result, cache); in test_bitmap_notify()
|
/external/skia/src/gpu/batches/ |
D | GrAADistanceFieldPathRenderer.h | 44 Key(uint32_t genID, uint32_t dim, const SkStrokeRec& stroke) in Key() 45 : fGenID(genID) in Key()
|
D | GrAADistanceFieldPathRenderer.cpp | 324 uint32_t genID, in addPathToAtlas() argument 417 pathData->fKey = PathData::Key(genID, dimension, stroke); in addPathToAtlas()
|
/external/skia/src/effects/ |
D | SkColorCubeFilter.cpp | 33 int32_t genID; in SkNextColorCubeUniqueID() local 35 genID = sk_atomic_inc(&gColorCubeUniqueID) + 1; in SkNextColorCubeUniqueID() 36 } while (0 == genID); in SkNextColorCubeUniqueID() 37 return genID; in SkNextColorCubeUniqueID()
|
/external/skia/src/gpu/ |
D | GrBatchAtlas.h | 64 return fPlotArray[index]->genID() == GetGenerationFromID(id); in hasID() 156 uint64_t genID() const { return fGenID; } in genID() function 185 BatchPlot(int index, uint64_t genID, int offX, int offY, int width, int height,
|
D | GrBatchAtlas.cpp | 16 GrBatchAtlas::BatchPlot::BatchPlot(int index, uint64_t genID, int offX, int offY, int width, in BatchPlot() argument 21 , fGenID(genID) in BatchPlot()
|
D | GrClipMaskManager.cpp | 331 int32_t genID = 0; in setupClipping() local 384 &genID, in setupClipping() 445 result.reset(this->createSoftwareClipMask(genID, in setupClipping() 451 result.reset(this->createAlphaClipMask(genID, in setupClipping() 475 genID, in setupClipping()
|
/external/skia/gm/ |
D | image_pict.cpp | 286 SkDEBUGCODE(const uint32_t genID = gen->uniqueID();) in makeCaches() 296 SkASSERT(fCache->uniqueID() == genID); in makeCaches() 297 SkASSERT(fCacheSubset->uniqueID() != genID); in makeCaches()
|
/external/skia/include/core/ |
D | SkPixelRef.h | 391 void setImmutableWithID(uint32_t genID);
|
D | SkPathRef.h | 281 uint32_t genID() const;
|
/external/skia/src/utils/ |
D | SkLua.cpp | 639 int32_t genID; in lcanvas_getReducedClipStack() local 647 &genID, in lcanvas_getReducedClipStack()
|