| 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 "cc/output/compositor_frame_metadata.h" | 7 #include "cc/output/compositor_frame_metadata.h" |
| 8 #include "cc/prioritized_resource_manager.h" | |
| 9 #include "cc/quads/draw_quad.h" | 8 #include "cc/quads/draw_quad.h" |
| 10 #include "cc/resource_provider.h" | 9 #include "cc/resources/prioritized_resource_manager.h" |
| 10 #include "cc/resources/resource_provider.h" |
| 11 #include "cc/test/fake_impl_proxy.h" | 11 #include "cc/test/fake_impl_proxy.h" |
| 12 #include "cc/test/fake_layer_tree_host_impl.h" | 12 #include "cc/test/fake_layer_tree_host_impl.h" |
| 13 #include "cc/test/fake_output_surface.h" | 13 #include "cc/test/fake_output_surface.h" |
| 14 #include "cc/test/pixel_test.h" | 14 #include "cc/test/pixel_test.h" |
| 15 #include "cc/test/render_pass_test_common.h" | 15 #include "cc/test/render_pass_test_common.h" |
| 16 #include "cc/test/render_pass_test_utils.h" | 16 #include "cc/test/render_pass_test_utils.h" |
| 17 #include "cc/test/test_web_graphics_context_3d.h" | 17 #include "cc/test/test_web_graphics_context_3d.h" |
| 18 #include "testing/gmock/include/gmock/gmock.h" | 18 #include "testing/gmock/include/gmock/gmock.h" |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
| 20 #include "third_party/khronos/GLES2/gl2.h" | 20 #include "third_party/khronos/GLES2/gl2.h" |
| (...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 | 869 |
| 870 TEST_F(MockOutputSurfaceTestWithSendCompositorFrame, DrawFrame) | 870 TEST_F(MockOutputSurfaceTestWithSendCompositorFrame, DrawFrame) |
| 871 { | 871 { |
| 872 EXPECT_CALL(m_outputSurface, SendFrameToParentCompositor(_)) | 872 EXPECT_CALL(m_outputSurface, SendFrameToParentCompositor(_)) |
| 873 .Times(1); | 873 .Times(1); |
| 874 DrawFrame(); | 874 DrawFrame(); |
| 875 } | 875 } |
| 876 | 876 |
| 877 } // namespace | 877 } // namespace |
| 878 } // namespace cc | 878 } // namespace cc |
| OLD | NEW |