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

Side by Side Diff: cc/playback/largest_display_item.cc

Issue 1144693002: cc: Move files out of cc/resources/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resources: android Created 5 years, 7 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/playback/largest_display_item.h ('k') | cc/playback/picture.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/resources/largest_display_item.h" 5 #include "cc/playback/largest_display_item.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "cc/resources/clip_display_item.h" 9 #include "cc/playback/clip_display_item.h"
10 #include "cc/resources/clip_path_display_item.h" 10 #include "cc/playback/clip_path_display_item.h"
11 #include "cc/resources/compositing_display_item.h" 11 #include "cc/playback/compositing_display_item.h"
12 #include "cc/resources/drawing_display_item.h" 12 #include "cc/playback/drawing_display_item.h"
13 #include "cc/resources/filter_display_item.h" 13 #include "cc/playback/filter_display_item.h"
14 #include "cc/resources/float_clip_display_item.h" 14 #include "cc/playback/float_clip_display_item.h"
15 #include "cc/resources/transform_display_item.h" 15 #include "cc/playback/transform_display_item.h"
16 16
17 #include "third_party/skia/include/core/SkPicture.h" 17 #include "third_party/skia/include/core/SkPicture.h"
18 18
19 namespace { 19 namespace {
20 const size_t kLargestDisplayItemSize = sizeof(cc::TransformDisplayItem); 20 const size_t kLargestDisplayItemSize = sizeof(cc::TransformDisplayItem);
21 } // namespace 21 } // namespace
22 22
23 namespace cc { 23 namespace cc {
24 24
25 size_t LargestDisplayItemSize() { 25 size_t LargestDisplayItemSize() {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 "Largest Draw Quad size needs update. TransformDisplayItem" 62 "Largest Draw Quad size needs update. TransformDisplayItem"
63 " is currently largest."); 63 " is currently largest.");
64 static_assert(sizeof(EndTransformDisplayItem) <= kLargestDisplayItemSize, 64 static_assert(sizeof(EndTransformDisplayItem) <= kLargestDisplayItemSize,
65 "Largest Draw Quad size needs update. EndTransformDisplayItem" 65 "Largest Draw Quad size needs update. EndTransformDisplayItem"
66 " is currently largest."); 66 " is currently largest.");
67 67
68 return kLargestDisplayItemSize; 68 return kLargestDisplayItemSize;
69 } 69 }
70 70
71 } // namespace cc 71 } // namespace cc
OLDNEW
« no previous file with comments | « cc/playback/largest_display_item.h ('k') | cc/playback/picture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698