| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 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 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 // The share group that all contexts associated with a particular renderer | 211 // The share group that all contexts associated with a particular renderer |
| 212 // process use. | 212 // process use. |
| 213 scoped_refptr<gfx::GLShareGroup> share_group_; | 213 scoped_refptr<gfx::GLShareGroup> share_group_; |
| 214 | 214 |
| 215 scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_; | 215 scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_; |
| 216 scoped_refptr<gpu::gles2::ImageManager> image_manager_; | 216 scoped_refptr<gpu::gles2::ImageManager> image_manager_; |
| 217 | 217 |
| 218 typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap; | 218 typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap; |
| 219 StubMap stubs_; | 219 StubMap stubs_; |
| 220 | 220 |
| 221 bool log_messages_; // True if we should log sent and received messages. | |
| 222 gpu::gles2::DisallowedFeatures disallowed_features_; | 221 gpu::gles2::DisallowedFeatures disallowed_features_; |
| 223 GpuWatchdog* watchdog_; | 222 GpuWatchdog* watchdog_; |
| 224 bool software_; | 223 bool software_; |
| 225 bool handle_messages_scheduled_; | 224 bool handle_messages_scheduled_; |
| 226 IPC::Message* currently_processing_message_; | 225 IPC::Message* currently_processing_message_; |
| 227 | 226 |
| 228 base::WeakPtrFactory<GpuChannel> weak_factory_; | 227 base::WeakPtrFactory<GpuChannel> weak_factory_; |
| 229 | 228 |
| 230 scoped_refptr<GpuChannelMessageFilter> filter_; | 229 scoped_refptr<GpuChannelMessageFilter> filter_; |
| 231 scoped_refptr<base::MessageLoopProxy> io_message_loop_; | 230 scoped_refptr<base::MessageLoopProxy> io_message_loop_; |
| 232 scoped_ptr<DevToolsGpuAgent> devtools_gpu_agent_; | 231 scoped_ptr<DevToolsGpuAgent> devtools_gpu_agent_; |
| 233 | 232 |
| 234 size_t num_stubs_descheduled_; | 233 size_t num_stubs_descheduled_; |
| 235 | 234 |
| 236 DISALLOW_COPY_AND_ASSIGN(GpuChannel); | 235 DISALLOW_COPY_AND_ASSIGN(GpuChannel); |
| 237 }; | 236 }; |
| 238 | 237 |
| 239 } // namespace content | 238 } // namespace content |
| 240 | 239 |
| 241 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ | 240 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
| OLD | NEW |