OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "cc/output/gl_renderer.h" | 5 #include "cc/output/gl_renderer.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "cc/base/math_util.h" | 9 #include "cc/base/math_util.h" |
10 #include "cc/output/compositor_frame_metadata.h" | 10 #include "cc/output/compositor_frame_metadata.h" |
11 #include "cc/resources/prioritized_resource_manager.h" | |
12 #include "cc/resources/resource_provider.h" | 11 #include "cc/resources/resource_provider.h" |
13 #include "cc/test/fake_impl_proxy.h" | 12 #include "cc/test/fake_impl_proxy.h" |
14 #include "cc/test/fake_layer_tree_host_impl.h" | 13 #include "cc/test/fake_layer_tree_host_impl.h" |
15 #include "cc/test/fake_output_surface.h" | 14 #include "cc/test/fake_output_surface.h" |
16 #include "cc/test/fake_output_surface_client.h" | 15 #include "cc/test/fake_output_surface_client.h" |
17 #include "cc/test/fake_renderer_client.h" | 16 #include "cc/test/fake_renderer_client.h" |
18 #include "cc/test/pixel_test.h" | 17 #include "cc/test/pixel_test.h" |
19 #include "cc/test/render_pass_test_common.h" | 18 #include "cc/test/render_pass_test_common.h" |
20 #include "cc/test/render_pass_test_utils.h" | 19 #include "cc/test/render_pass_test_utils.h" |
21 #include "cc/test/test_shared_bitmap_manager.h" | 20 #include "cc/test/test_shared_bitmap_manager.h" |
22 #include "cc/test/test_web_graphics_context_3d.h" | 21 #include "cc/test/test_web_graphics_context_3d.h" |
23 #include "gpu/GLES2/gl2extchromium.h" | 22 #include "gpu/GLES2/gl2extchromium.h" |
24 #include "gpu/command_buffer/client/context_support.h" | 23 #include "gpu/command_buffer/client/context_support.h" |
25 #include "testing/gmock/include/gmock/gmock.h" | 24 #include "testing/gmock/include/gmock/gmock.h" |
26 #include "testing/gtest/include/gtest/gtest.h" | 25 #include "testing/gtest/include/gtest/gtest.h" |
27 #include "third_party/khronos/GLES2/gl2.h" | |
28 #include "third_party/skia/include/core/SkImageFilter.h" | 26 #include "third_party/skia/include/core/SkImageFilter.h" |
29 #include "third_party/skia/include/core/SkMatrix.h" | 27 #include "third_party/skia/include/core/SkMatrix.h" |
30 #include "third_party/skia/include/effects/SkColorFilterImageFilter.h" | 28 #include "third_party/skia/include/effects/SkColorFilterImageFilter.h" |
31 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" | 29 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" |
32 #include "ui/gfx/transform.h" | 30 #include "ui/gfx/transform.h" |
33 | 31 |
34 using testing::_; | 32 using testing::_; |
35 using testing::AnyNumber; | 33 using testing::AnyNumber; |
36 using testing::Args; | 34 using testing::Args; |
37 using testing::AtLeast; | 35 using testing::AtLeast; |
(...skipping 1719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1757 base::MessageLoop::current()->Run(); | 1755 base::MessageLoop::current()->Run(); |
1758 | 1756 |
1759 // The sync point should have happened. | 1757 // The sync point should have happened. |
1760 EXPECT_EQ(1, sync_point_callback_count); | 1758 EXPECT_EQ(1, sync_point_callback_count); |
1761 EXPECT_EQ(1, other_callback_count); | 1759 EXPECT_EQ(1, other_callback_count); |
1762 } | 1760 } |
1763 #endif // OS_ANDROID | 1761 #endif // OS_ANDROID |
1764 | 1762 |
1765 } // namespace | 1763 } // namespace |
1766 } // namespace cc | 1764 } // namespace cc |
OLD | NEW |