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

Side by Side Diff: cc/picture_layer_impl.h

Issue 11417111: cc: Add PictureLayerTilingSet to manage PictureLayerTiling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win_rel Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « cc/picture_layer.cc ('k') | cc/picture_layer_impl.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 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_PICTURE_LAYER_IMPL_H_ 5 #ifndef CC_PICTURE_LAYER_IMPL_H_
6 #define CC_PICTURE_LAYER_IMPL_H_ 6 #define CC_PICTURE_LAYER_IMPL_H_
7 7
8 #include "cc/layer_impl.h" 8 #include "cc/layer_impl.h"
9 #include "cc/picture_layer_tiling.h" 9 #include "cc/picture_layer_tiling.h"
10 #include "cc/picture_layer_tiling_set.h"
10 #include "cc/picture_pile.h" 11 #include "cc/picture_pile.h"
11 #include "cc/scoped_ptr_vector.h" 12 #include "cc/scoped_ptr_vector.h"
12 13
13 namespace cc { 14 namespace cc {
14 15
15 struct AppendQuadsData; 16 struct AppendQuadsData;
16 class QuadSink; 17 class QuadSink;
17 18
18 class CC_EXPORT PictureLayerImpl : public LayerImpl, 19 class CC_EXPORT PictureLayerImpl : public LayerImpl,
19 public PictureLayerTilingClient { 20 public PictureLayerTilingClient {
(...skipping 15 matching lines...) Expand all
35 36
36 // PushPropertiesTo active tree => pending tree 37 // PushPropertiesTo active tree => pending tree
37 void SyncFromActiveLayer(const PictureLayerImpl* other); 38 void SyncFromActiveLayer(const PictureLayerImpl* other);
38 39
39 // Called post-calcDraw. 40 // Called post-calcDraw.
40 void Update(); 41 void Update();
41 42
42 protected: 43 protected:
43 PictureLayerImpl(int id); 44 PictureLayerImpl(int id);
44 45
45 ScopedPtrVector<PictureLayerTiling> tilings_; 46 PictureLayerTilingSet tilings_;
46 PicturePile pile_; 47 PicturePile pile_;
47 48
48 friend class PictureLayer; 49 friend class PictureLayer;
49 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 50 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
50 }; 51 };
51 52
52 } 53 }
53 54
54 #endif // CC_PICTURE_LAYER_IMPL_H_ 55 #endif // CC_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/picture_layer.cc ('k') | cc/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698