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

Unified Diff: src/core/SkBlitter.cpp

Issue 2054213002: Add documention on SkBlitter for runs, and small cleanups. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix broken dispatch code. Created 4 years, 6 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/SkBlitter.h ('k') | src/core/SkBlitter_ARGB32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkBlitter.cpp
diff --git a/src/core/SkBlitter.cpp b/src/core/SkBlitter.cpp
index 43471946c1c1bde9b9c23ce1c2462523fcdd430d..f5d13dc5f1e08006b33b40a422ef221be4bcfc3c 100644
--- a/src/core/SkBlitter.cpp
+++ b/src/core/SkBlitter.cpp
@@ -158,7 +158,7 @@ void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) {
cy += 1;
}
} else {
- // Bits is calculated as the offset into the mask at the point {cx, cy} therfore, all
+ // Bits is calculated as the offset into the mask at the point {cx, cy} therefore, all
// addressing into the bit mask is relative to that point. Since this is an address
// calculated from a arbitrary bit in that byte, calculate the left most bit.
int bitsLeft = cx - ((cx - maskLeft) & 7);
« no previous file with comments | « src/core/SkBlitter.h ('k') | src/core/SkBlitter_ARGB32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698