| 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 <stdint.h> |
| 8 |
| 7 #include <set> | 9 #include <set> |
| 8 | 10 |
| 9 #include "base/location.h" | 11 #include "base/location.h" |
| 10 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
| 11 #include "base/thread_task_runner_handle.h" | 13 #include "base/thread_task_runner_handle.h" |
| 12 #include "cc/base/math_util.h" | 14 #include "cc/base/math_util.h" |
| 13 #include "cc/output/compositor_frame_metadata.h" | 15 #include "cc/output/compositor_frame_metadata.h" |
| 14 #include "cc/output/copy_output_request.h" | 16 #include "cc/output/copy_output_request.h" |
| 15 #include "cc/output/copy_output_result.h" | 17 #include "cc/output/copy_output_result.h" |
| 16 #include "cc/output/overlay_strategy_single_on_top.h" | 18 #include "cc/output/overlay_strategy_single_on_top.h" |
| (...skipping 2198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2215 EXPECT_CALL(overlay_scheduler, | 2217 EXPECT_CALL(overlay_scheduler, |
| 2216 Schedule(1, gfx::OVERLAY_TRANSFORM_NONE, _, viewport_rect, | 2218 Schedule(1, gfx::OVERLAY_TRANSFORM_NONE, _, viewport_rect, |
| 2217 BoundingRect(uv_top_left, uv_bottom_right))).Times(1); | 2219 BoundingRect(uv_top_left, uv_bottom_right))).Times(1); |
| 2218 | 2220 |
| 2219 renderer.DrawFrame(&render_passes_in_draw_order_, 1.f, viewport_rect, | 2221 renderer.DrawFrame(&render_passes_in_draw_order_, 1.f, viewport_rect, |
| 2220 viewport_rect, false); | 2222 viewport_rect, false); |
| 2221 } | 2223 } |
| 2222 | 2224 |
| 2223 } // namespace | 2225 } // namespace |
| 2224 } // namespace cc | 2226 } // namespace cc |
| OLD | NEW |