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

1 2

  /external/chromium_org/third_party/skia/src/gpu/
GrPathUtils.h 11 #include "GrPoint.h"
34 uint32_t quadraticPointCount(const GrPoint points[], SkScalar tol);
36 uint32_t generateQuadraticPoints(const GrPoint& p0,
37 const GrPoint& p1,
38 const GrPoint& p2,
40 GrPoint** points,
45 uint32_t cubicPointCount(const GrPoint points[], SkScalar tol);
47 uint32_t generateCubicPoints(const GrPoint& p0,
48 const GrPoint& p1,
49 const GrPoint& p2
    [all...]
GrPathUtils.cpp 10 #include "GrPoint.h"
39 uint32_t GrPathUtils::quadraticPointCount(const GrPoint points[],
66 uint32_t GrPathUtils::generateQuadraticPoints(const GrPoint& p0,
67 const GrPoint& p1,
68 const GrPoint& p2,
70 GrPoint** points,
79 GrPoint q[] = {
83 GrPoint r = { SkScalarAve(q[0].fX, q[1].fX), SkScalarAve(q[0].fY, q[1].fY) };
91 uint32_t GrPathUtils::cubicPointCount(const GrPoint points[],
117 uint32_t GrPathUtils::generateCubicPoints(const GrPoint& p0
    [all...]
GrAARectRenderer.cpp 263 {kVec4ub_GrVertexAttribType, sizeof(GrPoint), kCoverage_GrVertexAttribBinding},
268 {kVec4ub_GrVertexAttribType, sizeof(GrPoint), kColor_GrVertexAttribBinding},
279 static void set_inset_fan(GrPoint* pts, size_t stride,
401 GrAssert(sizeof(GrPoint) + sizeof(GrColor) == vsize);
403 GrPoint* fan0Pos = reinterpret_cast<GrPoint*>(verts);
404 GrPoint* fan1Pos = reinterpret_cast<GrPoint*>(verts + 4 * vsize);
458 verts += sizeof(GrPoint);
498 GrPoint fPos
    [all...]
GrAAConvexPathRenderer.cpp 37 GrPoint fPts[2];
120 GrPoint::Side normSide;
122 normSide = GrPoint::kRight_Side;
124 normSide = GrPoint::kLeft_Side;
135 const GrPoint* prevPt = &sega.endPt();
175 GrPoint fFirstPoint;
180 void update_degenerate_test(DegenerateTestData* data, const GrPoint& pt) {
245 GrPoint pts[4];
301 GrPoint fPos;
302 GrPoint fUV
    [all...]
GrInOrderDrawBuffer.cpp 15 #include "GrPoint.h"
64 GrAssert(vertexSize >= sizeof(GrPoint));
66 const GrPoint* point = static_cast<const GrPoint*>(vertices);
70 point = reinterpret_cast<GrPoint*>(reinterpret_cast<intptr_t>(point) + vertexSize);
81 {kVec4ub_GrVertexAttribType, sizeof(GrPoint), kColor_GrVertexAttribBinding},
82 {kVec2f_GrVertexAttribType, sizeof(GrPoint)+sizeof(GrColor),
88 {kVec2f_GrVertexAttribType, sizeof(GrPoint), kLocalCoord_GrVertexAttribBinding},
104 *colorOffset = sizeof(GrPoint);
105 *localOffset = sizeof(GrPoint) + sizeof(GrColor)
    [all...]
GrOvalRenderer.cpp 27 GrPoint fPos;
28 GrPoint fOffset;
34 GrPoint fPos;
35 GrPoint fOffset;
36 GrPoint fOuterRadii;
37 GrPoint fInnerRadii;
325 {kVec4f_GrVertexAttribType, sizeof(GrPoint), kEffect_GrVertexAttribBinding}
338 GrPoint center = GrPoint::Make(circle.centerX(), circle.centerY());
427 {kVec2f_GrVertexAttribType, sizeof(GrPoint), kEffect_GrVertexAttribBinding}
    [all...]
GrContext.cpp 299 {kVec2f_GrVertexAttribType, sizeof(GrPoint), kLocalCoord_GrVertexAttribBinding}
346 GrPoint* verts = (GrPoint*) arg.vertices();
347 verts[0].setIRectFan(0, 0, texture->width(), texture->height(), 2 * sizeof(GrPoint));
348 verts[1].setIRectFan(0, 0, 1, 1, 2 * sizeof(GrPoint));
659 static void setStrokeRectStrip(GrPoint verts[10], SkRect rect,
816 GrPoint* vertex = geo.positions();
862 {kVec2f_GrVertexAttribType, sizeof(GrPoint), kLocalCoord_GrVertexAttribBinding },
863 {kVec4ub_GrVertexAttribType, 2*sizeof(GrPoint), kColor_GrVertexAttribBinding}
868 {kVec4ub_GrVertexAttribType, sizeof(GrPoint), kColor_GrVertexAttribBinding}
    [all...]
GrDefaultPathRenderer.cpp 243 GrPoint* base = reinterpret_cast<GrPoint*>(arg->vertices());
245 GrPoint* vert = base;
247 GrPoint pts[4];
GrPathRenderer.h 22 struct GrPoint;
GrTextContext.cpp 114 {kVec2f_GrVertexAttribType, sizeof(GrPoint), kEffect_GrVertexAttribBinding}
238 GrAssert(2*sizeof(GrPoint) == fDrawTarget->getDrawState().getVertexSize());
GrDrawState.h 15 #include "GrPoint.h"
179 * Gets a pointer to a GrPoint of a vertex's position or texture
186 * @return pointer to the vertex component as a GrPoint
188 static GrPoint* GetVertexPoint(void* vertices,
193 return GrTCast<GrPoint*>(start + offset +
196 static const GrPoint* GetVertexPoint(const void* vertices,
201 return GrTCast<const GrPoint*>(start + offset +
    [all...]
GrAAHairLinePathRenderer.cpp 329 GrPoint pathPts[4];
330 GrPoint devPts[4];
482 GrPoint fPos;
487 GrPoint fPos;
501 GR_STATIC_ASSERT(sizeof(BezierVertex) == 3 * sizeof(GrPoint));
524 DevToUV.apply<kVertsPerQuad, sizeof(BezierVertex), sizeof(GrPoint)>(verts);
    [all...]
  /external/skia/src/gpu/
GrPathUtils.h 11 #include "GrPoint.h"
34 uint32_t quadraticPointCount(const GrPoint points[], SkScalar tol);
36 uint32_t generateQuadraticPoints(const GrPoint& p0,
37 const GrPoint& p1,
38 const GrPoint& p2,
40 GrPoint** points,
45 uint32_t cubicPointCount(const GrPoint points[], SkScalar tol);
47 uint32_t generateCubicPoints(const GrPoint& p0,
48 const GrPoint& p1,
49 const GrPoint& p2
    [all...]
GrPathUtils.cpp 10 #include "GrPoint.h"
39 uint32_t GrPathUtils::quadraticPointCount(const GrPoint points[],
66 uint32_t GrPathUtils::generateQuadraticPoints(const GrPoint& p0,
67 const GrPoint& p1,
68 const GrPoint& p2,
70 GrPoint** points,
79 GrPoint q[] = {
83 GrPoint r = { SkScalarAve(q[0].fX, q[1].fX), SkScalarAve(q[0].fY, q[1].fY) };
91 uint32_t GrPathUtils::cubicPointCount(const GrPoint points[],
117 uint32_t GrPathUtils::generateCubicPoints(const GrPoint& p0
    [all...]
GrAARectRenderer.cpp 263 {kVec4ub_GrVertexAttribType, sizeof(GrPoint), kCoverage_GrVertexAttribBinding},
268 {kVec4ub_GrVertexAttribType, sizeof(GrPoint), kColor_GrVertexAttribBinding},
279 static void set_inset_fan(GrPoint* pts, size_t stride,
401 GrAssert(sizeof(GrPoint) + sizeof(GrColor) == vsize);
403 GrPoint* fan0Pos = reinterpret_cast<GrPoint*>(verts);
404 GrPoint* fan1Pos = reinterpret_cast<GrPoint*>(verts + 4 * vsize);
458 verts += sizeof(GrPoint);
498 GrPoint fPos
    [all...]
GrAAConvexPathRenderer.cpp 37 GrPoint fPts[2];
120 GrPoint::Side normSide;
122 normSide = GrPoint::kRight_Side;
124 normSide = GrPoint::kLeft_Side;
135 const GrPoint* prevPt = &sega.endPt();
175 GrPoint fFirstPoint;
180 void update_degenerate_test(DegenerateTestData* data, const GrPoint& pt) {
245 GrPoint pts[4];
301 GrPoint fPos;
302 GrPoint fUV
    [all...]
GrInOrderDrawBuffer.cpp 15 #include "GrPoint.h"
64 GrAssert(vertexSize >= sizeof(GrPoint));
66 const GrPoint* point = static_cast<const GrPoint*>(vertices);
70 point = reinterpret_cast<GrPoint*>(reinterpret_cast<intptr_t>(point) + vertexSize);
81 {kVec4ub_GrVertexAttribType, sizeof(GrPoint), kColor_GrVertexAttribBinding},
82 {kVec2f_GrVertexAttribType, sizeof(GrPoint)+sizeof(GrColor),
88 {kVec2f_GrVertexAttribType, sizeof(GrPoint), kLocalCoord_GrVertexAttribBinding},
104 *colorOffset = sizeof(GrPoint);
105 *localOffset = sizeof(GrPoint) + sizeof(GrColor)
    [all...]
GrOvalRenderer.cpp 27 GrPoint fPos;
28 GrPoint fOffset;
34 GrPoint fPos;
35 GrPoint fOffset;
36 GrPoint fOuterRadii;
37 GrPoint fInnerRadii;
325 {kVec4f_GrVertexAttribType, sizeof(GrPoint), kEffect_GrVertexAttribBinding}
338 GrPoint center = GrPoint::Make(circle.centerX(), circle.centerY());
427 {kVec2f_GrVertexAttribType, sizeof(GrPoint), kEffect_GrVertexAttribBinding}
    [all...]
GrContext.cpp 299 {kVec2f_GrVertexAttribType, sizeof(GrPoint), kLocalCoord_GrVertexAttribBinding}
346 GrPoint* verts = (GrPoint*) arg.vertices();
347 verts[0].setIRectFan(0, 0, texture->width(), texture->height(), 2 * sizeof(GrPoint));
348 verts[1].setIRectFan(0, 0, 1, 1, 2 * sizeof(GrPoint));
659 static void setStrokeRectStrip(GrPoint verts[10], SkRect rect,
816 GrPoint* vertex = geo.positions();
862 {kVec2f_GrVertexAttribType, sizeof(GrPoint), kLocalCoord_GrVertexAttribBinding },
863 {kVec4ub_GrVertexAttribType, 2*sizeof(GrPoint), kColor_GrVertexAttribBinding}
868 {kVec4ub_GrVertexAttribType, sizeof(GrPoint), kColor_GrVertexAttribBinding}
    [all...]
GrDefaultPathRenderer.cpp 243 GrPoint* base = reinterpret_cast<GrPoint*>(arg->vertices());
245 GrPoint* vert = base;
247 GrPoint pts[4];
GrPathRenderer.h 22 struct GrPoint;
GrTextContext.cpp 114 {kVec2f_GrVertexAttribType, sizeof(GrPoint), kEffect_GrVertexAttribBinding}
238 GrAssert(2*sizeof(GrPoint) == fDrawTarget->getDrawState().getVertexSize());
GrDrawState.h 15 #include "GrPoint.h"
179 * Gets a pointer to a GrPoint of a vertex's position or texture
186 * @return pointer to the vertex component as a GrPoint
188 static GrPoint* GetVertexPoint(void* vertices,
193 return GrTCast<GrPoint*>(start + offset +
196 static const GrPoint* GetVertexPoint(const void* vertices,
201 return GrTCast<const GrPoint*>(start + offset +
    [all...]
  /external/chromium_org/third_party/skia/include/gpu/
GrPoint.h 18 #define GrPoint SkPoint
  /external/skia/include/gpu/
GrPoint.h 18 #define GrPoint SkPoint

Completed in 241 milliseconds

1 2