| 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/test/render_pass_test_common.h" | 5 #include "cc/test/render_pass_test_common.h" |
| 6 | 6 |
| 7 #include "cc/quads/checkerboard_draw_quad.h" | 7 #include "cc/quads/checkerboard_draw_quad.h" |
| 8 #include "cc/quads/debug_border_draw_quad.h" | 8 #include "cc/quads/debug_border_draw_quad.h" |
| 9 #include "cc/quads/io_surface_draw_quad.h" | 9 #include "cc/quads/io_surface_draw_quad.h" |
| 10 #include "cc/quads/render_pass_draw_quad.h" | 10 #include "cc/quads/render_pass_draw_quad.h" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 this->CreateAndAppendDrawQuad<RenderPassDrawQuad>(); | 102 this->CreateAndAppendDrawQuad<RenderPassDrawQuad>(); |
| 103 render_pass_quad->SetNew(shared_state, | 103 render_pass_quad->SetNew(shared_state, |
| 104 rect, | 104 rect, |
| 105 visible_rect, | 105 visible_rect, |
| 106 child_pass, | 106 child_pass, |
| 107 false, | 107 false, |
| 108 resource5, | 108 resource5, |
| 109 rect, | 109 rect, |
| 110 gfx::RectF(), | 110 gfx::RectF(), |
| 111 FilterOperations(), | 111 FilterOperations(), |
| 112 gfx::Vector2dF(), |
| 112 FilterOperations()); | 113 FilterOperations()); |
| 113 | 114 |
| 114 RenderPassDrawQuad* render_pass_replica_quad = | 115 RenderPassDrawQuad* render_pass_replica_quad = |
| 115 this->CreateAndAppendDrawQuad<RenderPassDrawQuad>(); | 116 this->CreateAndAppendDrawQuad<RenderPassDrawQuad>(); |
| 116 render_pass_replica_quad->SetNew(shared_state, | 117 render_pass_replica_quad->SetNew(shared_state, |
| 117 rect, | 118 rect, |
| 118 visible_rect, | 119 visible_rect, |
| 119 child_pass, | 120 child_pass, |
| 120 true, | 121 true, |
| 121 resource5, | 122 resource5, |
| 122 rect, | 123 rect, |
| 123 gfx::RectF(), | 124 gfx::RectF(), |
| 124 FilterOperations(), | 125 FilterOperations(), |
| 126 gfx::Vector2dF(), |
| 125 FilterOperations()); | 127 FilterOperations()); |
| 126 } | 128 } |
| 127 | 129 |
| 128 SolidColorDrawQuad* solid_color_quad = | 130 SolidColorDrawQuad* solid_color_quad = |
| 129 this->CreateAndAppendDrawQuad<SolidColorDrawQuad>(); | 131 this->CreateAndAppendDrawQuad<SolidColorDrawQuad>(); |
| 130 solid_color_quad->SetNew( | 132 solid_color_quad->SetNew( |
| 131 shared_state, rect, visible_rect, SK_ColorRED, false); | 133 shared_state, rect, visible_rect, SK_ColorRED, false); |
| 132 | 134 |
| 133 StreamVideoDrawQuad* stream_video_quad = | 135 StreamVideoDrawQuad* stream_video_quad = |
| 134 this->CreateAndAppendDrawQuad<StreamVideoDrawQuad>(); | 136 this->CreateAndAppendDrawQuad<StreamVideoDrawQuad>(); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 visible_rect, | 222 visible_rect, |
| 221 gfx::RectF(0, 0, 100, 100), | 223 gfx::RectF(0, 0, 100, 100), |
| 222 plane_resources[0], | 224 plane_resources[0], |
| 223 plane_resources[1], | 225 plane_resources[1], |
| 224 plane_resources[2], | 226 plane_resources[2], |
| 225 plane_resources[3], | 227 plane_resources[3], |
| 226 color_space); | 228 color_space); |
| 227 } | 229 } |
| 228 | 230 |
| 229 } // namespace cc | 231 } // namespace cc |
| OLD | NEW |