aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawTarget.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-08 14:42:56 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-08 14:42:56 +0000
commit1b20a10f0205da2d53e0837e4ddc6b2bd3b8a462 (patch)
treecf919a6c7d0402284ede9539ae44e1f8fd8cb803 /src/gpu/GrDrawTarget.h
parentab7442c8d733e0642d1cd80af23cdab43d77039e (diff)
Revert "Do not apply hairline optimization for paths if nv_path_rendering is used"
This reverts commit r12185. Review URL: https://codereview.chromium.org/66813002 git-svn-id: http://skia.googlecode.com/svn/trunk@12187 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrDrawTarget.h')
-rw-r--r--src/gpu/GrDrawTarget.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index c5058699b5..266dc0712b 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -100,15 +100,6 @@ public:
*/
bool canApplyCoverage() const;
- /** When we're using coverage AA but the blend is incompatible (given gpu
- * limitations) we should disable AA. */
- bool shouldDisableCoverageAAForBlend() {
- // Enable below if we should draw with AA even when it produces
- // incorrect blending.
- // return false;
- return !this->canApplyCoverage();
- }
-
/**
* Given the current draw state and hw support, will HW AA lines be used (if
* a line primitive type is drawn)?