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

Side by Side Diff: cc/tiles/tile_draw_info.h

Issue 1888713002: cc: Merge TileTaskRunner to TileTaskWorkerPool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename_tile_task_client
Patch Set: feedback Created 4 years, 8 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/tiles/tile.h ('k') | cc/tiles/tile_manager.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TILES_TILE_DRAW_INFO_H_ 5 #ifndef CC_TILES_TILE_DRAW_INFO_H_
6 #define CC_TILES_TILE_DRAW_INFO_H_ 6 #define CC_TILES_TILE_DRAW_INFO_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/trace_event/trace_event_argument.h" 10 #include "base/trace_event/trace_event_argument.h"
11 #include "cc/raster/tile_task_runner.h"
12 #include "cc/resources/platform_color.h" 11 #include "cc/resources/platform_color.h"
13 #include "cc/resources/resource_provider.h" 12 #include "cc/resources/resource_provider.h"
14 #include "cc/resources/scoped_resource.h" 13 #include "cc/resources/scoped_resource.h"
15 14
16 namespace cc { 15 namespace cc {
17 16
18 // This class holds all the state relevant to drawing a tile. 17 // This class holds all the state relevant to drawing a tile.
19 class CC_EXPORT TileDrawInfo { 18 class CC_EXPORT TileDrawInfo {
20 public: 19 public:
21 enum Mode { RESOURCE_MODE, SOLID_COLOR_MODE, OOM_MODE }; 20 enum Mode { RESOURCE_MODE, SOLID_COLOR_MODE, OOM_MODE };
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 bool contents_swizzled_; 103 bool contents_swizzled_;
105 104
106 // Used for gathering UMA stats. 105 // Used for gathering UMA stats.
107 bool was_ever_ready_to_draw_; 106 bool was_ever_ready_to_draw_;
108 bool was_ever_used_to_draw_; 107 bool was_ever_used_to_draw_;
109 }; 108 };
110 109
111 } // namespace cc 110 } // namespace cc
112 111
113 #endif // CC_TILES_TILE_DRAW_INFO_H_ 112 #endif // CC_TILES_TILE_DRAW_INFO_H_
OLDNEW
« no previous file with comments | « cc/tiles/tile.h ('k') | cc/tiles/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698