Home
last modified time | relevance | path

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

1234

/external/skia/tests/
DBitmapTest.cpp29 bm.allocPixels(info); in test_peekpixels()
60 bm.allocPixels(); in test_allocpixels()
63 bm.allocPixels(info); in test_allocpixels()
68 bm.allocPixels(); in test_allocpixels()
71 bm.allocPixels(info, explicitRowBytes); in test_allocpixels()
78 bm.allocPixels(info, 0); in test_allocpixels()
115 bm.allocPixels(); in DEF_TEST()
153 bm.allocPixels(SkImageInfo::Make(1, 1, ct, kPremul_SkAlphaType)); in test_erasecolor_premul()
189 bm.allocPixels(SkImageInfo::Make(13, 17, type.fCT, type.fAT)); in DEF_TEST()
205 bm.allocPixels(SkImageInfo::Make(1, 1, kRGBA_F16_SkColorType, kPremul_SkAlphaType)); in DEF_TEST()
DCodecPartialTest.cpp33 dst->allocPixels(info); in create_truth()
78 incremental.allocPixels(info); in test_partial()
211 frame.allocPixels(info); in DEF_TEST()
261 frame.allocPixels(info); in DEF_TEST()
309 incremental.allocPixels(info); in test_interleaved()
322 full.allocPixels(info); in test_interleaved()
372 truth.allocPixels(info); in DEF_TEST()
382 bm.allocPixels(info); in DEF_TEST()
395 bm.allocPixels(info); in DEF_TEST()
428 bm.allocPixels(info); in DEF_TEST()
DCodecTest.cpp74 bm.allocPixels(info); in test_info()
100 bm.allocPixels(info); in test_incremental_decode()
115 bm.allocPixels(info); in test_in_stripes()
159 bm.allocPixels(info); in test_codec()
176 bm565.allocPixels(info565); in test_codec()
201 grayBm.allocPixels(grayInfo); in test_codec()
389 bm.allocPixels(subsetInfo); in check()
444 bm.allocPixels(info); in check()
704 bm.allocPixels(info, nullptr, colorTable.get()); in test_invalid_parameters()
743 bm.allocPixels(); in DEF_TEST()
[all …]
DRecordingXfermodeTest.cpp28 fCircleBM.allocPixels(SkImageInfo::MakeN32Premul(100, 100)); in Drawer()
79 fBitmap.allocPixels(imageInfo); in BitmapBackedCanvasStrategy()
102 fBitmap.allocPixels(imageInfo); in PictureStrategy()
DBlitRowTest.cpp132 dstBM.allocPixels(info); in test_00_FF()
210 dstBM0.allocPixels(info); in test_diagonal()
211 dstBM1.allocPixels(info); in test_diagonal()
DPremulAlphaRoundTripTest.cpp72 readBmp1.allocPixels(info); in test_premul_alpha_roundtrip()
74 readBmp2.allocPixels(info); in test_premul_alpha_roundtrip()
DImageFrom565Bitmap.cpp15 bm.allocPixels(SkImageInfo::Make( in DEF_TEST()
DGifTest.cpp203 bm.allocPixels(info); in DEF_TEST()
259 bm.allocPixels(codec->getInfo(), nullptr, colorTable.get()); in DEF_TEST()
309 bm.allocPixels(colorTable.get()); in DEF_TEST()
DBadIcoTest.cpp41 bm.allocPixels(codec->getInfo()); in DEF_TEST()
DCodecPriv.h32 bm->allocPixels(codec->getInfo(), nullptr, colorTable.get()); in decode_memory()
/external/skia/include/core/
DSkBitmap.h249 void allocPixels(const SkImageInfo& info, SkPixelRefFactory* factory, SkColorTable* ctable) { in allocPixels() function
265 void allocPixels(const SkImageInfo& info, size_t rowBytes) { in allocPixels() function
275 void allocPixels(const SkImageInfo& info) { in allocPixels() function
276 this->allocPixels(info, info.minRowBytes()); in allocPixels()
288 this->allocPixels(info);
378 void allocPixels(SkColorTable* ctable = NULL) {
379 this->allocPixels(NULL, ctable);
402 void allocPixels(Allocator* allocator, SkColorTable* ctable) { in allocPixels() function
/external/skia/gm/
Dbitmapimage.cpp40 bitmap.allocPixels(codec->getInfo()); in onDraw()
47 legacyBMCanvas.allocPixels(linearInfo); in onDraw()
58 srgbBMCanvas.allocPixels(srgbInfo); in onDraw()
Dyuvtorgbeffect.cpp49 fBmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
51 fBmp[1].allocPixels(uinfo); in onOnceBeforeDraw()
53 fBmp[2].allocPixels(vinfo); in onOnceBeforeDraw()
172 fBmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
174 fBmp[1].allocPixels(uvinfo); in onOnceBeforeDraw()
Dimagefromyuvtextures.cpp53 fYUVBmps[0].allocPixels(yinfo); in onOnceBeforeDraw()
55 fYUVBmps[1].allocPixels(uinfo); in onOnceBeforeDraw()
57 fYUVBmps[2].allocPixels(vinfo); in onOnceBeforeDraw()
Dall_bitmap_configs.cpp30 bm.allocPixels(SkImageInfo::MakeA8(SCALE, SCALE)); in make_bitmap()
33 bm.allocPixels( in make_bitmap()
130 bm.allocPixels(info, nullptr, ctable.get()); in indexed_bitmap()
254 bm->allocPixels( in make_color_test_bitmap_variant()
Dgamma.cpp33 linearGreyBmp.allocPixels(linearGreyInfo);
39 srgbGreyBmp.allocPixels(srgbGreyInfo);
46 mipmapBmp.allocPixels(mipmapInfo);
Dmipmap.cpp59 bm.allocPixels(info); in make()
108 bm.allocPixels(info); in make_g8_gradient()
Dencode-srgb.cpp73 bitmap->allocPixels(info, nullptr, colorTable.get()); in make_index8()
108 bitmap->allocPixels(dstInfo); in make()
Dcolorfilteralpha8.cpp30 bitmap.allocPixels(info); in onDraw()
Dtinybitmap.cpp21 bm.allocPixels(SkImageInfo::Make(1, 1, kIndex_8_SkColorType, in make_bitmap()
/external/skia/bench/
DPremulAndUnpremulAlphaOpsBench.cpp33 fBmp1.allocPixels(info); // used in writePixels in onDelayedSetup()
42 fBmp2.allocPixels(info); // used in readPixels() in onDelayedSetup()
DRepeatTileBench.cpp66 dst->allocPixels(SkImageInfo::Make(src.width(), src.height(), in convert_to_index666()
111 fBitmap.allocPixels(); in onDelayedSetup()
DBitmapBench.cpp48 dst->allocPixels(SkImageInfo::Make(src.width(), src.height(), kIndex_8_SkColorType, aType), in convertToIndex666()
117 bm.allocPixels(SkImageInfo::MakeN32(W, H, fAlphaType)); in onDelayedSetup()
119 bm.allocPixels(SkImageInfo::Make(W, H, fColorType, fAlphaType)); in onDelayedSetup()
/external/skia/experimental/FileReaderApp/
DReaderView.cpp19 fBufferBitmaps[0].allocPixels(NULL); in ReaderView()
21 fBufferBitmaps[1].allocPixels(NULL); in ReaderView()
/external/skia/src/image/
DSkSurface_Raster.cpp164 fBitmap.allocPixels(); in onCopyOnWrite()
167 fBitmap.allocPixels(); in onCopyOnWrite()

1234