Home
last modified time | relevance | path

Searched refs:getGenerationID (Results 1 – 25 of 39) sorted by relevance

12

/external/skia/tests/
DPixelRefTest.cpp85 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST()
92 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST()
98 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST()
DSkResourceCacheTest.cpp54 uint32_t cachedID = cachedBitmap.getGenerationID(); in DEF_TEST()
167 const uint32_t genID = src[i].getGenerationID(); in test_bitmap_notify()
215 REPORTER_ASSERT(reporter, SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, &bm, in testBitmapCache_discarded_bitmap()
219 REPORTER_ASSERT(reporter, SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, &bm, in testBitmapCache_discarded_bitmap()
229 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, in testBitmapCache_discarded_bitmap()
241 REPORTER_ASSERT(reporter, SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, &bm, in testBitmapCache_discarded_bitmap()
DBitmapCopyTest.cpp243 REPORTER_ASSERT(reporter, copy.getGenerationID() != subset.getGenerationID()); in DEF_TEST()
309 REPORTER_ASSERT(reporter, srcPremul.getGenerationID() == dst.getGenerationID()); in DEF_TEST()
311 REPORTER_ASSERT(reporter, srcPremul.getGenerationID() != dst.getGenerationID()); in DEF_TEST()
DPathTest.cpp240 REPORTER_ASSERT(reporter, a.getGenerationID() == b.getGenerationID()); in test_gen_id()
243 const uint32_t z = a.getGenerationID(); in test_gen_id()
244 REPORTER_ASSERT(reporter, z != b.getGenerationID()); in test_gen_id()
247 REPORTER_ASSERT(reporter, a.getGenerationID() == b.getGenerationID()); in test_gen_id()
250 const uint32_t y = a.getGenerationID(); in test_gen_id()
254 const uint32_t x = b.getGenerationID(); in test_gen_id()
258 REPORTER_ASSERT(reporter, b.getGenerationID() == y && a.getGenerationID() == x); in test_gen_id()
261 REPORTER_ASSERT(reporter, b.getGenerationID() == x); in test_gen_id()
264 REPORTER_ASSERT(reporter, c.getGenerationID() == x); in test_gen_id()
267 const uint32_t w = c.getGenerationID(); in test_gen_id()
[all …]
/external/skia/src/core/
DSkPixelRef.cpp79 uint32_t genID = that.getGenerationID(); in cloneGenID()
228 uint32_t SkPixelRef::getGenerationID() const { in getGenerationID() function in SkPixelRef
262 SkNotifyBitmapGenIDIsStale(this->getGenerationID()); in callGenIDChangeListeners()
DSkBitmapCache.cpp58 desc.fImageID = bm.getGenerationID(); in Make()
203 BitmapRec* rec = new BitmapRec(pr->getGenerationID(), 1, 1, subset, result); in Add()
244 : fKey(src.getGenerationID(), get_bounds_from_bitmap(src)) in MipMapRec()
DSkBitmapProvider.cpp21 return fImage ? fImage->uniqueID() : fBitmap.getGenerationID(); in getID()
DSkDrawable.cpp56 uint32_t SkDrawable::getGenerationID() { in getGenerationID() function in SkDrawable
DSkSpecialImage.cpp67 src.getGenerationID(), in internal_fromBM()
178 : INHERITED(proxy, subset, bm.getGenerationID()) in SkSpecialImage_Raster()
DSkBitmapHeap.h214 : fGenerationId(bm.getGenerationID()) in LookupEntry()
DSkPictureRecord.h231 uint32_t operator()(const SkPath& p) { return p.getGenerationID(); } in operator()
DSkBitmapHeap.cpp165 if (replacement.getGenerationID() == iter->fGenerationId) { in findEntryToReplace()
DSkImageCacherator.cpp78 SkASSERT(bitmap.getGenerationID() == expectedID); in check_output_bitmap()
DSkWriteBuffer.cpp182 fWriter.write32(bitmap.getGenerationID()); in writeBitmap()
/external/skia/src/gpu/
DGrImageIDTextureAdjuster.cpp35 GrMakeKeyFromImageID(&baseKey, fBmp->getGenerationID(), in makeCopyKey()
80 GrMakeKeyFromImageID(&fOriginalKey, bitmap.pixelRef()->getGenerationID(), subset); in GrBitmapTextureMaker()
DSkGrPixelRef.cpp181 if(!SkBitmapCache::Find(this->getGenerationID(), bounds, dst)) { in onReadPixels()
DGrPath.cpp168 builder[0] = path.getGenerationID(); in compute_key_for_general_path()
/external/skia/include/core/
DSkDrawable.h45 uint32_t getGenerationID();
DSkPixelRef.h110 uint32_t getGenerationID() const;
/external/skia/src/image/
DSkImage_Raster.cpp85 : INHERITED(bm.width(), bm.height(), bm.getGenerationID()) in SkImage_Raster()
127 : INHERITED(info.width(), info.height(), pr->getGenerationID()) in SkImage_Raster()
DSkImage.cpp298 return new SkImage_Gpu(info.width(), info.height(), bm.getGenerationID(), info.alphaType(), in NewFromBitmap()
/external/skia/src/pdf/
DSkPDFCanon.h25 : fSubset(bm.getSubset()), fGenID(bm.getGenerationID()) {} in SkBitmapKey()
/external/skia/tools/debugger/
DSkObjectParser.cpp58 mBitmap->appendS32(bitmap.getGenerationID()); in BitmapToString()
140 mPath->appendf("Path (%d) (", path.getGenerationID()); in PathToString()
/external/skia/src/gpu/batches/
DGrTessellatingPathRenderer.cpp153 builder[0] = fPath.getGenerationID(); in onPrepareDraws()
/external/skia/src/gpu/effects/
DGrTextureStripAtlas.cpp97 int key = data.getGenerationID(); in lockRow()

12