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
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index bb088b2..a7ba61f 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -922,7 +922,7 @@
     // 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());