OLD | NEW |
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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 #if defined(OS_ANDROID) | 46 #if defined(OS_ANDROID) |
47 #include "content/common/android/surface_texture_peer.h" | 47 #include "content/common/android/surface_texture_peer.h" |
48 #elif defined(OS_MACOSX) | 48 #elif defined(OS_MACOSX) |
49 #include "ui/base/cocoa/remote_layer_api.h" | 49 #include "ui/base/cocoa/remote_layer_api.h" |
50 #include "ui/gfx/mac/io_surface.h" | 50 #include "ui/gfx/mac/io_surface.h" |
51 #endif | 51 #endif |
52 | 52 |
53 #undef IPC_MESSAGE_EXPORT | 53 #undef IPC_MESSAGE_EXPORT |
54 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 54 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
55 | 55 |
56 #define IPC_MESSAGE_START GpuMsgStart | 56 #define IPC_MESSAGE_START GpuChannelMsgStart |
57 | 57 |
58 IPC_ENUM_TRAITS_MAX_VALUE(content::CauseForGpuLaunch, | |
59 content::CAUSE_FOR_GPU_LAUNCH_MAX_ENUM - 1) | |
60 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuPreference, | 58 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuPreference, |
61 gfx::GpuPreferenceLast) | 59 gfx::GpuPreferenceLast) |
62 IPC_ENUM_TRAITS_MAX_VALUE(content::GpuStreamPriority, | 60 IPC_ENUM_TRAITS_MAX_VALUE(content::GpuStreamPriority, |
63 content::GpuStreamPriority::LAST) | 61 content::GpuStreamPriority::LAST) |
64 IPC_ENUM_TRAITS_MAX_VALUE(gfx::SurfaceType, | 62 IPC_ENUM_TRAITS_MAX_VALUE(gfx::SurfaceType, |
65 gfx::SURFACE_TYPE_LAST) | 63 gfx::SURFACE_TYPE_LAST) |
66 IPC_ENUM_TRAITS_MAX_VALUE(gfx::SwapResult, gfx::SwapResult::SWAP_RESULT_LAST) | 64 IPC_ENUM_TRAITS_MAX_VALUE(gfx::SwapResult, gfx::SwapResult::SWAP_RESULT_LAST) |
67 IPC_ENUM_TRAITS_MAX_VALUE(gpu::MemoryAllocation::PriorityCutoff, | 65 IPC_ENUM_TRAITS_MAX_VALUE(gpu::MemoryAllocation::PriorityCutoff, |
68 gpu::MemoryAllocation::CUTOFF_LAST) | 66 gpu::MemoryAllocation::CUTOFF_LAST) |
69 IPC_ENUM_TRAITS_MAX_VALUE(gpu::error::ContextLostReason, | 67 IPC_ENUM_TRAITS_MAX_VALUE(gpu::error::ContextLostReason, |
(...skipping 14 matching lines...) Expand all Loading... |
84 | 82 |
85 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 83 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
86 IPC_STRUCT_MEMBER(int32_t, share_group_id) | 84 IPC_STRUCT_MEMBER(int32_t, share_group_id) |
87 IPC_STRUCT_MEMBER(int32_t, stream_id) | 85 IPC_STRUCT_MEMBER(int32_t, stream_id) |
88 IPC_STRUCT_MEMBER(content::GpuStreamPriority, stream_priority) | 86 IPC_STRUCT_MEMBER(content::GpuStreamPriority, stream_priority) |
89 IPC_STRUCT_MEMBER(std::vector<int>, attribs) | 87 IPC_STRUCT_MEMBER(std::vector<int>, attribs) |
90 IPC_STRUCT_MEMBER(GURL, active_url) | 88 IPC_STRUCT_MEMBER(GURL, active_url) |
91 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) | 89 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) |
92 IPC_STRUCT_END() | 90 IPC_STRUCT_END() |
93 | 91 |
94 IPC_STRUCT_BEGIN(GpuMsg_EstablishChannel_Params) | |
95 IPC_STRUCT_MEMBER(int, client_id) | |
96 IPC_STRUCT_MEMBER(uint64_t, client_tracing_id) | |
97 IPC_STRUCT_MEMBER(bool, preempts) | |
98 IPC_STRUCT_MEMBER(bool, allow_view_command_buffers) | |
99 IPC_STRUCT_MEMBER(bool, allow_real_time_streams) | |
100 IPC_STRUCT_END() | |
101 | |
102 IPC_STRUCT_BEGIN(GpuMsg_CreateGpuMemoryBuffer_Params) | |
103 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferId, id) | |
104 IPC_STRUCT_MEMBER(gfx::Size, size) | |
105 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) | |
106 IPC_STRUCT_MEMBER(gfx::BufferUsage, usage) | |
107 IPC_STRUCT_MEMBER(int32_t, client_id) | |
108 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, surface_handle) | |
109 IPC_STRUCT_END() | |
110 | |
111 IPC_STRUCT_BEGIN(GpuMsg_CreateGpuMemoryBufferFromHandle_Params) | |
112 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferHandle, handle) | |
113 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferId, id) | |
114 IPC_STRUCT_MEMBER(gfx::Size, size) | |
115 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) | |
116 IPC_STRUCT_MEMBER(int32_t, client_id) | |
117 IPC_STRUCT_END() | |
118 | |
119 #if defined(OS_MACOSX) | |
120 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | |
121 IPC_STRUCT_MEMBER(int32_t, surface_id) | |
122 // Only one of ca_context_id or io_surface may be non-0. | |
123 IPC_STRUCT_MEMBER(CAContextID, ca_context_id) | |
124 IPC_STRUCT_MEMBER(gfx::ScopedRefCountedIOSurfaceMachPort, io_surface) | |
125 IPC_STRUCT_MEMBER(int32_t, route_id) | |
126 IPC_STRUCT_MEMBER(gfx::Size, size) | |
127 IPC_STRUCT_MEMBER(float, scale_factor) | |
128 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | |
129 IPC_STRUCT_END() | |
130 | |
131 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) | |
132 // The vsync parameters, to synchronize presentation with the display. | |
133 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase) | |
134 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval) | |
135 IPC_STRUCT_END() | |
136 #endif | |
137 | |
138 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) | 92 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) |
139 IPC_STRUCT_MEMBER(int32_t, input_buffer_id) | 93 IPC_STRUCT_MEMBER(int32_t, input_buffer_id) |
140 IPC_STRUCT_MEMBER(gfx::Size, coded_size) | 94 IPC_STRUCT_MEMBER(gfx::Size, coded_size) |
141 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) | 95 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) |
142 IPC_STRUCT_MEMBER(uint32_t, input_buffer_size) | 96 IPC_STRUCT_MEMBER(uint32_t, input_buffer_size) |
143 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, output_video_frame_handle) | 97 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, output_video_frame_handle) |
144 IPC_STRUCT_MEMBER(uint32_t, output_buffer_size) | 98 IPC_STRUCT_MEMBER(uint32_t, output_buffer_size) |
145 IPC_STRUCT_END() | 99 IPC_STRUCT_END() |
146 | 100 |
147 IPC_STRUCT_BEGIN(AcceleratedVideoDecoderMsg_Decode_Params) | 101 IPC_STRUCT_BEGIN(AcceleratedVideoDecoderMsg_Decode_Params) |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 IPC_STRUCT_TRAITS_MEMBER(context_info_state) | 232 IPC_STRUCT_TRAITS_MEMBER(context_info_state) |
279 #if defined(OS_WIN) | 233 #if defined(OS_WIN) |
280 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state) | 234 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state) |
281 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) | 235 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) |
282 #endif | 236 #endif |
283 IPC_STRUCT_TRAITS_MEMBER(video_decode_accelerator_capabilities) | 237 IPC_STRUCT_TRAITS_MEMBER(video_decode_accelerator_capabilities) |
284 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles) | 238 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles) |
285 IPC_STRUCT_TRAITS_MEMBER(jpeg_decode_accelerator_supported) | 239 IPC_STRUCT_TRAITS_MEMBER(jpeg_decode_accelerator_supported) |
286 IPC_STRUCT_TRAITS_END() | 240 IPC_STRUCT_TRAITS_END() |
287 | 241 |
288 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats) | |
289 IPC_STRUCT_TRAITS_MEMBER(video_memory) | |
290 IPC_STRUCT_TRAITS_MEMBER(has_duplicates) | |
291 IPC_STRUCT_TRAITS_END() | |
292 | |
293 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats) | |
294 IPC_STRUCT_TRAITS_MEMBER(process_map) | |
295 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated) | |
296 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_historical_max) | |
297 IPC_STRUCT_TRAITS_END() | |
298 | |
299 IPC_STRUCT_TRAITS_BEGIN(content::GPUMemoryUmaStats) | |
300 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) | |
301 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) | |
302 IPC_STRUCT_TRAITS_END() | |
303 | |
304 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation) | 242 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation) |
305 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) | 243 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) |
306 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) | 244 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) |
307 IPC_STRUCT_TRAITS_END() | 245 IPC_STRUCT_TRAITS_END() |
308 | 246 |
309 IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle) | 247 IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle) |
310 IPC_STRUCT_TRAITS_MEMBER(handle) | 248 IPC_STRUCT_TRAITS_MEMBER(handle) |
311 IPC_STRUCT_TRAITS_MEMBER(transport_type) | 249 IPC_STRUCT_TRAITS_MEMBER(transport_type) |
312 IPC_STRUCT_TRAITS_END() | 250 IPC_STRUCT_TRAITS_END() |
313 | 251 |
314 IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry) | 252 IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry) |
315 IPC_STRUCT_TRAITS_MEMBER(clear_bytes) | 253 IPC_STRUCT_TRAITS_MEMBER(clear_bytes) |
316 IPC_STRUCT_TRAITS_MEMBER(cypher_bytes) | 254 IPC_STRUCT_TRAITS_MEMBER(cypher_bytes) |
317 IPC_STRUCT_TRAITS_END() | 255 IPC_STRUCT_TRAITS_END() |
318 | 256 |
319 //------------------------------------------------------------------------------ | 257 //------------------------------------------------------------------------------ |
320 // GPU Messages | |
321 // These are messages from the browser to the GPU process. | |
322 | |
323 // Tells the GPU process to initialize itself. The browser explicitly | |
324 // requests this be done so that we are guaranteed that the channel is set | |
325 // up between the browser and GPU process before doing any work that might | |
326 // potentially crash the GPU process. Detection of the child process | |
327 // exiting abruptly is predicated on having the IPC channel set up. | |
328 IPC_MESSAGE_CONTROL0(GpuMsg_Initialize) | |
329 | |
330 // Tells the GPU process to shutdown itself. | |
331 IPC_MESSAGE_CONTROL0(GpuMsg_Finalize) | |
332 | |
333 // Tells the GPU process to create a new channel for communication with a | |
334 // given client. The channel name is returned in a | |
335 // GpuHostMsg_ChannelEstablished message. The client ID is passed so that | |
336 // the GPU process reuses an existing channel to that process if it exists. | |
337 // This ID is a unique opaque identifier generated by the browser process. | |
338 // The client_tracing_id is a unique ID used for the purposes of tracing. | |
339 IPC_MESSAGE_CONTROL1(GpuMsg_EstablishChannel, | |
340 GpuMsg_EstablishChannel_Params /* params */) | |
341 | |
342 // Tells the GPU process to close the channel identified by IPC channel | |
343 // handle. If no channel can be identified, do nothing. | |
344 IPC_MESSAGE_CONTROL1(GpuMsg_CloseChannel, | |
345 IPC::ChannelHandle /* channel_handle */) | |
346 | |
347 // Tells the GPU process to create a new gpu memory buffer. | |
348 IPC_MESSAGE_CONTROL1(GpuMsg_CreateGpuMemoryBuffer, | |
349 GpuMsg_CreateGpuMemoryBuffer_Params) | |
350 | |
351 // Tells the GPU process to create a new gpu memory buffer from an existing | |
352 // handle. | |
353 IPC_MESSAGE_CONTROL1(GpuMsg_CreateGpuMemoryBufferFromHandle, | |
354 GpuMsg_CreateGpuMemoryBufferFromHandle_Params) | |
355 | |
356 // Tells the GPU process to destroy buffer. | |
357 IPC_MESSAGE_CONTROL3(GpuMsg_DestroyGpuMemoryBuffer, | |
358 gfx::GpuMemoryBufferId, /* id */ | |
359 int32_t, /* client_id */ | |
360 gpu::SyncToken /* sync_token */) | |
361 | |
362 // Tells the GPU process to create a context for collecting graphics card | |
363 // information. | |
364 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo) | |
365 | |
366 // Tells the GPU process to report video_memory information for the task manager | |
367 IPC_MESSAGE_CONTROL0(GpuMsg_GetVideoMemoryUsageStats) | |
368 | |
369 #if defined(OS_MACOSX) | |
370 // Tells the GPU process that the browser process has handled the swap | |
371 // buffers or post sub-buffer request. | |
372 IPC_MESSAGE_ROUTED1(AcceleratedSurfaceMsg_BufferPresented, | |
373 AcceleratedSurfaceMsg_BufferPresented_Params) | |
374 #endif | |
375 | |
376 #if defined(OS_ANDROID) | |
377 // Tells the GPU process to wake up the GPU because we're about to draw. | |
378 IPC_MESSAGE_CONTROL0(GpuMsg_WakeUpGpu) | |
379 #endif | |
380 | |
381 // Tells the GPU process to remove all contexts. | |
382 IPC_MESSAGE_CONTROL0(GpuMsg_Clean) | |
383 | |
384 // Tells the GPU process to crash. | |
385 IPC_MESSAGE_CONTROL0(GpuMsg_Crash) | |
386 | |
387 // Tells the GPU process to hang. | |
388 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) | |
389 | |
390 // Tells the GPU process to disable the watchdog thread. | |
391 IPC_MESSAGE_CONTROL0(GpuMsg_DisableWatchdog) | |
392 | |
393 // Tells the GPU process that the browser has seen a GPU switch. | |
394 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) | |
395 | |
396 // Sends an input event to the gpu service. | |
397 IPC_MESSAGE_CONTROL3(GpuMsg_UpdateValueState, | |
398 int, /* client_id */ | |
399 unsigned int, /* target */ | |
400 gpu::ValueState /* valuestate */) | |
401 | |
402 //------------------------------------------------------------------------------ | |
403 // GPU Host Messages | |
404 // These are messages to the browser. | |
405 | |
406 // A renderer sends this when it wants to create a connection to the GPU | |
407 // process. The browser will create the GPU process if necessary, and will | |
408 // return a handle to the channel via a GpuChannelEstablished message. | |
409 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, | |
410 content::CauseForGpuLaunch, | |
411 int /* client id */, | |
412 IPC::ChannelHandle /* handle to channel */, | |
413 gpu::GPUInfo /* stats about GPU process*/) | |
414 | |
415 // A renderer sends this when it wants to know whether a gpu process exists. | |
416 IPC_SYNC_MESSAGE_CONTROL0_1(GpuHostMsg_HasGpuProcess, bool /* result */) | |
417 | |
418 // Response from GPU to a GputMsg_Initialize message. | |
419 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized, | |
420 bool /* result */, | |
421 ::gpu::GPUInfo /* gpu_info */) | |
422 | |
423 // Response from GPU to a GpuHostMsg_EstablishChannel message. | |
424 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, | |
425 IPC::ChannelHandle /* channel_handle */) | |
426 | |
427 // Message from GPU to notify to destroy the channel. | |
428 IPC_MESSAGE_CONTROL1(GpuHostMsg_DestroyChannel, int32_t /* client_id */) | |
429 | |
430 // Message to cache the given shader information. | |
431 IPC_MESSAGE_CONTROL3(GpuHostMsg_CacheShader, | |
432 int32_t /* client_id */, | |
433 std::string /* key */, | |
434 std::string /* shader */) | |
435 | |
436 // Message to the GPU that a shader was loaded from disk. | |
437 IPC_MESSAGE_CONTROL1(GpuMsg_LoadedShader, | |
438 std::string /* encoded shader */) | |
439 | |
440 // Response from GPU to a GpuMsg_CreateGpuMemoryBuffer message. | |
441 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryBufferCreated, | |
442 gfx::GpuMemoryBufferHandle /* handle */) | |
443 | |
444 // Response from GPU to a GpuMsg_CollectGraphicsInfo. | |
445 IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected, | |
446 gpu::GPUInfo /* GPU logging stats */) | |
447 | |
448 // Response from GPU to a GpuMsg_GetVideoMemory. | |
449 IPC_MESSAGE_CONTROL1(GpuHostMsg_VideoMemoryUsageStats, | |
450 content::GPUVideoMemoryUsageStats /* GPU memory stats */) | |
451 | |
452 // Message from GPU to add a GPU log message to the about:gpu page. | |
453 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, | |
454 int /*severity*/, | |
455 std::string /* header */, | |
456 std::string /* message */) | |
457 | |
458 | |
459 #if defined(OS_MACOSX) | |
460 // Tells the browser that an accelerated surface has swapped. | |
461 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceBuffersSwapped, | |
462 GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | |
463 #endif | |
464 | |
465 #if defined(OS_WIN) | |
466 IPC_MESSAGE_CONTROL2(GpuHostMsg_AcceleratedSurfaceCreatedChildWindow, | |
467 gfx::PluginWindowHandle /* parent_window */, | |
468 gfx::PluginWindowHandle /* child_window */) | |
469 #endif | |
470 | |
471 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidCreateOffscreenContext, | |
472 GURL /* url */) | |
473 | |
474 IPC_MESSAGE_CONTROL3(GpuHostMsg_DidLoseContext, | |
475 bool /* offscreen */, | |
476 gpu::error::ContextLostReason /* reason */, | |
477 GURL /* url */) | |
478 | |
479 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, | |
480 GURL /* url */) | |
481 | |
482 // Tells the browser about GPU memory usage statistics for UMA logging. | |
483 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats, | |
484 content::GPUMemoryUmaStats /* GPU memory UMA stats */) | |
485 | |
486 // Tells the browser that a context has subscribed to a new target and | |
487 // the browser should start sending the corresponding information | |
488 IPC_MESSAGE_CONTROL2(GpuHostMsg_AddSubscription, | |
489 int32_t /* client_id */, | |
490 unsigned int /* target */) | |
491 | |
492 // Tells the browser that no contexts are subscribed to the target anymore | |
493 // so the browser should stop sending the corresponding information | |
494 IPC_MESSAGE_CONTROL2(GpuHostMsg_RemoveSubscription, | |
495 int32_t /* client_id */, | |
496 unsigned int /* target */) | |
497 | |
498 //------------------------------------------------------------------------------ | |
499 // GPU Channel Messages | 258 // GPU Channel Messages |
500 // These are messages from a renderer process to the GPU process. | 259 // These are messages from a renderer process to the GPU process. |
501 | 260 |
502 // Tells the GPU process to create a new command buffer that renders directly | 261 // Tells the GPU process to create a new command buffer that renders directly |
503 // to a native view. A corresponding GpuCommandBufferStub is created. | 262 // to a native view. A corresponding GpuCommandBufferStub is created. |
504 IPC_SYNC_MESSAGE_CONTROL3_1(GpuChannelMsg_CreateViewCommandBuffer, | 263 IPC_SYNC_MESSAGE_CONTROL3_1(GpuChannelMsg_CreateViewCommandBuffer, |
505 gfx::GLSurfaceHandle, /* compositing_surface */ | 264 gfx::GLSurfaceHandle, /* compositing_surface */ |
506 GPUCreateCommandBufferConfig, /* init_params */ | 265 GPUCreateCommandBufferConfig, /* init_params */ |
507 int32_t /* route_id */, | 266 int32_t /* route_id */, |
508 bool /* succeeded */) | 267 bool /* succeeded */) |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 582 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
824 | 583 |
825 //------------------------------------------------------------------------------ | 584 //------------------------------------------------------------------------------ |
826 // Accelerated JPEG Decoder Host Messages | 585 // Accelerated JPEG Decoder Host Messages |
827 // These messages are sent from the GPU process to Browser process. | 586 // These messages are sent from the GPU process to Browser process. |
828 // | 587 // |
829 // Report decode status. | 588 // Report decode status. |
830 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 589 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
831 int32_t, /* bitstream_buffer_id */ | 590 int32_t, /* bitstream_buffer_id */ |
832 media::JpegDecodeAccelerator::Error /* error */) | 591 media::JpegDecodeAccelerator::Error /* error */) |
OLD | NEW |