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

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

Issue 1324413003: Move gpu memory calculations to Compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment + android_arm64_dbg_recipe bot issue. Created 5 years, 2 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
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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 gfx::SwapResult /* result */) 591 gfx::SwapResult /* result */)
592 592
593 // Tells the browser about updated parameters for vsync alignment. 593 // Tells the browser about updated parameters for vsync alignment.
594 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_UpdateVSyncParameters, 594 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_UpdateVSyncParameters,
595 base::TimeTicks /* timebase */, 595 base::TimeTicks /* timebase */,
596 base::TimeDelta /* interval */) 596 base::TimeDelta /* interval */)
597 597
598 // Send to stub on surface visibility change. 598 // Send to stub on surface visibility change.
599 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) 599 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */)
600 600
601 // Sent to proxy when the gpu memory manager changes its memory allocation.
602 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation,
603 gpu::MemoryAllocation /* allocation */)
604
605 // Sent to stub when proxy is assigned a memory allocation changed callback.
606 IPC_MESSAGE_ROUTED1(
607 GpuCommandBufferMsg_SetClientHasMemoryAllocationChangedCallback,
608 bool /* has_callback */)
609
610 // Inserts a sync point into the channel. This is handled on the IO thread, so 601 // Inserts a sync point into the channel. This is handled on the IO thread, so
611 // can be expected to be reasonably fast, but the sync point is actually 602 // can be expected to be reasonably fast, but the sync point is actually
612 // retired in order with respect to the other calls. The sync point is shared 603 // retired in order with respect to the other calls. The sync point is shared
613 // across channels. 604 // across channels.
614 IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_InsertSyncPoint, 605 IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_InsertSyncPoint,
615 bool /* retire */, 606 bool /* retire */,
616 uint32 /* sync_point */) 607 uint32 /* sync_point */)
617 608
618 // Retires the sync point. 609 // Retires the sync point.
619 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RetireSyncPoint, 610 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RetireSyncPoint,
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 784 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
794 785
795 //------------------------------------------------------------------------------ 786 //------------------------------------------------------------------------------
796 // Accelerated JPEG Decoder Host Messages 787 // Accelerated JPEG Decoder Host Messages
797 // These messages are sent from the GPU process to Browser process. 788 // These messages are sent from the GPU process to Browser process.
798 // 789 //
799 // Report decode status. 790 // Report decode status.
800 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 791 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
801 int32, /* bitstream_buffer_id */ 792 int32, /* bitstream_buffer_id */
802 media::JpegDecodeAccelerator::Error /* error */) 793 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_manager_unittest.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698