/external/skia/tests/ |
image-bitmap.cpp | 24 REPORTER_ASSERT(r, a.getGenerationID() == b.getGenerationID()); 28 REPORTER_ASSERT(r, img->uniqueID() == bm.getGenerationID()); 32 REPORTER_ASSERT(r, imgA->uniqueID() != a.getGenerationID()); 33 REPORTER_ASSERT(r, imgB->uniqueID() != b.getGenerationID());
|
PixelRefTest.cpp | 85 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); 92 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); 98 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
|
DeviceTest.cpp | 51 SkASSERT(bm.getGenerationID() == special->uniqueID()); 60 SkASSERT(bm.getGenerationID() == special->uniqueID()); 95 SkASSERT(bm.getGenerationID() == special->uniqueID());
|
BitmapCopyTest.cpp | 270 REPORTER_ASSERT(reporter, copy.getGenerationID() != subset.getGenerationID()); 338 REPORTER_ASSERT(reporter, srcPremul.getGenerationID() == dst.getGenerationID()); 340 REPORTER_ASSERT(reporter, srcPremul.getGenerationID() != dst.getGenerationID());
|
PathTest.cpp | 374 REPORTER_ASSERT(reporter, a.getGenerationID() == b.getGenerationID()); 377 const uint32_t z = a.getGenerationID(); 378 REPORTER_ASSERT(reporter, z != b.getGenerationID()); 381 REPORTER_ASSERT(reporter, a.getGenerationID() == b.getGenerationID()); 384 const uint32_t y = a.getGenerationID(); 388 const uint32_t x = b.getGenerationID(); 392 REPORTER_ASSERT(reporter, b.getGenerationID() == y && a.getGenerationID() == x) [all...] |
ImageTest.cpp | 207 REPORTER_ASSERT(reporter, (bm.getGenerationID() == img->uniqueID()) == sameMutable); 216 REPORTER_ASSERT(reporter, (bm.getGenerationID() == img->uniqueID()) == sameImmutable); 386 const bool sharedID = (image->uniqueID() == bm.getGenerationID()); 429 REPORTER_ASSERT(reporter, cachedBitmap.getGenerationID() == uniqueID); [all...] |
/external/skia/include/core/ |
SkDrawable.h | 47 uint32_t getGenerationID(); 58 * the next time getGenerationID() is called. Typically this is called by the object itself,
|
SkPixelRef.h | 109 uint32_t getGenerationID() const; 126 * getGenerationID().
|
SkBitmap.h | 498 uint32_t getGenerationID() const; 502 getGenerationID(). [all...] |
SkPath.h | [all...] |
/frameworks/base/libs/hwui/ |
TextureCache.cpp | 107 texture->generation = bitmap->getGenerationID(); 158 } else if (!texture->isInUse && bitmap->getGenerationID() != texture->generation) { 162 texture->generation = bitmap->getGenerationID();
|
PathCache.cpp | 278 PathTexture* texture = new PathTexture(Caches::getInstance(), path->getGenerationID()); 340 mGarbage.push_back(path->getGenerationID()); 367 entry.shape.path.mGenerationID = path->getGenerationID(); 397 entry.shape.path.mGenerationID = path->getGenerationID(); 407 entry.shape.path.mGenerationID = path->getGenerationID(); 419 texture = new PathTexture(Caches::getInstance(), path->getGenerationID());
|
/frameworks/base/libs/hwui/tests/unit/ |
SkiaBehaviorTests.cpp | 60 uint32_t genId = bitmap.getGenerationID(); 62 EXPECT_NE(genId, bitmap.getGenerationID());
|
/external/skia/src/gpu/ |
GrBitmapTextureMaker.cpp | 26 GrMakeKeyFromImageID(&fOriginalKey, bitmap.pixelRef()->getGenerationID(), subset);
|
/external/skia/src/core/ |
SkDrawable.cpp | 56 uint32_t SkDrawable::getGenerationID() {
|
SkBitmapCache.cpp | 68 return { bm.getGenerationID(), scaledWidth, scaledHeight, get_bounds_from_bitmap(bm) }; 75 return { bm.getGenerationID(), 0, 0, get_bounds_from_bitmap(bm) }; 252 MipMapRec* rec = new MipMapRec(src.getGenerationID(), get_bounds_from_bitmap(src),
|
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(); 82 // (These & ~1u are actually redundant. that.getGenerationID() just did it for us.) 228 uint32_t SkPixelRef::getGenerationID() const { 262 SkNotifyBitmapGenIDIsStale(this->getGenerationID());
|
SkSpecialImage.cpp | 216 : INHERITED(subset, bm.getGenerationID(), props) 406 SkASSERT(dst->getGenerationID() == this->uniqueID());
|
SkPictureRecord.h | 265 uint32_t operator()(const SkPath& p) { return p.getGenerationID(); }
|
SkBitmap.cpp | 452 uint32_t SkBitmap::getGenerationID() const { 453 return fPixelRef ? fPixelRef->getGenerationID() : 0; [all...] |
/external/skia/src/image/ |
SkImage_Raster.cpp | 108 is_not_subset(bm) ? bm.getGenerationID() 234 fPinnedUniqueID = fBitmap.getGenerationID();
|
/external/skia/tools/debugger/ |
SkObjectParser.cpp | 58 mBitmap->appendS32(bitmap.getGenerationID()); 140 mPath->appendf("Path (%d) (", path.getGenerationID());
|
/external/skia/src/gpu/effects/ |
GrTextureStripAtlas.cpp | 98 int key = bitmap.getGenerationID();
|
/frameworks/base/core/jni/android/graphics/ |
Bitmap.cpp | 59 mGenerationId = mBitmap->getGenerationID(); 120 uint32_t getGenerationID() const { 122 return mBitmap->getGenerationID(); 970 return static_cast<jint>(bitmap->getGenerationID()); [all...] |
/external/skia/src/pdf/ |
SkPDFShader.cpp | [all...] |