Searched refs:pixelRef (Results 1 – 16 of 16) sorted by relevance
/third_party/skia/tests/ |
D | PixelRefTest.cpp | 73 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 …]
|
D | PictureTest.cpp | 664 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/ |
D | Bitmap_pixelRef.cpp | 9 SkDebugf("src ref %c= sub ref\n", source.pixelRef() == subset.pixelRef() ? '=' : '!'); in draw()
|
D | Bitmap_setPixelRef.cpp | 10 bitmap.setPixelRef(sk_ref_sp(source.pixelRef()), 5, 5); in draw()
|
/third_party/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() 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()
|
D | SkSurface_Raster.cpp | 104 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onNewImageSnapshot() 122 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onRestoreBackingMutability() 131 if (SkBitmapImageGetPixelRef(cached.get()) == fBitmap.pixelRef()) { in onCopyOnWrite()
|
D | SkImage.cpp | 471 if (!bm.pixelRef()) { in MakeFromBitmap()
|
/third_party/skia/include/core/ |
D | SkBitmap.h | 701 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/ |
D | SkSpecialImage.cpp | 190 SkASSERT(bm.pixelRef()); in SkSpecialImage_Raster() 274 if (!bm.pixelRef()) { in MakeFromRaster() 297 if (!bm.pixelRef()) { in CopyFromRaster()
|
D | SkSpecialSurface.cpp | 100 return sk_make_sp<SkSpecialSurface_Raster>(bm.info(), sk_ref_sp(bm.pixelRef()), subset, props); in MakeFromBitmap()
|
D | SkBitmapCache.cpp | 143 SkBitmapCache_setImmutableWithID(bitmap->pixelRef(), fPrUniqueID); in install()
|
/third_party/skia/gm/ |
D | imagemagnifier.cpp | 74 result.setPixelRef(sk_ref_sp(bitmap.pixelRef()), 0, 0); in make_img()
|
/third_party/skia/src/gpu/ |
D | SkGr.cpp | 182 GrMakeKeyFromImageID(&key, bitmap.pixelRef()->getGenerationID(), subset); in GrMakeCachedBitmapProxyView() 189 bitmap.pixelRef()->addGenIDChangeListener(std::move(listener)); in GrMakeCachedBitmapProxyView()
|
/third_party/skia/src/android/ |
D | SkAnimatedImage.cpp | 117 if (fBitmap.pixelRef()->unique()) { in init()
|
/third_party/skia/tools/ |
D | ToolUtils.cpp | 187 result.setPixelRef(sk_ref_sp(bitmap.pixelRef()), 0, 0); in create_string_bitmap()
|
/third_party/skia/tools/fiddle/ |
D | documumentation_examples_map.txt | 217 SkPixelRef* pixelRef() const; 277 void setPixelRef(sk_sp<SkPixelRef> pixelRef, int dx, int dy);
|