Go to file
Ben Wagner 297c3c8e85 Ignore NTDDI_VERSION with DirectWrite.
Some builds set NTDDI_VERSION to a very old version of Windows to ensure
they run on those older versions of Windows. The dwrite_3.h header uses
NTDDI_VERSION in an odd manner, hiding immutable declarations of enums,
structs, and interfaces. NTDDI_VERSION was indended to hide functions
and extensions to structs. DWrite has one function (to create the
factory) and no structs which will be extended.

Skia is already tested to run on the oldest supported Windows platform
(Windows 7), so an external build building Skia with NTDDI_VERSION as a
build define should have no issues at runtime if Skia ignores it. If
Skia doesn't ignore NTDDI_VERSION in this case the DWrite backend will
be runtime limited to interfaces in very old versions of Windows,
instead of using newer interfaces which become available at runtime.

Change-Id: I3e9ac2c4116d75588bfff391928d3cd446d6363a
Reviewed-on: https://skia-review.googlesource.com/142324
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
2018-07-19 15:59:45 +00:00
animations
bench Revert "Reland "Add some optimizations to PolyUtils"" 2018-07-18 21:28:02 +00:00
bin add --sync to adb push in bin/droid 2018-06-28 15:46:57 +00:00
dm Reland "implemented metal gpu backend texture upload testing" 2018-07-18 18:17:32 +00:00
docker cloudbuild.yaml also needs a top level timeout. 2018-07-03 19:02:55 +00:00
docs fix bookmaker 2018-07-18 13:29:31 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental Add SkFloat2Bits and Region stub 2018-07-17 18:27:31 +00:00
fuzz Reland "SkDEBUGF: use __VA_ARGS__" 2018-07-18 15:37:41 +00:00
gm add new patheffects 2018-07-18 18:56:07 +00:00
gn Ignore NTDDI_VERSION with DirectWrite. 2018-07-19 15:59:45 +00:00
include remove unused serialization in textblob 2018-07-19 14:32:45 +00:00
infra Debug nightly bookmaker bot 2018-07-19 13:22:44 +00:00
modules Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
platform_tools SkAR-Java: finger painting first implementation 2018-07-18 15:31:35 +00:00
resources Add sRGB profile to mandrill images 2018-07-09 23:02:39 +00:00
samplecode Restore SkLightingShader and associated classes 2018-07-17 17:24:50 +00:00
site fix bookmaker bot latest 2018-07-19 14:54:55 +00:00
src Ignore NTDDI_VERSION with DirectWrite. 2018-07-19 15:59:45 +00:00
tests remove unused serialization in textblob 2018-07-19 14:32:45 +00:00
third_party Roll skia/third_party/skcms ae6a7acc22e5..dad22fe0e646 (1 commits) 2018-07-16 14:43:06 +00:00
tools Revert "Add kAAHairline to GpuPathRenderers" 2018-07-18 21:24:22 +00:00
.clang-format Revert "Update clang-format matching more of Chromium" 2018-05-24 13:27:25 +00:00
.gitignore Add OpenCL build. 2018-06-29 13:06:57 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixed SkVertices crashing on Windows DLL builds 2018-04-22 14:42:01 +00:00
BUILD.gn remove debug gl interface, grcontextfactory context type, and config. 2018-07-12 12:33:08 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2 6a5d98c4b528..da92a476b50a (1 commits) 2018-07-19 14:34:25 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Make CR and trailing whitespace errors. 2018-07-11 20:48:38 +00:00
public.bzl [Bazel] Omit new test that causes infinite loop in libjpeg-turbo. 2018-06-26 20:15:12 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt Whitespace change to trigger flutter roller 2018-06-22 01:18:46 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.