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 #if USE(ACCELERATED_COMPOSITING) | 8 #if USE(ACCELERATED_COMPOSITING) |
9 | 9 |
10 #include "CCLayerTilingData.h" | 10 #include "CCLayerTilingData.h" |
11 #include "LayerChromium.h" | 11 #include "LayerChromium.h" |
12 #include "LayerTextureUpdater.h" | 12 #include "LayerTextureUpdater.h" |
13 | 13 |
14 namespace WebCore { | 14 namespace cc { |
15 class UpdatableTile; | 15 class UpdatableTile; |
16 | 16 |
17 class TiledLayerChromium : public LayerChromium { | 17 class TiledLayerChromium : public LayerChromium { |
18 public: | 18 public: |
19 enum TilingOption { AlwaysTile, NeverTile, AutoTile }; | 19 enum TilingOption { AlwaysTile, NeverTile, AutoTile }; |
20 | 20 |
21 virtual ~TiledLayerChromium(); | 21 virtual ~TiledLayerChromium(); |
22 | 22 |
23 virtual void setIsMask(bool) OVERRIDE; | 23 virtual void setIsMask(bool) OVERRIDE; |
24 | 24 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 LayerTextureUpdater::SampledTexelFormat m_sampledTexelFormat; | 97 LayerTextureUpdater::SampledTexelFormat m_sampledTexelFormat; |
98 | 98 |
99 TilingOption m_tilingOption; | 99 TilingOption m_tilingOption; |
100 OwnPtr<CCLayerTilingData> m_tiler; | 100 OwnPtr<CCLayerTilingData> m_tiler; |
101 }; | 101 }; |
102 | 102 |
103 } | 103 } |
104 #endif // USE(ACCELERATED_COMPOSITING) | 104 #endif // USE(ACCELERATED_COMPOSITING) |
105 | 105 |
106 #endif | 106 #endif |
OLD | NEW |