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

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

Issue 1469863003: Cleanup SurfaceVisibility code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase.. Created 5 years 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 // Tells the browser that SwapBuffers returned and passes latency info 614 // Tells the browser that SwapBuffers returned and passes latency info
615 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SwapBuffersCompleted, 615 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SwapBuffersCompleted,
616 std::vector<ui::LatencyInfo> /* latency_info */, 616 std::vector<ui::LatencyInfo> /* latency_info */,
617 gfx::SwapResult /* result */) 617 gfx::SwapResult /* result */)
618 618
619 // Tells the browser about updated parameters for vsync alignment. 619 // Tells the browser about updated parameters for vsync alignment.
620 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_UpdateVSyncParameters, 620 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_UpdateVSyncParameters,
621 base::TimeTicks /* timebase */, 621 base::TimeTicks /* timebase */,
622 base::TimeDelta /* interval */) 622 base::TimeDelta /* interval */)
623 623
624 // Send to stub on surface visibility change.
625 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */)
626
627 // Inserts a sync point into the channel. This is handled on the IO thread, so 624 // Inserts a sync point into the channel. This is handled on the IO thread, so
628 // can be expected to be reasonably fast, but the sync point is actually 625 // can be expected to be reasonably fast, but the sync point is actually
629 // retired in order with respect to the other calls. The sync point is shared 626 // retired in order with respect to the other calls. The sync point is shared
630 // across channels. 627 // across channels.
631 IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_InsertSyncPoint, 628 IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_InsertSyncPoint,
632 bool /* retire */, 629 bool /* retire */,
633 uint32 /* sync_point */) 630 uint32 /* sync_point */)
634 631
635 // Retires the sync point. 632 // Retires the sync point.
636 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RetireSyncPoint, 633 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RetireSyncPoint,
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 811 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
815 812
816 //------------------------------------------------------------------------------ 813 //------------------------------------------------------------------------------
817 // Accelerated JPEG Decoder Host Messages 814 // Accelerated JPEG Decoder Host Messages
818 // These messages are sent from the GPU process to Browser process. 815 // These messages are sent from the GPU process to Browser process.
819 // 816 //
820 // Report decode status. 817 // Report decode status.
821 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 818 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
822 int32, /* bitstream_buffer_id */ 819 int32, /* bitstream_buffer_id */
823 media::JpegDecodeAccelerator::Error /* error */) 820 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | gpu/command_buffer/client/client_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698