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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
235 } | 235 } |
236 scoped_ptr<cc::YUVVideoDrawQuad> yuv_quad = | 236 scoped_ptr<cc::YUVVideoDrawQuad> yuv_quad = |
237 cc::YUVVideoDrawQuad::Create(); | 237 cc::YUVVideoDrawQuad::Create(); |
238 yuv_quad->SetNew(shared_state2.get(), | 238 yuv_quad->SetNew(shared_state2.get(), |
239 rect, | 239 rect, |
240 opaque_rect, | 240 opaque_rect, |
241 gfx::Size(100, 100), | 241 gfx::Size(100, 100), |
242 plane_resources[0], | 242 plane_resources[0], |
243 plane_resources[1], | 243 plane_resources[1], |
244 plane_resources[2], | 244 plane_resources[2], |
245 plane_resources[3]); | 245 plane_resources[3], |
246 false); | |
danakj
2013/12/03 21:35:34
use a temp variable to give this boolean literal a
| |
246 AppendQuad(yuv_quad.PassAs<DrawQuad>()); | 247 AppendQuad(yuv_quad.PassAs<DrawQuad>()); |
247 | 248 |
248 AppendSharedQuadState(shared_state.Pass()); | 249 AppendSharedQuadState(shared_state.Pass()); |
249 AppendSharedQuadState(transformed_state.Pass()); | 250 AppendSharedQuadState(transformed_state.Pass()); |
250 AppendSharedQuadState(shared_state2.Pass()); | 251 AppendSharedQuadState(shared_state2.Pass()); |
251 } | 252 } |
252 | 253 |
253 } // namespace cc | 254 } // namespace cc |
OLD | NEW |