diff options
author | ethannicholas <ethannicholas@google.com> | 2016-03-25 09:26:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-25 09:26:03 -0700 |
commit | 28ef445d2e55ada7a45fd74e9248b4f22b16e061 (patch) | |
tree | 1059a795d12552e4b7207b83143b7d99c320cca1 /src/gpu/GrPrimitiveProcessor.h | |
parent | 5443f1b6bab26e0ee010d8b255f9ab6498a096ea (diff) |
added support for glMinSampleShading
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1812223002
Review URL: https://codereview.chromium.org/1812223002
Diffstat (limited to 'src/gpu/GrPrimitiveProcessor.h')
-rw-r--r-- | src/gpu/GrPrimitiveProcessor.h | 4 |
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) {} |