diff options
author | vollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-13 21:33:23 +0000 |
---|---|---|
committer | vollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-13 21:33:23 +0000 |
commit | 4ef470e60ea1d5125b04e91ab06e24c6727bb4c3 (patch) | |
tree | 7b4e17e5e65b7fddde16c2df2a060065031f6f04 /skia/config | |
parent | cf93f4a0f2f3c8e385ac443efe3a168bcd2a3e49 (diff) | |
download | chromium_src-4ef470e60ea1d5125b04e91ab06e24c6727bb4c3.zip chromium_src-4ef470e60ea1d5125b04e91ab06e24c6727bb4c3.tar.gz chromium_src-4ef470e60ea1d5125b04e91ab06e24c6727bb4c3.tar.bz2 |
We should use double precision for SkMatrix44 in chrome
Float precision is no longer sufficient now that we're using these
matrices in cc/ where we're far more likely to hit numerical issues.
BUG=160295
Review URL: https://codereview.chromium.org/11293207
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167474 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/config')
-rw-r--r-- | skia/config/SkUserConfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h index 0b3f3c7..4423af5 100644 --- a/skia/config/SkUserConfig.h +++ b/skia/config/SkUserConfig.h @@ -172,6 +172,9 @@ #define SK_SCALAR_IS_FLOAT #undef SK_SCALAR_IS_FIXED +#define SK_MSCALAR_IS_DOUBLE +#undef SK_MSCALAR_IS_FLOAT + #define GR_MAX_OFFSCREEN_AA_DIM 512 // Log the file and line number for assertions. |