OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stdio.h> | 5 #include <stdio.h> |
6 #include <cmath> | 6 #include <cmath> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include <GLES2/gl2.h> | 10 #include <GLES2/gl2.h> |
(...skipping 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1404 #if defined(TOOLKIT_GTK) | 1404 #if defined(TOOLKIT_GTK) |
1405 gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); | 1405 gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); |
1406 #endif | 1406 #endif |
1407 gfx::GLSurface::InitializeOneOff(); | 1407 gfx::GLSurface::InitializeOneOff(); |
1408 gpu::ApplyGpuDriverBugWorkarounds(CommandLine::ForCurrentProcess()); | 1408 gpu::ApplyGpuDriverBugWorkarounds(CommandLine::ForCurrentProcess()); |
1409 | 1409 |
1410 content::UnitTestTestSuite runner(suite); | 1410 content::UnitTestTestSuite runner(suite); |
1411 base::MessageLoop message_loop; | 1411 base::MessageLoop message_loop; |
1412 return runner.Run(); | 1412 return runner.Run(); |
1413 } | 1413 } |
OLD | NEW |