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.cpp298 const SkScalar gCellSize = 100; variable
302 const SkRect r = SkRect::MakeWH(gCellSize, gCellSize); in draw_cell()
324 canvas->drawRect(SkRect::MakeWH(gCellSize, gCellSize), p); in draw_composed()
332 SkRect r = SkRect::MakeWH(2 * gCellSize + gap, 2 * gCellSize + gap); in draw_pair()
342 canvas->translate(gCellSize + gap, 0); in draw_pair()
346 canvas->translate(0, gCellSize + gap); in draw_pair()
352 auto src = make_src_shader(gCellSize);
353 auto dst = make_dst_shader(gCellSize);
356 const SkScalar dx = 2*gCellSize + margin;
357 const SkScalar dy = 2*gCellSize + margin;