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

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

Issue 11362053: IPC to generate mailbox names on the GPU process IO thread. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | gpu/command_buffer/service/mailbox_manager.h » ('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) 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 gfx::Size, /* size */ 407 gfx::Size, /* size */
408 GPUCreateCommandBufferConfig, /* init_params */ 408 GPUCreateCommandBufferConfig, /* init_params */
409 int32 /* route_id */) 409 int32 /* route_id */)
410 410
411 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its 411 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its
412 // destructor, so that the stub deletes the actual CommandBufferService 412 // destructor, so that the stub deletes the actual CommandBufferService
413 // object that it's hosting. 413 // object that it's hosting.
414 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, 414 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer,
415 int32 /* instance_id */) 415 int32 /* instance_id */)
416 416
417 // Generates n new unique mailbox names.
418 IPC_SYNC_MESSAGE_CONTROL1_1(GpuChannelMsg_GenerateMailboxNames,
419 unsigned, /* num */
420 std::vector<std::string> /* mailbox_names */)
417 421
418 #if defined(OS_ANDROID) 422 #if defined(OS_ANDROID)
419 // Register the StreamTextureProxy class with the GPU process, so that 423 // Register the StreamTextureProxy class with the GPU process, so that
420 // the renderer process will get notified whenever a frame becomes available. 424 // the renderer process will get notified whenever a frame becomes available.
421 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_RegisterStreamTextureProxy, 425 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_RegisterStreamTextureProxy,
422 int32, /* stream_id */ 426 int32, /* stream_id */
423 gfx::Size, /* initial_size */ 427 gfx::Size, /* initial_size */
424 int /* route_id */) 428 int /* route_id */)
425 429
426 // Tells the GPU process create and send the java surface texture object to 430 // Tells the GPU process create and send the java surface texture object to
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 679
676 // Confirm decoder has been flushed. 680 // Confirm decoder has been flushed.
677 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 681 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
678 682
679 // Confirm decoder has been reset. 683 // Confirm decoder has been reset.
680 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 684 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
681 685
682 // Video decoder has encountered an error. 686 // Video decoder has encountered an error.
683 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 687 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
684 uint32) /* Error ID */ 688 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | gpu/command_buffer/service/mailbox_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698