OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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> |
11 #include <GLES2/gl2ext.h> | 11 #include <GLES2/gl2ext.h> |
12 #include <GLES2/gl2extchromium.h> | 12 #include <GLES2/gl2extchromium.h> |
13 | 13 |
14 #include "base/at_exit.h" | 14 #include "base/at_exit.h" |
15 #include "base/bind.h" | 15 #include "base/bind.h" |
16 #include "base/command_line.h" | 16 #include "base/command_line.h" |
17 #include "base/debug/trace_event.h" | |
18 #include "base/files/file_util.h" | 17 #include "base/files/file_util.h" |
19 #include "base/json/json_reader.h" | 18 #include "base/json/json_reader.h" |
20 #include "base/message_loop/message_loop.h" | 19 #include "base/message_loop/message_loop.h" |
21 #include "base/run_loop.h" | 20 #include "base/run_loop.h" |
22 #include "base/strings/stringprintf.h" | 21 #include "base/strings/stringprintf.h" |
23 #include "base/synchronization/waitable_event.h" | 22 #include "base/synchronization/waitable_event.h" |
24 #include "base/test/launcher/unit_test_launcher.h" | 23 #include "base/test/launcher/unit_test_launcher.h" |
25 #include "base/test/test_suite.h" | 24 #include "base/test/test_suite.h" |
26 #include "base/time/time.h" | 25 #include "base/time/time.h" |
| 26 #include "base/trace_event/trace_event.h" |
27 #include "content/common/gpu/client/gl_helper.h" | 27 #include "content/common/gpu/client/gl_helper.h" |
28 #include "content/common/gpu/client/gl_helper_readback_support.h" | 28 #include "content/common/gpu/client/gl_helper_readback_support.h" |
29 #include "content/common/gpu/client/gl_helper_scaling.h" | 29 #include "content/common/gpu/client/gl_helper_scaling.h" |
30 #include "content/public/test/unittest_test_suite.h" | 30 #include "content/public/test/unittest_test_suite.h" |
31 #include "content/test/content_test_suite.h" | 31 #include "content/test/content_test_suite.h" |
32 #include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h" | 32 #include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h" |
33 #include "media/base/video_frame.h" | 33 #include "media/base/video_frame.h" |
34 #include "testing/gtest/include/gtest/gtest.h" | 34 #include "testing/gtest/include/gtest/gtest.h" |
35 #include "third_party/skia/include/core/SkBitmap.h" | 35 #include "third_party/skia/include/core/SkBitmap.h" |
36 #include "third_party/skia/include/core/SkTypes.h" | 36 #include "third_party/skia/include/core/SkTypes.h" |
(...skipping 1934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1971 base::TestSuite* suite = new content::ContentTestSuite(argc, argv); | 1971 base::TestSuite* suite = new content::ContentTestSuite(argc, argv); |
1972 #if defined(OS_MACOSX) | 1972 #if defined(OS_MACOSX) |
1973 base::mac::ScopedNSAutoreleasePool pool; | 1973 base::mac::ScopedNSAutoreleasePool pool; |
1974 #endif | 1974 #endif |
1975 | 1975 |
1976 return base::LaunchUnitTestsSerially( | 1976 return base::LaunchUnitTestsSerially( |
1977 argc, | 1977 argc, |
1978 argv, | 1978 argv, |
1979 base::Bind(&RunHelper, base::Unretained(suite))); | 1979 base::Bind(&RunHelper, base::Unretained(suite))); |
1980 } | 1980 } |
OLD | NEW |