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

Side by Side Diff: cc/layers/picture_layer_impl.h

Issue 2803913004: cc: Introduce embedded_surfaces in metadata for surface Ids in draw quads (Closed)
Patch Set: Addressed Dana's comments Created 3 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/layers/layer_impl.h ('k') | cc/layers/render_surface_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_LAYERS_PICTURE_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_
6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "cc/cc_export.h" 16 #include "cc/cc_export.h"
17 #include "cc/layers/layer.h" 17 #include "cc/layers/layer.h"
18 #include "cc/layers/layer_impl.h" 18 #include "cc/layers/layer_impl.h"
19 #include "cc/paint/image_id.h" 19 #include "cc/paint/image_id.h"
20 #include "cc/tiles/picture_layer_tiling.h" 20 #include "cc/tiles/picture_layer_tiling.h"
21 #include "cc/tiles/picture_layer_tiling_set.h" 21 #include "cc/tiles/picture_layer_tiling_set.h"
22 #include "cc/tiles/tiling_set_eviction_queue.h" 22 #include "cc/tiles/tiling_set_eviction_queue.h"
23 23
24 namespace cc { 24 namespace cc {
25 25
26 struct AppendQuadsData; 26 class AppendQuadsData;
27 class MicroBenchmarkImpl; 27 class MicroBenchmarkImpl;
28 class Tile; 28 class Tile;
29 29
30 class CC_EXPORT PictureLayerImpl 30 class CC_EXPORT PictureLayerImpl
31 : public LayerImpl, 31 : public LayerImpl,
32 NON_EXPORTED_BASE(public PictureLayerTilingClient) { 32 NON_EXPORTED_BASE(public PictureLayerTilingClient) {
33 public: 33 public:
34 static std::unique_ptr<PictureLayerImpl> 34 static std::unique_ptr<PictureLayerImpl>
35 Create(LayerTreeImpl* tree_impl, int id, Layer::LayerMaskType mask_type) { 35 Create(LayerTreeImpl* tree_impl, int id, Layer::LayerMaskType mask_type) {
36 return base::WrapUnique(new PictureLayerImpl(tree_impl, id, mask_type)); 36 return base::WrapUnique(new PictureLayerImpl(tree_impl, id, mask_type));
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // of comparing pointers, since objects pointed to are not guaranteed to 168 // of comparing pointers, since objects pointed to are not guaranteed to
169 // exist. 169 // exist.
170 std::vector<PictureLayerTiling*> last_append_quads_tilings_; 170 std::vector<PictureLayerTiling*> last_append_quads_tilings_;
171 171
172 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 172 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
173 }; 173 };
174 174
175 } // namespace cc 175 } // namespace cc
176 176
177 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 177 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.h ('k') | cc/layers/render_surface_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698