diff options
author | 2016-10-27 08:15:50 -0700 | |
---|---|---|
committer | 2016-10-27 08:15:50 -0700 | |
commit | cffaa70896fa5bc6c7bf98abbaafb1a755b49762 (patch) | |
tree | c77ceac8b52452b914c9a0f900b2114537b8bff8 /src/sksl/SkSLToken.h | |
parent | 7929e3ae76719f65111e4fe7a2f2444d53228c2b (diff) |
Reduced skslc memory consumption
The big change here is smarter generic type handling which allows us to
keep far fewer entries in the core symboltable. This also comments out
a number of OpenGL builtin functions which Skia does not use and is
unlikely to in the future.
BUG=655673
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2442063002
Review-Url: https://codereview.chromium.org/2442063002
Diffstat (limited to 'src/sksl/SkSLToken.h')
-rw-r--r-- | src/sksl/SkSLToken.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sksl/SkSLToken.h b/src/sksl/SkSLToken.h index b8a364c269..76a1df7f66 100644 --- a/src/sksl/SkSLToken.h +++ b/src/sksl/SkSLToken.h @@ -157,6 +157,8 @@ struct Token { Position fPosition; Kind fKind; + // will be the empty string unless the token has variable text content (identifiers, numeric + // literals, and directives) std::string fText; }; |