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/macros.h" | 11 #include "base/macros.h" |
12 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
14 #include "cc/base/cc_export.h" | 14 #include "cc/cc_export.h" |
15 #include "cc/layers/layer.h" | 15 #include "cc/layers/layer.h" |
16 #include "cc/resources/texture_mailbox.h" | 16 #include "cc/resources/texture_mailbox.h" |
17 | 17 |
18 namespace gpu { | 18 namespace gpu { |
19 struct SyncToken; | 19 struct SyncToken; |
20 } | 20 } |
21 | 21 |
22 namespace cc { | 22 namespace cc { |
23 class BlockingTaskRunner; | 23 class BlockingTaskRunner; |
24 class SingleReleaseCallback; | 24 class SingleReleaseCallback; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 bool blend_background_color_; | 164 bool blend_background_color_; |
165 | 165 |
166 std::unique_ptr<TextureMailboxHolder::MainThreadReference> holder_ref_; | 166 std::unique_ptr<TextureMailboxHolder::MainThreadReference> holder_ref_; |
167 bool needs_set_mailbox_; | 167 bool needs_set_mailbox_; |
168 | 168 |
169 DISALLOW_COPY_AND_ASSIGN(TextureLayer); | 169 DISALLOW_COPY_AND_ASSIGN(TextureLayer); |
170 }; | 170 }; |
171 | 171 |
172 } // namespace cc | 172 } // namespace cc |
173 #endif // CC_LAYERS_TEXTURE_LAYER_H_ | 173 #endif // CC_LAYERS_TEXTURE_LAYER_H_ |
OLD | NEW |