Reduced skslc memory consumption
authorethannicholas <ethannicholas@google.com>
Thu, 27 Oct 2016 15:15:50 +0000 (08:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 27 Oct 2016 15:15:50 +0000 (08:15 -0700)
commitcffaa70896fa5bc6c7bf98abbaafb1a755b49762
treec77ceac8b52452b914c9a0f900b2114537b8bff8
parent7929e3ae76719f65111e4fe7a2f2444d53228c2b
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
src/sksl/SkSLContext.h
src/sksl/SkSLIRGenerator.cpp
src/sksl/SkSLParser.cpp
src/sksl/SkSLToken.h
src/sksl/ir/SkSLFunctionCall.h
src/sksl/ir/SkSLFunctionDeclaration.h
src/sksl/ir/SkSLType.h
src/sksl/sksl.include
tests/SkSLErrorTest.cpp