OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 CCTiledLayerImpl_h | 5 #ifndef CCTiledLayerImpl_h |
6 #define CCTiledLayerImpl_h | 6 #define CCTiledLayerImpl_h |
7 | 7 |
| 8 #include "cc/cc_export.h" |
8 #include "cc/layer_impl.h" | 9 #include "cc/layer_impl.h" |
9 #include <public/WebTransformationMatrix.h> | 10 #include <public/WebTransformationMatrix.h> |
10 | 11 |
11 namespace cc { | 12 namespace cc { |
12 | 13 |
13 class LayerTilingData; | 14 class LayerTilingData; |
14 class DrawableTile; | 15 class DrawableTile; |
15 | 16 |
16 class TiledLayerImpl : public LayerImpl { | 17 class CC_EXPORT TiledLayerImpl : public LayerImpl { |
17 public: | 18 public: |
18 static scoped_ptr<TiledLayerImpl> create(int id) | 19 static scoped_ptr<TiledLayerImpl> create(int id) |
19 { | 20 { |
20 return make_scoped_ptr(new TiledLayerImpl(id)); | 21 return make_scoped_ptr(new TiledLayerImpl(id)); |
21 } | 22 } |
22 virtual ~TiledLayerImpl(); | 23 virtual ~TiledLayerImpl(); |
23 | 24 |
24 virtual void appendQuads(QuadSink&, AppendQuadsData&) OVERRIDE; | 25 virtual void appendQuads(QuadSink&, AppendQuadsData&) OVERRIDE; |
25 | 26 |
26 virtual ResourceProvider::ResourceId contentsResourceId() const OVERRIDE; | 27 virtual ResourceProvider::ResourceId contentsResourceId() const OVERRIDE; |
(...skipping 22 matching lines...) Expand all Loading... |
49 DrawableTile* createTile(int, int); | 50 DrawableTile* createTile(int, int); |
50 | 51 |
51 bool m_skipsDraw; | 52 bool m_skipsDraw; |
52 | 53 |
53 scoped_ptr<LayerTilingData> m_tiler; | 54 scoped_ptr<LayerTilingData> m_tiler; |
54 }; | 55 }; |
55 | 56 |
56 } | 57 } |
57 | 58 |
58 #endif // CCTiledLayerImpl_h | 59 #endif // CCTiledLayerImpl_h |
OLD | NEW |