Searched refs:gHeight (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/tests/ |
D | SkImageTest.cpp | 14 static const int gHeight = 20; variable 21 srcBitmap.allocN32Pixels(gWidth, gHeight); in DEF_TEST() 34 tgt.allocN32Pixels(gWidth, gHeight); in DEF_TEST()
|
D | DrawBitmapRectTest.cpp | 236 static const int gHeight = 256; variable 239 bm->allocN32Pixels(gWidth, gHeight); in create()
|
D | ResourceCacheTest.cpp | 32 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/ |
D | tilemodes_scaled.cpp | 166 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()
|
D | hairmodes.cpp | 41 const int gHeight = 64; variable 43 const SkScalar H = SkIntToScalar(gHeight); 62 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
|
D | tilemodes.cpp | 166 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()
|
D | aarectmodes.cpp | 89 const int gHeight = 64; variable 91 const SkScalar H = SkIntToScalar(gHeight);
|
/third_party/skia/samplecode/ |
D | SampleHairModes.cpp | 30 const int gHeight = 64; variable 32 const SkScalar H = SkIntToScalar(gHeight); 50 SkScalar y = SkScalarSin(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gHeight; in drawCell()
|
D | SampleAARectModes.cpp | 30 const int gHeight = 64; variable 32 const SkScalar H = SkIntToScalar(gHeight);
|