Home
last modified time | relevance | path

Searched refs:emitVertexFn (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/gpu/ccpr/
DGrCCPRCoverageProcessor.cpp134 SkString emitVertexFn; in emitGeometryShader() local
155 }().c_str(), &emitVertexFn); in emitGeometryShader()
165 return this->onEmitGeometryShader(g, emitVertexFn.c_str(), fGeomWind.c_str(), rtAdjust); in emitGeometryShader()
168 int PrimitiveProcessor::emitHullGeometry(GrGLSLGeometryBuilder* g, const char* emitVertexFn, in emitHullGeometry() argument
224 g->codeAppendf("%s(%s[rightidx], 1);", emitVertexFn, insetPts); in emitHullGeometry()
226 g->codeAppendf("%s(right + bloat * dr, 1);", emitVertexFn); in emitHullGeometry()
228 g->codeAppendf("%s(%s[%s], 1);", emitVertexFn, insetPts, wedgeIdx); in emitHullGeometry()
230 g->codeAppendf("%s(centroidpt, 1);", emitVertexFn); in emitHullGeometry()
232 g->codeAppendf("%s(self + bloat * %s, 1);", emitVertexFn, dr2); in emitHullGeometry()
234 g->codeAppendf( "%s(self + bloat * dl, 1);", emitVertexFn); in emitHullGeometry()
[all …]
DGrCCPRTriangleProcessor.cpp41 const char* emitVertexFn, in onEmitGeometryShader() argument
48 maxOutputVertices += this->emitHullGeometry(g, emitVertexFn, "in_vertices", 3, in onEmitGeometryShader()
58 maxOutputVertices += this->emitEdgeGeometry(g, emitVertexFn, "edgept0", "edgept1"); in onEmitGeometryShader()
95 const char* emitVertexFn, const char* wind, in onEmitGeometryShader() argument
100 g->codeAppendf("%s(self + vec2(-bloat.x, -bloat.y), 1);", emitVertexFn); in onEmitGeometryShader()
101 g->codeAppendf("%s(self + vec2(-bloat.x, +bloat.y), 1);", emitVertexFn); in onEmitGeometryShader()
102 g->codeAppendf("%s(self + vec2(+bloat.x, -bloat.y), 1);", emitVertexFn); in onEmitGeometryShader()
103 g->codeAppendf("%s(self + vec2(+bloat.x, +bloat.y), 1);", emitVertexFn); in onEmitGeometryShader()
DGrCCPRCubicProcessor.cpp97 void GrCCPRCubicProcessor::onEmitGeometryShader(GrGLSLGeometryBuilder* g, const char* emitVertexFn, in onEmitGeometryShader() argument
209 this->emitCubicGeometry(g, emitVertexFn, wind, rtAdjust); in onEmitGeometryShader()
213 const char* emitVertexFn, const char* wind, in emitCubicGeometry() argument
216 g->codeAppendf("%s(inset[0], 1);", emitVertexFn); in emitCubicGeometry()
217 g->codeAppendf("%s(inset[1], 1);", emitVertexFn); in emitCubicGeometry()
218 g->codeAppendf("%s(inset[3], 1);", emitVertexFn); in emitCubicGeometry()
219 g->codeAppendf("%s(inset[2], 1);", emitVertexFn); in emitCubicGeometry()
248 const char* emitVertexFn, const char* wind, in emitCubicGeometry() argument
269 int maxVertices = this->emitHullGeometry(g, emitVertexFn, "bezierpts", 4, "sk_InvocationID", in emitCubicGeometry()
DGrCCPRQuadraticProcessor.cpp46 const char* emitVertexFn, const char* wind, in onEmitGeometryShader() argument
66 this->emitQuadraticGeometry(g, emitVertexFn, wind, rtAdjust); in onEmitGeometryShader()
91 const char* emitVertexFn, in emitQuadraticGeometry() argument
117 int maxVerts = this->emitHullGeometry(g, emitVertexFn, "quadratic_hull", 4, "sk_InvocationID"); in emitQuadraticGeometry()
125 const char* emitVertexFn, in emitQuadraticGeometry() argument
138 int maxVertices = this->emitEdgeGeometry(g, emitVertexFn, "left", "right", in emitQuadraticGeometry()
DGrCCPRQuadraticProcessor.h45 void onEmitGeometryShader(GrGLSLGeometryBuilder*, const char* emitVertexFn, const char* wind,
52 virtual void emitQuadraticGeometry(GrGLSLGeometryBuilder*, const char* emitVertexFn,
64 void emitQuadraticGeometry(GrGLSLGeometryBuilder*, const char* emitVertexFn,
96 void emitQuadraticGeometry(GrGLSLGeometryBuilder*, const char* emitVertexFn,
DGrCCPRCubicProcessor.h64 void onEmitGeometryShader(GrGLSLGeometryBuilder*, const char* emitVertexFn, const char* wind,
68 virtual void emitCubicGeometry(GrGLSLGeometryBuilder*, const char* emitVertexFn,
93 void emitCubicGeometry(GrGLSLGeometryBuilder*, const char* emitVertexFn,
129 void emitCubicGeometry(GrGLSLGeometryBuilder*, const char* emitVertexFn,
DGrCCPRCoverageProcessor.h171 virtual void onEmitGeometryShader(GrGLSLGeometryBuilder*, const char* emitVertexFn,
201 int emitHullGeometry(GrGLSLGeometryBuilder*, const char* emitVertexFn, const char* polygonPts,
215 int emitEdgeGeometry(GrGLSLGeometryBuilder*, const char* emitVertexFn, const char* leftPt,
DGrCCPRTriangleProcessor.h57 void onEmitGeometryShader(GrGLSLGeometryBuilder*, const char* emitVertexFn, const char* wind,
93 void onEmitGeometryShader(GrGLSLGeometryBuilder*, const char* emitVertexFn, const char* wind,