Searched refs:gWidth (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/tests/ |
D | SkImageTest.cpp | 13 static const int gWidth = 20; variable 21 srcBitmap.allocN32Pixels(gWidth, gHeight); in DEF_TEST() 24 SkIRect r = SkIRect::MakeXYWH(5, 5, gWidth - 5, gWidth - 5); in DEF_TEST() 34 tgt.allocN32Pixels(gWidth, gHeight); in DEF_TEST() 43 tgt.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); in DEF_TEST() 46 tgt.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); in DEF_TEST()
|
D | DrawBitmapRectTest.cpp | 235 static const int gWidth = 256; variable 239 bm->allocN32Pixels(gWidth, gHeight); in create() 251 SkRect srcR = { gWidth, 0, gWidth + 16, 16 }; in DEF_TEST()
|
D | ResourceCacheTest.cpp | 31 static const int gWidth = 640; 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 | 165 constexpr int gWidth = 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() 177 SkScalar rad = SkIntToScalar(gWidth)/2; in make_grad() 209 const SkScalar w = SkIntToScalar(gWidth); in onDraw()
|
D | tilemodes.cpp | 165 constexpr int gWidth = 32; 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() 177 SkScalar rad = SkIntToScalar(gWidth)/2; in make_grad() 210 const SkScalar w = SkIntToScalar(gWidth); in onDraw()
|
D | hairmodes.cpp | 40 const int gWidth = 64; variable 42 const SkScalar W = SkIntToScalar(gWidth); 61 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth; in drawCell()
|
D | aarectmodes.cpp | 88 const int gWidth = 64; variable 90 const SkScalar W = SkIntToScalar(gWidth);
|
/third_party/skia/samplecode/ |
D | SampleHairModes.cpp | 29 const int gWidth = 64; variable 31 const SkScalar W = SkIntToScalar(gWidth); 49 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth; in drawCell()
|
D | SampleAARectModes.cpp | 29 const int gWidth = 64; variable 31 const SkScalar W = SkIntToScalar(gWidth);
|