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 TiledLayerChromium_h | 5 #ifndef TiledLayerChromium_h |
6 #define TiledLayerChromium_h | 6 #define TiledLayerChromium_h |
7 | 7 |
8 #include "CCLayerTilingData.h" | |
9 #include "cc/layer.h" | 8 #include "cc/layer.h" |
10 #include "cc/layer_texture_updater.h" | 9 #include "cc/layer_texture_updater.h" |
| 10 #include "cc/layer_tiling_data.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 class UpdatableTile; | 13 class UpdatableTile; |
14 | 14 |
15 class TiledLayerChromium : public LayerChromium { | 15 class TiledLayerChromium : public LayerChromium { |
16 public: | 16 public: |
17 enum TilingOption { AlwaysTile, NeverTile, AutoTile }; | 17 enum TilingOption { AlwaysTile, NeverTile, AutoTile }; |
18 | 18 |
19 virtual void setIsMask(bool) OVERRIDE; | 19 virtual void setIsMask(bool) OVERRIDE; |
20 | 20 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 GLenum m_textureFormat; | 90 GLenum m_textureFormat; |
91 bool m_skipsDraw; | 91 bool m_skipsDraw; |
92 bool m_failedUpdate; | 92 bool m_failedUpdate; |
93 | 93 |
94 TilingOption m_tilingOption; | 94 TilingOption m_tilingOption; |
95 scoped_ptr<CCLayerTilingData> m_tiler; | 95 scoped_ptr<CCLayerTilingData> m_tiler; |
96 }; | 96 }; |
97 | 97 |
98 } | 98 } |
99 #endif | 99 #endif |
OLD | NEW |