diff options
author | dyen <dyen@chromium.org> | 2015-02-12 14:27:43 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-12 22:28:49 +0000 |
commit | 0ff9e4405e9b91c0a2ca4a18a382ba6dd0d6f934 (patch) | |
tree | 1be7f8df87f1cd3de89bdaa27e2405858c77c3c6 /gpu/command_buffer/tests/gl_stream_draw_unittest.cc | |
parent | 5d118a6b1d6a6b5c7325a16c2f9ac6187cd5918d (diff) | |
download | chromium_src-0ff9e4405e9b91c0a2ca4a18a382ba6dd0d6f934.zip chromium_src-0ff9e4405e9b91c0a2ca4a18a382ba6dd0d6f934.tar.gz chromium_src-0ff9e4405e9b91c0a2ca4a18a382ba6dd0d6f934.tar.bz2 |
Shader compiles deferred until program link time after a cache miss.
Shader compiles are now deferred until glLinkProgram() or until an
status is queried from glGetShaderiv() which requires compilation
information.
Additionally, the shader cache is now checked first before the shader
gets compiled. That way, if the shader is in the cache it will skip
the compilation step altogether.
BUG=450690
TEST=trybots
Review URL: https://codereview.chromium.org/894973004
Cr-Commit-Position: refs/heads/master@{#316064}
Diffstat (limited to 'gpu/command_buffer/tests/gl_stream_draw_unittest.cc')
0 files changed, 0 insertions, 0 deletions