| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "base/memory/scoped_ptr.h" | 5 #include "base/memory/scoped_ptr.h" |
| 6 #include "gpu/config/gpu_blacklist.h" | 6 #include "gpu/config/gpu_blacklist.h" |
| 7 #include "gpu/config/gpu_control_list_jsons.h" | 7 #include "gpu/config/gpu_control_list_jsons.h" |
| 8 #include "gpu/config/gpu_feature_type.h" | 8 #include "gpu/config/gpu_feature_type.h" |
| 9 #include "gpu/config/gpu_info.h" | 9 #include "gpu/config/gpu_info.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 #define GPU_BLACKLIST_FEATURE_TEST(test_name, feature_name, feature_type) \ | 85 #define GPU_BLACKLIST_FEATURE_TEST(test_name, feature_name, feature_type) \ |
| 86 TEST_F(GpuBlacklistTest, test_name) { \ | 86 TEST_F(GpuBlacklistTest, test_name) { \ |
| 87 RunFeatureTest(feature_name, feature_type); \ | 87 RunFeatureTest(feature_name, feature_type); \ |
| 88 } | 88 } |
| 89 | 89 |
| 90 GPU_BLACKLIST_FEATURE_TEST(Accelerated2DCanvas, | 90 GPU_BLACKLIST_FEATURE_TEST(Accelerated2DCanvas, |
| 91 "accelerated_2d_canvas", | 91 "accelerated_2d_canvas", |
| 92 GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS) | 92 GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS) |
| 93 | 93 |
| 94 GPU_BLACKLIST_FEATURE_TEST(AcceleratedCompositing, | 94 GPU_BLACKLIST_FEATURE_TEST(GpuCompositing, |
| 95 "accelerated_compositing", | 95 "gpu_compositing", |
| 96 GPU_FEATURE_TYPE_ACCELERATED_COMPOSITING) | 96 GPU_FEATURE_TYPE_GPU_COMPOSITING) |
| 97 | 97 |
| 98 GPU_BLACKLIST_FEATURE_TEST(WebGL, | 98 GPU_BLACKLIST_FEATURE_TEST(WebGL, |
| 99 "webgl", | 99 "webgl", |
| 100 GPU_FEATURE_TYPE_WEBGL) | 100 GPU_FEATURE_TYPE_WEBGL) |
| 101 | 101 |
| 102 GPU_BLACKLIST_FEATURE_TEST(Flash3D, | 102 GPU_BLACKLIST_FEATURE_TEST(Flash3D, |
| 103 "flash_3d", | 103 "flash_3d", |
| 104 GPU_FEATURE_TYPE_FLASH3D) | 104 GPU_FEATURE_TYPE_FLASH3D) |
| 105 | 105 |
| 106 GPU_BLACKLIST_FEATURE_TEST(FlashStage3D, | 106 GPU_BLACKLIST_FEATURE_TEST(FlashStage3D, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 125 | 125 |
| 126 GPU_BLACKLIST_FEATURE_TEST(AcceleratedVideo, | 126 GPU_BLACKLIST_FEATURE_TEST(AcceleratedVideo, |
| 127 "accelerated_video", | 127 "accelerated_video", |
| 128 GPU_FEATURE_TYPE_ACCELERATED_VIDEO) | 128 GPU_FEATURE_TYPE_ACCELERATED_VIDEO) |
| 129 | 129 |
| 130 GPU_BLACKLIST_FEATURE_TEST(PanelFitting, | 130 GPU_BLACKLIST_FEATURE_TEST(PanelFitting, |
| 131 "panel_fitting", | 131 "panel_fitting", |
| 132 GPU_FEATURE_TYPE_PANEL_FITTING) | 132 GPU_FEATURE_TYPE_PANEL_FITTING) |
| 133 | 133 |
| 134 } // namespace gpu | 134 } // namespace gpu |
| OLD | NEW |