OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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/quads/render_pass.h" | 5 #include "cc/quads/render_pass.h" |
6 | 6 |
| 7 #include "cc/output/copy_output_request.h" |
7 #include "cc/quads/draw_quad.h" | 8 #include "cc/quads/draw_quad.h" |
8 #include "cc/quads/shared_quad_state.h" | 9 #include "cc/quads/shared_quad_state.h" |
9 | 10 |
10 namespace cc { | 11 namespace cc { |
11 | 12 |
12 scoped_ptr<RenderPass> RenderPass::Create() { | 13 scoped_ptr<RenderPass> RenderPass::Create() { |
13 return make_scoped_ptr(new RenderPass); | 14 return make_scoped_ptr(new RenderPass); |
14 } | 15 } |
15 | 16 |
16 RenderPass::RenderPass() | 17 RenderPass::RenderPass() |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 this->transform_to_root_target = transform_to_root_target; | 63 this->transform_to_root_target = transform_to_root_target; |
63 this->has_transparent_background = has_transparent_background; | 64 this->has_transparent_background = has_transparent_background; |
64 this->has_occlusion_from_outside_target_surface = | 65 this->has_occlusion_from_outside_target_surface = |
65 has_occlusion_from_outside_target_surface; | 66 has_occlusion_from_outside_target_surface; |
66 | 67 |
67 DCHECK(quad_list.empty()); | 68 DCHECK(quad_list.empty()); |
68 DCHECK(shared_quad_state_list.empty()); | 69 DCHECK(shared_quad_state_list.empty()); |
69 } | 70 } |
70 | 71 |
71 } // namespace cc | 72 } // namespace cc |
OLD | NEW |