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

Side by Side Diff: cc/surfaces/surface_aggregator.h

Issue 2870823002: Remove useless dest_resource_list_ (Closed)
Patch Set: Created 3 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 | « no previous file | cc/surfaces/surface_aggregator.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_SURFACES_SURFACE_AGGREGATOR_H_ 5 #ifndef CC_SURFACES_SURFACE_AGGREGATOR_H_
6 #define CC_SURFACES_SURFACE_AGGREGATOR_H_ 6 #define CC_SURFACES_SURFACE_AGGREGATOR_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <unordered_map> 9 #include <unordered_map>
10 10
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // that its RenderPassDrawQuads depend on 193 // that its RenderPassDrawQuads depend on
194 base::flat_map<int, base::flat_set<int>> render_pass_dependencies_; 194 base::flat_map<int, base::flat_set<int>> render_pass_dependencies_;
195 195
196 // The root damage rect of the currently-aggregating frame. 196 // The root damage rect of the currently-aggregating frame.
197 gfx::Rect root_damage_rect_; 197 gfx::Rect root_damage_rect_;
198 198
199 // True if the frame that's currently being aggregated has copy requests. 199 // True if the frame that's currently being aggregated has copy requests.
200 // This is valid during Aggregate after PrewalkTree is called. 200 // This is valid during Aggregate after PrewalkTree is called.
201 bool has_copy_requests_; 201 bool has_copy_requests_;
202 202
203 // Resource list for the aggregated frame.
204 TransferableResourceArray* dest_resource_list_;
205
206 // Tracks UMA stats for SurfaceDrawQuads during a call to Aggregate(). 203 // Tracks UMA stats for SurfaceDrawQuads during a call to Aggregate().
207 SurfaceDrawQuadUmaStats uma_stats_; 204 SurfaceDrawQuadUmaStats uma_stats_;
208 205
209 base::WeakPtrFactory<SurfaceAggregator> weak_factory_; 206 base::WeakPtrFactory<SurfaceAggregator> weak_factory_;
210 207
211 DISALLOW_COPY_AND_ASSIGN(SurfaceAggregator); 208 DISALLOW_COPY_AND_ASSIGN(SurfaceAggregator);
212 }; 209 };
213 210
214 } // namespace cc 211 } // namespace cc
215 212
216 #endif // CC_SURFACES_SURFACE_AGGREGATOR_H_ 213 #endif // CC_SURFACES_SURFACE_AGGREGATOR_H_
OLDNEW
« no previous file with comments | « no previous file | cc/surfaces/surface_aggregator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698