/third_party/skia/bench/ |
D | TableBench.cpp | 12 static const SkScalar kCellWidth = SkIntToScalar(20); variable 46 SkRect cell = SkRect::MakeLTRB(col * kCellWidth, in onDraw() 48 (col+1) * kCellWidth, in onDraw() 52 SkRect bottom = SkRect::MakeLTRB(col * kCellWidth, in onDraw() 54 (col+1) * kCellWidth, in onDraw() 58 SkRect right = SkRect::MakeLTRB(col * kCellWidth + (kCellWidth-SK_Scalar1), in onDraw() 60 (col+1) * kCellWidth, in onDraw()
|
/third_party/flutter/skia/bench/ |
D | TableBench.cpp | 12 static const SkScalar kCellWidth = SkIntToScalar(20); variable 46 SkRect cell = SkRect::MakeLTRB(col * kCellWidth, in onDraw() 48 (col+1) * kCellWidth, in onDraw() 52 SkRect bottom = SkRect::MakeLTRB(col * kCellWidth, in onDraw() 54 (col+1) * kCellWidth, in onDraw() 58 SkRect right = SkRect::MakeLTRB(col * kCellWidth + (kCellWidth-SK_Scalar1), in onDraw() 60 (col+1) * kCellWidth, in onDraw()
|
/third_party/flutter/skia/gm/ |
D | path_stroke_with_zero_length.cpp | 114 static const int kCellWidth = 50; variable 120 static const int kTotalWidth = kNumColumns * (kCellWidth + kCellPad) + kCellPad; 124 static const int kDblContourTotalWidth = kDblContourNumColums * (kCellWidth + kCellPad) + kCellPad; 133 SkImageInfo info = canvas->imageInfo().makeWH(kCellWidth, kCellHeight); in draw_zero_length_capped_paths() 136 surface = SkSurface::MakeRasterN32Premul(kCellWidth, kCellHeight); in draw_zero_length_capped_paths() 153 pathStr.appendf("M %f %f ", (kCellWidth - 1) * 0.5f, (kCellHeight - 1) * 0.5f); in draw_zero_length_capped_paths() 172 canvas->translate(kCellWidth + kCellPad, 0); in draw_zero_length_capped_paths() 193 SkImageInfo info = canvas->imageInfo().makeWH(kCellWidth, kCellHeight); in draw_zero_length_capped_paths_dbl_contour() 196 surface = SkSurface::MakeRasterN32Premul(kCellWidth, kCellHeight); in draw_zero_length_capped_paths_dbl_contour() 241 canvas->translate(kCellWidth + kCellPad, 0); in draw_zero_length_capped_paths_dbl_contour()
|
D | compositor_quads.cpp | 434 static constexpr SkScalar kCellWidth = 1.3f * kColCount * kTileWidth; in onISize() local 436 return SkISize::Make(SkScalarRoundToInt(kCellWidth * kMatrixCount + 175.f), in onISize()
|
/third_party/skia/gm/ |
D | path_stroke_with_zero_length.cpp | 116 static const int kCellWidth = 50; variable 122 static const int kTotalWidth = kNumColumns * (kCellWidth + kCellPad) + kCellPad; 126 static const int kDblContourTotalWidth = kDblContourNumColums * (kCellWidth + kCellPad) + kCellPad; 144 SkImageInfo info = canvas->imageInfo().makeWH(kCellWidth, kCellHeight); in draw_zero_length_capped_paths() 147 surface = SkSurface::MakeRasterN32Premul(kCellWidth, kCellHeight); in draw_zero_length_capped_paths() 164 pathStr.appendf("M %f %f ", (kCellWidth - 1) * 0.5f, (kCellHeight - 1) * 0.5f); in draw_zero_length_capped_paths() 183 canvas->translate(kCellWidth + kCellPad, 0); in draw_zero_length_capped_paths() 215 SkImageInfo info = canvas->imageInfo().makeWH(kCellWidth, kCellHeight); in draw_zero_length_capped_paths_dbl_contour() 218 surface = SkSurface::MakeRasterN32Premul(kCellWidth, kCellHeight); in draw_zero_length_capped_paths_dbl_contour() 263 canvas->translate(kCellWidth + kCellPad, 0); in draw_zero_length_capped_paths_dbl_contour()
|
D | beziereffects.cpp | 219 static const int kCellWidth = 128; member in skiagm::BezierConicEffects 227 return SkISize::Make(kCellWidth, kNumConics*kCellHeight); in onISize() 237 const SkScalar w = kCellWidth, h = kCellHeight; in onDraw() 425 static const int kCellWidth = 128; member in skiagm::BezierQuadEffects 433 return SkISize::Make(kCellWidth, kNumQuads*kCellHeight); in onISize() 443 const SkScalar w = kCellWidth, h = kCellHeight; in onDraw()
|
D | compressed_textures.cpp | 214 return SkISize::Make(2*kCellWidth + 3*kPad, 2*kBaseTexHeight + 3*kPad); in onISize() 259 this->drawCell(canvas, fOpaqueBC1Image.get(), { 2*kPad + kCellWidth, kPad }); in onDraw() 262 { 2*kPad + kCellWidth, 2*kPad + kBaseTexHeight }); in onDraw() 309 static const int kCellWidth = 1.5f * kBaseTexWidth; member in CompressedTexturesGM
|
D | compositor_quads.cpp | 434 static constexpr SkScalar kCellWidth = 1.3f * kColCount * kTileWidth; in onISize() local 436 return SkISize::Make(SkScalarRoundToInt(kCellWidth * kMatrixCount + 175.f), in onISize()
|