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 | |
6 #ifndef LayerTextureUpdater_h | 5 #ifndef LayerTextureUpdater_h |
7 #define LayerTextureUpdater_h | 6 #define LayerTextureUpdater_h |
8 | 7 |
9 #include "CCPrioritizedTexture.h" | |
10 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "cc/prioritized_texture.h" |
11 #include "third_party/khronos/GLES2/gl2.h" | 10 #include "third_party/khronos/GLES2/gl2.h" |
12 | 11 |
13 namespace cc { | 12 namespace cc { |
14 | 13 |
15 class IntRect; | 14 class IntRect; |
16 class IntSize; | 15 class IntSize; |
17 class TextureManager; | 16 class TextureManager; |
18 struct CCRenderingStats; | 17 struct CCRenderingStats; |
19 class CCTextureUpdateQueue; | 18 class CCTextureUpdateQueue; |
20 | 19 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // Set true by the layer when it is known that the entire output is going to
be opaque. | 56 // Set true by the layer when it is known that the entire output is going to
be opaque. |
58 virtual void setOpaque(bool) { } | 57 virtual void setOpaque(bool) { } |
59 | 58 |
60 protected: | 59 protected: |
61 virtual ~LayerTextureUpdater() { } | 60 virtual ~LayerTextureUpdater() { } |
62 | 61 |
63 private: | 62 private: |
64 friend class base::RefCounted<LayerTextureUpdater>; | 63 friend class base::RefCounted<LayerTextureUpdater>; |
65 }; | 64 }; |
66 | 65 |
67 } // namespace cc | 66 } // namespace cc |
| 67 |
68 #endif // LayerTextureUpdater_h | 68 #endif // LayerTextureUpdater_h |
OLD | NEW |