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

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

Issue 7292010: Delete GpuVideoService and move GpuVideoDecodeAccelerator ownership to stubs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase ToT Created 9 years, 5 months 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
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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 <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 void OnCreateOffscreenCommandBuffer( 138 void OnCreateOffscreenCommandBuffer(
139 const gfx::Size& size, 139 const gfx::Size& size,
140 const GPUCreateCommandBufferConfig& init_params, 140 const GPUCreateCommandBufferConfig& init_params,
141 int32* route_id); 141 int32* route_id);
142 void OnDestroyCommandBuffer(int32 route_id); 142 void OnDestroyCommandBuffer(int32 route_id);
143 143
144 void OnCreateOffscreenSurface(const gfx::Size& size, 144 void OnCreateOffscreenSurface(const gfx::Size& size,
145 int* route_id); 145 int* route_id);
146 void OnDestroySurface(int route_id); 146 void OnDestroySurface(int route_id);
147 147
148 void OnCreateVideoDecoder(int32 decoder_host_id,
149 uint32 command_buffer_route_id,
150 const std::vector<uint32>& configs);
151 void OnDestroyVideoDecoder(int32 decoder_id);
152 void OnCreateTransportTexture(int32 context_route_id, int32 host_id); 148 void OnCreateTransportTexture(int32 context_route_id, int32 host_id);
153 149
154 // The lifetime of objects of this class is managed by a GpuChannelManager. 150 // The lifetime of objects of this class is managed by a GpuChannelManager.
155 // The GpuChannelManager destroy all the GpuChannels that they own when they 151 // The GpuChannelManager destroy all the GpuChannels that they own when they
156 // are destroyed. So a raw pointer is safe. 152 // are destroyed. So a raw pointer is safe.
157 GpuChannelManager* gpu_channel_manager_; 153 GpuChannelManager* gpu_channel_manager_;
158 154
159 scoped_ptr<IPC::SyncChannel> channel_; 155 scoped_ptr<IPC::SyncChannel> channel_;
160 156
161 // The id of the renderer who is on the other side of the channel. 157 // The id of the renderer who is on the other side of the channel.
(...skipping 27 matching lines...) Expand all
189 TransportTextureMap transport_textures_; 185 TransportTextureMap transport_textures_;
190 186
191 bool log_messages_; // True if we should log sent and received messages. 187 bool log_messages_; // True if we should log sent and received messages.
192 gpu::gles2::DisallowedExtensions disallowed_extensions_; 188 gpu::gles2::DisallowedExtensions disallowed_extensions_;
193 GpuWatchdog* watchdog_; 189 GpuWatchdog* watchdog_;
194 190
195 DISALLOW_COPY_AND_ASSIGN(GpuChannel); 191 DISALLOW_COPY_AND_ASSIGN(GpuChannel);
196 }; 192 };
197 193
198 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ 194 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698