Home
last modified time | relevance | path

Searched refs:allocPixels (Results 1 – 25 of 217) sorted by relevance

123456789

/external/skqp/tests/
DBitmapTest.cpp36 bm.allocPixels(info); in test_peekpixels()
66 bm.allocPixels(); in test_allocpixels()
69 bm.allocPixels(info); in test_allocpixels()
74 bm.allocPixels(); in test_allocpixels()
77 bm.allocPixels(info, explicitRowBytes); in test_allocpixels()
84 bm.allocPixels(info, 0); in test_allocpixels()
121 bm.allocPixels(); in DEF_TEST()
157 bm.allocPixels(SkImageInfo::Make(1, 1, ct, kPremul_SkAlphaType)); in test_erasecolor_premul()
193 bm.allocPixels(SkImageInfo::Make(13, 17, ct, at)); in DEF_TEST()
209 bm.allocPixels(SkImageInfo::Make(1, 1, kRGBA_F16_SkColorType, kPremul_SkAlphaType)); in DEF_TEST()
[all …]
DCodecPartialTest.cpp40 dst->allocPixels(info); in create_truth()
83 incremental.allocPixels(info); in test_partial()
244 frame.allocPixels(info); in DEF_TEST()
293 frame.allocPixels(info); in DEF_TEST()
344 incremental.allocPixels(info); in test_interleaved()
357 full.allocPixels(info); in test_interleaved()
407 truth.allocPixels(info); in DEF_TEST()
419 bm.allocPixels(info); in DEF_TEST()
438 bm.allocPixels(info); in DEF_TEST()
483 bm.allocPixels(info); in DEF_TEST()
DPinnedImageTest.cpp22 bm.allocPixels(ii); in surface_is_expected_color()
41 bm.allocPixels(ii); in basic_test()
91 bm.allocPixels(ii); in cleanup_test()
DCodecTest.cpp93 bm.allocPixels(info); in test_info()
118 bm.allocPixels(info); in test_incremental_decode()
132 bm.allocPixels(info); in test_in_stripes()
176 bm.allocPixels(info); in test_codec()
192 bm565.allocPixels(info565); in test_codec()
221 grayBm.allocPixels(grayInfo); in test_codec()
411 bm.allocPixels(subsetInfo); in check()
454 bm.allocPixels(info); in check()
703 bm.allocPixels(); in DEF_TEST()
814 decodedBm.allocPixels(); in DEF_TEST()
[all …]
DAnimatedImageTest.cpp62 bm.allocPixels(SkImageInfo::MakeN32Premul(size.width(), size.height())); in DEF_TEST()
151 bm.allocPixels(temporarily_sanitize(imageInfo)); in DEF_TEST()
171 test.allocPixels(temporarily_sanitize(imageInfo)); in DEF_TEST()
217 bm.allocPixels(info); in DEF_TEST()
251 test.allocPixels(temporarily_sanitize(imageInfo)); in DEF_TEST()
DEncodedInfoTest.cpp24 bm.allocPixels(codec->getInfo().makeColorType(kAlpha_8_SkColorType).makeColorSpace(nullptr)); in DEF_TEST()
37 bm2.allocPixels(codec->getInfo().makeColorSpace(nullptr)); in DEF_TEST()
DRecordingXfermodeTest.cpp30 fCircleBM.allocPixels(SkImageInfo::MakeN32Premul(100, 100)); in Drawer()
81 fBitmap.allocPixels(imageInfo); in BitmapBackedCanvasStrategy()
104 fBitmap.allocPixels(imageInfo); in PictureStrategy()
/external/skia/tests/
DBitmapTest.cpp36 bm.allocPixels(info); in test_peekpixels()
66 bm.allocPixels(); in test_allocpixels()
69 bm.allocPixels(info); in test_allocpixels()
74 bm.allocPixels(); in test_allocpixels()
77 bm.allocPixels(info, explicitRowBytes); in test_allocpixels()
84 bm.allocPixels(info, 0); in test_allocpixels()
121 bm.allocPixels(); in DEF_TEST()
157 bm.allocPixels(SkImageInfo::Make(1, 1, ct, kPremul_SkAlphaType)); in test_erasecolor_premul()
193 bm.allocPixels(SkImageInfo::Make(13, 17, ct, at)); in DEF_TEST()
209 bm.allocPixels(SkImageInfo::Make(1, 1, kRGBA_F16_SkColorType, kPremul_SkAlphaType)); in DEF_TEST()
[all …]
DCodecPartialTest.cpp40 dst->allocPixels(info); in create_truth()
83 incremental.allocPixels(info); in test_partial()
244 frame.allocPixels(info); in DEF_TEST()
293 frame.allocPixels(info); in DEF_TEST()
344 incremental.allocPixels(info); in test_interleaved()
357 full.allocPixels(info); in test_interleaved()
407 truth.allocPixels(info); in DEF_TEST()
419 bm.allocPixels(info); in DEF_TEST()
438 bm.allocPixels(info); in DEF_TEST()
483 bm.allocPixels(info); in DEF_TEST()
DPinnedImageTest.cpp22 bm.allocPixels(ii); in surface_is_expected_color()
41 bm.allocPixels(ii); in basic_test()
91 bm.allocPixels(ii); in cleanup_test()
DCodecTest.cpp93 bm.allocPixels(info); in test_info()
118 bm.allocPixels(info); in test_incremental_decode()
132 bm.allocPixels(info); in test_in_stripes()
176 bm.allocPixels(info); in test_codec()
192 bm565.allocPixels(info565); in test_codec()
221 grayBm.allocPixels(grayInfo); in test_codec()
411 bm.allocPixels(subsetInfo); in check()
454 bm.allocPixels(info); in check()
703 bm.allocPixels(); in DEF_TEST()
814 decodedBm.allocPixels(); in DEF_TEST()
[all …]
DAnimatedImageTest.cpp62 bm.allocPixels(SkImageInfo::MakeN32Premul(info.width(), info.height())); in DEF_TEST()
140 bm.allocPixels(imageInfo); in DEF_TEST()
160 test.allocPixels(imageInfo); in DEF_TEST()
206 bm.allocPixels(info); in DEF_TEST()
240 test.allocPixels(imageInfo); in DEF_TEST()
DEncodedInfoTest.cpp24 bm.allocPixels(codec->getInfo().makeColorType(kAlpha_8_SkColorType).makeColorSpace(nullptr)); in DEF_TEST()
37 bm2.allocPixels(codec->getInfo().makeColorSpace(nullptr)); in DEF_TEST()
DRecordingXfermodeTest.cpp30 fCircleBM.allocPixels(SkImageInfo::MakeN32Premul(100, 100)); in Drawer()
81 fBitmap.allocPixels(imageInfo); in BitmapBackedCanvasStrategy()
104 fBitmap.allocPixels(imageInfo); in PictureStrategy()
/external/skqp/include/core/
DSkBitmap.h514 void allocPixels(const SkImageInfo& info, size_t rowBytes) { in allocPixels() function
550 void allocPixels(const SkImageInfo& info) { in allocPixels() function
551 this->allocPixels(info, info.minRowBytes()); in allocPixels()
595 this->allocPixels(info);
692 void allocPixels() { in allocPixels() function
693 this->allocPixels((Allocator*)nullptr); in allocPixels()
716 void allocPixels(Allocator* allocator) { in allocPixels() function
/external/skqp/bench/
DReadPixBench.cpp46 bitmap.allocPixels(SkImageInfo::MakeN32Premul(kWindowSize, kWindowSize)); in onDraw()
78 fSrc.allocPixels(info); in onDelayedSetup()
80 fDst.allocPixels(info.makeWH(info.height(), info.width())); in onDelayedSetup()
118 fBM.allocPixels(SkImageInfo::Make(1024, 1024, fCT, kPremul_SkAlphaType)); in onDelayedSetup()
DPremulAndUnpremulAlphaOpsBench.cpp33 fBmp1.allocPixels(info); // used in writePixels in onDelayedSetup()
42 fBmp2.allocPixels(info); // used in readPixels() in onDelayedSetup()
/external/skia/bench/
DReadPixBench.cpp46 bitmap.allocPixels(SkImageInfo::MakeN32Premul(kWindowSize, kWindowSize)); in onDraw()
78 fSrc.allocPixels(info); in onDelayedSetup()
80 fDst.allocPixels(info.makeWH(info.height(), info.width())); in onDelayedSetup()
118 fBM.allocPixels(SkImageInfo::Make(1024, 1024, fCT, kPremul_SkAlphaType)); in onDelayedSetup()
DPremulAndUnpremulAlphaOpsBench.cpp33 fBmp1.allocPixels(info); // used in writePixels in onDelayedSetup()
42 fBmp2.allocPixels(info); // used in readPixels() in onDelayedSetup()
/external/skqp/gm/
Dbitmapimage.cpp41 bitmap.allocPixels(codec->getInfo()); in onDraw()
48 legacyBMCanvas.allocPixels(linearInfo); in onDraw()
59 srgbBMCanvas.allocPixels(srgbInfo); in onDraw()
Dyuvtorgbeffect.cpp50 bmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
52 bmp[1].allocPixels(uinfo); in onOnceBeforeDraw()
54 bmp[2].allocPixels(vinfo); in onOnceBeforeDraw()
169 bmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
171 bmp[1].allocPixels(uvinfo); in onOnceBeforeDraw()
/external/skia/gm/
Dbitmapimage.cpp42 bitmap.allocPixels(codec->getInfo()); in onDraw()
49 legacyBMCanvas.allocPixels(linearInfo); in onDraw()
60 srgbBMCanvas.allocPixels(srgbInfo); in onDraw()
Dyuvtorgbeffect.cpp51 bmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
53 bmp[1].allocPixels(uinfo); in onOnceBeforeDraw()
55 bmp[2].allocPixels(vinfo); in onOnceBeforeDraw()
162 bmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
164 bmp[1].allocPixels(uvinfo); in onOnceBeforeDraw()
/external/skia/docs/
DSkBitmap_Reference.bmh77 allocPixels.
324 bitmap.allocPixels(SkImageInfo::MakeN32Premul(10, 11));
678 bitmap.allocPixels();
703 allocate ? bitmap.allocPixels() : (void) 0 ;
795 bitmap.allocPixels();
887 bitmap.allocPixels();
916 bitmap.allocPixels();
973 bitmap.allocPixels();
998 bitmap.allocPixels();
1025 bitmap.allocPixels();
[all …]
/external/skqp/docs/
DSkBitmap_Reference.bmh77 allocPixels.
324 bitmap.allocPixels(SkImageInfo::MakeN32Premul(10, 11));
678 bitmap.allocPixels();
703 allocate ? bitmap.allocPixels() : (void) 0 ;
795 bitmap.allocPixels();
887 bitmap.allocPixels();
916 bitmap.allocPixels();
973 bitmap.allocPixels();
998 bitmap.allocPixels();
1025 bitmap.allocPixels();
[all …]

123456789