Home | History | Annotate | Download | only in effects

Lines Matching refs: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();
220 const GrConicEffect& ce = gp.cast<GrConicEffect>();
221 uint32_t key = ce.isAntiAliased() ? (ce.isFilled() ? 0x0 : 0x1) : 0x2;
222 key |= 0xff != ce.coverageScale() ? 0x8 : 0x0;
223 key |= ce.usesLocalCoords() && ce.localMatrix().hasPerspective() ? 0x10 : 0x0;
224 key |= ComputePosKey(ce.viewMatrix()) << 5;
328 const GrQuadEffect& ce = processor.cast<GrQuadEffect>();
329 fEdgeType = ce.getEdgeType();
423 const GrQuadEffect& ce = gp.cast<GrQuadEffect>();
424 uint32_t key = ce.isAntiAliased() ? (ce.isFilled() ? 0x0 : 0x1) : 0x2;
425 key |= ce.coverageScale() != 0xff ? 0x8 : 0x0;
426 key |= ce.usesLocalCoords() && ce.localMatrix().hasPerspective() ? 0x10 : 0x0;
427 key |= ComputePosKey(ce.viewMatrix()) << 5;
493 const GrCubicEffect& ce = primProc.cast<GrCubicEffect>();
495 if (!ce.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(ce.viewMatrix())) {
496 fViewMatrix = ce.viewMatrix();
502 if (!fDevKLMMatrix.cheapEqualTo(ce.devKLMMatrix())) {
503 fDevKLMMatrix = ce.devKLMMatrix();
509 if (ce.color() != fColor) {
511 GrColorToRGBAFloat(ce.color(), c);
513 fColor = ce.color();
535 const GrCubicEffect& ce = processor.cast<GrCubicEffect>();
536 fEdgeType = ce.getEdgeType();
655 const GrCubicEffect& ce = gp.cast<GrCubicEffect>();
656 uint32_t key = ce.isAntiAliased() ? (ce.isFilled() ? 0x0 : 0x1) : 0x2;
657 key |= ComputePosKey(ce.viewMatrix()) << 5;