Home
last modified time | relevance | path

Searched refs:MakeA8 (Results 1 – 25 of 128) sorted by relevance

123456

/external/skia/docs/examples/
DPixmap_rowBytes.cpp7 SkPixmap badPixmap = {SkImageInfo::MakeA8(4, 4), nullptr, 2}; in draw()
8 SkPixmap okPixmap = {SkImageInfo::MakeA8(4, 4), nullptr, 8}; in draw()
DImageInfo_colorType.cpp10 SkImageInfo info = SkImageInfo::MakeA8(16, 32); in draw()
DImageInfo_alphaType.cpp8 SkImageInfo info = SkImageInfo::MakeA8(16, 32); in draw()
DPixmap_colorType.cpp10 SkPixmap pixmap(SkImageInfo::MakeA8(16, 32), nullptr, 64); in draw()
DBitmap_012.cpp8 SkPixmap pixmap(SkImageInfo::MakeA8(16, 32), nullptr, 64); in draw()
DPixmap_alphaType.cpp8 SkPixmap pixmap(SkImageInfo::MakeA8(16, 32), nullptr, 64); in draw()
DBitmap_colorType.cpp11 bitmap.setInfo(SkImageInfo::MakeA8(16, 32)); in draw()
DPixmap_height.cpp7 SkPixmap pixmap(SkImageInfo::MakeA8(16, 32), nullptr, 64); in draw()
DImageInfo_isEmpty.cpp9 SkImageInfo imageInfo= SkImageInfo::MakeA8(width, height); in draw()
DPixmap_width.cpp7 SkImageInfo info = SkImageInfo::MakeA8(16, 32); in draw()
DBitmap_rowBytes.cpp9 bool result = bitmap.setInfo(SkImageInfo::MakeA8(4, 4), rowBytes); in draw()
DImage_isAlphaOnly.cpp8 sk_sp<SkImage> image = SkImage::MakeRasterCopy({SkImageInfo::MakeA8(1, 1), &pmColors, 1}); in draw()
DBitmap_width.cpp7 SkImageInfo info = SkImageInfo::MakeA8(16, 32); in draw()
DBitmap_height.cpp7 SkImageInfo info = SkImageInfo::MakeA8(16, 32); in draw()
DBitmap_empty.cpp10 bitmap.setInfo(SkImageInfo::MakeA8(width, height)); in draw()
DPixmap_bounds.cpp9 SkPixmap pixmap(SkImageInfo::MakeA8(width, height), nullptr, width); in draw()
DPixmap_const_SkImageInfo_const_star.cpp9 sk_sp<SkImage> copy = SkImage::MakeRasterCopy({SkImageInfo::MakeA8(1, 1), in draw()
Dinlinepixmapconstructor.cpp9 SkImage::MakeRasterCopy({SkImageInfo::MakeA8(1, 1), (uint8_t*)&pmColors, 1}); in draw()
/external/skia/gm/
Dyuvtorgbsubset.cpp77 SkPixmap innerYPM(SkImageInfo::MakeA8(4, 4), innerY, 4); in makePixmaps()
78 SkPixmap innerUPM(SkImageInfo::MakeA8(2, 2), innerU, 2); in makePixmaps()
79 SkPixmap innerVPM(SkImageInfo::MakeA8(2, 2), innerV, 2); in makePixmaps()
Dalpha_image.cpp23 bm.allocPixels(SkImageInfo::MakeA8(w, h)); in make_alpha_image()
68 bm.allocPixels(SkImageInfo::MakeA8(64, 64));
Dbitmapshader.cpp43 bm.allocPixels(SkImageInfo::MakeA8(20, 20)); in draw_mask()
131 bitmap.setInfo(SkImageInfo::MakeA8(bitmapW, bitmapH), bitmapW);
/external/skqp/gm/
Dyuvtorgbeffect.cpp49 SkImageInfo yinfo = SkImageInfo::MakeA8(YSIZE, YSIZE); in onOnceBeforeDraw()
51 SkImageInfo uinfo = SkImageInfo::MakeA8(USIZE, USIZE); in onOnceBeforeDraw()
53 SkImageInfo vinfo = SkImageInfo::MakeA8(VSIZE, VSIZE); in onOnceBeforeDraw()
168 SkImageInfo yinfo = SkImageInfo::MakeA8(YSIZE, YSIZE); in onOnceBeforeDraw()
Dimagefromyuvtextures.cpp52 SkImageInfo yinfo = SkImageInfo::MakeA8(kBmpSize, kBmpSize); in onOnceBeforeDraw()
54 SkImageInfo uinfo = SkImageInfo::MakeA8(kBmpSize / 2, kBmpSize / 2); in onOnceBeforeDraw()
56 SkImageInfo vinfo = SkImageInfo::MakeA8(kBmpSize / 2, kBmpSize / 2); in onOnceBeforeDraw()
Dbitmapshader.cpp34 bm->allocPixels(SkImageInfo::MakeA8(20, 20)); in draw_mask()
124 bitmap.setInfo(SkImageInfo::MakeA8(bitmapW, bitmapH), bitmapW);
/external/skqp/src/gpu/
DGrSWMaskHelper.cpp82 const SkImageInfo bmImageInfo = SkImageInfo::MakeA8(bounds.width(), bounds.height()); in init()
95 SkImageInfo ii = SkImageInfo::MakeA8(fPixels->width(), fPixels->height()); in toTextureProxy()

123456