commit | ec871bf3531f32e143f5e5e07a70d3122b1f9ac9 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Tue Apr 27 12:50:08 2021 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Apr 27 21:54:31 2021 +0000 |
tree | 12095087b27f588c5ab2df8d8b20fe0923b23f59 | |
parent | b7223e1269f2303edbb230bc3a89c0472ab7514d [diff] |
Fix global variables which call built-in functions. When emitting a built-in function call, we need to honor the `fCPPMode` state. Previously we were rewriting the call into a DSL call even in C++ mode. We also now spell out Fract's complete namespace, to avoid a name collision with MacTypes.h: https://opensource.apple.com/source/CarbonHeaders/CarbonHeaders-18.1/MacTypes.h.auto.html typedef SInt32 Fract; Change-Id: I752b7816a64a9b2b2c79d92fe46cd774e1bab96a Bug: skia:11854 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/401678 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>