Home | History | Annotate | Download | only in effects

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();
73 const GrConicEffect& ce = processor.cast<GrConicEffect>();
74 fEdgeType = ce.getEdgeType();
233 const GrConicEffect& ce = gp.cast<GrConicEffect>();
234 uint32_t key = ce.isAntiAliased() ? (ce.isFilled() ? 0x0 : 0x1) : 0x2;
235 key |= GrColor_ILLEGAL != ce.color() ? 0x4 : 0x0;
236 key |= 0xff != ce.coverageScale() ? 0x8 : 0x0;
237 key |= ce.usesLocalCoords() && ce.localMatrix().hasPerspective() ? 0x10 : 0x0;
238 key |= ComputePosKey(ce.viewMatrix()) << 5;
347 const GrQuadEffect& ce = processor.cast<GrQuadEffect>();
348 fEdgeType = ce.getEdgeType();
449 const GrQuadEffect& ce = gp.cast<GrQuadEffect>();
450 uint32_t key = ce.isAntiAliased() ? (ce.isFilled() ? 0x0 : 0x1) : 0x2;
451 key |= ce.color() != GrColor_ILLEGAL ? 0x4 : 0x0;
452 key |= ce.coverageScale() != 0xff ? 0x8 : 0x0;
453 key |= ce.usesLocalCoords() && ce.localMatrix().hasPerspective() ? 0x10 : 0x0;
454 key |= ComputePosKey(ce.viewMatrix()) << 5;
521 const GrCubicEffect& ce = primProc.cast<GrCubicEffect>();
523 if (!ce.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(ce.viewMatrix())) {
524 fViewMatrix = ce.viewMatrix();
530 if (ce.color() != fColor) {
532 GrColorToRGBAFloat(ce.color(), c);
534 fColor = ce.color();
550 const GrCubicEffect& ce = processor.cast<GrCubicEffect>();
551 fEdgeType = ce.getEdgeType();
684 const GrCubicEffect& ce = gp.cast<GrCubicEffect>();
685 uint32_t key = ce.isAntiAliased() ? (ce.isFilled() ? 0x0 : 0x1) : 0x2;
686 key |= ce.color() != GrColor_ILLEGAL ? 0x4 : 0x8;
687 key |= ComputePosKey(ce.viewMatrix()) << 5;