Lines Matching refs:lines
61 // To mimic Chromium's BSP clipping strategy, a set of three lines formed by triangle edges
69 // Utilities for operating on lines and tiles
98 // Two horizontal lines
145 // Draw grid of red lines at interior tile boundaries.
162 // Draw the arbitrary clipping/split boundaries that intersect the tile grid as green lines
217 // All three lines in a list
218 SkPoint lines[6];
219 clipping_line_segment(kClipP1, kClipP2, lines);
220 clipping_line_segment(kClipP2, kClipP3, lines + 2);
221 clipping_line_segment(kClipP3, kClipP1, lines + 4);
231 // Base edge AA flags if there are no clips; clipped lines will only turn off edges
237 // Now clip against the 3 lines formed by kClipPx and split into general purpose
240 drawCount += this->clipTile(canvas, tileID, tile, nullptr, edgeAA, lines, 3,
258 // Recursively splits the quadrilateral against the segments stored in 'lines', which must be
262 const bool edgeAA[4], const SkPoint lines[], int lineCount, int* quadCount) {
264 // No lines, so end recursion by drawing the tile. If the tile was never split then
296 lines[0], lines[1], &intersect)) {
318 canvas, tileID, baseRect, quad, edgeAA, lines + 2, lineCount - 1, quadCount);
322 // Split the tile points into 2+ sub quads and recurse to the next lines, which may or may
409 draws += this->clipTile(canvas, tileID, baseRect, sub, subAA, lines + 2, lineCount - 1,