Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: cc/quads/largest_draw_quad.cc

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/quads/largest_draw_quad.h ('k') | cc/quads/render_pass.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « cc/quads/largest_draw_quad.h ('k') | cc/quads/render_pass.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698