/external/skia/src/gpu/ |
D | GrQuad.h | 30 fPoints->setRectFan(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom); in set() 34 matrix.mapPoints(fPoints, kNumPoints); in map() 39 matrix.mapPoints(fPoints, kNumPoints); in setFromMappedRect() 43 memcpy(fPoints, that.fPoints, sizeof(SkPoint) * kNumPoints); 48 return fPoints; in points() 52 return fPoints; in points() 57 return fPoints[i]; in point() 62 SkPoint fPoints[kNumPoints]; variable
|
/external/skia/src/core/ |
D | SkPathRef.cpp | 37 sk_free(fPoints); in ~SkPathRef() 39 SkDEBUGCODE(fPoints = nullptr;) in ~SkPathRef() 88 matrix.mapPoints((*dst)->fPoints, src.points(), src.fPointCnt); in CreateTransformedCopy() 162 !buffer->read(ref->fPoints, pointCount * sizeof(SkPoint)) || in CreateFromBuffer() 267 buffer->write(fPoints, fPointCnt * sizeof(SkPoint)); in writeToBuffer() 289 sk_careful_memcpy(this->fPoints, ref.fPoints, ref.fPointCnt * sizeof(SkPoint)); in copy() 364 SkPoint* ret = fPoints + fPointCnt; in growForRepeatedVerb() 435 SkPoint* ret = fPoints + fPointCnt; in growForVerb() 608 SkASSERT(reinterpret_cast<intptr_t>(fVerbs) - reinterpret_cast<intptr_t>(fPoints) >= 0); in validate() 609 SkASSERT((nullptr == fPoints) == (nullptr == fVerbs)); in validate() [all …]
|
D | SkEdgeClipper.cpp | 200 fCurrPoint = fPoints; in clipQuad() 215 SkASSERT(fCurrPoint - fPoints <= kMaxPoints); in clipQuad() 221 fCurrPoint = fPoints; in clipQuad() 370 fCurrPoint = fPoints; in clipCubic() 382 SkASSERT(fCurrPoint - fPoints <= kMaxPoints); in clipCubic() 388 fCurrPoint = fPoints; in clipCubic()
|
D | SkEdgeClipper.h | 38 SkPoint fPoints[kMaxPoints]; variable
|
D | SkQuadClipper.h | 52 SkPoint fPoints[kMaxPoints]; variable
|
D | SkDraw.cpp | 684 pointData.fPoints, in drawPoints() 689 pointData.fPoints, in drawPoints() 702 r.set(pointData.fPoints[i].fX - pointData.fSize.fX, in drawPoints() 703 pointData.fPoints[i].fY - pointData.fSize.fY, in drawPoints() 704 pointData.fPoints[i].fX + pointData.fSize.fX, in drawPoints() 705 pointData.fPoints[i].fY + pointData.fSize.fY); in drawPoints()
|
D | SkDevice.cpp | 96 this->drawVertices(draw, SkCanvas::kTriangles_VertexMode, data.fVertexCount, data.fPoints, in drawPatch()
|
/external/skia/include/core/ |
D | SkPathRef.h | 240 const SkPoint* points() const { SkDEBUGCODE(this->validate();) return fPoints; } in points() 305 fPoints = NULL; in SkPathRef() 367 sk_free(fPoints); 368 fPoints = NULL; 424 fPoints = reinterpret_cast<SkPoint*>(sk_realloc_throw(fPoints, newSize)); in makeSpace() 427 reinterpret_cast<intptr_t>(fPoints) + newSize - oldVerbSize); in makeSpace() 429 reinterpret_cast<intptr_t>(fPoints) + oldSize - oldVerbSize); in makeSpace() 431 fVerbs = reinterpret_cast<uint8_t*>(reinterpret_cast<intptr_t>(fPoints) + newSize); in makeSpace() 448 return reinterpret_cast<intptr_t>(fVerbs) - reinterpret_cast<intptr_t>(fPoints); in currSize() 465 return fPoints; in getPoints() [all …]
|
D | SkPathEffect.h | 64 , fPoints(NULL) in PointData() 71 delete [] fPoints; in ~PointData() 86 SkPoint* fPoints; // the center point of each generated point variable
|
/external/skia/gm/ |
D | polygons.cpp | 56 SkPoint* fPoints; in onOnceBeforeDraw() member 71 fPolygons.push_back().moveTo(pgs[pgIndex].fPoints[0].fX, in onOnceBeforeDraw() 72 pgs[pgIndex].fPoints[0].fY); in onOnceBeforeDraw() 74 fPolygons.back().lineTo(pgs[pgIndex].fPoints[ptIndex].fX, in onOnceBeforeDraw() 75 pgs[pgIndex].fPoints[ptIndex].fY); in onOnceBeforeDraw()
|
/external/dng_sdk/source/ |
D | dng_gain_map.cpp | 258 : fPoints (points) in dng_gain_map() 270 ComputeBufferSize (ttFloat, fPoints, fPlanes, pad16Bytes))); in dng_gain_map() 297 return 44 + fPoints.v * fPoints.h * fPlanes * 4; in PutStreamSize() 306 stream.Put_uint32 (fPoints.v); in PutStream() 307 stream.Put_uint32 (fPoints.h); in PutStream() 317 for (int32 rowIndex = 0; rowIndex < fPoints.v; rowIndex++) in PutStream() 320 for (int32 colIndex = 0; colIndex < fPoints.h; colIndex++) in PutStream()
|
D | dng_gain_map.h | 39 dng_point fPoints; 66 return fPoints; in Points()
|
/external/skia/src/utils/ |
D | SkPatchUtils.h | 24 SkPoint* fPoints; member 32 , fPoints(nullptr) in VertexData() 38 delete[] fPoints; in ~VertexData()
|
D | SkPatchUtils.cpp | 40 memcpy(fPoints, points, 4 * sizeof(SkPoint)); in FwDCubicEvaluator() 82 return fPoints; in getCtrlPoints() 88 SkPoint fFwDiff[4], fPoints[4]; member in FwDCubicEvaluator 201 data->fPoints = new SkPoint[data->fVertexCount]; in getVertexData() 257 data->fPoints[dataIndex] = s0 + s1 - s2; in getVertexData()
|
D | SkPatchGrid.cpp | 182 data.fPoints, data.fTexCoords, data.fColors, fXferMode, in draw()
|
/external/skia/bench/ |
D | PathBench.cpp | 243 fPoints.reset(kNumPoints); in createData() 245 fPoints[i].set(fRandom.nextRangeScalar(bounds->fLeft, bounds->fRight), in createData() 263 path->moveTo(fPoints[(fCurrPoint++) & (kNumPoints - 1)]); in makePath() 266 path->lineTo(fPoints[(fCurrPoint++) & (kNumPoints - 1)]); in makePath() 269 path->quadTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], in makePath() 270 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)]); in makePath() 274 path->conicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], in makePath() 275 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)], in makePath() 280 path->cubicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], in makePath() 281 fPoints[(fCurrPoint + 1) & (kNumPoints - 1)], in makePath() [all …]
|
/external/skia/src/effects/ |
D | SkDashPathEffect.cpp | 265 results->fPoints = new SkPoint[results->fNumPoints]; in asPoints() 293 results->fPoints[curPt].set(x, y); in asPoints() 314 results->fPoints[curPt].set(x, y); in asPoints()
|
/external/skia/src/fonts/ |
D | SkTestScalerContext.h | 20 const SkScalar* fPoints; member
|
D | SkTestScalerContext.cpp | 29 init(fontData.fPoints, fontData.fVerbs); in SkTestFont()
|
/external/skia/tests/ |
D | CanvasTest.cpp | 107 , fPoints(kTestPoints) in TestData() 124 const SkPoint* fPoints; member
|
D | PathTest.cpp | 1844 SkPoint *fPoints; in test_isRect() member 1890 path.moveTo(tests[testIndex].fPoints[0].fX, tests[testIndex].fPoints[0].fY); in test_isRect() 1892 path.lineTo(tests[testIndex].fPoints[index].fX, tests[testIndex].fPoints[index].fY); in test_isRect() 1904 expected.set(tests[testIndex].fPoints, tests[testIndex].fPointCount); in test_isRect() 2011 SkPoint *fPoints; in test_isNestedFillRects() member 2053 path.moveTo(tests[testIndex].fPoints[0].fX, tests[testIndex].fPoints[0].fY); in test_isNestedFillRects() 2055 path.lineTo(tests[testIndex].fPoints[index].fX, tests[testIndex].fPoints[index].fY); in test_isNestedFillRects() 2070 testBounds.set(tests[testIndex].fPoints, tests[testIndex].fPointCount); in test_isNestedFillRects()
|