Home
last modified time | relevance | path

Searched refs:pictureID (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/
DGrLayerCache.cpp15 SkASSERT(SK_InvalidGenID != fKey.pictureID()); in validate()
124 GrCachedLayer* GrLayerCache::createLayer(uint32_t pictureID, in createLayer() argument
132 SkASSERT(pictureID != SK_InvalidGenID && start >= 0 && stop > 0); in createLayer()
134 GrCachedLayer* layer = SkNEW_ARGS(GrCachedLayer, (pictureID, start, stop, in createLayer()
141 GrCachedLayer* GrLayerCache::findLayer(uint32_t pictureID, const SkMatrix& initialMat, in findLayer() argument
143 SkASSERT(pictureID != SK_InvalidGenID); in findLayer()
144 return fLayerHash.find(GrCachedLayer::Key(pictureID, initialMat, key, keySize)); in findLayer()
147 GrCachedLayer* GrLayerCache::findLayerOrCreate(uint32_t pictureID, in findLayerOrCreate() argument
155 SkASSERT(pictureID != SK_InvalidGenID && start >= 0 && stop > 0); in findLayerOrCreate()
156 GrCachedLayer* layer = fLayerHash.find(GrCachedLayer::Key(pictureID, initialMat, key, keySize)); in findLayerOrCreate()
[all …]
DGrLayerCache.h34 GrPictureInfo(uint32_t pictureID) : fPictureID(pictureID) { in GrPictureInfo()
80 Key(uint32_t pictureID, const SkMatrix& initialMat,
84 fIDMatrix.fPictureID = pictureID; in fKeySize()
116 uint32_t pictureID() const { return fIDMatrix.fPictureID; } in pictureID() function
146 GrCachedLayer(uint32_t pictureID, unsigned start, unsigned stop, in GrCachedLayer()
151 : fKey(pictureID, ctm, key, keySize, true) in GrCachedLayer()
164 SkASSERT(SK_InvalidGenID != pictureID); in GrCachedLayer()
180 uint32_t pictureID() const { return fKey.pictureID(); } in pictureID() function
293 GrCachedLayer* findLayer(uint32_t pictureID, const SkMatrix& ctm,
295 GrCachedLayer* findLayerOrCreate(uint32_t pictureID,
[all …]
/external/skia/tests/
DGpuLayerCacheTest.cpp21 static void Purge(GrLayerCache* cache, uint32_t pictureID) { in Purge() argument
22 cache->purge(pictureID); in Purge()
27 static GrCachedLayer* Find(GrLayerCache* cache, uint32_t pictureID, in Find() argument
30 return cache->findLayer(pictureID, initialMat, key, keySize); in Find()
57 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID()); in create_layers()
/external/skia/src/core/
DSkPictureShader.cpp27 BitmapShaderKey(uint32_t pictureID, in BitmapShaderKey()
33 : fPictureID(pictureID) in BitmapShaderKey()