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" | 8 #include "CCLayerTilingData.h" |
9 #include "LayerChromium.h" | 9 #include "cc/layer.h" |
10 #include "LayerTextureUpdater.h" | 10 #include "cc/layer_texture_updater.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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 bool m_skipsDraw; | 92 bool m_skipsDraw; |
93 bool m_failedUpdate; | 93 bool m_failedUpdate; |
94 LayerTextureUpdater::SampledTexelFormat m_sampledTexelFormat; | 94 LayerTextureUpdater::SampledTexelFormat m_sampledTexelFormat; |
95 | 95 |
96 TilingOption m_tilingOption; | 96 TilingOption m_tilingOption; |
97 scoped_ptr<CCLayerTilingData> m_tiler; | 97 scoped_ptr<CCLayerTilingData> m_tiler; |
98 }; | 98 }; |
99 | 99 |
100 } | 100 } |
101 #endif | 101 #endif |
OLD | NEW |