Home
last modified time | relevance | path

Searched refs:tryAllocPixels (Results 1 – 23 of 23) sorted by relevance

/external/skia/include/core/
DSkBitmap.h243 … bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo&, SkPixelRefFactory*, SkColorTable*);
246 if (!this->tryAllocPixels(info, factory, ctable)) { in allocPixels()
259 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info, size_t rowBytes);
262 if (!this->tryAllocPixels(info, rowBytes)) { in allocPixels()
267 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info) { in tryAllocPixels() function
268 return this->tryAllocPixels(info, info.minRowBytes()); in tryAllocPixels()
278 return this->tryAllocPixels(info);
370 bool SK_WARN_UNUSED_RESULT tryAllocPixels(SkColorTable* ctable = NULL) {
371 return this->tryAllocPixels(NULL, ctable);
396 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator, SkColorTable* ctable);
[all …]
/external/skia/src/core/
DSkImageGenerator.cpp172 if (!bitmap->tryAllocPixels(allocator, ctable)) { in tryGenerateBitmap()
178 if (!bitmap->tryAllocPixels(nullptr, ctable)) { in tryGenerateBitmap()
190 if (!bitmap->tryAllocPixels(allocator, nullptr)) { in tryGenerateBitmap()
DSkBitmap.cpp278 bool SkBitmap::tryAllocPixels(Allocator* allocator, SkColorTable* ctable) { in tryAllocPixels() function in SkBitmap
289 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, size_t rowBytes) { in tryAllocPixels() function in SkBitmap
318 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, SkPixelRefFactory* factory, in tryAllocPixels() function in SkBitmap
886 if (!tmpDst.tryAllocPixels(alloc, ctable)) { in copyTo()
1057 if (!tmpBitmap.tryAllocPixels(allocator, nullptr)) { in extractAlpha()
1081 if (!tmpBitmap.tryAllocPixels(allocator, nullptr)) { in extractAlpha()
DSkImageCacherator.cpp104 if (!bitmap->tryAllocPixels(fInfo, nullptr, full.getColorTable())) { in generateBitmap()
168 if (!bitmap->tryAllocPixels(fInfo)) { in lockAsBitmap()
DSkBitmapDevice.cpp103 if (!bitmap.tryAllocPixels(info)) { in Create()
110 if (!bitmap.tryAllocPixels(info, &factory, nullptr/*color table*/)) { in Create()
DSkCanvas.cpp849 if (!bitmap->tryAllocPixels()) { in readPixels()
/external/skia/src/android/
DSkBitmapRegionCanvas.cpp74 if (!tmp.tryAllocPixels(tmpInfo)) { in decodeRegion()
95 if (!bitmap->tryAllocPixels(allocator, nullptr)) { in decodeRegion()
DSkBitmapRegionCodec.cpp103 if (!bitmap->tryAllocPixels(allocator, colorTable.get())) { in decodeRegion()
/external/skia/tests/
DPathOpsConicIntersectionTest.cpp91 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writePng()
129 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writeDPng()
265 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writeFrames()
DBitmapTest.cpp44 REPORTER_ASSERT(reporter, !bm.tryAllocPixels(info)); in test_bigalloc()
DBitmapCopyTest.cpp392 if (src.tryAllocPixels(SkImageInfo::Make(localSubW, subH, gPairs[i].fColorType, in DEF_TEST()
/external/skia/src/lazy/
DSkDiscardablePixelRef.cpp137 return dst->tryAllocPixels(); in SkDEPRECATED_InstallDiscardablePixelRef()
/external/skia/src/images/
DSkImageDecoder.cpp105 return bitmap->tryAllocPixels(fAllocator, ctable); in allocPixelRef()
/external/skia/bench/
DGLBench.cpp158 if (!bm.tryAllocPixels(SkImageInfo::MakeN32Premul(screenWidth, screenHeight))) { in DumpImage()
/external/skia/src/gpu/
DSkGrPixelRef.cpp155 return bitmap->tryAllocPixels(); in tryAllocBitmapPixels()
DGrSurface.cpp133 if (!bm.tryAllocPixels(SkImageInfo::MakeN32Premul(this->width(), this->height()))) { in savePixels()
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp287 if (!tmp.tryAllocPixels(info)) { in SkCreateBitmapFromCGImage()
/external/skia/src/image/
DSkImage.cpp316 if (!bitmap->tryAllocPixels(info)) { in onAsLegacyBitmap()
DSkImage_Gpu.cpp58 if (!dst->tryAllocPixels(make_info(this->width(), this->height(), this->isOpaque()))) { in getROPixels()
/external/skia/fuzz/
Dfuzz.cpp155 if (!bitmap.tryAllocPixels(decodeInfo, &zeroFactory, colorTable.get())) { in fuzz_img()
/external/skia/dm/
DDMSrcSink.cpp416 if (!bitmap.tryAllocPixels(decodeInfo, factory, colorTable.get())) { in draw()
697 if (!bitmap.tryAllocPixels(decodeInfo, nullptr, colorTable.get())) { in draw()
/external/skia/samplecode/
DSampleFilterFuzz.cpp250 } while (!valid_for_raster_canvas(info) || !bitmap->tryAllocPixels(info)); in rand_bitmap_for_canvas()
DSampleApp.cpp1021 if (bm.tryAllocPixels(canvas->imageInfo())) { in capture_bitmap()