Home
last modified time | relevance | path

Searched refs:gCellSize (Results 1 – 2 of 2) sorted by relevance

/external/skqp/gm/
Dcomposeshader.cpp275 const SkScalar gCellSize = 100; variable
279 const SkRect r = SkRect::MakeWH(gCellSize, gCellSize); in draw_cell()
301 canvas->drawRect(SkRect::MakeWH(gCellSize, gCellSize), p); in draw_composed()
309 SkRect r = SkRect::MakeWH(2 * gCellSize + gap, 2 * gCellSize + gap); in draw_pair()
319 canvas->translate(gCellSize + gap, 0); in draw_pair()
323 canvas->translate(0, gCellSize + gap); in draw_pair()
329 auto src = make_src_shader(gCellSize);
330 auto dst = make_dst_shader(gCellSize);
333 const SkScalar dx = 2*gCellSize + margin;
334 const SkScalar dy = 2*gCellSize + margin;
/external/skia/gm/
Dcomposeshader.cpp275 const SkScalar gCellSize = 100; variable
279 const SkRect r = SkRect::MakeWH(gCellSize, gCellSize); in draw_cell()
301 canvas->drawRect(SkRect::MakeWH(gCellSize, gCellSize), p); in draw_composed()
309 SkRect r = SkRect::MakeWH(2 * gCellSize + gap, 2 * gCellSize + gap); in draw_pair()
319 canvas->translate(gCellSize + gap, 0); in draw_pair()
323 canvas->translate(0, gCellSize + gap); in draw_pair()
329 auto src = make_src_shader(gCellSize);
330 auto dst = make_dst_shader(gCellSize);
333 const SkScalar dx = 2*gCellSize + margin;
334 const SkScalar dy = 2*gCellSize + margin;