Home
last modified time | relevance | path

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

1234

/external/skqp/include/core/
DSkBitmap.h496 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info, size_t rowBytes);
515 SkASSERT_RELEASE(this->tryAllocPixels(info, rowBytes)); in allocPixels()
532 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info) { in tryAllocPixels() function
533 return this->tryAllocPixels(info, info.minRowBytes()); in tryAllocPixels()
574 return this->tryAllocPixels(info);
681 bool SK_WARN_UNUSED_RESULT tryAllocPixels() { in tryAllocPixels() function
682 return this->tryAllocPixels((Allocator*)nullptr); in tryAllocPixels()
705 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator);
717 SkASSERT_RELEASE(this->tryAllocPixels(allocator)); in allocPixels()
/external/skia/include/core/
DSkBitmap.h494 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info, size_t rowBytes);
528 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info) { in tryAllocPixels() function
529 return this->tryAllocPixels(info, info.minRowBytes()); in tryAllocPixels()
667 bool SK_WARN_UNUSED_RESULT tryAllocPixels() { in tryAllocPixels() function
668 return this->tryAllocPixels((Allocator*)nullptr); in tryAllocPixels()
689 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator);
/external/skia/src/core/
DSkBitmap.cpp213 bool SkBitmap::tryAllocPixels(Allocator* allocator) { in tryAllocPixels() function in SkBitmap
225 return this->tryAllocPixels(info); in tryAllocN32Pixels()
239 SkASSERT_RELEASE(this->tryAllocPixels(allocator)); in allocPixels()
247 SkASSERT_RELEASE(this->tryAllocPixels(info, rowBytes)); in allocPixels()
256 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, size_t rowBytes) { in tryAllocPixels() function in SkBitmap
565 if (!tmpBitmap.tryAllocPixels(allocator)) { in extractAlpha()
589 if (!tmpBitmap.tryAllocPixels(allocator)) { in extractAlpha()
/external/skqp/src/android/
DSkAnimatedImage.cpp79 if (!fDecodingFrame.fBitmap.tryAllocPixels(fDecodeInfo)) { in SkAnimatedImage()
114 if (!tmp.tryAllocPixels(info)) { in init()
125 return fBitmap.tryAllocPixels(info); in init()
DSkBitmapRegionCodec.cpp81 if (!bitmap->tryAllocPixels(allocator)) { in decodeRegion()
/external/skia/src/android/
DSkAnimatedImage.cpp89 if (!fDecodingFrame.fBitmap.tryAllocPixels(fDecodeInfo)) { in SkAnimatedImage()
124 if (!tmp.tryAllocPixels(info)) { in init()
135 return fBitmap.tryAllocPixels(info); in init()
DSkBitmapRegionCodec.cpp81 if (!bitmap->tryAllocPixels(allocator)) { in decodeRegion()
/external/skia/docs/
DSkBitmap_Reference.bmh102 #SeeAlso SkBitmap::Allocator tryAllocPixels
149 if (original.tryAllocPixels(
178 if (original.tryAllocPixels(
221 if (original.tryAllocPixels(
250 if (original.tryAllocPixels(
286 if (!one.tryAllocPixels(
290 if (!two.tryAllocPixels(
857 if (original.tryAllocPixels(info)) {
945 if (original.tryAllocPixels(info)) {
1260 #SeeAlso allocPixelsFlags tryAllocPixels SkMallocPixelRef::MakeZeroed
[all …]
/external/skqp/docs/
DSkBitmap_Reference.bmh102 #SeeAlso SkBitmap::Allocator tryAllocPixels
149 if (original.tryAllocPixels(
178 if (original.tryAllocPixels(
221 if (original.tryAllocPixels(
250 if (original.tryAllocPixels(
286 if (!one.tryAllocPixels(
290 if (!two.tryAllocPixels(
857 if (original.tryAllocPixels(info)) {
945 if (original.tryAllocPixels(info)) {
1260 #SeeAlso allocPixelsFlags tryAllocPixels SkMallocPixelRef::MakeZeroed
[all …]
/external/skqp/src/core/
DSkBitmap.cpp213 bool SkBitmap::tryAllocPixels(Allocator* allocator) { in tryAllocPixels() function in SkBitmap
224 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, size_t rowBytes) { in tryAllocPixels() function in SkBitmap
533 if (!tmpBitmap.tryAllocPixels(allocator)) { in extractAlpha()
557 if (!tmpBitmap.tryAllocPixels(allocator)) { in extractAlpha()
/external/skqp/samplecode/
DDecodeFile.h30 if (!bitmap->tryAllocPixels(info)) {
/external/skia/samplecode/
DDecodeFile.h30 if (!bitmap->tryAllocPixels(info)) {
/external/skia/fuzz/oss_fuzz/
DFuzzIncrementalImage.cpp19 if (!bm.tryAllocPixels(codec->getInfo())) { in FuzzIncrementalImageDecode()
DFuzzAndroidCodec.cpp25 if (!bm.tryAllocPixels(info)) { in FuzzAndroidCodec()
/external/skqp/fuzz/oss_fuzz/
DFuzzIncrementalImage.cpp19 if (!bm.tryAllocPixels(codec->getInfo())) { in FuzzIncrementalImageDecode()
DFuzzAndroidCodec.cpp25 if (!bm.tryAllocPixels(info)) { in FuzzAndroidCodec()
/external/skqp/tests/
DPathOpsConicIntersectionTest.cpp91 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writePng()
129 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writeDPng()
267 bitmap.tryAllocPixels(SkImageInfo::MakeN32Premul( in writeFrames()
/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()
/external/skia/tools/
DResources.cpp34 return gen && dst->tryAllocPixels(gen->getInfo()) && in DecodeDataToBitmap()
/external/skqp/tools/
DResources.cpp34 return gen && dst->tryAllocPixels(gen->getInfo()) && in DecodeDataToBitmap()
/external/skqp/src/gpu/effects/
DGrRectBlurEffect.h38 if (!bitmap.tryAllocPixels(ii)) { in CreateBlurProfileTexture()
/external/skia/fuzz/
DFuzzEncoders.cpp31 if (!bm.tryAllocPixels(SkImageInfo::MakeN32Premul(w, h))) { in make_fuzzed_bitmap()
/external/skqp/fuzz/
DFuzzEncoders.cpp31 if (!bm.tryAllocPixels(SkImageInfo::MakeN32Premul(w, h))) { in make_fuzzed_bitmap()
/external/skia/src/gpu/effects/
DGrRectBlurEffect.h39 if (!bitmap.tryAllocPixels(ii)) { in CreateBlurProfileTexture()
/external/skia/src/gpu/text/
DGrAtlasManager.cpp108 if (!bm.tryAllocPixels(ii)) { in save_pixels()

1234