Searched refs:getGenerationID (Results 1 - 25 of 28) sorted by relevance

12

/external/skia/tests/
H A Dimage-bitmap.cpp24 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());
H A DPixelRefTest.cpp85 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
92 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
98 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
H A DDeviceTest.cpp51 SkASSERT(bm.getGenerationID() == special->uniqueID());
60 SkASSERT(bm.getGenerationID() == special->uniqueID());
95 SkASSERT(bm.getGenerationID() == special->uniqueID());
H A DBitmapCopyTest.cpp270 REPORTER_ASSERT(reporter, copy.getGenerationID() != subset.getGenerationID());
338 REPORTER_ASSERT(reporter, srcPremul.getGenerationID() == dst.getGenerationID());
340 REPORTER_ASSERT(reporter, srcPremul.getGenerationID() != dst.getGenerationID());
H A DPathTest.cpp374 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()
[all...]
H A DImageTest.cpp207 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);
/external/skia/include/core/
H A DSkDrawable.h47 uint32_t getGenerationID();
58 * the next time getGenerationID() is called. Typically this is called by the object itself,
H A DSkPixelRef.h109 uint32_t getGenerationID() const;
126 * getGenerationID().
H A DSkBitmap.h498 uint32_t getGenerationID() const;
502 getGenerationID().
H A DSkPath.h1110 uint32_t getGenerationID() const;
/external/skia/src/gpu/
H A DGrBitmapTextureMaker.cpp26 GrMakeKeyFromImageID(&fOriginalKey, bitmap.pixelRef()->getGenerationID(), subset);
H A DGrShape.cpp415 fPathData.fGenID = this->path().getGenerationID();
H A DSkGr.cpp285 GrMakeKeyFromImageID(&originalKey, bitmap.pixelRef()->getGenerationID(), subset);
H A DSkGpuDevice.cpp895 if (this->shouldTileImageID(bitmap.getGenerationID(), bitmap.getSubset(), viewMatrix,
1268 if (this->shouldTileImageID(bitmap.getGenerationID(), bitmap.getSubset(), this->ctm(),
1294 bitmap.getGenerationID(),
/external/skia/src/core/
H A DSkDrawable.cpp56 uint32_t SkDrawable::getGenerationID() { function in class:SkDrawable
H A DSkBitmapCache.cpp68 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),
H A DSkPixelRef.cpp78 // 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 { function in class:SkPixelRef
262 SkNotifyBitmapGenIDIsStale(this->getGenerationID());
H A DSkSpecialImage.cpp216 : INHERITED(subset, bm.getGenerationID(), props)
406 SkASSERT(dst->getGenerationID() == this->uniqueID());
H A DSkPictureRecord.h265 uint32_t operator()(const SkPath& p) { return p.getGenerationID(); }
H A DSkBitmap.cpp452 uint32_t SkBitmap::getGenerationID() const { function in class:SkBitmap
453 return fPixelRef ? fPixelRef->getGenerationID() : 0;
H A DSkImageCacherator.cpp132 SkASSERT(bitmap.getGenerationID() == expectedID);
/external/skia/src/image/
H A DSkImage_Raster.cpp108 is_not_subset(bm) ? bm.getGenerationID()
234 fPinnedUniqueID = fBitmap.getGenerationID();
/external/skia/tools/debugger/
H A DSkObjectParser.cpp58 mBitmap->appendS32(bitmap.getGenerationID());
140 mPath->appendf("Path (%d) (", path.getGenerationID());
/external/skia/src/gpu/effects/
H A DGrTextureStripAtlas.cpp98 int key = bitmap.getGenerationID();
/external/skia/src/pdf/
H A DSkPDFShader.cpp964 (SkBitmapKey{image.getSubset(), image.getGenerationID()}));
1245 fBitmapKey = SkBitmapKey{imageDst->getSubset(), imageDst->getGenerationID()};
1290 fBitmapKey = SkBitmapKey{imageDst->getSubset(), imageDst->getGenerationID()};

Completed in 6276 milliseconds

12