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

Side by Side Diff: cc/picture_layer_impl.h

Issue 11293188: cc: Make Picture/PicturePile handle recording/raster (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix android_dbg Created 8 years, 1 month 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
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_pile.h" 9 #include "cc/picture_pile.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 struct AppendQuadsData;
14 class QuadSink;
15
13 class CC_EXPORT PictureLayerImpl : public LayerImpl { 16 class CC_EXPORT PictureLayerImpl : public LayerImpl {
14 public: 17 public:
15 static scoped_ptr<PictureLayerImpl> create(int id) 18 static scoped_ptr<PictureLayerImpl> create(int id)
16 { 19 {
17 return make_scoped_ptr(new PictureLayerImpl(id)); 20 return make_scoped_ptr(new PictureLayerImpl(id));
18 } 21 }
19 virtual ~PictureLayerImpl(); 22 virtual ~PictureLayerImpl();
20 23
24 // LayerImpl overrides.
25 virtual const char* layerTypeAsString() const OVERRIDE;
26 virtual void appendQuads(QuadSink&, AppendQuadsData&) OVERRIDE;
27 virtual void dumpLayerProperties(std::string*, int indent) const OVERRIDE;
28
21 protected: 29 protected:
22 PictureLayerImpl(int id); 30 PictureLayerImpl(int id);
23 31
24 PicturePile pile_; 32 PicturePile pile_;
25 33
26 friend class PictureLayer; 34 friend class PictureLayer;
27 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 35 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
28 }; 36 };
29 37
30 } 38 }
31 39
32 #endif // CC_PICTURE_LAYER_IMPL_H_ 40 #endif // CC_PICTURE_LAYER_IMPL_H_
OLDNEW
« cc/picture.cc ('K') | « 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