Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: gpu/command_buffer/tests/gl_manager.cc

Issue 217813004: Make ShaderTranslatorCache thread safe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: protect ShFinalize Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/tests/gl_manager.cc
diff --git a/gpu/command_buffer/tests/gl_manager.cc b/gpu/command_buffer/tests/gl_manager.cc
index e8d6452d69cfc68c8f32a6923d4493c94c286651..b61a1d10a021ac1307142b54a0367657215fc23f 100644
--- a/gpu/command_buffer/tests/gl_manager.cc
+++ b/gpu/command_buffer/tests/gl_manager.cc
@@ -164,6 +164,7 @@ void GLManager::Initialize(const GLManager::Options& options) {
ASSERT_TRUE(decoder_->Initialize(
surface_.get(),
context_.get(),
+ new gpu::gles2::ShaderTranslatorCache,
true,
options.size,
::gpu::gles2::DisallowedFeatures(),

Powered by Google App Engine
This is Rietveld 408576698