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

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

Issue 10083056: GpuMemoryManager suggests values for renderer Contents Texture Managers' preferred memory limit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: On max 10.5, it fails to init command buffer, and my callback code didn't guard against that. 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
448 //------------------------------------------------------------------------------ 453 //------------------------------------------------------------------------------
449 // Accelerated Video Decoder Messages 454 // Accelerated Video Decoder Messages
450 // These messages are sent from Renderer process to GPU process. 455 // These messages are sent from Renderer process to GPU process.
451 456
452 // Send input buffer for decoding. 457 // Send input buffer for decoding.
453 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, 458 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode,
454 base::SharedMemoryHandle, /* input_buffer_handle */ 459 base::SharedMemoryHandle, /* input_buffer_handle */
455 int32, /* bitstream_buffer_id */ 460 int32, /* bitstream_buffer_id */
456 int32) /* size */ 461 int32) /* size */
457 462
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 508
504 // Confirm decoder has been flushed. 509 // Confirm decoder has been flushed.
505 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 510 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
506 511
507 // Confirm decoder has been reset. 512 // Confirm decoder has been reset.
508 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
509 514
510 // Video decoder has encountered an error. 515 // Video decoder has encountered an error.
511 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 516 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
512 uint32) /* Error ID */ 517 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