| Index: src/gpu/GrProcessor.cpp
|
| diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp
|
| index c937c2ec1a214d27f0301a197a488be3bb3c3b5c..2bcd9b46a29feaac6857fde67cfa6f2cec853071 100644
|
| --- a/src/gpu/GrProcessor.cpp
|
| +++ b/src/gpu/GrProcessor.cpp
|
| @@ -145,6 +145,10 @@
|
| return true;
|
| }
|
|
|
| +void GrProcessor::computeInvariantOutput(GrInvariantOutput* inout) const {
|
| + this->onComputeInvariantOutput(inout);
|
| +}
|
| +
|
| ///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
| void GrFragmentProcessor::addCoordTransform(const GrCoordTransform* transform) {
|
| @@ -165,33 +169,10 @@
|
| return true;
|
| }
|
|
|
| -void GrFragmentProcessor::computeInvariantOutput(GrInvariantOutput* inout) const {
|
| - this->onComputeInvariantOutput(inout);
|
| -}
|
| -
|
| ///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
| -void GrGeometryProcessor::getInvariantOutputColor(GrInitInvariantOutput* out) const {
|
| - if (fHasVertexColor) {
|
| - out->setUnknownFourComponents();
|
| - } else {
|
| - out->setKnownFourComponents(fColor);
|
| - }
|
| - this->onGetInvariantOutputColor(out);
|
| -}
|
| +void GrGeometryProcessor::computeInvariantColor(GrInvariantOutput* intout) const {
|
|
|
| -void GrGeometryProcessor::getInvariantOutputCoverage(GrInitInvariantOutput* out) const {
|
| - this->onGetInvariantOutputCoverage(out);
|
| -}
|
| -
|
| -///////////////////////////////////////////////////////////////////////////////////////////////////
|
| -
|
| -void GrPathProcessor::getInvariantOutputColor(GrInitInvariantOutput* out) const {
|
| - out->setKnownFourComponents(fColor);
|
| -}
|
| -
|
| -void GrPathProcessor::getInvariantOutputCoverage(GrInitInvariantOutput* out) const {
|
| - out->setKnownSingleComponent(0xff);
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////////////////////////
|
| @@ -212,3 +193,4 @@
|
| // Initial static variable from GrXPFactory
|
| int32_t GrXPFactory::gCurrXPFClassID =
|
| GrXPFactory::kIllegalXPFClassID;
|
| +
|
|
|