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 // The bulk of this file is support code; sorry about that. Here's an overview | 5 // The bulk of this file is support code; sorry about that. Here's an overview |
6 // to hopefully help readers of this code: | 6 // to hopefully help readers of this code: |
7 // - RenderingHelper is charged with interacting with X11/{EGL/GLES2,GLX/GL} or | 7 // - RenderingHelper is charged with interacting with X11/{EGL/GLES2,GLX/GL} or |
8 // Win/EGL. | 8 // Win/EGL. |
9 // - ClientState is an enum for the state of the decode client used by the test. | 9 // - ClientState is an enum for the state of the decode client used by the test. |
10 // - ClientStateNotification is a barrier abstraction that allows the test code | 10 // - ClientStateNotification is a barrier abstraction that allows the test code |
(...skipping 27 matching lines...) Expand all Loading... |
38 #include "base/process/process_handle.h" | 38 #include "base/process/process_handle.h" |
39 #include "base/stl_util.h" | 39 #include "base/stl_util.h" |
40 #include "base/strings/string_number_conversions.h" | 40 #include "base/strings/string_number_conversions.h" |
41 #include "base/strings/string_split.h" | 41 #include "base/strings/string_split.h" |
42 #include "base/strings/stringize_macros.h" | 42 #include "base/strings/stringize_macros.h" |
43 #include "base/strings/stringprintf.h" | 43 #include "base/strings/stringprintf.h" |
44 #include "base/strings/utf_string_conversions.h" | 44 #include "base/strings/utf_string_conversions.h" |
45 #include "base/synchronization/condition_variable.h" | 45 #include "base/synchronization/condition_variable.h" |
46 #include "base/synchronization/lock.h" | 46 #include "base/synchronization/lock.h" |
47 #include "base/synchronization/waitable_event.h" | 47 #include "base/synchronization/waitable_event.h" |
48 #include "base/thread_task_runner_handle.h" | |
49 #include "base/threading/thread.h" | 48 #include "base/threading/thread.h" |
| 49 #include "base/threading/thread_task_runner_handle.h" |
50 #include "build/build_config.h" | 50 #include "build/build_config.h" |
51 #include "gpu/command_buffer/service/gpu_preferences.h" | 51 #include "gpu/command_buffer/service/gpu_preferences.h" |
52 #include "media/filters/h264_parser.h" | 52 #include "media/filters/h264_parser.h" |
53 #include "media/gpu/fake_video_decode_accelerator.h" | 53 #include "media/gpu/fake_video_decode_accelerator.h" |
54 #include "media/gpu/gpu_video_decode_accelerator_factory_impl.h" | 54 #include "media/gpu/gpu_video_decode_accelerator_factory_impl.h" |
55 #include "media/gpu/rendering_helper.h" | 55 #include "media/gpu/rendering_helper.h" |
56 #include "media/gpu/video_accelerator_unittest_helpers.h" | 56 #include "media/gpu/video_accelerator_unittest_helpers.h" |
57 #include "testing/gtest/include/gtest/gtest.h" | 57 #include "testing/gtest/include/gtest/gtest.h" |
58 #include "ui/gfx/codec/png_codec.h" | 58 #include "ui/gfx/codec/png_codec.h" |
59 #include "ui/gl/gl_image.h" | 59 #include "ui/gl/gl_image.h" |
(...skipping 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1712 media::VaapiWrapper::PreSandboxInitialization(); | 1712 media::VaapiWrapper::PreSandboxInitialization(); |
1713 #endif | 1713 #endif |
1714 | 1714 |
1715 media::g_env = | 1715 media::g_env = |
1716 reinterpret_cast<media::VideoDecodeAcceleratorTestEnvironment*>( | 1716 reinterpret_cast<media::VideoDecodeAcceleratorTestEnvironment*>( |
1717 testing::AddGlobalTestEnvironment( | 1717 testing::AddGlobalTestEnvironment( |
1718 new media::VideoDecodeAcceleratorTestEnvironment())); | 1718 new media::VideoDecodeAcceleratorTestEnvironment())); |
1719 | 1719 |
1720 return RUN_ALL_TESTS(); | 1720 return RUN_ALL_TESTS(); |
1721 } | 1721 } |
OLD | NEW |