| 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 "cc/quads/largest_draw_quad.h" | 5 #include "cc/quads/largest_draw_quad.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <algorithm> | 9 #include <algorithm> |
| 8 | 10 |
| 9 #include "cc/quads/debug_border_draw_quad.h" | 11 #include "cc/quads/debug_border_draw_quad.h" |
| 10 #include "cc/quads/io_surface_draw_quad.h" | 12 #include "cc/quads/io_surface_draw_quad.h" |
| 11 #include "cc/quads/picture_draw_quad.h" | 13 #include "cc/quads/picture_draw_quad.h" |
| 12 #include "cc/quads/render_pass_draw_quad.h" | 14 #include "cc/quads/render_pass_draw_quad.h" |
| 13 #include "cc/quads/solid_color_draw_quad.h" | 15 #include "cc/quads/solid_color_draw_quad.h" |
| 14 #include "cc/quads/stream_video_draw_quad.h" | 16 #include "cc/quads/stream_video_draw_quad.h" |
| 15 #include "cc/quads/surface_draw_quad.h" | 17 #include "cc/quads/surface_draw_quad.h" |
| 16 #include "cc/quads/texture_draw_quad.h" | 18 #include "cc/quads/texture_draw_quad.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 "Largest Draw Quad size needs update. TileDrawQuad is " | 56 "Largest Draw Quad size needs update. TileDrawQuad is " |
| 55 "currently largest."); | 57 "currently largest."); |
| 56 static_assert(sizeof(YUVVideoDrawQuad) <= kLargestDrawQuadSize, | 58 static_assert(sizeof(YUVVideoDrawQuad) <= kLargestDrawQuadSize, |
| 57 "Largest Draw Quad size needs update. YUVVideoDrawQuad is " | 59 "Largest Draw Quad size needs update. YUVVideoDrawQuad is " |
| 58 "currently largest."); | 60 "currently largest."); |
| 59 | 61 |
| 60 return kLargestDrawQuadSize; | 62 return kLargestDrawQuadSize; |
| 61 } | 63 } |
| 62 | 64 |
| 63 } // namespace cc | 65 } // namespace cc |
| OLD | NEW |