Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: src/core/SkScan_AAAPath.cpp

Issue 2410303002: Add AA Analytic Compile Flag (and small fixes) (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkScan.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkScan_AAAPath.cpp
diff --git a/src/core/SkScan_AAAPath.cpp b/src/core/SkScan_AAAPath.cpp
index 501b2e67d8b7ccb5913a9982ef9f78a258c5ee25..147c24c3feafd5013e85a547354e2e463a023a29 100644
--- a/src/core/SkScan_AAAPath.cpp
+++ b/src/core/SkScan_AAAPath.cpp
@@ -565,8 +565,7 @@ static inline void blit_two_alphas(AdditiveBlitter* blitter, int y, int x,
addAlpha(maskRow[x + 1], a2);
} else {
if (fullAlpha == 0xFF) {
- blitter->getRealBlitter()->blitV(x, y, 1, a1);
- blitter->getRealBlitter()->blitV(x + 1, y, 1, a2);
+ blitter->getRealBlitter()->blitAntiH2(x, y, a1, a2);
} else {
blitter->blitAntiH(x, y, a1);
blitter->blitAntiH(x + 1, y, a2);
« no previous file with comments | « src/core/SkScan.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698