Home
last modified time | relevance | path

Searched refs:SkInstallDiscardablePixelRef (Results 1 – 21 of 21) sorted by relevance

/external/skia/src/lazy/
DSkDiscardablePixelRef.cpp110 bool SkInstallDiscardablePixelRef(SkImageGenerator* generator, SkBitmap* dst, in SkInstallDiscardablePixelRef() function
136 bool SkInstallDiscardablePixelRef(SkImageGenerator* generator, SkBitmap* dst) { in SkInstallDiscardablePixelRef() function
137 return SkInstallDiscardablePixelRef(generator, dst, NULL); in SkInstallDiscardablePixelRef()
140 bool SkInstallDiscardablePixelRef(SkData* encoded, SkBitmap* dst) { in SkInstallDiscardablePixelRef() function
142 return generator ? SkInstallDiscardablePixelRef(generator, dst, NULL) : false; in SkInstallDiscardablePixelRef()
DSkDiscardablePixelRef.h64 friend bool SkInstallDiscardablePixelRef(SkImageGenerator*, SkBitmap*,
/external/skia/include/core/
DSkImageGenerator.h38 SK_API bool SkInstallDiscardablePixelRef(SkImageGenerator*, SkBitmap* destination);
44 SK_API bool SkInstallDiscardablePixelRef(SkData* encoded, SkBitmap* destination);
/external/skia/gm/
Detc1bitmap.cpp106 if (!SkInstallDiscardablePixelRef(fileData, &bm)) { in onDraw()
205 if (!SkInstallDiscardablePixelRef(nonPOTData, &bm)) { in onDraw()
Dfactory.cpp39 SkAssertResult(SkInstallDiscardablePixelRef(SkImageGenerator::NewFromData(data), in onOnceBeforeDraw()
Dastcbitmap.cpp79 if (!SkInstallDiscardablePixelRef(fileData, &bm)) { in onDraw()
/external/skia/src/core/
DSkImageGeneratorPriv.h36 bool SkInstallDiscardablePixelRef(SkImageGenerator*, SkBitmap* destination,
/external/skia/tests/
DImageDecodingTest.cpp397 bool success = SkInstallDiscardablePixelRef(encoded, &bm); in DEF_TEST()
432 if (SkInstallDiscardablePixelRef( in install_pixel_ref()
521 success = SkInstallDiscardablePixelRef( in test_options()
527 success = SkInstallDiscardablePixelRef( in test_options()
672 if (!SkInstallDiscardablePixelRef( in DEF_TEST()
DCachedDecodingPixelRefTest.cpp149 return SkInstallDiscardablePixelRef(encoded, dst); in install_skDiscardablePixelRef()
252 success = SkInstallDiscardablePixelRef(gen.detach(), &lazy, factory); in check_pixelref()
268 SkInstallDiscardablePixelRef(ig, &bm); in test_newlockdelete()
DJpegTest.cpp463 bool pixelsInstalled = SkInstallDiscardablePixelRef( in DEF_TEST()
DPDFJpegEmbedTest.cpp21 SkInstallDiscardablePixelRef(data, &bm); in bitmap_from_data()
DKtxTest.cpp154 SkInstallDiscardablePixelRef(fileData, &etcBitmap); in DEF_TEST()
DDrawBitmapRectTest.cpp36 bool installSuccess = SkInstallDiscardablePixelRef(SkNEW(FailureImageGenerator), &bm, pool); in test_faulty_pixelref()
DPictureTest.cpp874 bool installSuccess = SkInstallDiscardablePixelRef(data, &bm); in test_bitmap_with_encoded_data()
/external/skia/tools/
DLazyDecodeBitmap.cpp43 return SkInstallDiscardablePixelRef(gen.detach(), dst, pool); in LazyDecodeBitmap()
DResources.cpp30 return resourceData && SkInstallDiscardablePixelRef(resourceData, dst); in GetResourceAsBitmap()
/external/skia/samplecode/
DSamplePicture.cpp43 SkInstallDiscardablePixelRef(data, &bm); in load_bitmap()
DSampleEncode.cpp196 if (!SkInstallDiscardablePixelRef(encoded, &bm)) { in onDrawContent()
/external/skia/bench/
DETCBitmapBench.cpp154 if (!SkInstallDiscardablePixelRef(fPKMData, &(this->fBitmap))) { in onPreDraw()
/external/skia/src/image/
DSkImage_Raster.cpp175 if (!SkInstallDiscardablePixelRef(generator, &bitmap)) { in NewFromGenerator()
/external/skia/dm/
DDMSrcSink.cpp36 return encoded && SkInstallDiscardablePixelRef(encoded, dst); in lazy_decode_bitmap()