diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-04-25 15:52:27 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-04-25 15:52:27 +0000 |
commit | 7d30a213156bcf50d05dbf60401cc7ab98d286c6 (patch) | |
tree | 4f750c67c271afab0601e19d377684a24de0fbc6 /src/gpu/SkGpuDevice.cpp | |
parent | 0f191f30af7c067883c97b034baf70bfd92f5ea0 (diff) |
Fixes matrix inconsistency in GPU draws with filters. Also adds a GM test.
May make GM go red on bots, will rebaseline.
Committed on behalf of Guanqun.Lu@gmail.com
Review URL: http://codereview.appspot.com/6049046/
git-svn-id: http://skia.googlecode.com/svn/trunk@3764 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index bb088b2e39..a7ba61fbd3 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -922,7 +922,7 @@ bool drawWithMaskFilter(GrContext* context, const SkPath& path, // the current clip (and identity matrix) and grpaint settings // used to compute inverse view, if necessary - GrMatrix ivm = context->getMatrix(); + GrMatrix ivm = matrix; GrAutoMatrix avm(context, GrMatrix::I()); |