Home
last modified time | relevance | path

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

12

/external/skia/include/core/
DSkBitmap.h247 … 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/
DSkImageGenerator.cpp131 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()
DSkBitmap.cpp313 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()
DSkBlurImageFilter.cpp216 if (!tmp.tryAllocPixels(info) || !dst.tryAllocPixels(info)) { in onFilterImage()
DSkBitmapDevice.cpp119 if (!bitmap.tryAllocPixels(info)) { in Create()
126 if (!bitmap.tryAllocPixels(info, &factory, nullptr/*color table*/)) { in Create()
DSkImageCacherator.cpp160 if (!bitmap->tryAllocPixels(decodeInfo, nullptr, full.getColorTable())) { in generateBitmap()
244 if (!bitmap->tryAllocPixels(cacheInfo)) { in lockAsBitmap()
DSkSpecialImage.cpp415 if (!dst->tryAllocPixels(info)) { in onGetROPixels()
/external/skia/samplecode/
DDecodeFile.h31 if (!bitmap->tryAllocPixels(info)) {
DSampleFilterFuzz.cpp247 } while (!valid_for_raster_canvas(info) || !bitmap->tryAllocPixels(info)); in rand_bitmap_for_canvas()
/external/skia/tests/
DPathOpsConicIntersectionTest.cpp91 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writePng()
129 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writeDPng()
267 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writeFrames()
DBitmapTest.cpp45 REPORTER_ASSERT(reporter, !bm.tryAllocPixels(info)); in test_bigalloc()
DBitmapCopyTest.cpp421 if (src.tryAllocPixels(SkImageInfo::Make(localSubW, subH, gPairs[i].fColorType, in DEF_TEST()
/external/skia/tools/
DResources.cpp39 return dst->tryAllocPixels(gen->getInfo(), nullptr, ctable.get()) && in GetResourceAsBitmap()
/external/skia/src/android/
DSkBitmapRegionCodec.cpp93 if (!bitmap->tryAllocPixels(allocator, colorTable.get())) { in decodeRegion()
/external/skia/bench/
DGLBench.cpp180 if (!bm.tryAllocPixels(SkImageInfo::MakeN32Premul(screenWidth, screenHeight))) { in DumpImage()
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp256 if (!result.tryAllocPixels(info)) { in unpremultiply_bitmap()
362 if (!dst.tryAllocPixels(info)) { in onFilterImage()
DSkAlphaThresholdFilter.cpp215 if (!dst.tryAllocPixels(info)) { in onFilterImage()
DSkMorphologyImageFilter.cpp620 if (!dst.tryAllocPixels(info)) { in onFilterImage()
638 if (!tmp.tryAllocPixels(info)) { in onFilterImage()
DSkMagnifierImageFilter.cpp401 if (!dst.tryAllocPixels(info)) { in onFilterImage()
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp245 if (!tmp.tryAllocPixels(info)) { in SkCreateBitmapFromCGImage()
/external/skia/tools/skdiff/
Dskdiff_utils.cpp55 if (!resource.fBitmap.tryAllocPixels()) { in get_bitmap()
/external/skia/src/image/
DSkImage.cpp240 if (!bitmap->tryAllocPixels(info)) { in onAsLegacyBitmap()
/external/skia/src/gpu/text/
DGrAtlasGlyphCache.cpp129 if (!bm.tryAllocPixels(ii)) { in save_pixels()
/external/skia/fuzz/
DFuzzDrawFunctions.cpp84 if (!bmp->tryAllocPixels(info)) { in init_bitmap()
Dfuzz.cpp231 if (!bitmap.tryAllocPixels(decodeInfo, &zeroFactory, colorTable.get())) { in fuzz_img()

12