OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "cc/output/delegating_renderer.h" | 5 #include "cc/output/delegating_renderer.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "cc/test/fake_output_surface.h" | 9 #include "cc/test/fake_output_surface.h" |
8 #include "cc/test/layer_tree_test.h" | 10 #include "cc/test/layer_tree_test.h" |
9 #include "cc/test/render_pass_test_utils.h" | 11 #include "cc/test/render_pass_test_utils.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
11 | 13 |
12 namespace cc { | 14 namespace cc { |
13 | 15 |
14 class DelegatingRendererTest : public LayerTreeTest { | 16 class DelegatingRendererTest : public LayerTreeTest { |
15 public: | 17 public: |
16 DelegatingRendererTest() : LayerTreeTest(), output_surface_(NULL) {} | 18 DelegatingRendererTest() : LayerTreeTest(), output_surface_(NULL) {} |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 EXPECT_EQ(24u, last_frame.delegated_frame_data->resource_list.size()); | 124 EXPECT_EQ(24u, last_frame.delegated_frame_data->resource_list.size()); |
123 | 125 |
124 EndTest(); | 126 EndTest(); |
125 } | 127 } |
126 }; | 128 }; |
127 | 129 |
128 SINGLE_AND_MULTI_THREAD_DELEGATING_RENDERER_TEST_F( | 130 SINGLE_AND_MULTI_THREAD_DELEGATING_RENDERER_TEST_F( |
129 DelegatingRendererTestResources); | 131 DelegatingRendererTestResources); |
130 | 132 |
131 } // namespace cc | 133 } // namespace cc |
OLD | NEW |