Home
last modified time | relevance | path

Searched refs:flipped (Results 1 – 25 of 80) sorted by relevance

1234

/external/skqp/src/pathops/
DSkIntersections.h58 SkScalar y, bool flipped) { in conicHorizontal() argument
62 return horizontal(conic, left, right, y, flipped); in conicHorizontal()
66 SkScalar x, bool flipped) { in conicVertical() argument
70 return vertical(conic, top, bottom, x, flipped); in conicVertical()
83 bool flipped) { in cubicHorizontal() argument
87 return horizontal(cubic, left, right, y, flipped); in cubicHorizontal()
90 int cubicVertical(const SkPoint a[4], SkScalar top, SkScalar bottom, SkScalar x, bool flipped) { in cubicVertical() argument
94 return vertical(cubic, top, bottom, x, flipped); in cubicVertical()
133 bool flipped) { in lineHorizontal() argument
137 return horizontal(line, left, right, y, flipped); in lineHorizontal()
[all …]
DSkDLineIntersection.cpp205 double y, bool flipped) { in horizontal() argument
211 insert(t, (double) flipped, leftPt); in horizontal()
216 insert(t, (double) !flipped, rightPt); in horizontal()
220 insert((double) index, flipped ? 1 - t : t, line[index]); in horizontal()
230 if (flipped) { in horizontal()
243 insert(t, (double) flipped, leftPt); in horizontal()
248 insert(t, (double) !flipped, rightPt); in horizontal()
252 insert((double) index, flipped ? 1 - t : t, line[index]); in horizontal()
283 double x, bool flipped) { in vertical() argument
289 insert(t, (double) flipped, topPt); in vertical()
[all …]
DSkDQuadLineIntersection.cpp198 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument
213 if (flipped) { in horizontalIntersect()
254 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument
269 if (flipped) { in verticalIntersect()
424 bool flipped) { in horizontal() argument
427 return q.horizontalIntersect(y, left, right, flipped); in horizontal()
431 bool flipped) { in vertical() argument
434 return q.verticalIntersect(x, top, bottom, flipped); in vertical()
DSkOpCoincidence.cpp100 if (fCoinPtTStart->fT > coinPtTStart->fT || (this->flipped() in extend()
105 if (fCoinPtTEnd->fT < coinPtTEnd->fT || (this->flipped() in extend()
163 bool flipped = this->flipped(); in ordered() local
172 if ((oppLastT > opp->fT) != flipped) { in ordered()
452 FAIL_IF(!coin->flipped() && !oStart->upCastable()); in addExpanded()
453 const SkOpSpanBase* oTest = coin->flipped() ? oStart->prev() : oStart->upCast()->next(); in addExpanded()
512 if (coin->flipped()) { in addExpanded()
680 if (overlap->flipped() in addOrOverlap()
685 if (overlap->flipped() in addOrOverlap()
1033 bool flipped = coin->flipped(); in apply() local
[all …]
DSkDCubicLineIntersection.cpp184 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument
199 if (flipped) { in horizontalIntersect()
247 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument
262 if (flipped) { in verticalIntersect()
419 bool flipped) { in horizontal() argument
422 return c.horizontalIntersect(y, left, right, flipped); in horizontal()
426 bool flipped) { in vertical() argument
429 return c.verticalIntersect(x, top, bottom, flipped); in vertical()
DSkDConicLineIntersection.cpp72 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument
90 if (flipped) { in horizontalIntersect()
150 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument
168 if (flipped) { in verticalIntersect()
348 bool flipped) { in horizontal() argument
351 return c.horizontalIntersect(y, left, right, flipped); in horizontal()
355 bool flipped) { in vertical() argument
358 return c.verticalIntersect(x, top, bottom, flipped); in vertical()
/external/skia/src/pathops/
DSkIntersections.h58 SkScalar y, bool flipped) { in conicHorizontal() argument
62 return horizontal(conic, left, right, y, flipped); in conicHorizontal()
66 SkScalar x, bool flipped) { in conicVertical() argument
70 return vertical(conic, top, bottom, x, flipped); in conicVertical()
83 bool flipped) { in cubicHorizontal() argument
87 return horizontal(cubic, left, right, y, flipped); in cubicHorizontal()
90 int cubicVertical(const SkPoint a[4], SkScalar top, SkScalar bottom, SkScalar x, bool flipped) { in cubicVertical() argument
94 return vertical(cubic, top, bottom, x, flipped); in cubicVertical()
133 bool flipped) { in lineHorizontal() argument
137 return horizontal(line, left, right, y, flipped); in lineHorizontal()
[all …]
DSkDLineIntersection.cpp205 double y, bool flipped) { in horizontal() argument
211 insert(t, (double) flipped, leftPt); in horizontal()
216 insert(t, (double) !flipped, rightPt); in horizontal()
220 insert((double) index, flipped ? 1 - t : t, line[index]); in horizontal()
230 if (flipped) { in horizontal()
243 insert(t, (double) flipped, leftPt); in horizontal()
248 insert(t, (double) !flipped, rightPt); in horizontal()
252 insert((double) index, flipped ? 1 - t : t, line[index]); in horizontal()
283 double x, bool flipped) { in vertical() argument
289 insert(t, (double) flipped, topPt); in vertical()
[all …]
DSkDQuadLineIntersection.cpp198 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument
213 if (flipped) { in horizontalIntersect()
254 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument
269 if (flipped) { in verticalIntersect()
424 bool flipped) { in horizontal() argument
427 return q.horizontalIntersect(y, left, right, flipped); in horizontal()
431 bool flipped) { in vertical() argument
434 return q.verticalIntersect(x, top, bottom, flipped); in vertical()
DSkOpCoincidence.cpp100 if (fCoinPtTStart->fT > coinPtTStart->fT || (this->flipped() in extend()
105 if (fCoinPtTEnd->fT < coinPtTEnd->fT || (this->flipped() in extend()
163 bool flipped = this->flipped(); in ordered() local
172 if ((oppLastT > opp->fT) != flipped) { in ordered()
452 FAIL_IF(!coin->flipped() && !oStart->upCastable()); in addExpanded()
453 const SkOpSpanBase* oTest = coin->flipped() ? oStart->prev() : oStart->upCast()->next(); in addExpanded()
512 if (coin->flipped()) { in addExpanded()
680 if (overlap->flipped() in addOrOverlap()
685 if (overlap->flipped() in addOrOverlap()
1033 bool flipped = coin->flipped(); in apply() local
[all …]
DSkDCubicLineIntersection.cpp184 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument
199 if (flipped) { in horizontalIntersect()
247 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument
262 if (flipped) { in verticalIntersect()
419 bool flipped) { in horizontal() argument
422 return c.horizontalIntersect(y, left, right, flipped); in horizontal()
426 bool flipped) { in vertical() argument
429 return c.verticalIntersect(x, top, bottom, flipped); in vertical()
DSkDConicLineIntersection.cpp72 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument
90 if (flipped) { in horizontalIntersect()
150 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument
168 if (flipped) { in verticalIntersect()
348 bool flipped) { in horizontal() argument
351 return c.horizontalIntersect(y, left, right, flipped); in horizontal()
355 bool flipped) { in vertical() argument
358 return c.verticalIntersect(x, top, bottom, flipped); in vertical()
/external/skqp/tests/
DPathOpsQuadLineIntersectionTest.cpp34 bool& flipped) { in doIntersect() argument
36 flipped = false; in doIntersect()
40 flipped = top > bottom; in doIntersect()
41 if (flipped) { in doIntersect()
45 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect()
49 flipped = left > right; in doIntersect()
50 if (flipped) { in doIntersect()
54 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect()
84 bool flipped = false; in testOneOffs() local
93 int result = doIntersect(intersections, quad, line, flipped); in testOneOffs()
[all …]
DPathOpsConicLineIntersectionTest.cpp35 bool& flipped) { in doIntersect() argument
37 flipped = false; in doIntersect()
41 flipped = top > bottom; in doIntersect()
42 if (flipped) { in doIntersect()
46 result = intersections.vertical(conic, top, bottom, line[0].fX, flipped); in doIntersect()
50 flipped = left > right; in doIntersect()
51 if (flipped) { in doIntersect()
55 result = intersections.horizontal(conic, left, right, line[0].fY, flipped); in doIntersect()
74 bool flipped = false; in testOneOffs() local
83 int result = doIntersect(intersections, conic, line, flipped); in testOneOffs()
[all …]
DPathOpsQuadLineIntersectionThreadedTest.cpp19 bool& flipped) { in doIntersect() argument
21 flipped = false; in doIntersect()
25 flipped = top > bottom; in doIntersect()
26 if (flipped) { in doIntersect()
30 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect()
34 flipped = left > right; in doIntersect()
35 if (flipped) { in doIntersect()
39 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect()
57 bool flipped = false; in testLineIntersect() local
58 int result = doIntersect(intersections, quad, line, flipped); in testLineIntersect()
DPathOpsCubicLineIntersectionTest.cpp105 bool flipped = false; in doIntersect() local
109 flipped = top > bottom; in doIntersect()
110 if (flipped) { in doIntersect()
114 result = intersections.vertical(cubic, top, bottom, line[0].fX, flipped); in doIntersect()
118 flipped = left > right; in doIntersect()
119 if (flipped) { in doIntersect()
123 result = intersections.horizontal(cubic, left, right, line[0].fY, flipped); in doIntersect()
/external/skia/tests/
DPathOpsQuadLineIntersectionTest.cpp34 bool& flipped) { in doIntersect() argument
36 flipped = false; in doIntersect()
40 flipped = top > bottom; in doIntersect()
41 if (flipped) { in doIntersect()
45 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect()
49 flipped = left > right; in doIntersect()
50 if (flipped) { in doIntersect()
54 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect()
84 bool flipped = false; in testOneOffs() local
93 int result = doIntersect(intersections, quad, line, flipped); in testOneOffs()
[all …]
DPathOpsConicLineIntersectionTest.cpp35 bool& flipped) { in doIntersect() argument
37 flipped = false; in doIntersect()
41 flipped = top > bottom; in doIntersect()
42 if (flipped) { in doIntersect()
46 result = intersections.vertical(conic, top, bottom, line[0].fX, flipped); in doIntersect()
50 flipped = left > right; in doIntersect()
51 if (flipped) { in doIntersect()
55 result = intersections.horizontal(conic, left, right, line[0].fY, flipped); in doIntersect()
74 bool flipped = false; in testOneOffs() local
83 int result = doIntersect(intersections, conic, line, flipped); in testOneOffs()
[all …]
DPathOpsQuadLineIntersectionThreadedTest.cpp19 bool& flipped) { in doIntersect() argument
21 flipped = false; in doIntersect()
25 flipped = top > bottom; in doIntersect()
26 if (flipped) { in doIntersect()
30 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); in doIntersect()
34 flipped = left > right; in doIntersect()
35 if (flipped) { in doIntersect()
39 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); in doIntersect()
57 bool flipped = false; in testLineIntersect() local
58 int result = doIntersect(intersections, quad, line, flipped); in testLineIntersect()
DPathOpsCubicLineIntersectionTest.cpp105 bool flipped = false; in doIntersect() local
109 flipped = top > bottom; in doIntersect()
110 if (flipped) { in doIntersect()
114 result = intersections.vertical(cubic, top, bottom, line[0].fX, flipped); in doIntersect()
118 flipped = left > right; in doIntersect()
119 if (flipped) { in doIntersect()
123 result = intersections.horizontal(cubic, left, right, line[0].fY, flipped); in doIntersect()
/external/skqp/third_party/etc1/
Detc1.cpp176 etc1_uint32 low, bool second, bool flipped) { in decode_subblock() argument
180 if (flipped) { in decode_subblock()
188 if (flipped) { in decode_subblock()
236 bool flipped = (high & 1) != 0; in etc1_decode_block() local
237 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped); in etc1_decode_block()
238 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped); in etc1_decode_block()
256 etc1_byte* pColors, bool flipped, bool second) { in etc_average_colors_subblock() argument
261 if (flipped) { in etc_average_colors_subblock()
344 etc_compressed* pCompressed, bool flipped, bool second, in etc_encode_subblock_helper() argument
347 if (flipped) { in etc_encode_subblock_helper()
[all …]
/external/skia/third_party/etc1/
Detc1.cpp176 etc1_uint32 low, bool second, bool flipped) { in decode_subblock() argument
180 if (flipped) { in decode_subblock()
188 if (flipped) { in decode_subblock()
236 bool flipped = (high & 1) != 0; in etc1_decode_block() local
237 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped); in etc1_decode_block()
238 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped); in etc1_decode_block()
256 etc1_byte* pColors, bool flipped, bool second) { in etc_average_colors_subblock() argument
261 if (flipped) { in etc_average_colors_subblock()
344 etc_compressed* pCompressed, bool flipped, bool second, in etc_encode_subblock_helper() argument
347 if (flipped) { in etc_encode_subblock_helper()
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress_etc_tmp.h30 int flipped; in TAG() local
109 block->flipped = (src[3] & 0x1); in TAG()
128 blk = (block->flipped) ? (y >= 2) : (x >= 2); in TAG()
/external/skia/gm/
Dnested.cpp18 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { in NestedGM() argument
/external/skqp/gm/
Dnested.cpp18 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { in NestedGM() argument

1234