diff options
author | caryclark <caryclark@google.com> | 2016-11-17 17:28:10 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-17 17:28:10 -0800 |
commit | 0201377b6c4bb3b73f2564092426f3962a0bd9ed (patch) | |
tree | 0ae87fde5a65d60505df0b64f993bf990e680dfc /core/fxge/ge | |
parent | c892d24abf5704bc795a0a1a4c5dd2356aa61f35 (diff) | |
download | pdfium-0201377b6c4bb3b73f2564092426f3962a0bd9ed.tar.xz |
fix corpus tests
All corpus tests draw reasonably well.
There are pixel differences, but no missing
features or large scale errors.
This was verified by running run_corpus_tests.py
on skiapaths and agg build dirs, then running
the skdiff tool to generate a report of the
pixel difference. For example, after running
$ ninja -C out/skia skdiff
$ ./out/skia/skdiff /repo/pdfium/out/agg/gen/pdfium/testing/corpus/ /repo/pdfium/out/skiapaths/gen/pdfium/testing/corpus/ ~/aggskiadiffs
view the report in a browser at ~/aggskiadiffs/index.html
R=dsinclair@chromium.org
BUG=skia:5973
Review-Url: https://codereview.chromium.org/2504863003
Diffstat (limited to 'core/fxge/ge')
-rw-r--r-- | core/fxge/ge/cfx_renderdevice.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/fxge/ge/cfx_renderdevice.cpp b/core/fxge/ge/cfx_renderdevice.cpp index 64bf0dd59b..a4ce6b7d5e 100644 --- a/core/fxge/ge/cfx_renderdevice.cpp +++ b/core/fxge/ge/cfx_renderdevice.cpp @@ -13,7 +13,7 @@ #include "core/fxge/cfx_pathdata.h" #include "core/fxge/ifx_renderdevicedriver.h" -#if defined _SKIA_SUPPORT_ +#if defined _SKIA_SUPPORT_ || defined _SKIA_SUPPORT_PATHS_ #include "third_party/skia/include/core/SkTypes.h" #endif @@ -817,6 +817,12 @@ bool CFX_RenderDevice::SetBitsWithMask(const CFX_DIBSource* pBitmap, } #endif +#ifdef _SKIA_SUPPORT_PATHS_ +void CFX_RenderDevice::UnPreMultiplyDevice() { + SkASSERT(0); +} +#endif + bool CFX_RenderDevice::DrawNormalText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, |