/external/skia/include/core/ |
D | SkBitmap.h | 243 … 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/ |
D | SkImageGenerator.cpp | 172 if (!bitmap->tryAllocPixels(allocator, ctable)) { in tryGenerateBitmap() 178 if (!bitmap->tryAllocPixels(nullptr, ctable)) { in tryGenerateBitmap() 190 if (!bitmap->tryAllocPixels(allocator, nullptr)) { in tryGenerateBitmap()
|
D | SkBitmap.cpp | 278 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()
|
D | SkImageCacherator.cpp | 104 if (!bitmap->tryAllocPixels(fInfo, nullptr, full.getColorTable())) { in generateBitmap() 168 if (!bitmap->tryAllocPixels(fInfo)) { in lockAsBitmap()
|
D | SkBitmapDevice.cpp | 103 if (!bitmap.tryAllocPixels(info)) { in Create() 110 if (!bitmap.tryAllocPixels(info, &factory, nullptr/*color table*/)) { in Create()
|
D | SkCanvas.cpp | 849 if (!bitmap->tryAllocPixels()) { in readPixels()
|
/external/skia/src/android/ |
D | SkBitmapRegionCanvas.cpp | 74 if (!tmp.tryAllocPixels(tmpInfo)) { in decodeRegion() 95 if (!bitmap->tryAllocPixels(allocator, nullptr)) { in decodeRegion()
|
D | SkBitmapRegionCodec.cpp | 103 if (!bitmap->tryAllocPixels(allocator, colorTable.get())) { in decodeRegion()
|
/external/skia/tests/ |
D | PathOpsConicIntersectionTest.cpp | 91 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writePng() 129 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writeDPng() 265 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writeFrames()
|
D | BitmapTest.cpp | 44 REPORTER_ASSERT(reporter, !bm.tryAllocPixels(info)); in test_bigalloc()
|
D | BitmapCopyTest.cpp | 392 if (src.tryAllocPixels(SkImageInfo::Make(localSubW, subH, gPairs[i].fColorType, in DEF_TEST()
|
/external/skia/src/lazy/ |
D | SkDiscardablePixelRef.cpp | 137 return dst->tryAllocPixels(); in SkDEPRECATED_InstallDiscardablePixelRef()
|
/external/skia/src/images/ |
D | SkImageDecoder.cpp | 105 return bitmap->tryAllocPixels(fAllocator, ctable); in allocPixelRef()
|
/external/skia/bench/ |
D | GLBench.cpp | 158 if (!bm.tryAllocPixels(SkImageInfo::MakeN32Premul(screenWidth, screenHeight))) { in DumpImage()
|
/external/skia/src/gpu/ |
D | SkGrPixelRef.cpp | 155 return bitmap->tryAllocPixels(); in tryAllocBitmapPixels()
|
D | GrSurface.cpp | 133 if (!bm.tryAllocPixels(SkImageInfo::MakeN32Premul(this->width(), this->height()))) { in savePixels()
|
/external/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 287 if (!tmp.tryAllocPixels(info)) { in SkCreateBitmapFromCGImage()
|
/external/skia/src/image/ |
D | SkImage.cpp | 316 if (!bitmap->tryAllocPixels(info)) { in onAsLegacyBitmap()
|
D | SkImage_Gpu.cpp | 58 if (!dst->tryAllocPixels(make_info(this->width(), this->height(), this->isOpaque()))) { in getROPixels()
|
/external/skia/fuzz/ |
D | fuzz.cpp | 155 if (!bitmap.tryAllocPixels(decodeInfo, &zeroFactory, colorTable.get())) { in fuzz_img()
|
/external/skia/dm/ |
D | DMSrcSink.cpp | 416 if (!bitmap.tryAllocPixels(decodeInfo, factory, colorTable.get())) { in draw() 697 if (!bitmap.tryAllocPixels(decodeInfo, nullptr, colorTable.get())) { in draw()
|
/external/skia/samplecode/ |
D | SampleFilterFuzz.cpp | 250 } while (!valid_for_raster_canvas(info) || !bitmap->tryAllocPixels(info)); in rand_bitmap_for_canvas()
|
D | SampleApp.cpp | 1021 if (bm.tryAllocPixels(canvas->imageInfo())) { in capture_bitmap()
|