| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 11 #include "cc/base/region.h" | 11 #include "cc/base/region.h" |
| 12 #include "cc/output/ca_layer_overlay.h" | 12 #include "cc/output/ca_layer_overlay.h" |
| 13 #include "cc/output/filter_operation.h" | |
| 14 #include "cc/output/gl_renderer.h" | 13 #include "cc/output/gl_renderer.h" |
| 15 #include "cc/output/output_surface.h" | 14 #include "cc/output/output_surface.h" |
| 16 #include "cc/output/output_surface_client.h" | 15 #include "cc/output/output_surface_client.h" |
| 17 #include "cc/output/output_surface_frame.h" | 16 #include "cc/output/output_surface_frame.h" |
| 18 #include "cc/output/overlay_candidate_validator.h" | 17 #include "cc/output/overlay_candidate_validator.h" |
| 19 #include "cc/output/overlay_processor.h" | 18 #include "cc/output/overlay_processor.h" |
| 20 #include "cc/output/overlay_strategy_fullscreen.h" | 19 #include "cc/output/overlay_strategy_fullscreen.h" |
| 21 #include "cc/output/overlay_strategy_single_on_top.h" | 20 #include "cc/output/overlay_strategy_single_on_top.h" |
| 22 #include "cc/output/overlay_strategy_underlay.h" | 21 #include "cc/output/overlay_strategy_underlay.h" |
| 23 #include "cc/output/overlay_strategy_underlay_cast.h" | 22 #include "cc/output/overlay_strategy_underlay_cast.h" |
| 23 #include "cc/paint/filter_operation.h" |
| 24 #include "cc/quads/render_pass.h" | 24 #include "cc/quads/render_pass.h" |
| 25 #include "cc/quads/render_pass_draw_quad.h" | 25 #include "cc/quads/render_pass_draw_quad.h" |
| 26 #include "cc/quads/solid_color_draw_quad.h" | 26 #include "cc/quads/solid_color_draw_quad.h" |
| 27 #include "cc/quads/stream_video_draw_quad.h" | 27 #include "cc/quads/stream_video_draw_quad.h" |
| 28 #include "cc/quads/texture_draw_quad.h" | 28 #include "cc/quads/texture_draw_quad.h" |
| 29 #include "cc/resources/resource_provider.h" | 29 #include "cc/resources/resource_provider.h" |
| 30 #include "cc/resources/texture_mailbox.h" | 30 #include "cc/resources/texture_mailbox.h" |
| 31 #include "cc/test/fake_output_surface_client.h" | 31 #include "cc/test/fake_output_surface_client.h" |
| 32 #include "cc/test/fake_resource_provider.h" | 32 #include "cc/test/fake_resource_provider.h" |
| 33 #include "cc/test/geometry_test_utils.h" | 33 #include "cc/test/geometry_test_utils.h" |
| (...skipping 2475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2509 kOverlayRect, render_pass_id_, 2, gfx::RectF(), gfx::Size(), | 2509 kOverlayRect, render_pass_id_, 2, gfx::RectF(), gfx::Size(), |
| 2510 gfx::Vector2dF(1, 1), gfx::PointF(), gfx::RectF()); | 2510 gfx::Vector2dF(1, 1), gfx::PointF(), gfx::RectF()); |
| 2511 } | 2511 } |
| 2512 | 2512 |
| 2513 ProcessForOverlays(); | 2513 ProcessForOverlays(); |
| 2514 EXPECT_EQ(0U, ca_layer_list_.size()); | 2514 EXPECT_EQ(0U, ca_layer_list_.size()); |
| 2515 } | 2515 } |
| 2516 | 2516 |
| 2517 } // namespace | 2517 } // namespace |
| 2518 } // namespace cc | 2518 } // namespace cc |
| OLD | NEW |