Home
last modified time | relevance | path

Searched refs:gHeight (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/tests/
DSkImageTest.cpp14 static const int gHeight = 20; variable
21 srcBitmap.allocN32Pixels(gWidth, gHeight); in DEF_TEST()
34 tgt.allocN32Pixels(gWidth, gHeight); in DEF_TEST()
DDrawBitmapRectTest.cpp236 static const int gHeight = 256; variable
239 bm->allocN32Pixels(gWidth, gHeight); in create()
DResourceCacheTest.cpp32 static const int gHeight = 480; variable
37 SkImageInfo info = SkImageInfo::MakeN32Premul(gWidth, gHeight); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
41 const SkIRect size = SkIRect::MakeWH(gWidth, gHeight); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/gm/
Dtilemodes_scaled.cpp166 constexpr int gHeight = 32; variable
170 makebm(&bm, kN32_SkColorType, gWidth, gHeight); in make_bm()
175 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; in make_grad()
176 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; in make_grad()
210 const SkScalar h = SkIntToScalar(gHeight); in onDraw()
Dhairmodes.cpp41 const int gHeight = 64; variable
43 const SkScalar H = SkIntToScalar(gHeight);
62 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
Dtilemodes.cpp166 constexpr int gHeight = 32; variable
170 makebm(&bm, kN32_SkColorType, gWidth, gHeight); in make_bm()
175 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; in make_grad()
176 SkPoint center = { SkIntToScalar(gWidth)/2, SkIntToScalar(gHeight)/2 }; in make_grad()
211 const SkScalar h = SkIntToScalar(gHeight); in onDraw()
Daarectmodes.cpp89 const int gHeight = 64; variable
91 const SkScalar H = SkIntToScalar(gHeight);
/third_party/skia/samplecode/
DSampleHairModes.cpp30 const int gHeight = 64; variable
32 const SkScalar H = SkIntToScalar(gHeight);
50 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
DSampleAARectModes.cpp30 const int gHeight = 64; variable
32 const SkScalar H = SkIntToScalar(gHeight);