aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrXferProcessor.h
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2018-01-12 20:58:02 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-12 20:58:14 +0000
commitbefff6580e9dc6b15bc6db3cc3f5fff22185cba8 (patch)
treeb259179938ee4af71e9fd3db69c985bf86f9a5ac /src/gpu/GrXferProcessor.h
parent9d6929cccfc3e64e75e6ef5b37f284b01b68fb28 (diff)
Revert "Use GrOvalOpFactory ops to draw non-AA rrects, ovals, and arcs."
This reverts commit 7cdabedc8b73b70e4aa70c5621a4bdc8e00ede44. Reason for revert: Speculative revert for causing GLProgram failure on textureBarrierSupport assert Original change's description: > Use GrOvalOpFactory ops to draw non-AA rrects, ovals, and arcs. > > This improves performance. > > Bug: skia: > Change-Id: Ie01170ec084be66ea166b2baffcdb415583aa523 > Reviewed-on: https://skia-review.googlesource.com/93321 > Commit-Queue: Brian Salomon <bsalomon@google.com> > Reviewed-by: Greg Daniel <egdaniel@google.com> TBR=egdaniel@google.com,bsalomon@google.com Change-Id: I327e133c889207fb682bec7d6a95f9bf1403770b No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/94161 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrXferProcessor.h')
-rw-r--r--src/gpu/GrXferProcessor.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/GrXferProcessor.h b/src/gpu/GrXferProcessor.h
index 3aac2d3732..5ede1ae828 100644
--- a/src/gpu/GrXferProcessor.h
+++ b/src/gpu/GrXferProcessor.h
@@ -301,9 +301,6 @@ public:
const GrCaps&,
GrPixelConfigIsClamped);
- /** If true mode will be the equivalent SkBlendMode for the XPFactory. */
- static bool AsBlendMode(const GrXPFactory*, SkBlendMode* mode);
-
protected:
constexpr GrXPFactory() {}
@@ -322,8 +319,6 @@ private:
const GrProcessorAnalysisCoverage&,
const GrCaps&,
GrPixelConfigIsClamped) const = 0;
-
- virtual bool asBlendMode(SkBlendMode*) const { return false; }
};
#if defined(__GNUC__)
#pragma GCC diagnostic pop