Home
last modified time | relevance | path

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

12345678910>>...14

/third_party/skia/tests/
DNdkDecodeTest.cpp53 bm.allocPixels(info); in DEF_TEST()
58 bm.allocPixels(unpremulInfo); in DEF_TEST()
88 bm.allocPixels(SkImageInfo::Make(10, 10, kRGBA_F16_SkColorType, kOpaque_SkAlphaType, cs)); in DEF_TEST()
134 bm.allocPixels(info); in DEF_TEST()
175 bm.allocPixels(info); in DEF_TEST()
208 orig.allocPixels(noColorCorrection); in DEF_TEST()
212 corrected.allocPixels(noColorCorrection.makeColorSpace(rec.fCorrectedColorSpace)); in DEF_TEST()
218 reuse.allocPixels(noColorCorrection); in DEF_TEST()
250 bm.allocPixels(info); in DEF_TEST()
279 bm.allocPixels(info); in DEF_TEST()
[all …]
DBitmapTest.cpp40 bm.allocPixels(info); in test_peekpixels()
70 bm.allocPixels(); in test_allocpixels()
73 bm.allocPixels(info); in test_allocpixels()
78 bm.allocPixels(); in test_allocpixels()
81 bm.allocPixels(info, explicitRowBytes); in test_allocpixels()
88 bm.allocPixels(info, 0); in test_allocpixels()
158 bm.allocPixels(); in DEF_TEST()
194 bm.allocPixels(SkImageInfo::Make(1, 1, ct, kPremul_SkAlphaType)); in test_erasecolor_premul()
219 bm.allocPixels(SkImageInfo::Make(13, 17, ct, at)); in DEF_TEST()
235 bm.allocPixels(SkImageInfo::Make(1, 1, kRGBA_F16_SkColorType, kPremul_SkAlphaType)); in DEF_TEST()
[all …]
DPremulAlphaRoundTripTest.cpp70 readBmp1.allocPixels(info); in test_premul_alpha_roundtrip()
72 readBmp2.allocPixels(info); in test_premul_alpha_roundtrip()
176 SkBitmap src; src.allocPixels(upmInfo); in DEF_TEST()
189 SkBitmap surf; surf.allocPixels(pmInfo); in DEF_TEST()
192 SkBitmap read1; read1.allocPixels(upmInfo); in DEF_TEST()
195 SkBitmap surf2; surf2.allocPixels(pmInfo); in DEF_TEST()
198 SkBitmap read2; read2.allocPixels(upmInfo); in DEF_TEST()
DCodecPartialTest.cpp41 dst->allocPixels(info); in create_truth()
84 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()
DNdkEncodeTest.cpp50 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType)); in DEF_TEST()
72 bm2.allocPixels(bm.info()); in DEF_TEST()
101 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType)); in DEF_TEST()
122 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType)); in DEF_TEST()
192 bm.allocPixels(info); in DEF_TEST()
200 bm.allocPixels(info); in DEF_TEST()
283 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType, colorSpace.cs)); in DEF_TEST()
347 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType, unsupported)); in DEF_TEST()
DPinnedImageTest.cpp24 bm.allocPixels(ii); in surface_is_expected_color()
43 bm.allocPixels(ii); in basic_test()
93 bm.allocPixels(ii); in cleanup_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()
DWebpTest.cpp28 premulBm.allocPixels(premulInfo); in DEF_TEST()
29 changeBm.allocPixels(premulInfo); // The SkBitmap's SkAlphaType is unrelated to the bug. in DEF_TEST()
/third_party/flutter/skia/tests/
DBitmapTest.cpp40 bm.allocPixels(info); in test_peekpixels()
70 bm.allocPixels(); in test_allocpixels()
73 bm.allocPixels(info); in test_allocpixels()
78 bm.allocPixels(); in test_allocpixels()
81 bm.allocPixels(info, explicitRowBytes); in test_allocpixels()
88 bm.allocPixels(info, 0); in test_allocpixels()
125 bm.allocPixels(); in DEF_TEST()
161 bm.allocPixels(SkImageInfo::Make(1, 1, ct, kPremul_SkAlphaType)); in test_erasecolor_premul()
197 bm.allocPixels(SkImageInfo::Make(13, 17, ct, at)); in DEF_TEST()
213 bm.allocPixels(SkImageInfo::Make(1, 1, kRGBA_F16_SkColorType, kPremul_SkAlphaType)); in DEF_TEST()
[all …]
DCodecPartialTest.cpp42 dst->allocPixels(info); in create_truth()
85 incremental.allocPixels(info); in test_partial()
245 frame.allocPixels(info); in DEF_TEST()
294 frame.allocPixels(info); in DEF_TEST()
345 incremental.allocPixels(info); in test_interleaved()
358 full.allocPixels(info); in test_interleaved()
408 truth.allocPixels(info); in DEF_TEST()
420 bm.allocPixels(info); in DEF_TEST()
439 bm.allocPixels(info); in DEF_TEST()
484 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()
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()
/third_party/skia/gm/
Dskbug_9819.cpp19 rgba.allocPixels(info.makeColorType(kRGBA_8888_SkColorType));
20 bgra.allocPixels(info.makeColorType(kBGRA_8888_SkColorType));
34 bm.allocPixels(SkImageInfo::Make(1,1, in __anond8f173480102()
Dunpremul.cpp25 bm.allocPixels(SkImageInfo::Make(1,1, in __anon5ee5e08a0102()
70 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType));
/third_party/flutter/skia/gm/
Dbitmapimage.cpp52 bitmap.allocPixels(codec->getInfo()); in onDraw()
59 legacyBMCanvas.allocPixels(linearInfo); in onDraw()
70 srgbBMCanvas.allocPixels(srgbInfo); in onDraw()
Dyuvtorgbeffect.cpp72 bmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
74 bmp[1].allocPixels(uinfo); in onOnceBeforeDraw()
76 bmp[2].allocPixels(vinfo); in onOnceBeforeDraw()
183 bmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
185 bmp[1].allocPixels(uvinfo); in onOnceBeforeDraw()
297 bmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
299 bmp[1].allocPixels(uinfo); in onOnceBeforeDraw()
301 bmp[2].allocPixels(vinfo); in onOnceBeforeDraw()
/third_party/skia/bench/
DReadPixBench.cpp40 bitmap.allocPixels(info); in onDraw()
75 fSrc.allocPixels(info); in onDelayedSetup()
77 fDst.allocPixels(info.makeDimensions(info.dimensions())); in onDelayedSetup()
115 fBM.allocPixels(SkImageInfo::Make(1024, 1024, fCT, kPremul_SkAlphaType)); in onDelayedSetup()
DPremulAndUnpremulAlphaOpsBench.cpp34 fBmp1.allocPixels(info); // used in writePixels in onDelayedSetup()
43 fBmp2.allocPixels(info); // used in readPixels() in onDelayedSetup()
/third_party/flutter/skia/bench/
DReadPixBench.cpp40 bitmap.allocPixels(info); in onDraw()
75 fSrc.allocPixels(info); in onDelayedSetup()
77 fDst.allocPixels(info.makeWH(info.height(), info.width())); in onDelayedSetup()
115 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()
/third_party/flutter/skia/tools/skqp/
Dmake_skqp_model.cpp13 maxBitmap->allocPixels(bm.info()); in update()
15 minBitmap->allocPixels(bm.info()); in update()
45 dst.allocPixels(SkImageInfo::Make( in decode_to_srgb_8888_unpremul()
/third_party/skia/docs/examples/
DUnpremulGPU.cpp9 premulBitmap.allocPixels(premulInfo); in draw()
19 unpremulBitmap.allocPixels(unpremulInfo); in draw()
DImageInfo_MakeS32.cpp16 bitmap.allocPixels(SkImageInfo::MakeN32(width, height, kPremul_SkAlphaType)); in draw()
20 bitmap.allocPixels(SkImageInfo::MakeS32(width, height, kPremul_SkAlphaType)); in draw()
/third_party/skia/tools/skqp/
Dmake_skqp_model.cpp13 maxBitmap->allocPixels(bm.info()); in update()
15 minBitmap->allocPixels(bm.info()); in update()
49 dst.allocPixels(SkImageInfo::Make( in decode_to_srgb_8888_unpremul()
/third_party/flutter/skia/docs/examples/
DImageInfo_MakeS32.cpp16 bitmap.allocPixels(SkImageInfo::MakeN32(width, height, kPremul_SkAlphaType)); in draw()
20 bitmap.allocPixels(SkImageInfo::MakeS32(width, height, kPremul_SkAlphaType)); in draw()

12345678910>>...14