Home
last modified time | relevance | path

Searched refs:pixelRef (Results 1 – 18 of 18) sorted by relevance

/external/skia/tests/
DPixelRefTest.cpp72 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 …]
DPictureTest.cpp1023 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/
DGrBitmapTextureMaker.cpp26 GrMakeKeyFromImageID(&fOriginalKey, bitmap.pixelRef()->getGenerationID(), subset); in GrBitmapTextureMaker()
55 GrInstallBitmapUniqueKeyInvalidator(fOriginalKey, fBitmap.pixelRef()); in refOriginalTextureProxy()
69 GrInstallBitmapUniqueKeyInvalidator(copyKey, fBitmap.pixelRef()); in didCacheCopy()
DSkGr.cpp148 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()
DSkGr.h264 void GrInstallBitmapUniqueKeyInvalidator(const GrUniqueKey& key, SkPixelRef* pixelRef);
/external/skia/src/image/
DSkImage_Raster.cpp32 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()
DSkSurface_Raster.cpp133 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onNewImageSnapshot()
147 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onRestoreBackingMutability()
156 if (SkBitmapImageGetPixelRef(cached.get()) == fBitmap.pixelRef()) { in onCopyOnWrite()
DSkImage.cpp223 SkPixelRef* pr = bm.pixelRef(); in MakeFromBitmap()
DSkImage_Lazy.cpp530 bitmap->pixelRef()->setImmutableWithID(uniqueID); in lockAsBitmap()
/external/skia/src/core/
DSkBitmapCache.cpp36 if (!(bm.pixelRef())) { in get_bounds_from_bitmap()
229 SkBitmapCache_setImmutableWithID(bitmap->pixelRef(), fPrUniqueID); in install()
416 src.pixelRef()->notifyAddedToCache(); in AddAndRef()
DSkSpecialSurface.cpp99 return sk_make_sp<SkSpecialSurface_Raster>(bm.info(), sk_ref_sp(bm.pixelRef()), subset, props); in MakeFromBitmap()
DSkSpecialImage.cpp216 SkASSERT(bm.pixelRef()); in SkSpecialImage_Raster()
321 if (!bm.pixelRef()) { in MakeFromRaster()
DSkBitmap.cpp811 str->appendf(" pixelref:%p", this->pixelRef()); in toString()
/external/skia/gm/
Dimagemagnifier.cpp64 result.setPixelRef(sk_ref_sp(bitmap.pixelRef()), 0, 0); in make_img()
Dninepatchstretch.cpp73 if (nullptr == fBitmap.pixelRef()) { in onDraw()
Dmatrixconvolution.cpp53 fBitmap.setPixelRef(sk_ref_sp(n32Bitmap.pixelRef()), 0, 0); in makeBitmap()
/external/skia/include/core/
DSkBitmap.h439 SkPixelRef* pixelRef() const { return fPixelRef.get(); } in pixelRef() function
/external/skia/tools/
Dsk_tool_utils.cpp245 result.setPixelRef(sk_ref_sp(bitmap.pixelRef()), 0, 0); in create_string_bitmap()