Lines Matching defs:ce
30 const GrConicEffect& ce = primProc.cast<GrConicEffect>();
32 if (!ce.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(ce.viewMatrix())) {
33 fViewMatrix = ce.viewMatrix();
39 if (ce.color() != fColor) {
41 GrColorToRGBAFloat(ce.color(), c);
43 fColor = ce.color();
46 if (ce.coverageScale() != 0xff && ce.coverageScale() != fCoverageScale) {
47 pdman.set1f(fCoverageScaleUniform, GrNormalizeByteToFloat(ce.coverageScale()));
48 fCoverageScale = ce.coverageScale();
50 this->setTransformDataHelper(ce.localMatrix(), pdman, &transformIter);
67 const GrConicEffect& ce = processor.cast<GrConicEffect>();
68 fEdgeType = ce.getEdgeType();
212 const GrConicEffect& ce = gp.cast<GrConicEffect>();
213 uint32_t key = ce.isAntiAliased() ? (ce.isFilled() ? 0x0 : 0x1) : 0x2;
214 key |= 0xff != ce.coverageScale() ? 0x8 : 0x0;
215 key |= ce.usesLocalCoords() && ce.localMatrix().hasPerspective() ? 0x10 : 0x0;
216 key |= ComputePosKey(ce.viewMatrix()) << 5;
319 const GrQuadEffect& ce = processor.cast<GrQuadEffect>();
320 fEdgeType = ce.getEdgeType();
413 const GrQuadEffect& ce = gp.cast<GrQuadEffect>();
414 uint32_t key = ce.isAntiAliased() ? (ce.isFilled() ? 0x0 : 0x1) : 0x2;
415 key |= ce.coverageScale() != 0xff ? 0x8 : 0x0;
416 key |= ce.usesLocalCoords() && ce.localMatrix().hasPerspective() ? 0x10 : 0x0;
417 key |= ComputePosKey(ce.viewMatrix()) << 5;
482 const GrCubicEffect& ce = primProc.cast<GrCubicEffect>();
484 if (!ce.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(ce.viewMatrix())) {
485 fViewMatrix = ce.viewMatrix();
491 if (!fDevKLMMatrix.cheapEqualTo(ce.devKLMMatrix())) {
492 fDevKLMMatrix = ce.devKLMMatrix();
498 if (ce.color() != fColor) {
500 GrColorToRGBAFloat(ce.color(), c);
502 fColor = ce.color();
524 const GrCubicEffect& ce = processor.cast<GrCubicEffect>();
525 fEdgeType = ce.getEdgeType();
642 const GrCubicEffect& ce = gp.cast<GrCubicEffect>();
643 uint32_t key = ce.isAntiAliased() ? (ce.isFilled() ? 0x0 : 0x1) : 0x2;
644 key |= ComputePosKey(ce.viewMatrix()) << 5;