Searched refs:kNumPoints (Results 1 - 6 of 6) sorted by relevance
/external/skia/src/gpu/ |
H A D | GrQuad.h | 37 matrix.mapPoints(fPoints, kNumPoints); 45 memcpy(fPoints, that.fPoints, sizeof(SkPoint) * kNumPoints); 58 SkASSERT(i < kNumPoints); 63 static const int kNumPoints = 4; 64 SkPoint fPoints[kNumPoints];
|
/external/skqp/src/gpu/ |
H A D | GrQuad.h | 37 matrix.mapPoints(fPoints, kNumPoints); 45 memcpy(fPoints, that.fPoints, sizeof(SkPoint) * kNumPoints); 58 SkASSERT(i < kNumPoints); 63 static const int kNumPoints = 4; 64 SkPoint fPoints[kNumPoints];
|
/external/skia/example/ |
H A D | SkiaSDLExample.cpp | 87 static const int kNumPoints = 5; local 89 SkPoint points[kNumPoints] = {{0, SkIntToScalar(-50)} }; 91 rot.setRotate(SkIntToScalar(360) / kNumPoints); 92 for (int i = 1; i < kNumPoints; ++i) { 96 for (int i = 0; i < kNumPoints; ++i) { 97 concavePath.lineTo(points[(2 * i) % kNumPoints]);
|
/external/skqp/example/ |
H A D | SkiaSDLExample.cpp | 87 static const int kNumPoints = 5; local 89 SkPoint points[kNumPoints] = {{0, SkIntToScalar(-50)} }; 91 rot.setRotate(SkIntToScalar(360) / kNumPoints); 92 for (int i = 1; i < kNumPoints; ++i) { 96 for (int i = 0; i < kNumPoints; ++i) { 97 concavePath.lineTo(points[(2 * i) % kNumPoints]);
|
/external/skia/bench/ |
H A D | PathBench.cpp | 324 fPoints.reset(kNumPoints); 325 for (int i = 0; i < kNumPoints; ++i) { 344 path->moveTo(fPoints[(fCurrPoint++) & (kNumPoints - 1)]); 347 path->lineTo(fPoints[(fCurrPoint++) & (kNumPoints - 1)]); 350 path->quadTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], 351 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)]); 355 path->conicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], 356 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)], 361 path->cubicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], 362 fPoints[(fCurrPoint + 1) & (kNumPoints 387 kNumPoints = 1 << 5, enumerator in enum:RandomPathBench::__anon20443 [all...] |
/external/skqp/bench/ |
H A D | PathBench.cpp | 324 fPoints.reset(kNumPoints); 325 for (int i = 0; i < kNumPoints; ++i) { 344 path->moveTo(fPoints[(fCurrPoint++) & (kNumPoints - 1)]); 347 path->lineTo(fPoints[(fCurrPoint++) & (kNumPoints - 1)]); 350 path->quadTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], 351 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)]); 355 path->conicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], 356 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)], 361 path->cubicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], 362 fPoints[(fCurrPoint + 1) & (kNumPoints 387 kNumPoints = 1 << 5, enumerator in enum:RandomPathBench::__anon21112 [all...] |
Completed in 324 milliseconds