OLD | NEW |
1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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_H_ | 5 #ifndef CC_LAYERS_TEXTURE_LAYER_H_ |
6 #define CC_LAYERS_TEXTURE_LAYER_H_ | 6 #define CC_LAYERS_TEXTURE_LAYER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
12 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
13 #include "cc/layers/layer.h" | 13 #include "cc/layers/layer.h" |
14 #include "cc/resources/texture_mailbox.h" | 14 #include "cc/resources/texture_mailbox.h" |
15 | 15 |
16 namespace WebKit { class WebGraphicsContext3D; } | 16 namespace blink { class WebGraphicsContext3D; } |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 class BlockingTaskRunner; | 19 class BlockingTaskRunner; |
20 class SingleReleaseCallback; | 20 class SingleReleaseCallback; |
21 class TextureLayerClient; | 21 class TextureLayerClient; |
22 | 22 |
23 // A Layer containing a the rendered output of a plugin instance. | 23 // A Layer containing a the rendered output of a plugin instance. |
24 class CC_EXPORT TextureLayer : public Layer { | 24 class CC_EXPORT TextureLayer : public Layer { |
25 public: | 25 public: |
26 class CC_EXPORT MailboxHolder | 26 class CC_EXPORT MailboxHolder |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 168 |
169 unsigned texture_id_; | 169 unsigned texture_id_; |
170 scoped_ptr<MailboxHolder::MainThreadReference> holder_ref_; | 170 scoped_ptr<MailboxHolder::MainThreadReference> holder_ref_; |
171 bool needs_set_mailbox_; | 171 bool needs_set_mailbox_; |
172 | 172 |
173 DISALLOW_COPY_AND_ASSIGN(TextureLayer); | 173 DISALLOW_COPY_AND_ASSIGN(TextureLayer); |
174 }; | 174 }; |
175 | 175 |
176 } // namespace cc | 176 } // namespace cc |
177 #endif // CC_LAYERS_TEXTURE_LAYER_H_ | 177 #endif // CC_LAYERS_TEXTURE_LAYER_H_ |
OLD | NEW |