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

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

Issue 1331843005: Implemented new fence syncs which replaces the old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted mojo readme, changed wait() to take a pointer Created 5 years, 2 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
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | gpu/BUILD.gn » ('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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 GPUCreateCommandBufferConfig, /* init_params */ 470 GPUCreateCommandBufferConfig, /* init_params */
471 int32, /* route_id */ 471 int32, /* route_id */
472 bool /* succeeded */) 472 bool /* succeeded */)
473 473
474 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its 474 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its
475 // destructor, so that the stub deletes the actual CommandBufferService 475 // destructor, so that the stub deletes the actual CommandBufferService
476 // object that it's hosting. 476 // object that it's hosting.
477 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, 477 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer,
478 int32 /* instance_id */) 478 int32 /* instance_id */)
479 479
480 // Simple NOP message which can be used as fence to ensure all previous sent
481 // messages have been received.
482 IPC_SYNC_MESSAGE_CONTROL0_0(GpuChannelMsg_Nop)
483
480 #if defined(OS_ANDROID) 484 #if defined(OS_ANDROID)
481 //------------------------------------------------------------------------------ 485 //------------------------------------------------------------------------------
482 // Stream Texture Messages 486 // Stream Texture Messages
483 // Tells the GPU process create and send the java surface texture object to 487 // Tells the GPU process create and send the java surface texture object to
484 // the renderer process through the binder thread. 488 // the renderer process through the binder thread.
485 IPC_MESSAGE_ROUTED2(GpuStreamTextureMsg_EstablishPeer, 489 IPC_MESSAGE_ROUTED2(GpuStreamTextureMsg_EstablishPeer,
486 int32, /* primary_id */ 490 int32, /* primary_id */
487 int32 /* secondary_id */) 491 int32 /* secondary_id */)
488 492
489 // Tells the GPU process to set the size of StreamTexture from the given 493 // Tells the GPU process to set the size of StreamTexture from the given
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 788 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
785 789
786 //------------------------------------------------------------------------------ 790 //------------------------------------------------------------------------------
787 // Accelerated JPEG Decoder Host Messages 791 // Accelerated JPEG Decoder Host Messages
788 // These messages are sent from the GPU process to Browser process. 792 // These messages are sent from the GPU process to Browser process.
789 // 793 //
790 // Report decode status. 794 // Report decode status.
791 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 795 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
792 int32, /* bitstream_buffer_id */ 796 int32, /* bitstream_buffer_id */
793 media::JpegDecodeAccelerator::Error /* error */) 797 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698