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

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

Issue 781683005: Ozone: Avoid blocking in Swapbuffer Call. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unintended changes. Created 6 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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 549
550 // Tells the proxy that there was an error and the command buffer had to be 550 // Tells the proxy that there was an error and the command buffer had to be
551 // destroyed for some reason. 551 // destroyed for some reason.
552 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed, 552 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed,
553 gpu::error::ContextLostReason /* reason */) 553 gpu::error::ContextLostReason /* reason */)
554 554
555 // Tells the browser that SwapBuffers returned and passes latency info 555 // Tells the browser that SwapBuffers returned and passes latency info
556 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SwapBuffersCompleted, 556 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SwapBuffersCompleted,
557 std::vector<ui::LatencyInfo> /* latency_info */) 557 std::vector<ui::LatencyInfo> /* latency_info */)
558 558
559 // Tells the browser that PageFlip returned.
560 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_PageFlipCompleted)
561
559 // Send to stub on surface visibility change. 562 // Send to stub on surface visibility change.
560 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) 563 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */)
561 564
562 // Sent to proxy when the gpu memory manager changes its memory allocation. 565 // Sent to proxy when the gpu memory manager changes its memory allocation.
563 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, 566 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation,
564 gpu::MemoryAllocation /* allocation */) 567 gpu::MemoryAllocation /* allocation */)
565 568
566 // Sent to stub when proxy is assigned a memory allocation changed callback. 569 // Sent to stub when proxy is assigned a memory allocation changed callback.
567 IPC_MESSAGE_ROUTED1( 570 IPC_MESSAGE_ROUTED1(
568 GpuCommandBufferMsg_SetClientHasMemoryAllocationChangedCallback, 571 GpuCommandBufferMsg_SetClientHasMemoryAllocationChangedCallback,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 int32 /* bitstream_buffer_id */, 735 int32 /* bitstream_buffer_id */,
733 uint32 /* payload_size */, 736 uint32 /* payload_size */,
734 bool /* key_frame */) 737 bool /* key_frame */)
735 738
736 // Report error condition. 739 // Report error condition.
737 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, 740 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError,
738 media::VideoEncodeAccelerator::Error /* error */) 741 media::VideoEncodeAccelerator::Error /* error */)
739 742
740 // Send destroy request to the encoder. 743 // Send destroy request to the encoder.
741 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) 744 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698