diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-11-01 15:45:43 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-02 13:07:41 +0000 |
commit | d1b2eec0d0f95977b52669025cb25038618c0335 (patch) | |
tree | 6e3bae30a741d09fd1cddb6448276f98b5adadf1 /tools | |
parent | b693fbf0fac5978650b2677cae7647128ddb52ab (diff) |
API to cache shader binaries between runs of Skia.
This CL does not include an actual implementation of said cache.
Stan is working on the cache implementation on the Android side of
things.
Bug: skia:
Change-Id: Iabe4f19b2dbacaaa1ead8bb3fa68d88c687b9a84
Reviewed-on: https://skia-review.googlesource.com/54780
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gpu/gl/debug/DebugGLTestContext.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gpu/gl/debug/DebugGLTestContext.cpp b/tools/gpu/gl/debug/DebugGLTestContext.cpp index 3cecd07a0a..f16692e8e0 100644 --- a/tools/gpu/gl/debug/DebugGLTestContext.cpp +++ b/tools/gpu/gl/debug/DebugGLTestContext.cpp @@ -982,7 +982,8 @@ private: case GR_GL_COMPILE_STATUS: *params = GR_GL_TRUE; break; - case GR_GL_INFO_LOG_LENGTH: + case GR_GL_INFO_LOG_LENGTH: // fallthru + case GL_PROGRAM_BINARY_LENGTH: *params = 0; break; // we don't expect any other pnames |