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

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

Issue 10267002: Revert 134428 - GpuMemoryManager suggests values for renderer Contents Texture Managers' preferred … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « content/common/gpu/gpu_memory_manager_unittest.cc ('k') | no next file » | 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 <vector> 8 #include <vector>
9 #include <string> 9 #include <string>
10 10
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 // Send to stub on surface visibility change. 438 // Send to stub on surface visibility change.
439 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) 439 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */)
440 440
441 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_DiscardBackbuffer) 441 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_DiscardBackbuffer)
442 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EnsureBackbuffer) 442 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EnsureBackbuffer)
443 443
444 // Sent to proxy when the gpu memory manager changes its memory allocation. 444 // Sent to proxy when the gpu memory manager changes its memory allocation.
445 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, 445 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation,
446 GpuMemoryAllocationForRenderer /* allocation */) 446 GpuMemoryAllocationForRenderer /* allocation */)
447 447
448 // Sent to stub when proxy is assigned a memory allocation changed callback.
449 IPC_MESSAGE_ROUTED1(
450 GpuCommandBufferMsg_SetClientHasMemoryAllocationChangedCallback,
451 bool /* has_callback */)
452
453 //------------------------------------------------------------------------------ 448 //------------------------------------------------------------------------------
454 // Accelerated Video Decoder Messages 449 // Accelerated Video Decoder Messages
455 // These messages are sent from Renderer process to GPU process. 450 // These messages are sent from Renderer process to GPU process.
456 451
457 // Send input buffer for decoding. 452 // Send input buffer for decoding.
458 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, 453 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode,
459 base::SharedMemoryHandle, /* input_buffer_handle */ 454 base::SharedMemoryHandle, /* input_buffer_handle */
460 int32, /* bitstream_buffer_id */ 455 int32, /* bitstream_buffer_id */
461 int32) /* size */ 456 int32) /* size */
462 457
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 503
509 // Confirm decoder has been flushed. 504 // Confirm decoder has been flushed.
510 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 505 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
511 506
512 // Confirm decoder has been reset. 507 // Confirm decoder has been reset.
513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 508 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
514 509
515 // Video decoder has encountered an error. 510 // Video decoder has encountered an error.
516 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 511 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
517 uint32) /* Error ID */ 512 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698