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

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

Issue 2324723002: Speed up quad deserialization. (Closed)
Patch Set: unit test fix Created 4 years, 3 months 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/draw_quad_unittest.cc ('k') | cc/quads/largest_draw_quad.cc » ('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 #ifndef CC_QUADS_LARGEST_DRAW_QUAD_H_ 5 #ifndef CC_QUADS_LARGEST_DRAW_QUAD_H_
6 #define CC_QUADS_LARGEST_DRAW_QUAD_H_ 6 #define CC_QUADS_LARGEST_DRAW_QUAD_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 CC_EXPORT size_t LargestDrawQuadSize(); 14 CC_EXPORT size_t LargestDrawQuadSubclassSize();
15 CC_EXPORT size_t LargestDrawQuadSerializedSize();
yzshen1 2016/09/08 18:57:13 does it make sense to add comment that this "seria
hubbe1 2016/09/08 21:05:47 Probably, assuming that's actually true. :)
15 16
16 } // namespace cc 17 } // namespace cc
17 18
18 #endif // CC_QUADS_LARGEST_DRAW_QUAD_H_ 19 #endif // CC_QUADS_LARGEST_DRAW_QUAD_H_
OLDNEW
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | cc/quads/largest_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698