OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef CONTENT_COMMON_GPU_GPU_CHANNEL_H_ | 5 #ifndef CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_H_ | 6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <queue> | 9 #include <queue> |
10 #include <set> | 10 #include <set> |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 #if defined(ENABLE_GPU) | 170 #if defined(ENABLE_GPU) |
171 typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap; | 171 typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap; |
172 StubMap stubs_; | 172 StubMap stubs_; |
173 #endif // defined (ENABLE_GPU) | 173 #endif // defined (ENABLE_GPU) |
174 | 174 |
175 // A collection of transport textures created. | 175 // A collection of transport textures created. |
176 typedef IDMap<TransportTexture, IDMapOwnPointer> TransportTextureMap; | 176 typedef IDMap<TransportTexture, IDMapOwnPointer> TransportTextureMap; |
177 TransportTextureMap transport_textures_; | 177 TransportTextureMap transport_textures_; |
178 | 178 |
179 bool log_messages_; // True if we should log sent and received messages. | 179 bool log_messages_; // True if we should log sent and received messages. |
180 gpu::gles2::DisallowedExtensions disallowed_extensions_; | 180 gpu::gles2::DisallowedFeatures disallowed_features_; |
181 GpuWatchdog* watchdog_; | 181 GpuWatchdog* watchdog_; |
182 bool software_; | 182 bool software_; |
183 | 183 |
184 ScopedRunnableMethodFactory<GpuChannel> task_factory_; | 184 ScopedRunnableMethodFactory<GpuChannel> task_factory_; |
185 | 185 |
186 DISALLOW_COPY_AND_ASSIGN(GpuChannel); | 186 DISALLOW_COPY_AND_ASSIGN(GpuChannel); |
187 }; | 187 }; |
188 | 188 |
189 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ | 189 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
OLD | NEW |