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

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

Issue 11667030: Add GPU memory usage contents browser test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove controversial functionality Created 7 years, 11 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.cc ('k') | content/content_tests.gypi » ('j') | 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 #endif 155 #endif
156 IPC_STRUCT_TRAITS_END() 156 IPC_STRUCT_TRAITS_END()
157 157
158 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats) 158 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats)
159 IPC_STRUCT_TRAITS_MEMBER(video_memory) 159 IPC_STRUCT_TRAITS_MEMBER(video_memory)
160 IPC_STRUCT_TRAITS_MEMBER(has_duplicates) 160 IPC_STRUCT_TRAITS_MEMBER(has_duplicates)
161 IPC_STRUCT_TRAITS_END() 161 IPC_STRUCT_TRAITS_END()
162 162
163 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats) 163 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats)
164 IPC_STRUCT_TRAITS_MEMBER(process_map) 164 IPC_STRUCT_TRAITS_MEMBER(process_map)
165 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated)
166 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_historical_max)
165 IPC_STRUCT_TRAITS_END() 167 IPC_STRUCT_TRAITS_END()
166 168
167 IPC_STRUCT_TRAITS_BEGIN(content::GPUMemoryUmaStats) 169 IPC_STRUCT_TRAITS_BEGIN(content::GPUMemoryUmaStats)
168 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) 170 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current)
169 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) 171 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max)
170 IPC_STRUCT_TRAITS_MEMBER(bytes_limit) 172 IPC_STRUCT_TRAITS_MEMBER(bytes_limit)
171 IPC_STRUCT_TRAITS_MEMBER(window_count) 173 IPC_STRUCT_TRAITS_MEMBER(window_count)
172 IPC_STRUCT_TRAITS_END() 174 IPC_STRUCT_TRAITS_END()
173 175
174 IPC_STRUCT_TRAITS_BEGIN(content::GpuMemoryAllocationForRenderer) 176 IPC_STRUCT_TRAITS_BEGIN(content::GpuMemoryAllocationForRenderer)
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 657
656 // Confirm decoder has been flushed. 658 // Confirm decoder has been flushed.
657 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 659 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
658 660
659 // Confirm decoder has been reset. 661 // Confirm decoder has been reset.
660 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 662 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
661 663
662 // Video decoder has encountered an error. 664 // Video decoder has encountered an error.
663 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 665 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
664 uint32) /* Error ID */ 666 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_manager.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698