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 <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
5 #include <utility> | 8 #include <utility> |
6 | 9 |
7 #include "cc/quads/debug_border_draw_quad.h" | 10 #include "cc/quads/debug_border_draw_quad.h" |
8 #include "cc/quads/render_pass.h" | 11 #include "cc/quads/render_pass.h" |
9 #include "cc/quads/solid_color_draw_quad.h" | 12 #include "cc/quads/solid_color_draw_quad.h" |
10 #include "cc/quads/surface_draw_quad.h" | 13 #include "cc/quads/surface_draw_quad.h" |
11 #include "cc/quads/texture_draw_quad.h" | 14 #include "cc/quads/texture_draw_quad.h" |
12 #include "cc/resources/resource_provider.h" | 15 #include "cc/resources/resource_provider.h" |
13 #include "gpu/command_buffer/common/mailbox.h" | 16 #include "gpu/command_buffer/common/mailbox.h" |
14 #include "gpu/command_buffer/common/mailbox_holder.h" | 17 #include "gpu/command_buffer/common/mailbox_holder.h" |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 ASSERT_TRUE(mus_quad->debug_border_quad_state); | 504 ASSERT_TRUE(mus_quad->debug_border_quad_state); |
502 DebugBorderQuadStatePtr& mus_debug_border_state = | 505 DebugBorderQuadStatePtr& mus_debug_border_state = |
503 mus_quad->debug_border_quad_state; | 506 mus_quad->debug_border_quad_state; |
504 EXPECT_TRUE( | 507 EXPECT_TRUE( |
505 Color::From(arbitrary_color).Equals(mus_debug_border_state->color)); | 508 Color::From(arbitrary_color).Equals(mus_debug_border_state->color)); |
506 EXPECT_EQ(width, mus_debug_border_state->width); | 509 EXPECT_EQ(width, mus_debug_border_state->width); |
507 } | 510 } |
508 | 511 |
509 } // namespace | 512 } // namespace |
510 } // namespace mojo | 513 } // namespace mojo |
OLD | NEW |