/external/skqp/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 | 726 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST() 727 REPORTER_ASSERT(r, immut.pixelRef()->unique()); in DEF_TEST() 741 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST() 742 REPORTER_ASSERT(r, !immut.pixelRef()->unique()); in DEF_TEST() 746 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST() 747 REPORTER_ASSERT(r, immut.pixelRef()->unique()); in DEF_TEST()
|
/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 | 725 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST() 726 REPORTER_ASSERT(r, immut.pixelRef()->unique()); in DEF_TEST() 740 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST() 741 REPORTER_ASSERT(r, !immut.pixelRef()->unique()); in DEF_TEST() 745 REPORTER_ASSERT(r, mut.pixelRef()->unique()); in DEF_TEST() 746 REPORTER_ASSERT(r, immut.pixelRef()->unique()); in DEF_TEST()
|
/external/skia/src/gpu/ |
D | GrBitmapTextureMaker.cpp | 30 GrMakeKeyFromImageID(&fOriginalKey, bitmap.pixelRef()->getGenerationID(), subset); in GrBitmapTextureMaker() 65 fOriginalKey, proxyProvider->contextID(), fBitmap.pixelRef()); in refOriginalTextureProxy() 91 fBitmap.pixelRef()); in refOriginalTextureProxy() 111 GrInstallBitmapUniqueKeyInvalidator(copyKey, contextUniqueID, fBitmap.pixelRef()); in didCacheCopy()
|
D | SkGr.cpp | 135 SkPixelRef* pixelRef) { in GrInstallBitmapUniqueKeyInvalidator() argument 147 pixelRef->addGenIDChangeListener(new Invalidator(key, contextUniqueID)); in GrInstallBitmapUniqueKeyInvalidator() 252 bm->pixelRef()); in GrMakeCachedImageProxy()
|
D | SkGr.h | 227 SkPixelRef* pixelRef);
|
/external/skqp/src/gpu/ |
D | GrBitmapTextureMaker.cpp | 29 GrMakeKeyFromImageID(&fOriginalKey, bitmap.pixelRef()->getGenerationID(), subset); in GrBitmapTextureMaker() 64 fOriginalKey, proxyProvider->contextUniqueID(), fBitmap.pixelRef()); in refOriginalTextureProxy() 90 fBitmap.pixelRef()); in refOriginalTextureProxy() 110 GrInstallBitmapUniqueKeyInvalidator(copyKey, contextUniqueID, fBitmap.pixelRef()); in didCacheCopy()
|
D | SkGr.cpp | 133 SkPixelRef* pixelRef) { in GrInstallBitmapUniqueKeyInvalidator() argument 145 pixelRef->addGenIDChangeListener(new Invalidator(key, contextUniqueID)); in GrInstallBitmapUniqueKeyInvalidator() 250 bm->pixelRef()); in GrMakeCachedImageProxy()
|
D | SkGr.h | 225 SkPixelRef* pixelRef);
|
/external/skia/src/image/ |
D | SkImage_Raster.cpp | 29 SkASSERT(bm.pixelRef()); in is_not_subset() 30 SkISize dim = SkISize::Make(bm.pixelRef()->width(), bm.pixelRef()->height()); in is_not_subset() 91 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } in getPixelRef() 112 SkASSERT(fBitmap.pixelRef()); in notifyAddedToRasterCache() 113 fBitmap.pixelRef()->notifyAddedToCache(); in notifyAddedToRasterCache() 335 bitmap->setPixelRef(sk_ref_sp(fBitmap.pixelRef()), origin.x(), origin.y()); in onAsLegacyBitmap()
|
D | SkSurface_Raster.cpp | 115 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onNewImageSnapshot() 133 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onRestoreBackingMutability() 142 if (SkBitmapImageGetPixelRef(cached.get()) == fBitmap.pixelRef()) { in onCopyOnWrite()
|
/external/skqp/src/image/ |
D | SkImage_Raster.cpp | 29 SkASSERT(bm.pixelRef()); in is_not_subset() 30 SkISize dim = SkISize::Make(bm.pixelRef()->width(), bm.pixelRef()->height()); in is_not_subset() 91 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } in getPixelRef() 111 SkASSERT(fBitmap.pixelRef()); in notifyAddedToRasterCache() 112 fBitmap.pixelRef()->notifyAddedToCache(); in notifyAddedToRasterCache() 332 bitmap->setPixelRef(sk_ref_sp(fBitmap.pixelRef()), origin.x(), origin.y()); in onAsLegacyBitmap()
|
D | SkSurface_Raster.cpp | 115 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onNewImageSnapshot() 133 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onRestoreBackingMutability() 142 if (SkBitmapImageGetPixelRef(cached.get()) == fBitmap.pixelRef()) { in onCopyOnWrite()
|
/external/skia/include/core/ |
D | SkBitmap.h | 709 SkPixelRef* pixelRef() const { return fPixelRef.get(); } in pixelRef() function 737 void setPixelRef(sk_sp<SkPixelRef> pixelRef, int dx, int dy);
|
/external/skqp/include/core/ |
D | SkBitmap.h | 727 SkPixelRef* pixelRef() const { return fPixelRef.get(); } in pixelRef() function 755 void setPixelRef(sk_sp<SkPixelRef> pixelRef, int dx, int dy);
|
/external/skqp/src/core/ |
D | SkSpecialImage.cpp | 220 SkASSERT(bm.pixelRef()); in SkSpecialImage_Raster() 326 if (!bm.pixelRef()) { in MakeFromRaster() 349 if (!bm.pixelRef()) { in CopyFromRaster()
|
D | SkSpecialSurface.cpp | 99 return sk_make_sp<SkSpecialSurface_Raster>(bm.info(), sk_ref_sp(bm.pixelRef()), subset, props); in MakeFromBitmap()
|
/external/skia/src/core/ |
D | SkSpecialImage.cpp | 222 SkASSERT(bm.pixelRef()); in SkSpecialImage_Raster() 325 if (!bm.pixelRef()) { in MakeFromRaster() 348 if (!bm.pixelRef()) { in CopyFromRaster()
|
D | SkSpecialSurface.cpp | 99 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()
|
/external/skqp/gm/ |
D | imagemagnifier.cpp | 62 result.setPixelRef(sk_ref_sp(bitmap.pixelRef()), 0, 0); in make_img()
|
D | ninepatchstretch.cpp | 70 if (nullptr == fBitmap.pixelRef() || !fImage->isValid(canvas->getGrContext())) { in onDraw()
|
/external/skia/gm/ |
D | imagemagnifier.cpp | 62 result.setPixelRef(sk_ref_sp(bitmap.pixelRef()), 0, 0); in make_img()
|
D | ninepatchstretch.cpp | 70 if (nullptr == fBitmap.pixelRef() || !fImage->isValid(canvas->getGrContext())) { in onDraw()
|