Searched refs:pixelRef (Results 1 – 18 of 18) sorted by relevance
/external/skia/tests/ |
D | PixelRefTest.cpp | 72 sk_sp<SkPixelRef> pixelRef = SkMallocPixelRef::MakeAllocate(info, 0); in DEF_TEST() local 76 pixelRef->addGenIDChangeListener(new TestListener(&count)); in DEF_TEST() 81 pixelRef->notifyPixelsChanged(); in DEF_TEST() 85 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST() 88 pixelRef->notifyPixelsChanged(); in DEF_TEST() 92 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST() 93 pixelRef->addGenIDChangeListener(new TestListener(&count)); in DEF_TEST() 94 pixelRef->notifyPixelsChanged(); in DEF_TEST() 98 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST() 99 pixelRef->addGenIDChangeListener(nullptr); in DEF_TEST() [all …]
|
D | PictureTest.cpp | 1023 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST() 1024 REPORTER_ASSERT(r, immut.pixelRef()->unique()); in DEF_TEST() 1038 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST() 1039 REPORTER_ASSERT(r, !immut.pixelRef()->unique()); in DEF_TEST() 1043 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST() 1044 REPORTER_ASSERT(r, immut.pixelRef()->unique()); in DEF_TEST()
|
/external/skia/src/gpu/ |
D | GrBitmapTextureMaker.cpp | 26 GrMakeKeyFromImageID(&fOriginalKey, bitmap.pixelRef()->getGenerationID(), subset); in GrBitmapTextureMaker() 55 GrInstallBitmapUniqueKeyInvalidator(fOriginalKey, fBitmap.pixelRef()); in refOriginalTextureProxy() 69 GrInstallBitmapUniqueKeyInvalidator(copyKey, fBitmap.pixelRef()); in didCacheCopy()
|
D | SkGr.cpp | 148 void GrInstallBitmapUniqueKeyInvalidator(const GrUniqueKey& key, SkPixelRef* pixelRef) { in GrInstallBitmapUniqueKeyInvalidator() argument 158 pixelRef->addGenIDChangeListener(new Invalidator(key)); in GrInstallBitmapUniqueKeyInvalidator() 242 GrMakeKeyFromImageID(&originalKey, bitmap.pixelRef()->getGenerationID(), subset); in GrMakeCachedBitmapProxy() 258 GrInstallBitmapUniqueKeyInvalidator(originalKey, bitmap.pixelRef()); in GrMakeCachedBitmapProxy()
|
D | SkGr.h | 264 void GrInstallBitmapUniqueKeyInvalidator(const GrUniqueKey& key, SkPixelRef* pixelRef);
|
/external/skia/src/image/ |
D | SkImage_Raster.cpp | 32 SkASSERT(bm.pixelRef()); in is_not_subset() 33 SkISize dim = SkISize::Make(bm.pixelRef()->width(), bm.pixelRef()->height()); in is_not_subset() 98 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } in getPixelRef() 361 bitmap->setPixelRef(sk_ref_sp(fBitmap.pixelRef()), in onAsLegacyBitmap()
|
D | SkSurface_Raster.cpp | 133 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onNewImageSnapshot() 147 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onRestoreBackingMutability() 156 if (SkBitmapImageGetPixelRef(cached.get()) == fBitmap.pixelRef()) { in onCopyOnWrite()
|
D | SkImage.cpp | 223 SkPixelRef* pr = bm.pixelRef(); in MakeFromBitmap()
|
D | SkImage_Lazy.cpp | 530 bitmap->pixelRef()->setImmutableWithID(uniqueID); in lockAsBitmap()
|
/external/skia/src/core/ |
D | SkBitmapCache.cpp | 36 if (!(bm.pixelRef())) { in get_bounds_from_bitmap() 229 SkBitmapCache_setImmutableWithID(bitmap->pixelRef(), fPrUniqueID); in install() 416 src.pixelRef()->notifyAddedToCache(); in AddAndRef()
|
D | SkSpecialSurface.cpp | 99 return sk_make_sp<SkSpecialSurface_Raster>(bm.info(), sk_ref_sp(bm.pixelRef()), subset, props); in MakeFromBitmap()
|
D | SkSpecialImage.cpp | 216 SkASSERT(bm.pixelRef()); in SkSpecialImage_Raster() 321 if (!bm.pixelRef()) { in MakeFromRaster()
|
D | SkBitmap.cpp | 811 str->appendf(" pixelref:%p", this->pixelRef()); in toString()
|
/external/skia/gm/ |
D | imagemagnifier.cpp | 64 result.setPixelRef(sk_ref_sp(bitmap.pixelRef()), 0, 0); in make_img()
|
D | ninepatchstretch.cpp | 73 if (nullptr == fBitmap.pixelRef()) { in onDraw()
|
D | matrixconvolution.cpp | 53 fBitmap.setPixelRef(sk_ref_sp(n32Bitmap.pixelRef()), 0, 0); in makeBitmap()
|
/external/skia/include/core/ |
D | SkBitmap.h | 439 SkPixelRef* pixelRef() const { return fPixelRef.get(); } in pixelRef() function
|
/external/skia/tools/ |
D | sk_tool_utils.cpp | 245 result.setPixelRef(sk_ref_sp(bitmap.pixelRef()), 0, 0); in create_string_bitmap()
|