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

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

Issue 1490333005: Don't require VDAs to return all PictureBuffers at once. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved flags into VDA::Capabilities. Created 5 years 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 IPC_STRUCT_TRAITS_MEMBER(vendor_string) 215 IPC_STRUCT_TRAITS_MEMBER(vendor_string)
216 IPC_STRUCT_TRAITS_MEMBER(device_string) 216 IPC_STRUCT_TRAITS_MEMBER(device_string)
217 IPC_STRUCT_TRAITS_END() 217 IPC_STRUCT_TRAITS_END()
218 218
219 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorSupportedProfile) 219 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorSupportedProfile)
220 IPC_STRUCT_TRAITS_MEMBER(profile) 220 IPC_STRUCT_TRAITS_MEMBER(profile)
221 IPC_STRUCT_TRAITS_MEMBER(max_resolution) 221 IPC_STRUCT_TRAITS_MEMBER(max_resolution)
222 IPC_STRUCT_TRAITS_MEMBER(min_resolution) 222 IPC_STRUCT_TRAITS_MEMBER(min_resolution)
223 IPC_STRUCT_TRAITS_END() 223 IPC_STRUCT_TRAITS_END()
224 224
225 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorCapabilities)
226 IPC_STRUCT_TRAITS_MEMBER(supported_profiles)
227 IPC_STRUCT_TRAITS_MEMBER(flags)
228 IPC_STRUCT_TRAITS_END()
229
225 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoEncodeAcceleratorSupportedProfile) 230 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoEncodeAcceleratorSupportedProfile)
226 IPC_STRUCT_TRAITS_MEMBER(profile) 231 IPC_STRUCT_TRAITS_MEMBER(profile)
227 IPC_STRUCT_TRAITS_MEMBER(max_resolution) 232 IPC_STRUCT_TRAITS_MEMBER(max_resolution)
228 IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator) 233 IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator)
229 IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator) 234 IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator)
230 IPC_STRUCT_TRAITS_END() 235 IPC_STRUCT_TRAITS_END()
231 236
232 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo) 237 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo)
233 IPC_STRUCT_TRAITS_MEMBER(initialization_time) 238 IPC_STRUCT_TRAITS_MEMBER(initialization_time)
234 IPC_STRUCT_TRAITS_MEMBER(optimus) 239 IPC_STRUCT_TRAITS_MEMBER(optimus)
(...skipping 23 matching lines...) Expand all
258 IPC_STRUCT_TRAITS_MEMBER(direct_rendering) 263 IPC_STRUCT_TRAITS_MEMBER(direct_rendering)
259 IPC_STRUCT_TRAITS_MEMBER(sandboxed) 264 IPC_STRUCT_TRAITS_MEMBER(sandboxed)
260 IPC_STRUCT_TRAITS_MEMBER(process_crash_count) 265 IPC_STRUCT_TRAITS_MEMBER(process_crash_count)
261 IPC_STRUCT_TRAITS_MEMBER(in_process_gpu) 266 IPC_STRUCT_TRAITS_MEMBER(in_process_gpu)
262 IPC_STRUCT_TRAITS_MEMBER(basic_info_state) 267 IPC_STRUCT_TRAITS_MEMBER(basic_info_state)
263 IPC_STRUCT_TRAITS_MEMBER(context_info_state) 268 IPC_STRUCT_TRAITS_MEMBER(context_info_state)
264 #if defined(OS_WIN) 269 #if defined(OS_WIN)
265 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state) 270 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state)
266 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) 271 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics)
267 #endif 272 #endif
268 IPC_STRUCT_TRAITS_MEMBER(video_decode_accelerator_supported_profiles) 273 IPC_STRUCT_TRAITS_MEMBER(video_decode_accelerator_capabilities)
269 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles) 274 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles)
270 IPC_STRUCT_TRAITS_MEMBER(jpeg_decode_accelerator_supported) 275 IPC_STRUCT_TRAITS_MEMBER(jpeg_decode_accelerator_supported)
271 IPC_STRUCT_TRAITS_END() 276 IPC_STRUCT_TRAITS_END()
272 277
273 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats) 278 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats)
274 IPC_STRUCT_TRAITS_MEMBER(video_memory) 279 IPC_STRUCT_TRAITS_MEMBER(video_memory)
275 IPC_STRUCT_TRAITS_MEMBER(has_duplicates) 280 IPC_STRUCT_TRAITS_MEMBER(has_duplicates)
276 IPC_STRUCT_TRAITS_END() 281 IPC_STRUCT_TRAITS_END()
277 282
278 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats) 283 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats)
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 832 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
828 833
829 //------------------------------------------------------------------------------ 834 //------------------------------------------------------------------------------
830 // Accelerated JPEG Decoder Host Messages 835 // Accelerated JPEG Decoder Host Messages
831 // These messages are sent from the GPU process to Browser process. 836 // These messages are sent from the GPU process to Browser process.
832 // 837 //
833 // Report decode status. 838 // Report decode status.
834 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 839 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
835 int32, /* bitstream_buffer_id */ 840 int32, /* bitstream_buffer_id */
836 media::JpegDecodeAccelerator::Error /* error */) 841 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698