diff options
author | 2013-10-14 13:42:12 +0000 | |
---|---|---|
committer | 2013-10-14 13:42:12 +0000 | |
commit | 5e00989a283111cef05bed8102e45c16651e43e4 (patch) | |
tree | f392a48807724566537fd8d128f00ce175f1417c /gm/gm_error.h | |
parent | 1108fc3058e64a9363f7ea4ef41e2b04ca51f539 (diff) |
Add SkPDFDeviceFlatenner which extends SkPDFDevice to add support to flatten the path and the text when we have perspective.
prepare to deprecate SkPDFDevice constructor, and route gm and render_pdfs to use SkDocument::Create pdf interface instead. - controlled by a flag
add comments where we are supposed to flatten other features (paint, shaders, ... )
R=reed@google.com, bungeman@google.com, scroggo@google.com, vandebo@chromium.org, bsalomon@google.com
Author: edisonn@google.com
Review URL: https://codereview.chromium.org/24811002
git-svn-id: http://skia.googlecode.com/svn/trunk@11751 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/gm_error.h')
-rw-r--r-- | gm/gm_error.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gm/gm_error.h b/gm/gm_error.h index e442f5d894..e2274c4ffa 100644 --- a/gm/gm_error.h +++ b/gm/gm_error.h @@ -28,6 +28,7 @@ namespace skiagm { kIntentionallySkipped_ErrorType, kRenderModeMismatch_ErrorType, + kGeneratePdfFailed_ErrorType, kExpectationsMismatch_ErrorType, kMissingExpectations_ErrorType, kWritingReferenceImage_ErrorType, @@ -45,6 +46,8 @@ namespace skiagm { return "IntentionallySkipped"; case kRenderModeMismatch_ErrorType: return "RenderModeMismatch"; + case kGeneratePdfFailed_ErrorType: + return "GeneratePdfFailed"; case kExpectationsMismatch_ErrorType: return "ExpectationsMismatch"; case kMissingExpectations_ErrorType: |