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

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

Issue 1420533009: Cleanup GpuMemoryManager and helpers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanup. Created 5 years, 1 month 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
« no previous file with comments | « content/common/gpu/gpu_memory_uma_stats.h ('k') | content/content_common.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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 267
268 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats) 268 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats)
269 IPC_STRUCT_TRAITS_MEMBER(process_map) 269 IPC_STRUCT_TRAITS_MEMBER(process_map)
270 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated) 270 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated)
271 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_historical_max) 271 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_historical_max)
272 IPC_STRUCT_TRAITS_END() 272 IPC_STRUCT_TRAITS_END()
273 273
274 IPC_STRUCT_TRAITS_BEGIN(content::GPUMemoryUmaStats) 274 IPC_STRUCT_TRAITS_BEGIN(content::GPUMemoryUmaStats)
275 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) 275 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current)
276 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) 276 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max)
277 IPC_STRUCT_TRAITS_MEMBER(bytes_limit)
278 IPC_STRUCT_TRAITS_END() 277 IPC_STRUCT_TRAITS_END()
279 278
280 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation) 279 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation)
281 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) 280 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible)
282 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) 281 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible)
283 IPC_STRUCT_TRAITS_END() 282 IPC_STRUCT_TRAITS_END()
284 283
285 IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle) 284 IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle)
286 IPC_STRUCT_TRAITS_MEMBER(handle) 285 IPC_STRUCT_TRAITS_MEMBER(handle)
287 IPC_STRUCT_TRAITS_MEMBER(transport_type) 286 IPC_STRUCT_TRAITS_MEMBER(transport_type)
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 807 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
809 808
810 //------------------------------------------------------------------------------ 809 //------------------------------------------------------------------------------
811 // Accelerated JPEG Decoder Host Messages 810 // Accelerated JPEG Decoder Host Messages
812 // These messages are sent from the GPU process to Browser process. 811 // These messages are sent from the GPU process to Browser process.
813 // 812 //
814 // Report decode status. 813 // Report decode status.
815 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 814 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
816 int32, /* bitstream_buffer_id */ 815 int32, /* bitstream_buffer_id */
817 media::JpegDecodeAccelerator::Error /* error */) 816 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_uma_stats.h ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698