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

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

Issue 9910004: Implement Discard and EnsureBackbufferCHROMIUM using command buffer instead of IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 <vector> 8 #include <vector>
9 #include <string> 9 #include <string>
10 10
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 // delayed. 439 // delayed.
440 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Echo, 440 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Echo,
441 IPC::Message /* reply */) 441 IPC::Message /* reply */)
442 442
443 // Response to a GpuChannelMsg_Echo message. 443 // Response to a GpuChannelMsg_Echo message.
444 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck) 444 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck)
445 445
446 // Send to stub on surface visibility change. 446 // Send to stub on surface visibility change.
447 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) 447 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */)
448 448
449 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_DiscardBackbuffer)
450 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EnsureBackbuffer)
451
452 // Sent to proxy when the gpu memory manager changes its memory allocation. 449 // Sent to proxy when the gpu memory manager changes its memory allocation.
453 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, 450 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation,
454 GpuMemoryAllocationForRenderer /* allocation */) 451 GpuMemoryAllocationForRenderer /* allocation */)
455 452
456 //------------------------------------------------------------------------------ 453 //------------------------------------------------------------------------------
457 // Accelerated Video Decoder Messages 454 // Accelerated Video Decoder Messages
458 // These messages are sent from Renderer process to GPU process. 455 // These messages are sent from Renderer process to GPU process.
459 456
460 // Send input buffer for decoding. 457 // Send input buffer for decoding.
461 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, 458 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 508
512 // Confirm decoder has been flushed. 509 // Confirm decoder has been flushed.
513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 510 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
514 511
515 // Confirm decoder has been reset. 512 // Confirm decoder has been reset.
516 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
517 514
518 // Video decoder has encountered an error. 515 // Video decoder has encountered an error.
519 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 516 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
520 uint32) /* Error ID */ 517 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698