Home
last modified time | relevance | path

Searched refs:pathProc (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/
DGrPathProcessor.cpp21 static void GenKey(const GrPathProcessor& pathProc, in GenKey() argument
24 b->add32(SkToInt(pathProc.overrides().readsColor()) | in GenKey()
25 (SkToInt(pathProc.overrides().readsCoverage()) << 1) | in GenKey()
26 (SkToInt(pathProc.viewMatrix().hasPerspective()) << 2)); in GenKey()
31 const GrPathProcessor& pathProc = args.fGP.cast<GrPathProcessor>(); in emitCode() local
33 if (!pathProc.viewMatrix().hasPerspective()) { in emitCode()
41 if (pathProc.overrides().readsColor()) { in emitCode()
52 if (pathProc.overrides().readsCoverage()) { in emitCode()
86 const GrPathProcessor& pathProc = primProc.cast<GrPathProcessor>(); in setData() local
87 if (pathProc.overrides().readsColor() && pathProc.color() != fColor) { in setData()
[all …]
/external/skia/src/gpu/batches/
DGrDrawPathBatch.cpp23 SkAutoTUnref<GrPathProcessor> pathProc(GrPathProcessor::Create(this->color(), in onDraw() local
26 state->gpu()->buildProgramDesc(&desc, *pathProc, *this->pipeline()); in onDraw()
27 GrPathRendering::DrawPathArgs args(pathProc, this->pipeline(), in onDraw()
121 SkAutoTUnref<GrPathProcessor> pathProc(GrPathProcessor::Create(this->color(), in onDraw() local
127 state->gpu()->buildProgramDesc(&desc, *pathProc, *this->pipeline()); in onDraw()
128 GrPathRendering::DrawPathArgs args(pathProc, this->pipeline(), in onDraw()
/external/skia/src/gpu/gl/
DGrGLProgram.cpp143 const GrPathProcessor& pathProc = primProc.cast<GrPathProcessor>(); in setRenderTargetState() local
144 fGpu->glPathRendering()->setProjectionMatrix(pathProc.viewMatrix(), in setRenderTargetState()