| 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/draw_quad.h" | 5 #include "cc/draw_quad.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "cc/checkerboard_draw_quad.h" | 8 #include "cc/checkerboard_draw_quad.h" |
| 9 #include "cc/debug_border_draw_quad.h" | 9 #include "cc/debug_border_draw_quad.h" |
| 10 #include "cc/io_surface_draw_quad.h" | 10 #include "cc/io_surface_draw_quad.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 break; | 82 break; |
| 83 case RENDER_PASS: // RenderPass quads have their own copy() method. | 83 case RENDER_PASS: // RenderPass quads have their own copy() method. |
| 84 case INVALID: | 84 case INVALID: |
| 85 LOG(FATAL) << "Invalid DrawQuad material " << material; | 85 LOG(FATAL) << "Invalid DrawQuad material " << material; |
| 86 break; | 86 break; |
| 87 } | 87 } |
| 88 copy_quad->shared_quad_state = copied_shared_quad_state; | 88 copy_quad->shared_quad_state = copied_shared_quad_state; |
| 89 return copy_quad.Pass(); | 89 return copy_quad.Pass(); |
| 90 } | 90 } |
| 91 | 91 |
| 92 void DrawQuad::AppendResources(ResourceProvider::ResourceIdArray* resources) {} |
| 93 |
| 92 } // namespace cc | 94 } // namespace cc |
| OLD | NEW |