Create a semi-stable API for capturing the state of an SkCanvas and reconstructing that state across different versions of Skia.
R=joth@chromium.org, mtklein@google.com, reed@google.com, scroggo@google.com
Committed: https://code.google.com/p/skia/source/detail?r=11010
Review URL: https://codereview.chromium.org/23545017
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@11013 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests.gyp b/tests.gyp
index 9062446..aacffc9 100644
--- a/tests.gyp
+++ b/tests.gyp
@@ -34,6 +34,7 @@
'../tests/BlitRowTest.cpp',
'../tests/BlurTest.cpp',
'../tests/CanvasTest.cpp',
+ '../tests/CanvasStateTest.cpp',
'../tests/ChecksumTest.cpp',
'../tests/ClampRangeTest.cpp',
'../tests/ClipCacheTest.cpp',
diff --git a/utils.gyp b/utils.gyp
index 68bf6b6..df12b79 100644
--- a/utils.gyp
+++ b/utils.gyp
@@ -35,6 +35,7 @@
'../include/utils/SkBoundaryPatch.h',
'../include/utils/SkCamera.h',
+ '../include/utils/SkCanvasStateUtils.h',
'../include/utils/SkCubicInterval.h',
'../include/utils/SkCullPoints.h',
'../include/utils/SkDebugUtils.h',
@@ -65,6 +66,7 @@
'../src/utils/SkBitSet.h',
'../src/utils/SkBoundaryPatch.cpp',
'../src/utils/SkCamera.cpp',
+ '../src/utils/SkCanvasStateUtils.cpp',
'../src/utils/SkCubicInterval.cpp',
'../src/utils/SkCullPoints.cpp',
'../src/utils/SkDeferredCanvas.cpp',