Reduced skslc memory consumption
authorethannicholas <ethannicholas@google.com>
Fri, 28 Oct 2016 16:02:46 +0000 (09:02 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 28 Oct 2016 16:02:46 +0000 (09:02 -0700)
commit471e89405b71f04e07ae2887bde061185e262c81
treeb8fbded8db37f07ea9750ce317ef12f336dd414a
parent55e0346f4ba923ae1a4cc2f3754ee4a682578bcc
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

Committed: https://skia.googlesource.com/skia/+/cffaa70896fa5bc6c7bf98abbaafb1a755b49762
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