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

Side by Side Diff: cc/resources/raster_tile_priority_queue_required.h

Issue 1108773003: Revert of cc: Remove tile sharing from tilings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 #ifndef CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_REQUIRED_H_ 5 #ifndef CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_REQUIRED_H_
6 #define CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_REQUIRED_H_ 6 #define CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_REQUIRED_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "cc/layers/picture_layer_impl.h" 10 #include "cc/layers/picture_layer_impl.h"
(...skipping 10 matching lines...) Expand all
21 21
22 bool IsEmpty() const override; 22 bool IsEmpty() const override;
23 Tile* Top() override; 23 Tile* Top() override;
24 void Pop() override; 24 void Pop() override;
25 25
26 private: 26 private:
27 friend class RasterTilePriorityQueue; 27 friend class RasterTilePriorityQueue;
28 28
29 void Build(const std::vector<PictureLayerImpl::Pair>& paired_layers, 29 void Build(const std::vector<PictureLayerImpl::Pair>& paired_layers,
30 Type type); 30 Type type);
31 void BuildRequiredForDraw(
32 const std::vector<PictureLayerImpl::Pair>& paired_layers);
33 void BuildRequiredForActivation(
34 const std::vector<PictureLayerImpl::Pair>& paired_layers);
35 31
36 ScopedPtrVector<TilingSetRasterQueueRequired> tiling_set_queues_; 32 ScopedPtrVector<TilingSetRasterQueueRequired> tiling_set_queues_;
37 33
38 DISALLOW_COPY_AND_ASSIGN(RasterTilePriorityQueueRequired); 34 DISALLOW_COPY_AND_ASSIGN(RasterTilePriorityQueueRequired);
39 }; 35 };
40 36
41 } // namespace cc 37 } // namespace cc
42 38
43 #endif // CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_REQUIRED_H_ 39 #endif // CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_REQUIRED_H_
OLDNEW
« no previous file with comments | « cc/resources/raster_tile_priority_queue_all.cc ('k') | cc/resources/raster_tile_priority_queue_required.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698