aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPrimitiveProcessor.h
diff options
context:
space:
mode:
authorGravatar ethannicholas <ethannicholas@google.com>2016-03-25 09:26:03 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-25 09:26:03 -0700
commit28ef445d2e55ada7a45fd74e9248b4f22b16e061 (patch)
tree1059a795d12552e4b7207b83143b7d99c320cca1 /src/gpu/GrPrimitiveProcessor.h
parent5443f1b6bab26e0ee010d8b255f9ab6498a096ea (diff)
added support for glMinSampleShading
Diffstat (limited to 'src/gpu/GrPrimitiveProcessor.h')
-rw-r--r--src/gpu/GrPrimitiveProcessor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrPrimitiveProcessor.h b/src/gpu/GrPrimitiveProcessor.h
index e8bb449888..3300ec757d 100644
--- a/src/gpu/GrPrimitiveProcessor.h
+++ b/src/gpu/GrPrimitiveProcessor.h
@@ -217,6 +217,10 @@ public:
*/
virtual const char* getDestColorOverride() const { return nullptr; }
+ virtual float getSampleShading() const {
+ return 0.0;
+ }
+
protected:
GrPrimitiveProcessor() : fVertexStride(0) {}