1ee76510f5dbf632d30975fc3509ef4f609156d2 |
|
02-Nov-2015 |
mtklein <mtklein@chromium.org> |
Start making all .cpp files compile-able on all platforms. I sometimes dream to hone our build process down to something as simple as $ find src -name '*.cpp' | xargs c++ <some cflags> -c -o skia.o To start, it helps if we can compile all files on all platforms. Each non-portable file guards itself with defines provided by SkTypes.h. This does not convert all non-portable code, but it's a good representative chunk. E.g. instead of having to remember which SkDebug_*.cpp to compile on which platform we can just compile all three and let the code itself sort it out. This has the nice side effect of making non-portable code declare the conditions under which it can compile explicitly. I've been testing mostly with the CMake build as it's easiest, but this should apply equally to BUILD, Gyp, and GN files... to any build system really. BUG=skia:4269 CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac10.9-Clang-x86_64-Release-CMake-Trybot Review URL: https://codereview.chromium.org/1411283005
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
6440f0b09ede274f93131eebb3ef49e73dfb2b9c |
|
27-Oct-2015 |
herb <herb@google.com> |
Add shared mutexes to the direct write cache code to get better parallelism. BUG=547182 Review URL: https://codereview.chromium.org/1424093002
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
546dc3294d6ad17bdaae40430e799ea33acfe943 |
|
23-Oct-2015 |
herb <herb@google.com> |
Use SkAutoTExclusive guard in DirectWrite port. Review URL: https://codereview.chromium.org/1417873005
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
c7378af961cabef5b77c4dae40d8d3b9c1471a9e |
|
21-Oct-2015 |
herb <herb@google.com> |
Add a mutex to protect the DWrite calls. BUG=skia:4479 Review URL: https://codereview.chromium.org/1421433004
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
96fcdcc219d2a0d3579719b84b28bede76efba64 |
|
27-Aug-2015 |
halcanary <halcanary@google.com> |
Style Change: NULL->nullptr DOCS_PREVIEW= https://skia.org/?cl=1316233002 Review URL: https://codereview.chromium.org/1316233002
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
2f19b551ac10b96a1a35a147063cd4300d6fe07a |
|
08-Jul-2015 |
dcheng <dcheng@chromium.org> |
Remove &glyph from SkASSERT. This tickles a warning in Clang: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] BUG=none Review URL: https://codereview.chromium.org/1220113003
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
12f03121bb76214b71677ac0208d74c3c56c3b1f |
|
19-Mar-2015 |
bungeman <bungeman@google.com> |
Support BGR with DirectWrite. BUG=chromium:468509 Review URL: https://codereview.chromium.org/1018863003
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
5f14c5e038a16c80d50c2f87ae7c8775f977456c |
|
05-Dec-2014 |
bungeman <bungeman@google.com> |
Factor text size device mapping in SkScalerContext. All of our font back-ends use the text size in some way other than simple concatentation with the current matrix. The code here finds the full device matrix and then decomposes it to extract the text size. FreeType, GDI, and DirectWrite use the text size as the pre-hint scale. CoreText will not scale color emoji above the requested text size, and certain features like 'trak' are performed on the text size. Review URL: https://codereview.chromium.org/748883005
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
d54d3fc82456f8789b3e4dff40faeb7b670bcf4b |
|
13-Nov-2014 |
reed <reed@google.com> |
remove unused kLCD_MaskFormat BUG=skia: Review URL: https://codereview.chromium.org/728673002
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
f548444684b9c96f7717aebe645944af4f95d650 |
|
10-Sep-2014 |
bungeman <bungeman@google.com> |
Detect presence of dwrite_1.h. This introduces the SK_HAS_DWRITE_1_H define which may be set at build time or will be true when WINVER_MAXVER >= 0x0602 . The dwrite_1.h header is available starting in Windows SDK 8.0. This change supports users who must still use Windows SDK 7.0. It also allows for easier local testing of the older interfaces on newer versions of Windows. See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1053652 R=george@mozilla.com, mtklein@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/552383002
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
49f085dddff10473b6ebf832a974288300224e60 |
|
05-Sep-2014 |
bsalomon <bsalomon@google.com> |
"NULL !=" = NULL R=reed@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/544233002
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
683a37692bc67ef1144922b73a1e871e7e1e842e |
|
28-Aug-2014 |
bungeman <bungeman@google.com> |
Fix error handling in DirectWrite with tiny text. If there is an error while trying to determine the metrics, we need to bail instead of potentially using uninitialized data. R=reed@google.com, mtklein@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/511783003
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
b2f7fce9e034c3b6749e75a129e7836df3529706 |
|
28-Aug-2014 |
Ben Wagner <bungeman@google.com> |
DirectWrite to use aliased if ClearType is empty. Some CJK fonts with some versions of DirectWrite return valid data for bitmaps, but not for cleartype data. For reference, two screenshots. M37 Stable and then with this patch: http://imgur.com/9pf3rB9,EiTb6Li See https://code.google.com/p/chromium/issues/detail?id=396624#c10 for content of test html file. R=eae@chromium.org, reed@google.com, shrikant@chromium.org, bungeman@chromium.org, cpu@chromium.org BUG=chromium:407945 Review URL: https://codereview.chromium.org/504343007
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
f73c237291bb1fc698f688d8a9b1cdd23838ed18 |
|
23-Jul-2014 |
bungeman <bungeman@google.com> |
Get additional DW font metrics when available. BUG=chromium:395043 R=eae@chromium.org, caryclark@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/412993002
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
410780677af260e32948b02c0725ef6ad761260c |
|
07-Jul-2014 |
bungeman <bungeman@google.com> |
Remove vertical/horizontal metrics selection. R=reed@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/370463002
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
9504dd5a098d64a96e6b617f07f58a13f2dfa9e4 |
|
02-Jul-2014 |
Ben Wagner <bungeman@google.com> |
Remove SK_IGNORE_DWRITE_RENDERING_FIX. This flag is no longer defined anywhere, so remove it's use.
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
761b2509d59787a8920b2e98911cff9f88e0eb4e |
|
30-Jun-2014 |
bungeman <bungeman@google.com> |
DirectWrite to detect GDI only fonts. The exist a number of webfonts which have poor hinting which look very bad with any vertical subsampling. The fonts often rely on drop out control to avoid zero coverage in the y direction. As a result, any font with hints but no 'gasp' table is considered to be poorly hinted in this way, and will not be rendered with vertical subsampling when hinted. R=eae@chromium.org, reed@google.com, mtklein@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/363433002
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
c83780c9ec9fb7dc46abed71a64d83ec0ce7a274 |
|
23-Jun-2014 |
Ben Wagner <bungeman@google.com> |
Remove unneeded return from DirectWrite.
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
740c3f17f7f37fca5268b60a83448953f075d8d1 |
|
23-Jun-2014 |
bungeman <bungeman@google.com> |
Better rendering detection with DirectWrite. When requesting embedded bitmaps, all sizes in a gridfit gasp range with a bitmap in that range should be gridfit to the fullest extent possible. R=eae@chromium.org, reed@google.com, mtklein@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/341343002
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
a3530ef268acbbbd84cd4c5465cdc29df5269390 |
|
20-Jun-2014 |
bungeman <bungeman@google.com> |
DirectWrite to not round already subpixel metrics. In keeping with the FreeType and Mac scaler contexts, do not artificially round already subpixel metrics. The subpixel flag should be the 'forceSubpixel' flag when it comes to metrics. Existing backends will give subpixel metrics when 'subpixel' is requested, but will not round proper metrics when 'subpixel' is not requested. R=reed@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/344253002
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|
98875e1abde4339ca29e0ff975f2127ac7e00049 |
|
05-Jun-2014 |
Ben Wagner <bungeman@google.com> |
Rename SkFontHost_win_dw.cpp SkScalerContext. This is a continuation of https://codereview.chromium.org/314193002/ . TBR=reed@google.com Review URL: https://codereview.chromium.org/315173004
/external/skia/src/ports/SkScalerContext_win_dw.cpp
|