HomeSort by relevance Sort by last modified time
    Searched refs:GrPoint (Results 1 - 18 of 18) sorted by null

  /external/skia/gpu/src/
GrPathUtils.h 21 #include "GrPoint.h"
32 static uint32_t quadraticPointCount(const GrPoint points[], GrScalar tol);
33 static uint32_t generateQuadraticPoints(const GrPoint& p0,
34 const GrPoint& p1,
35 const GrPoint& p2,
37 GrPoint** points,
39 static uint32_t cubicPointCount(const GrPoint points[], GrScalar tol);
40 static uint32_t generateCubicPoints(const GrPoint& p0,
41 const GrPoint& p1,
42 const GrPoint& p2
    [all...]
GrPathUtils.cpp 18 #include "GrPoint.h"
24 uint32_t GrPathUtils::quadraticPointCount(const GrPoint points[],
39 uint32_t GrPathUtils::generateQuadraticPoints(const GrPoint& p0,
40 const GrPoint& p1,
41 const GrPoint& p2,
43 GrPoint** points,
52 GrPoint q[] = {
56 GrPoint r = { GrScalarAve(q[0].fX, q[1].fX), GrScalarAve(q[0].fY, q[1].fY) };
64 uint32_t GrPathUtils::cubicPointCount(const GrPoint points[],
77 uint32_t GrPathUtils::generateCubicPoints(const GrPoint& p0
    [all...]
GrTesselatedPathRenderer.cpp 21 #include "GrPoint.h"
27 PolygonData(GrTDArray<GrPoint>* vertices, GrTDArray<short>* indices)
32 GrTDArray<GrPoint>* fVertices;
60 *polygonData->fVertices->append() = GrPoint::Make(static_cast<float>(coords[0]),
90 bool isCCW(const GrPoint* pts)
99 GrPoint* vertices,
104 GrPoint p = vertices[numVertices - 1];
107 GrPoint q = vertices[i];
132 const GrPoint* translate) {
167 GrPoint* base = new GrPoint[maxPts]
    [all...]
GrMatrix.cpp 239 GrPoint srcPts[4], dstPts[4];
327 GrPoint pt;
366 void GrMatrix::mapIdentity(GrPoint* dst, const GrPoint* src, uint32_t count) const {
374 void GrMatrix::mapScale(GrPoint* dst, const GrPoint* src, uint32_t count) const {
382 void GrMatrix::mapTranslate(GrPoint* dst, const GrPoint* src, uint32_t count) const {
389 void GrMatrix::mapScaleAndTranslate(GrPoint* dst, const GrPoint* src, uint32_t count) const
    [all...]
GrPathRenderer.cpp 3 #include "GrPoint.h"
187 const GrPoint* translate,
223 GrPoint* base = (GrPoint*) arg.vertices();
224 GrPoint* vert = base;
225 GrPoint* subpathBase = base;
325 GrPoint pts[4];
384 GrPoint* boundsVerts = base + boundVertexStart;
398 bounds.setBounds((GrPoint*)base, vert - base);
436 const GrPoint* translate)
    [all...]
GrDrawTarget.cpp 78 sizeof(GrPoint);
102 sizeof(GrPoint);
122 sizeof(GrPoint);
145 sizeof(GrPoint);
242 GrAssert(sizeof(GrPoint) == VertexStageCoordOffset(s, tcMask));
244 GrAssert(2*sizeof(GrPoint) == VertexSize(tcMask));
256 GrAssert(2*sizeof(GrPoint) == VertexSize(posAsTex));
262 GrAssert(2*sizeof(GrPoint) == VertexColorOffset(withColor));
263 GrAssert(2*sizeof(GrPoint) + sizeof(GrColor) == VertexSize(withColor));
272 GrAssert(2*sizeof(GrPoint) == size)
    [all...]
GrContext.cpp 270 GrPoint* verts = (GrPoint*) arg.vertices();
274 2*sizeof(GrPoint));
275 verts[1].setIRectFan(0, 0, 1, 1, 2*sizeof(GrPoint));
664 static void setStrokeRectStrip(GrPoint verts[10], GrRect rect,
693 static void setInsetFan(GrPoint* pts, size_t stride,
774 GrPoint* fan0Pos = reinterpret_cast<GrPoint*>(verts);
775 GrPoint* fan1Pos = reinterpret_cast<GrPoint*>(verts + 4 * vsize)
    [all...]
GrGpu.cpp 229 static const GrPoint DATA[] = {
235 GrPoint(0, 0),
236 GrPoint(GR_Scalar1,0),
237 GrPoint(GR_Scalar1,GR_Scalar1),
238 GrPoint(0, GR_Scalar1)
GrTextContext.cpp 216 GrPoint translate;
GrInOrderDrawBuffer.cpp 129 const GrPoint& p = *GetVertexPoint(geo.vertices(), v, stride);
  /external/skia/gpu/include/
GrPathRenderer.h 23 struct GrPoint;
61 const GrPoint* translate) = 0;
106 const GrPoint* translate) {
147 const GrPoint* translate);
154 const GrPoint* translate);
161 const GrPoint* translate,
GrTesselatedPathRenderer.h 30 const GrPoint* translate);
41 const GrPoint* translate);
GrPoint.h 25 #define GrPoint SkPoint
GrContext_impl.h 73 posSrc.writeValue(i, (GrPoint*)curVertex);
76 texCoordSrc->writeValue(i, (GrPoint*)((intptr_t)curVertex + texOffsets[0]));
118 void writeValue(int i, GrPoint* dstCoord) const { GrAssert(false); }
GrDrawTarget.h 143 GrPoint intersect(const Edge& other) {
144 return GrPoint::Make(
597 // GrPoint].)
    [all...]
GrContext.h 319 const GrPoint* translate = NULL);
340 const GrPoint positions[],
341 const GrPoint texs[],
354 * void writeValue(int i, GrPoint* point) const;
360 * void writeValue(int i, GrPoint* point) const;
  /external/skia/include/gpu/
SkGr.h 66 // Verify that SkPoint and GrPoint are compatible if using the same scalar type
68 GR_STATIC_ASSERT(sizeof(SkPoint) == sizeof(GrPoint));
69 GR_STATIC_ASSERT(offsetof(SkPoint,fX) == offsetof(GrPoint,fX)));
70 GR_STATIC_ASSERT(offsetof(SkPoint,fY) == offsetof(GrPoint,fY)));
  /external/skia/src/gpu/
SkGpuDevice.cpp 486 void writeValue(int i, GrPoint* dstPosition) const {
501 void writeValue(int i, GrPoint* dstCoord) const {
549 void writeValue(int i, GrPoint* dstPoint) const {
566 void writeValue(int i, GrPoint* dstPoint) const {
584 void writeValue(int i, GrPoint* dstPoint) const {
665 (GrPoint*)pts,
    [all...]

Completed in 1635 milliseconds