/external/skia/include/core/ |
D | SkBitmap.h | 247 … bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo&, SkPixelRefFactory*, SkColorTable*); 250 if (!this->tryAllocPixels(info, factory, ctable)) { in allocPixels() 263 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info, size_t rowBytes); 266 if (!this->tryAllocPixels(info, rowBytes)) { in allocPixels() 271 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info) { in tryAllocPixels() function 272 return this->tryAllocPixels(info, info.minRowBytes()); in tryAllocPixels() 282 return this->tryAllocPixels(info); 374 bool SK_WARN_UNUSED_RESULT tryAllocPixels(SkColorTable* ctable = NULL) { 375 return this->tryAllocPixels(NULL, ctable); 400 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator, SkColorTable* ctable); [all …]
|
/external/skia/src/core/ |
D | SkImageGenerator.cpp | 131 if (!bitmap->tryAllocPixels(allocator, ctable.get())) { in tryGenerateBitmap() 137 if (!bitmap->tryAllocPixels(nullptr, ctable.get())) { in tryGenerateBitmap() 149 if (!bitmap->tryAllocPixels(allocator, nullptr)) { in tryGenerateBitmap()
|
D | SkBitmap.cpp | 313 bool SkBitmap::tryAllocPixels(Allocator* allocator, SkColorTable* ctable) { in tryAllocPixels() function in SkBitmap 324 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, size_t rowBytes) { in tryAllocPixels() function in SkBitmap 353 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, SkPixelRefFactory* factory, in tryAllocPixels() function in SkBitmap 786 if (!tmpDst.tryAllocPixels(alloc, ctable.get())) { in copyTo() 890 if (!tmpBitmap.tryAllocPixels(allocator, nullptr)) { in extractAlpha() 914 if (!tmpBitmap.tryAllocPixels(allocator, nullptr)) { in extractAlpha()
|
D | SkBlurImageFilter.cpp | 216 if (!tmp.tryAllocPixels(info) || !dst.tryAllocPixels(info)) { in onFilterImage()
|
D | SkBitmapDevice.cpp | 119 if (!bitmap.tryAllocPixels(info)) { in Create() 126 if (!bitmap.tryAllocPixels(info, &factory, nullptr/*color table*/)) { in Create()
|
D | SkImageCacherator.cpp | 160 if (!bitmap->tryAllocPixels(decodeInfo, nullptr, full.getColorTable())) { in generateBitmap() 244 if (!bitmap->tryAllocPixels(cacheInfo)) { in lockAsBitmap()
|
D | SkSpecialImage.cpp | 415 if (!dst->tryAllocPixels(info)) { in onGetROPixels()
|
/external/skia/samplecode/ |
D | DecodeFile.h | 31 if (!bitmap->tryAllocPixels(info)) {
|
D | SampleFilterFuzz.cpp | 247 } while (!valid_for_raster_canvas(info) || !bitmap->tryAllocPixels(info)); in rand_bitmap_for_canvas()
|
/external/skia/tests/ |
D | PathOpsConicIntersectionTest.cpp | 91 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writePng() 129 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writeDPng() 267 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writeFrames()
|
D | BitmapTest.cpp | 45 REPORTER_ASSERT(reporter, !bm.tryAllocPixels(info)); in test_bigalloc()
|
D | BitmapCopyTest.cpp | 421 if (src.tryAllocPixels(SkImageInfo::Make(localSubW, subH, gPairs[i].fColorType, in DEF_TEST()
|
/external/skia/tools/ |
D | Resources.cpp | 39 return dst->tryAllocPixels(gen->getInfo(), nullptr, ctable.get()) && in GetResourceAsBitmap()
|
/external/skia/src/android/ |
D | SkBitmapRegionCodec.cpp | 93 if (!bitmap->tryAllocPixels(allocator, colorTable.get())) { in decodeRegion()
|
/external/skia/bench/ |
D | GLBench.cpp | 180 if (!bm.tryAllocPixels(SkImageInfo::MakeN32Premul(screenWidth, screenHeight))) { in DumpImage()
|
/external/skia/src/effects/ |
D | SkMatrixConvolutionImageFilter.cpp | 256 if (!result.tryAllocPixels(info)) { in unpremultiply_bitmap() 362 if (!dst.tryAllocPixels(info)) { in onFilterImage()
|
D | SkAlphaThresholdFilter.cpp | 215 if (!dst.tryAllocPixels(info)) { in onFilterImage()
|
D | SkMorphologyImageFilter.cpp | 620 if (!dst.tryAllocPixels(info)) { in onFilterImage() 638 if (!tmp.tryAllocPixels(info)) { in onFilterImage()
|
D | SkMagnifierImageFilter.cpp | 401 if (!dst.tryAllocPixels(info)) { in onFilterImage()
|
/external/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 245 if (!tmp.tryAllocPixels(info)) { in SkCreateBitmapFromCGImage()
|
/external/skia/tools/skdiff/ |
D | skdiff_utils.cpp | 55 if (!resource.fBitmap.tryAllocPixels()) { in get_bitmap()
|
/external/skia/src/image/ |
D | SkImage.cpp | 240 if (!bitmap->tryAllocPixels(info)) { in onAsLegacyBitmap()
|
/external/skia/src/gpu/text/ |
D | GrAtlasGlyphCache.cpp | 129 if (!bm.tryAllocPixels(ii)) { in save_pixels()
|
/external/skia/fuzz/ |
D | FuzzDrawFunctions.cpp | 84 if (!bmp->tryAllocPixels(info)) { in init_bitmap()
|
D | fuzz.cpp | 231 if (!bitmap.tryAllocPixels(decodeInfo, &zeroFactory, colorTable.get())) { in fuzz_img()
|