Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 8572047: base::Bind() conversion for content/common/gpu and content/gpu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: scoped_ptr<base::WPF> -> base::WPF Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_COMMAND_BUFFER_STUB_H_ 5 #ifndef CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(ENABLE_GPU) 9 #if defined(ENABLE_GPU)
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/id_map.h" 14 #include "base/id_map.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/task.h"
17 #include "content/common/gpu/media/gpu_video_decode_accelerator.h" 16 #include "content/common/gpu/media/gpu_video_decode_accelerator.h"
18 #include "gpu/command_buffer/common/constants.h" 17 #include "gpu/command_buffer/common/constants.h"
19 #include "gpu/command_buffer/service/command_buffer_service.h" 18 #include "gpu/command_buffer/service/command_buffer_service.h"
20 #include "gpu/command_buffer/service/context_group.h" 19 #include "gpu/command_buffer/service/context_group.h"
21 #include "gpu/command_buffer/service/gpu_scheduler.h" 20 #include "gpu/command_buffer/service/gpu_scheduler.h"
22 #include "ipc/ipc_channel.h" 21 #include "ipc/ipc_channel.h"
23 #include "ipc/ipc_message.h" 22 #include "ipc/ipc_message.h"
24 #include "ui/gfx/gl/gl_context.h" 23 #include "ui/gfx/gl/gl_context.h"
25 #include "ui/gfx/gl/gl_surface.h" 24 #include "ui/gfx/gl/gl_surface.h"
26 #include "ui/gfx/gl/gpu_preference.h" 25 #include "ui/gfx/gl/gpu_preference.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // around the parent stub, so that Initialize can set the parent correctly. 166 // around the parent stub, so that Initialize can set the parent correctly.
168 base::WeakPtr<GpuCommandBufferStub> parent_stub_for_initialization_; 167 base::WeakPtr<GpuCommandBufferStub> parent_stub_for_initialization_;
169 uint32 parent_texture_for_initialization_; 168 uint32 parent_texture_for_initialization_;
170 169
171 GpuWatchdog* watchdog_; 170 GpuWatchdog* watchdog_;
172 171
173 // Zero or more video decoders owned by this stub, keyed by their 172 // Zero or more video decoders owned by this stub, keyed by their
174 // decoder_route_id. 173 // decoder_route_id.
175 IDMap<GpuVideoDecodeAccelerator, IDMapOwnPointer> video_decoders_; 174 IDMap<GpuVideoDecodeAccelerator, IDMapOwnPointer> video_decoders_;
176 175
177 ScopedRunnableMethodFactory<GpuCommandBufferStub> task_factory_;
178
179 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 176 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
180 }; 177 };
181 178
182 #endif // defined(ENABLE_GPU) 179 #endif // defined(ENABLE_GPU)
183 180
184 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 181 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel_manager.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698