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_LAYERS_TEXTURE_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_TEXTURE_LAYER_IMPL_H_ |
6 #define CC_LAYERS_TEXTURE_LAYER_IMPL_H_ | 6 #define CC_LAYERS_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 "base/macros.h" |
11 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
12 #include "cc/layers/layer_impl.h" | 13 #include "cc/layers/layer_impl.h" |
13 | 14 |
14 namespace cc { | 15 namespace cc { |
15 class SingleReleaseCallbackImpl; | 16 class SingleReleaseCallbackImpl; |
16 class ScopedResource; | 17 class ScopedResource; |
17 | 18 |
18 class CC_EXPORT TextureLayerImpl : public LayerImpl { | 19 class CC_EXPORT TextureLayerImpl : public LayerImpl { |
19 public: | 20 public: |
20 static scoped_ptr<TextureLayerImpl> Create(LayerTreeImpl* tree_impl, int id) { | 21 static scoped_ptr<TextureLayerImpl> Create(LayerTreeImpl* tree_impl, int id) { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 scoped_ptr<SingleReleaseCallbackImpl> release_callback_; | 75 scoped_ptr<SingleReleaseCallbackImpl> release_callback_; |
75 bool own_mailbox_; | 76 bool own_mailbox_; |
76 bool valid_texture_copy_; | 77 bool valid_texture_copy_; |
77 | 78 |
78 DISALLOW_COPY_AND_ASSIGN(TextureLayerImpl); | 79 DISALLOW_COPY_AND_ASSIGN(TextureLayerImpl); |
79 }; | 80 }; |
80 | 81 |
81 } // namespace cc | 82 } // namespace cc |
82 | 83 |
83 #endif // CC_LAYERS_TEXTURE_LAYER_IMPL_H_ | 84 #endif // CC_LAYERS_TEXTURE_LAYER_IMPL_H_ |
OLD | NEW |