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

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

Issue 16159004: Hookup driver_bug_workarounds with gl_tests properly. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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
« no previous file with comments | « gpu/command_buffer/service/test_helper.cc ('k') | gpu/config/gpu_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/gl_tests_main.cc
===================================================================
--- gpu/command_buffer/tests/gl_tests_main.cc (revision 202179)
+++ gpu/command_buffer/tests/gl_tests_main.cc (working copy)
@@ -10,6 +10,7 @@
#endif
#include "gpu/command_buffer/client/gles2_lib.h"
#include "gpu/command_buffer/tests/gl_test_utils.h"
+#include "gpu/config/gpu_util.h"
#include "ui/gl/gl_surface.h"
#if defined(OS_ANDROID)
@@ -36,6 +37,7 @@
#endif
gfx::GLSurface::InitializeOneOff();
::gles2::Initialize();
+ gpu::ApplyGpuDriverBugWorkarounds(CommandLine::ForCurrentProcess());
base::MessageLoop::Type message_loop_type = base::MessageLoop::TYPE_UI;
base::MessageLoop main_message_loop(message_loop_type);
return GLTestHelper::RunTests(argc, argv);
« no previous file with comments | « gpu/command_buffer/service/test_helper.cc ('k') | gpu/config/gpu_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698