Home
last modified time | relevance | path

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

123

/external/skia/tests/
DBitmapTest.cpp34 bm.allocPixels(); in test_allocpixels()
37 bm.allocPixels(info); in test_allocpixels()
42 bm.allocPixels(); in test_allocpixels()
45 bm.allocPixels(info, explicitRowBytes); in test_allocpixels()
52 bm.allocPixels(info, 0); in test_allocpixels()
89 bm.allocPixels(); in DEF_TEST()
DRecordingXfermodeTest.cpp27 fCircleBM.allocPixels(SkImageInfo::MakeN32Premul(100, 100)); in Drawer()
78 fBitmap.allocPixels(imageInfo); in BitmapBackedCanvasStrategy()
102 fBitmap.allocPixels(imageInfo); in PictureStrategy()
DTextureCompressionTest.cpp61 bitmap.allocPixels(info); in DEF_TEST()
94 bitmap.allocPixels(info); in DEF_TEST()
129 bitmap.allocPixels(info); in DEF_TEST()
215 bitmap.allocPixels(info); in DEF_TEST()
DBlitRowTest.cpp130 dstBM.allocPixels(info); in test_00_FF()
218 dstBM0.allocPixels(info); in test_diagonal()
219 dstBM1.allocPixels(info); in test_diagonal()
DPremulAlphaRoundTripTest.cpp106 readBmp1.allocPixels(info); in DEF_GPUTEST()
108 readBmp2.allocPixels(info); in DEF_GPUTEST()
DARGBImageEncoderTest.cpp38 bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight, gColorTypes[ctIndex], in DEF_TEST()
/external/skia/include/core/
DSkBitmap.h227 void allocPixels(const SkImageInfo& info, SkPixelRefFactory* factory, SkColorTable* ctable) { in allocPixels() function
243 void allocPixels(const SkImageInfo& info, size_t rowBytes) { in allocPixels() function
253 void allocPixels(const SkImageInfo& info) { in allocPixels() function
254 this->allocPixels(info, info.minRowBytes()); in allocPixels()
266 this->allocPixels(info);
345 void allocPixels(SkColorTable* ctable = NULL) {
346 this->allocPixels(NULL, ctable);
369 void allocPixels(Allocator* allocator, SkColorTable* ctable) { in allocPixels() function
/external/skia/gm/
Dyuvtorgbeffect.cpp47 fBmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
49 fBmp[1].allocPixels(uinfo); in onOnceBeforeDraw()
51 fBmp[2].allocPixels(vinfo); in onOnceBeforeDraw()
Dall_bitmap_configs.cpp30 bm.allocPixels(SkImageInfo::MakeA8(SCALE, SCALE)); in make_bitmap()
33 bm.allocPixels( in make_bitmap()
131 bm.allocPixels(info, NULL, ctable); in indexed_bitmap()
Dtinybitmap.cpp21 bm.allocPixels(SkImageInfo::Make(1, 1, kIndex_8_SkColorType, in make_bitmap()
Dbitmapshader.cpp31 bm->allocPixels(SkImageInfo::MakeA8(20, 20)); in draw_mask()
Dbitmappremul.cpp26 bitmap->allocPixels(SkImageInfo::Make(SLIDE_SIZE, SLIDE_SIZE, ct, in init_bitmap()
Dbitmapfilters.cpp24 bm->allocPixels(SkImageInfo::Make(2, 2, kIndex_8_SkColorType, in make_bm()
/external/skia/tools/skpdiff/
DSkDifferentPixelsMetric_cpu.cpp42 result->poiAlphaMask.allocPixels(SkImageInfo::MakeA8(width, height)); in diff()
46 result->rgbDiffBitmap.allocPixels(SkImageInfo::Make(width, height, baseline->colorType(), in diff()
51 result->whiteDiffBitmap.allocPixels(SkImageInfo::MakeN32Premul(width, height)); in diff()
/external/skia/bench/
DPremulAndUnpremulAlphaOpsBench.cpp34 fBmp1.allocPixels(info); // used in writePixels in onPreDraw()
43 fBmp2.allocPixels(info); // used in readPixels() in onPreDraw()
DRepeatTileBench.cpp67 dst->allocPixels(SkImageInfo::Make(src.width(), src.height(), in convert_to_index666()
112 fBitmap.allocPixels(); in onPreDraw()
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 onPreDraw()
119 bm.allocPixels(SkImageInfo::Make(W, H, fColorType, fAlphaType)); in onPreDraw()
DCoverageBench.cpp35 fBitmap.allocPixels(SkImageInfo::MakeA8(500, 500)); in DrawPathBench()
DBitmapRectBench.cpp71 fBitmap.allocPixels(); in onPreDraw()
/external/skia/experimental/FileReaderApp/
DReaderView.cpp19 fBufferBitmaps[0].allocPixels(NULL); in ReaderView()
21 fBufferBitmaps[1].allocPixels(NULL); in ReaderView()
/external/skia/samplecode/
DSampleEncode.cpp50 bm->allocPixels(info); in make_image()
68 bm->allocPixels(info, NULL, ctable); in make_image()
DSampleTinyBitmap.cpp25 bm.allocPixels(SkImageInfo::Make(1, 1, kIndex_8_SkColorType, in make_bitmap()
DSampleFilter.cpp31 bm->allocPixels(SkImageInfo::Make(2, 2, kIndex_8_SkColorType, in make_bm()
DSampleFontCache.cpp95 fBitmaps[i].allocPixels(SkImageInfo::Make(320, 240, in FontCacheView()
/external/skia/src/animator/
DSkSnapshot.cpp65 pixels.allocPixels(maker.fCanvas->imageInfo()); in draw()

123