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/debug/test_web_graphics_context_3d.h" | |
11 #include "cc/output/compositor_frame_metadata.h" | 10 #include "cc/output/compositor_frame_metadata.h" |
12 #include "cc/resources/prioritized_resource_manager.h" | 11 #include "cc/resources/prioritized_resource_manager.h" |
13 #include "cc/resources/resource_provider.h" | 12 #include "cc/resources/resource_provider.h" |
14 #include "cc/test/fake_impl_proxy.h" | 13 #include "cc/test/fake_impl_proxy.h" |
15 #include "cc/test/fake_layer_tree_host_impl.h" | 14 #include "cc/test/fake_layer_tree_host_impl.h" |
16 #include "cc/test/fake_output_surface.h" | 15 #include "cc/test/fake_output_surface.h" |
17 #include "cc/test/fake_output_surface_client.h" | 16 #include "cc/test/fake_output_surface_client.h" |
18 #include "cc/test/mock_quad_culler.h" | 17 #include "cc/test/mock_quad_culler.h" |
19 #include "cc/test/pixel_test.h" | 18 #include "cc/test/pixel_test.h" |
20 #include "cc/test/render_pass_test_common.h" | 19 #include "cc/test/render_pass_test_common.h" |
21 #include "cc/test/render_pass_test_utils.h" | 20 #include "cc/test/render_pass_test_utils.h" |
| 21 #include "cc/test/test_web_graphics_context_3d.h" |
22 #include "gpu/GLES2/gl2extchromium.h" | 22 #include "gpu/GLES2/gl2extchromium.h" |
23 #include "gpu/command_buffer/client/context_support.h" | 23 #include "gpu/command_buffer/client/context_support.h" |
24 #include "testing/gmock/include/gmock/gmock.h" | 24 #include "testing/gmock/include/gmock/gmock.h" |
25 #include "testing/gtest/include/gtest/gtest.h" | 25 #include "testing/gtest/include/gtest/gtest.h" |
26 #include "third_party/khronos/GLES2/gl2.h" | 26 #include "third_party/khronos/GLES2/gl2.h" |
27 #include "third_party/skia/include/core/SkImageFilter.h" | 27 #include "third_party/skia/include/core/SkImageFilter.h" |
28 #include "third_party/skia/include/core/SkMatrix.h" | 28 #include "third_party/skia/include/core/SkMatrix.h" |
29 #include "third_party/skia/include/effects/SkColorFilterImageFilter.h" | 29 #include "third_party/skia/include/effects/SkColorFilterImageFilter.h" |
30 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" | 30 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" |
31 #include "ui/gfx/transform.h" | 31 #include "ui/gfx/transform.h" |
(...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1863 base::MessageLoop::current()->Run(); | 1863 base::MessageLoop::current()->Run(); |
1864 | 1864 |
1865 // The sync point should have happened. | 1865 // The sync point should have happened. |
1866 EXPECT_EQ(1, sync_point_callback_count); | 1866 EXPECT_EQ(1, sync_point_callback_count); |
1867 EXPECT_EQ(1, other_callback_count); | 1867 EXPECT_EQ(1, other_callback_count); |
1868 } | 1868 } |
1869 #endif // OS_ANDROID | 1869 #endif // OS_ANDROID |
1870 | 1870 |
1871 } // namespace | 1871 } // namespace |
1872 } // namespace cc | 1872 } // namespace cc |
OLD | NEW |