diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-10-13 13:11:06 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-13 19:40:44 +0000 |
commit | 5b6e6277ad8768e37199b677eea361ca51654477 (patch) | |
tree | 99cf41720cc29ce2a7322156ba80dafa56da0183 /src/sksl/SkSLCPPCodeGenerator.h | |
parent | f543a60ef06a6b0ccb5a0a85ca5415021c81c9ee (diff) |
SkSL workaround for appendf 1024 byte restriction
Bug: skia:
Change-Id: Ibb04e032e27e834b5e3e40c40522e756223f58ec
Reviewed-on: https://skia-review.googlesource.com/59680
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/SkSLCPPCodeGenerator.h')
-rw-r--r-- | src/sksl/SkSLCPPCodeGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sksl/SkSLCPPCodeGenerator.h b/src/sksl/SkSLCPPCodeGenerator.h index 6727b9c849..ea4d030826 100644 --- a/src/sksl/SkSLCPPCodeGenerator.h +++ b/src/sksl/SkSLCPPCodeGenerator.h @@ -68,6 +68,8 @@ private: void writePrivateVarValues(); + void writeCodeAppend(const String& code); + bool writeEmitCode(std::vector<const Variable*>& uniforms); void writeSetData(std::vector<const Variable*>& uniforms); |