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

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

Issue 1280513002: Add GenericSharedMemoryId and use w/ GpuMemoryBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trackpools
Patch Set: remove "tracing" from name Created 5 years, 4 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
« no previous file with comments | « content/common/gpu/gpu_memory_buffer_factory_unittest.cc ('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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 gpu::VIDEO_CODEC_PROFILE_MAX) 76 gpu::VIDEO_CODEC_PROFILE_MAX)
77 77
78 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) 78 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig)
79 IPC_STRUCT_MEMBER(int32, share_group_id) 79 IPC_STRUCT_MEMBER(int32, share_group_id)
80 IPC_STRUCT_MEMBER(std::vector<int>, attribs) 80 IPC_STRUCT_MEMBER(std::vector<int>, attribs)
81 IPC_STRUCT_MEMBER(GURL, active_url) 81 IPC_STRUCT_MEMBER(GURL, active_url)
82 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) 82 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference)
83 IPC_STRUCT_END() 83 IPC_STRUCT_END()
84 84
85 IPC_STRUCT_BEGIN(GpuMsg_CreateGpuMemoryBuffer_Params) 85 IPC_STRUCT_BEGIN(GpuMsg_CreateGpuMemoryBuffer_Params)
86 IPC_STRUCT_MEMBER(int32, id) 86 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferId, id)
87 IPC_STRUCT_MEMBER(gfx::Size, size) 87 IPC_STRUCT_MEMBER(gfx::Size, size)
88 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) 88 IPC_STRUCT_MEMBER(gfx::BufferFormat, format)
89 IPC_STRUCT_MEMBER(gfx::BufferUsage, usage) 89 IPC_STRUCT_MEMBER(gfx::BufferUsage, usage)
90 IPC_STRUCT_MEMBER(int32, client_id) 90 IPC_STRUCT_MEMBER(int32, client_id)
91 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, surface_handle) 91 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, surface_handle)
92 IPC_STRUCT_END() 92 IPC_STRUCT_END()
93 93
94 #if defined(OS_MACOSX) 94 #if defined(OS_MACOSX)
95 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) 95 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params)
96 IPC_STRUCT_MEMBER(int32, surface_id) 96 IPC_STRUCT_MEMBER(int32, surface_id)
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 799 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
800 800
801 //------------------------------------------------------------------------------ 801 //------------------------------------------------------------------------------
802 // Accelerated JPEG Decoder Host Messages 802 // Accelerated JPEG Decoder Host Messages
803 // These messages are sent from the GPU process to Browser process. 803 // These messages are sent from the GPU process to Browser process.
804 // 804 //
805 // Report decode status. 805 // Report decode status.
806 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 806 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
807 int32, /* bitstream_buffer_id */ 807 int32, /* bitstream_buffer_id */
808 media::JpegDecodeAccelerator::Error /* error */) 808 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_buffer_factory_unittest.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698