Home
last modified time | relevance | path

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

/third_party/skia/tests/
DPixelRefTest.cpp73 sk_sp<SkPixelRef> pixelRef = SkMallocPixelRef::MakeAllocate(info, 0); in DEF_TEST() local
77 pixelRef->addGenIDChangeListener(sk_make_sp<TestListener>(&count)); in DEF_TEST()
82 pixelRef->notifyPixelsChanged(); in DEF_TEST()
86 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST()
89 pixelRef->notifyPixelsChanged(); in DEF_TEST()
93 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST()
94 pixelRef->addGenIDChangeListener(sk_make_sp<TestListener>(&count)); in DEF_TEST()
95 pixelRef->notifyPixelsChanged(); in DEF_TEST()
99 REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID()); in DEF_TEST()
101 pixelRef->addGenIDChangeListener(listener); in DEF_TEST()
[all …]
DPictureTest.cpp664 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST()
665 REPORTER_ASSERT(r, immut.pixelRef()->unique()); in DEF_TEST()
679 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST()
680 REPORTER_ASSERT(r, !immut.pixelRef()->unique()); in DEF_TEST()
684 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST()
685 REPORTER_ASSERT(r, immut.pixelRef()->unique()); in DEF_TEST()
/third_party/skia/docs/examples/
DBitmap_pixelRef.cpp9 SkDebugf("src ref %c= sub ref\n", source.pixelRef() == subset.pixelRef() ? '=' : '!'); in draw()
DBitmap_setPixelRef.cpp10 bitmap.setPixelRef(sk_ref_sp(source.pixelRef()), 5, 5); in draw()
/third_party/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()
92 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } in getPixelRef()
113 SkASSERT(fBitmap.pixelRef()); in notifyAddedToRasterCache()
114 fBitmap.pixelRef()->notifyAddedToCache(); in notifyAddedToRasterCache()
403 bitmap->setPixelRef(sk_ref_sp(fBitmap.pixelRef()), origin.x(), origin.y()); in onAsLegacyBitmap()
DSkSurface_Raster.cpp104 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onNewImageSnapshot()
122 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onRestoreBackingMutability()
131 if (SkBitmapImageGetPixelRef(cached.get()) == fBitmap.pixelRef()) { in onCopyOnWrite()
DSkImage.cpp471 if (!bm.pixelRef()) { in MakeFromBitmap()
/third_party/skia/include/core/
DSkBitmap.h701 SkPixelRef* pixelRef() const { return fPixelRef.get(); } in pixelRef() function
733 void setPixelRef(sk_sp<SkPixelRef> pixelRef, int dx, int dy);
/third_party/skia/src/core/
DSkSpecialImage.cpp190 SkASSERT(bm.pixelRef()); in SkSpecialImage_Raster()
274 if (!bm.pixelRef()) { in MakeFromRaster()
297 if (!bm.pixelRef()) { in CopyFromRaster()
DSkSpecialSurface.cpp100 return sk_make_sp<SkSpecialSurface_Raster>(bm.info(), sk_ref_sp(bm.pixelRef()), subset, props); in MakeFromBitmap()
DSkBitmapCache.cpp143 SkBitmapCache_setImmutableWithID(bitmap->pixelRef(), fPrUniqueID); in install()
/third_party/skia/gm/
Dimagemagnifier.cpp74 result.setPixelRef(sk_ref_sp(bitmap.pixelRef()), 0, 0); in make_img()
/third_party/skia/src/gpu/
DSkGr.cpp182 GrMakeKeyFromImageID(&key, bitmap.pixelRef()->getGenerationID(), subset); in GrMakeCachedBitmapProxyView()
189 bitmap.pixelRef()->addGenIDChangeListener(std::move(listener)); in GrMakeCachedBitmapProxyView()
/third_party/skia/src/android/
DSkAnimatedImage.cpp117 if (fBitmap.pixelRef()->unique()) { in init()
/third_party/skia/tools/
DToolUtils.cpp187 result.setPixelRef(sk_ref_sp(bitmap.pixelRef()), 0, 0); in create_string_bitmap()
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt217 SkPixelRef* pixelRef() const;
277 void setPixelRef(sk_sp<SkPixelRef> pixelRef, int dx, int dy);