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

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

Issue 12330129: Make WaitSyncPoint go through command buffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 7 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 | Annotate | Revision Log
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 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 // retired in order with respect to the other calls. The sync point is shared 575 // retired in order with respect to the other calls. The sync point is shared
576 // across channels. 576 // across channels.
577 IPC_SYNC_MESSAGE_ROUTED0_1(GpuCommandBufferMsg_InsertSyncPoint, 577 IPC_SYNC_MESSAGE_ROUTED0_1(GpuCommandBufferMsg_InsertSyncPoint,
578 uint32 /* sync_point */) 578 uint32 /* sync_point */)
579 579
580 // Retires the sync point. Note: this message is not sent explicitly by the 580 // Retires the sync point. Note: this message is not sent explicitly by the
581 // renderer, but is synthesized by the GPU process. 581 // renderer, but is synthesized by the GPU process.
582 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RetireSyncPoint, 582 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RetireSyncPoint,
583 uint32 /* sync_point */) 583 uint32 /* sync_point */)
584 584
585 // Makes this command buffer wait on a sync point. Command buffer message
586 // execution will be delayed until the sync point has been reached.
587 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_WaitSyncPoint,
588 uint32 /* sync_point */)
589
590 // Makes this command buffer signal when a sync point is reached, by sending 585 // Makes this command buffer signal when a sync point is reached, by sending
591 // back a GpuCommandBufferMsg_SignalSyncPointAck message with the same 586 // back a GpuCommandBufferMsg_SignalSyncPointAck message with the same
592 // signal_id. 587 // signal_id.
593 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalSyncPoint, 588 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalSyncPoint,
594 uint32 /* sync_point */, 589 uint32 /* sync_point */,
595 uint32 /* signal_id */) 590 uint32 /* signal_id */)
596 591
597 // Response to GpuCommandBufferMsg_SignalSyncPoint. 592 // Response to GpuCommandBufferMsg_SignalSyncPoint.
598 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SignalSyncPointAck, 593 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SignalSyncPointAck,
599 uint32 /* signal_id */) 594 uint32 /* signal_id */)
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 653
659 // Confirm decoder has been flushed. 654 // Confirm decoder has been flushed.
660 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 655 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
661 656
662 // Confirm decoder has been reset. 657 // Confirm decoder has been reset.
663 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 658 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
664 659
665 // Video decoder has encountered an error. 660 // Video decoder has encountered an error.
666 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 661 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
667 uint32) /* Error ID */ 662 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_sync_point.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698