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

Unified Diff: src/core/SkDraw.cpp

Issue 2220603002: rename FoceCopyMode to SkCopyPixelMode (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: manual rebase Created 4 years, 4 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/SkBitmapProcShader.h ('k') | src/core/SkImagePriv.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkDraw.cpp
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp
index ce4c4081f22d1ae00dfc1ba82a0b7b8765f1aad8..487b46b05e05bbfb123f46b5e6494c4c703e587a 100644
--- a/src/core/SkDraw.cpp
+++ b/src/core/SkDraw.cpp
@@ -83,7 +83,9 @@ public:
const SkMatrix* localMatrix = nullptr)
: fPaint(paint) /* makes a copy of the paint */ {
fPaint.setShader(SkMakeBitmapShader(src, SkShader::kClamp_TileMode,
- SkShader::kClamp_TileMode, localMatrix, &fAllocator));
+ SkShader::kClamp_TileMode, localMatrix,
+ kNever_SkCopyPixelsMode,
+ &fAllocator));
// we deliberately left the shader with an owner-count of 2
fPaint.getShader()->ref();
SkASSERT(2 == fPaint.getShader()->getRefCnt());
« no previous file with comments | « src/core/SkBitmapProcShader.h ('k') | src/core/SkImagePriv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698