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

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

Issue 1767673002: Revert of Decouple Media Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
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 // Multiply-included message file, hence no include guard here, but see below 5 // Multiply-included message file, hence no include guard here, but see below
6 // for a much smaller-than-usual include guard section. 6 // for a much smaller-than-usual include guard section.
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 GPUCreateCommandBufferConfig, /* init_params */ 194 GPUCreateCommandBufferConfig, /* init_params */
195 int32_t, /* route_id */ 195 int32_t, /* route_id */
196 bool /* succeeded */) 196 bool /* succeeded */)
197 197
198 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its 198 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its
199 // destructor, so that the stub deletes the actual CommandBufferService 199 // destructor, so that the stub deletes the actual CommandBufferService
200 // object that it's hosting. 200 // object that it's hosting.
201 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, 201 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer,
202 int32_t /* instance_id */) 202 int32_t /* instance_id */)
203 203
204 // Create and initialize a hardware jpeg decoder using the specified route_id.
205 // Created decoders should be freed with AcceleratedJpegDecoderMsg_Destroy when
206 // no longer needed.
207 IPC_SYNC_MESSAGE_CONTROL1_1(GpuChannelMsg_CreateJpegDecoder,
208 int32_t /* route_id */,
209 bool /* succeeded */)
210
204 // Simple NOP message which can be used as fence to ensure all previous sent 211 // Simple NOP message which can be used as fence to ensure all previous sent
205 // messages have been received. 212 // messages have been received.
206 IPC_SYNC_MESSAGE_CONTROL0_0(GpuChannelMsg_Nop) 213 IPC_SYNC_MESSAGE_CONTROL0_0(GpuChannelMsg_Nop)
207 214
208 #if defined(OS_ANDROID) 215 #if defined(OS_ANDROID)
209 //------------------------------------------------------------------------------ 216 //------------------------------------------------------------------------------
210 // Stream Texture Messages 217 // Stream Texture Messages
211 // Tells the GPU process create and send the java surface texture object to 218 // Tells the GPU process create and send the java surface texture object to
212 // the renderer process through the binder thread. 219 // the renderer process through the binder thread.
213 IPC_MESSAGE_ROUTED2(GpuStreamTextureMsg_EstablishPeer, 220 IPC_MESSAGE_ROUTED2(GpuStreamTextureMsg_EstablishPeer,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 GpuCommandBufferMsg_CreateImage_Params /* params */) 330 GpuCommandBufferMsg_CreateImage_Params /* params */)
324 331
325 // Destroy a previously created image. 332 // Destroy a previously created image.
326 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) 333 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */)
327 334
328 // Attaches an external image stream to the client texture. 335 // Attaches an external image stream to the client texture.
329 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, 336 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture,
330 uint32_t, /* client_texture_id */ 337 uint32_t, /* client_texture_id */
331 int32_t, /* stream_id */ 338 int32_t, /* stream_id */
332 bool /* succeeded */) 339 bool /* succeeded */)
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/common/gpu/media/create_video_encoder_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698