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

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

Issue 12388038: Android: Remove Surface cruft (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 IPC_STRUCT_MEMBER(float, m13) 99 IPC_STRUCT_MEMBER(float, m13)
100 IPC_STRUCT_MEMBER(float, m20) 100 IPC_STRUCT_MEMBER(float, m20)
101 IPC_STRUCT_MEMBER(float, m21) 101 IPC_STRUCT_MEMBER(float, m21)
102 IPC_STRUCT_MEMBER(float, m22) 102 IPC_STRUCT_MEMBER(float, m22)
103 IPC_STRUCT_MEMBER(float, m23) 103 IPC_STRUCT_MEMBER(float, m23)
104 IPC_STRUCT_MEMBER(float, m30) 104 IPC_STRUCT_MEMBER(float, m30)
105 IPC_STRUCT_MEMBER(float, m31) 105 IPC_STRUCT_MEMBER(float, m31)
106 IPC_STRUCT_MEMBER(float, m32) 106 IPC_STRUCT_MEMBER(float, m32)
107 IPC_STRUCT_MEMBER(float, m33) 107 IPC_STRUCT_MEMBER(float, m33)
108 IPC_STRUCT_END() 108 IPC_STRUCT_END()
109 IPC_ENUM_TRAITS(content::SurfaceTexturePeer::SurfaceTextureTarget)
110 #endif 109 #endif
111 110
112 IPC_STRUCT_TRAITS_BEGIN(content::DxDiagNode) 111 IPC_STRUCT_TRAITS_BEGIN(content::DxDiagNode)
113 IPC_STRUCT_TRAITS_MEMBER(values) 112 IPC_STRUCT_TRAITS_MEMBER(values)
114 IPC_STRUCT_TRAITS_MEMBER(children) 113 IPC_STRUCT_TRAITS_MEMBER(children)
115 IPC_STRUCT_TRAITS_END() 114 IPC_STRUCT_TRAITS_END()
116 115
117 IPC_STRUCT_TRAITS_BEGIN(content::GpuPerformanceStats) 116 IPC_STRUCT_TRAITS_BEGIN(content::GpuPerformanceStats)
118 IPC_STRUCT_TRAITS_MEMBER(graphics) 117 IPC_STRUCT_TRAITS_MEMBER(graphics)
119 IPC_STRUCT_TRAITS_MEMBER(gaming) 118 IPC_STRUCT_TRAITS_MEMBER(gaming)
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 #if defined(OS_ANDROID) 430 #if defined(OS_ANDROID)
432 // Register the StreamTextureProxy class with the GPU process, so that 431 // Register the StreamTextureProxy class with the GPU process, so that
433 // the renderer process will get notified whenever a frame becomes available. 432 // the renderer process will get notified whenever a frame becomes available.
434 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_RegisterStreamTextureProxy, 433 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_RegisterStreamTextureProxy,
435 int32, /* stream_id */ 434 int32, /* stream_id */
436 gfx::Size, /* initial_size */ 435 gfx::Size, /* initial_size */
437 int /* route_id */) 436 int /* route_id */)
438 437
439 // Tells the GPU process create and send the java surface texture object to 438 // Tells the GPU process create and send the java surface texture object to
440 // the renderer process through the binder thread. 439 // the renderer process through the binder thread.
441 IPC_MESSAGE_CONTROL4(GpuChannelMsg_EstablishStreamTexture, 440 IPC_MESSAGE_CONTROL3(GpuChannelMsg_EstablishStreamTexture,
442 int32, /* stream_id */ 441 int32, /* stream_id */
443 content::SurfaceTexturePeer::SurfaceTextureTarget,
444 /* type */
445 int32, /* primary_id */ 442 int32, /* primary_id */
446 int32 /* secondary_id */) 443 int32 /* secondary_id */)
447 #endif 444 #endif
448 445
449 // Tells the GPU process to collect rendering stats. 446 // Tells the GPU process to collect rendering stats.
450 IPC_SYNC_MESSAGE_CONTROL1_1(GpuChannelMsg_CollectRenderingStatsForSurface, 447 IPC_SYNC_MESSAGE_CONTROL1_1(GpuChannelMsg_CollectRenderingStatsForSurface,
451 int32 /* surface_id */, 448 int32 /* surface_id */,
452 content::GpuRenderingStats /* stats */) 449 content::GpuRenderingStats /* stats */)
453 450
454 #if defined(OS_ANDROID) 451 #if defined(OS_ANDROID)
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 650
654 // Confirm decoder has been flushed. 651 // Confirm decoder has been flushed.
655 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 652 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
656 653
657 // Confirm decoder has been reset. 654 // Confirm decoder has been reset.
658 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 655 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
659 656
660 // Video decoder has encountered an error. 657 // Video decoder has encountered an error.
661 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 658 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
662 uint32) /* Error ID */ 659 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/media/android_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698