Home
last modified time | relevance | path

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

/third_party/flutter/skia/gm/
Dcomposeshader.cpp295 const SkScalar gCellSize = 100; variable
299 const SkRect r = SkRect::MakeWH(gCellSize, gCellSize); in draw_cell()
321 canvas->drawRect(SkRect::MakeWH(gCellSize, gCellSize), p); in draw_composed()
329 SkRect r = SkRect::MakeWH(2 * gCellSize + gap, 2 * gCellSize + gap); in draw_pair()
339 canvas->translate(gCellSize + gap, 0); in draw_pair()
343 canvas->translate(0, gCellSize + gap); in draw_pair()
349 auto src = make_src_shader(gCellSize);
350 auto dst = make_dst_shader(gCellSize);
353 const SkScalar dx = 2*gCellSize + margin;
354 const SkScalar dy = 2*gCellSize + margin;
/third_party/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;