OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 CC_TEXTURE_LAYER_IMPL_H_ | 5 #ifndef CC_TEXTURE_LAYER_IMPL_H_ |
6 #define CC_TEXTURE_LAYER_IMPL_H_ | 6 #define CC_TEXTURE_LAYER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "cc/cc_export.h" | 11 #include "cc/base/cc_export.h" |
12 #include "cc/layer_impl.h" | 12 #include "cc/layer_impl.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 | 15 |
16 class CC_EXPORT TextureLayerImpl : public LayerImpl { | 16 class CC_EXPORT TextureLayerImpl : public LayerImpl { |
17 public: | 17 public: |
18 static scoped_ptr<TextureLayerImpl> Create(LayerTreeImpl* treeImpl, int id,
bool usesMailbox) | 18 static scoped_ptr<TextureLayerImpl> Create(LayerTreeImpl* treeImpl, int id,
bool usesMailbox) |
19 { | 19 { |
20 return make_scoped_ptr(new TextureLayerImpl(treeImpl, id, usesMailbox)); | 20 return make_scoped_ptr(new TextureLayerImpl(treeImpl, id, usesMailbox)); |
21 } | 21 } |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 float m_vertexOpacity[4]; | 64 float m_vertexOpacity[4]; |
65 | 65 |
66 TextureMailbox m_textureMailbox; | 66 TextureMailbox m_textureMailbox; |
67 bool m_usesMailbox; | 67 bool m_usesMailbox; |
68 bool m_ownMailbox; | 68 bool m_ownMailbox; |
69 }; | 69 }; |
70 | 70 |
71 } | 71 } |
72 | 72 |
73 #endif // CC_TEXTURE_LAYER_IMPL_H_ | 73 #endif // CC_TEXTURE_LAYER_IMPL_H_ |
OLD | NEW |