diff options
author | 2012-12-18 19:18:39 +0000 | |
---|---|---|
committer | 2012-12-18 19:18:39 +0000 | |
commit | 30711b764be6bbb58caa30a0ac5d1474c894efe7 (patch) | |
tree | 4014cf3c3bb63cab21359dbc126999d26db43f1e /src/core/SkDraw.cpp | |
parent | ee8a8e3931c1d3f39755ee8beaf0c7cb1ba91888 (diff) |
change SkMaskFilter methods to const, in preparation for making the class as
immutable and re-entrant safe.
Review URL: https://codereview.appspot.com/6944069
git-svn-id: http://skia.googlecode.com/svn/trunk@6881 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkDraw.cpp')
-rw-r--r-- | src/core/SkDraw.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index 3326b55faa..281c69c017 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -1,4 +1,3 @@ - /* * Copyright 2006 The Android Open Source Project * @@ -2651,7 +2650,7 @@ void SkBounder::commit() { #include "SkBlitter.h" static bool compute_bounds(const SkPath& devPath, const SkIRect* clipBounds, - SkMaskFilter* filter, const SkMatrix* filterMatrix, + const SkMaskFilter* filter, const SkMatrix* filterMatrix, SkIRect* bounds) { if (devPath.isEmpty()) { return false; @@ -2725,7 +2724,7 @@ static void draw_into_mask(const SkMask& mask, const SkPath& devPath, } bool SkDraw::DrawToMask(const SkPath& devPath, const SkIRect* clipBounds, - SkMaskFilter* filter, const SkMatrix* filterMatrix, + const SkMaskFilter* filter, const SkMatrix* filterMatrix, SkMask* mask, SkMask::CreateMode mode, SkPaint::Style style) { if (SkMask::kJustRenderImage_CreateMode != mode) { |