| 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 "cc/surfaces/surface.h" | 5 #include "cc/surfaces/surface.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include <algorithm> | 10 #include <algorithm> |
| 8 | 11 |
| 9 #include "cc/base/container_util.h" | 12 #include "cc/base/container_util.h" |
| 10 #include "cc/output/compositor_frame.h" | 13 #include "cc/output/compositor_frame.h" |
| 11 #include "cc/output/copy_output_request.h" | 14 #include "cc/output/copy_output_request.h" |
| 12 #include "cc/surfaces/surface_factory.h" | 15 #include "cc/surfaces/surface_factory.h" |
| 13 #include "cc/surfaces/surface_id_allocator.h" | 16 #include "cc/surfaces/surface_id_allocator.h" |
| 14 #include "cc/surfaces/surface_manager.h" | 17 #include "cc/surfaces/surface_manager.h" |
| 15 | 18 |
| 16 namespace cc { | 19 namespace cc { |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 if (current_frame_) { | 210 if (current_frame_) { |
| 208 for (const auto& render_pass : | 211 for (const auto& render_pass : |
| 209 current_frame_->delegated_frame_data->render_pass_list) { | 212 current_frame_->delegated_frame_data->render_pass_list) { |
| 210 for (const auto& copy_request : render_pass->copy_requests) | 213 for (const auto& copy_request : render_pass->copy_requests) |
| 211 copy_request->SendEmptyResult(); | 214 copy_request->SendEmptyResult(); |
| 212 } | 215 } |
| 213 } | 216 } |
| 214 } | 217 } |
| 215 | 218 |
| 216 } // namespace cc | 219 } // namespace cc |
| OLD | NEW |