Home
last modified time | relevance | path

Searched refs:offscreenInfo (Results 1 – 4 of 4) sorted by relevance

/external/skia/docs/examples/
DImageInfo_makeColorSpace.cpp25 SkImageInfo offscreenInfo = SkImageInfo::MakeS32(width, height, kPremul_SkAlphaType);
26 bitmap.allocPixels(offscreenInfo);
31 drawLabel("offscreen", offscreenInfo.gammaCloseToSRGB());
33 offscreenInfo.makeColorSpace(offscreenInfo.colorSpace()->makeLinearGamma());
DImageInfo_gammaCloseToSRGB.cpp25 SkImageInfo offscreenInfo = SkImageInfo::MakeS32(width, height, kPremul_SkAlphaType);
26 bitmap.allocPixels(offscreenInfo);
31 drawLabel("offscreen", offscreenInfo.gammaCloseToSRGB());
/external/skia/gm/
Doverdrawcanvas.cpp34 SkImageInfo offscreenInfo = SkImageInfo::MakeA8(WIDTH, HEIGHT); in DEF_SIMPLE_GM_BG() local
35 sk_sp<SkSurface> offscreen = SkSurface::MakeRaster(offscreenInfo); in DEF_SIMPLE_GM_BG()
/external/skqp/docs/
DSkImageInfo_Reference.bmh1580 SkImageInfo offscreenInfo = SkImageInfo::MakeS32(width, height, kPremul_SkAlphaType);
1581 bitmap.allocPixels(offscreenInfo);
1586 drawLabel("offscreen", offscreenInfo.gammaCloseToSRGB());
1716 SkImageInfo offscreenInfo = SkImageInfo::MakeS32(width, height, kPremul_SkAlphaType);
1717 bitmap.allocPixels(offscreenInfo);
1722 drawLabel("offscreen", offscreenInfo.gammaCloseToSRGB());
1724 offscreenInfo.makeColorSpace(offscreenInfo.colorSpace()->makeLinearGamma());