aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrFragmentProcessor.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@google.com>2014-12-10 14:12:22 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-10 14:12:22 -0800
commit8c0f615fdd41b8b8048bf398791bb2138c511826 (patch)
tree99c1df79b95ce740b028382680a9af5359663219 /include/gpu/GrFragmentProcessor.h
parentc6bc58eded89b0c0a36b8e20e193c200f297a0da (diff)
Revert of Remove GP from drawstate, revision of invariant output for GP (patchset #9 id:160001 of https://codereview.chromium.org/791743003/)
Reason for revert: breaks mac Original issue's description: > Remove GP from drawstate, revision of invariant output for GP > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/c6bc58eded89b0c0a36b8e20e193c200f297a0da TBR=bsalomon@google.com,egdaniel@google.com,joshualitt@chromium.org NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/794843002
Diffstat (limited to 'include/gpu/GrFragmentProcessor.h')
-rw-r--r--include/gpu/GrFragmentProcessor.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/gpu/GrFragmentProcessor.h b/include/gpu/GrFragmentProcessor.h
index 0c155996d5..3f308d7e75 100644
--- a/include/gpu/GrFragmentProcessor.h
+++ b/include/gpu/GrFragmentProcessor.h
@@ -67,16 +67,6 @@ public:
return this->onIsEqual(that);
}
- /**
- * This function is used to perform optimizations. When called the invarientOuput param
- * indicate whether the input components to this processor in the FS will have known values.
- * In inout the validFlags member is a bitfield of GrColorComponentFlags. The isSingleComponent
- * member indicates whether the input will be 1 or 4 bytes. The function updates the members of
- * inout to indicate known values of its output. A component of the color member only has
- * meaning if the corresponding bit in validFlags is set.
- */
- void computeInvariantOutput(GrInvariantOutput* inout) const;
-
protected:
/**
* Fragment Processor subclasses call this from their constructor to register coordinate
@@ -111,11 +101,6 @@ protected:
*/
void setWillNotUseInputColor() { fWillUseInputColor = false; }
- /**
- * Subclass implements this to support getConstantColorComponents(...).
- */
- virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const = 0;
-
private:
/**
* Subclass implements this to support isEqual(). It will only be called if it is known that