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

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

Issue 10052018: Drop frontbuffers with ui-use-gpu-process, synchronized with browser, decoupled from backbuffer dro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Storing the list of thumbnail callbacks, so that we can issue them upon RWHVA destruction. Created 8 years, 5 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 55 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
56 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) 56 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params)
57 IPC_STRUCT_MEMBER(int32, surface_id) 57 IPC_STRUCT_MEMBER(int32, surface_id)
58 IPC_STRUCT_MEMBER(uint64, surface_handle) 58 IPC_STRUCT_MEMBER(uint64, surface_handle)
59 IPC_STRUCT_MEMBER(int32, route_id) 59 IPC_STRUCT_MEMBER(int32, route_id)
60 #if defined(OS_WIN) 60 #if defined(OS_WIN)
61 IPC_STRUCT_MEMBER(gfx::Size, size) 61 IPC_STRUCT_MEMBER(gfx::Size, size)
62 #elif defined(OS_MACOSX) 62 #elif defined(OS_MACOSX)
63 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) 63 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window)
64 #endif 64 #endif
65 IPC_STRUCT_MEMBER(uint32, protection_state_id)
66 IPC_STRUCT_MEMBER(bool, skip_ack)
65 IPC_STRUCT_END() 67 IPC_STRUCT_END()
66 #undef IPC_MESSAGE_EXPORT 68 #undef IPC_MESSAGE_EXPORT
67 #define IPC_MESSAGE_EXPORT 69 #define IPC_MESSAGE_EXPORT
68 70
69 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params) 71 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params)
70 IPC_STRUCT_MEMBER(int32, surface_id) 72 IPC_STRUCT_MEMBER(int32, surface_id)
71 IPC_STRUCT_MEMBER(uint64, surface_handle) 73 IPC_STRUCT_MEMBER(uint64, surface_handle)
72 IPC_STRUCT_MEMBER(int32, route_id) 74 IPC_STRUCT_MEMBER(int32, route_id)
73 IPC_STRUCT_MEMBER(int, x) 75 IPC_STRUCT_MEMBER(int, x)
74 IPC_STRUCT_MEMBER(int, y) 76 IPC_STRUCT_MEMBER(int, y)
75 IPC_STRUCT_MEMBER(int, width) 77 IPC_STRUCT_MEMBER(int, width)
76 IPC_STRUCT_MEMBER(int, height) 78 IPC_STRUCT_MEMBER(int, height)
77 #if defined(OS_MACOSX) 79 #if defined(OS_MACOSX)
78 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) 80 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window)
79 #endif 81 #endif
82 IPC_STRUCT_MEMBER(uint32, protection_state_id)
80 IPC_STRUCT_END() 83 IPC_STRUCT_END()
81 84
82 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params) 85 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params)
83 IPC_STRUCT_MEMBER(int32, surface_id) 86 IPC_STRUCT_MEMBER(int32, surface_id)
84 IPC_STRUCT_MEMBER(uint64, identifier) 87 IPC_STRUCT_MEMBER(uint64, identifier)
85 IPC_STRUCT_MEMBER(int32, route_id) 88 IPC_STRUCT_MEMBER(int32, route_id)
86 #if defined(OS_MACOSX) 89 #if defined(OS_MACOSX)
87 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) 90 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window)
88 #endif 91 #endif
89 IPC_STRUCT_END() 92 IPC_STRUCT_END()
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 GPUCreateCommandBufferConfig /* init_params */) 218 GPUCreateCommandBufferConfig /* init_params */)
216 219
217 // Tells the GPU process to create a context for collecting graphics card 220 // Tells the GPU process to create a context for collecting graphics card
218 // information. 221 // information.
219 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo) 222 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo)
220 223
221 // Tells the GPU process that the browser process has finished resizing the 224 // Tells the GPU process that the browser process has finished resizing the
222 // view. 225 // view.
223 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_ResizeViewACK) 226 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_ResizeViewACK)
224 227
228 // Tells the GPU process if it's worth suggesting release of the front surface.
229 IPC_MESSAGE_ROUTED2(AcceleratedSurfaceMsg_SetFrontSurfaceIsProtected,
230 bool /* is_protected */,
231 uint32 /* protection_state_id */)
232
225 // Tells the GPU process that the browser process has handled the swap 233 // Tells the GPU process that the browser process has handled the swap
226 // buffers or post sub-buffer request. A non-zero sync point means 234 // buffers or post sub-buffer request. A non-zero sync point means
227 // that we should wait for the sync point. 235 // that we should wait for the sync point.
228 IPC_MESSAGE_ROUTED1(AcceleratedSurfaceMsg_BufferPresented, 236 IPC_MESSAGE_ROUTED1(AcceleratedSurfaceMsg_BufferPresented,
229 uint32 /* sync_point */) 237 uint32 /* sync_point */)
230 238
231 // Tells the GPU process to remove all contexts. 239 // Tells the GPU process to remove all contexts.
232 IPC_MESSAGE_CONTROL0(GpuMsg_Clean) 240 IPC_MESSAGE_CONTROL0(GpuMsg_Clean)
233 241
234 // Tells the GPU process to crash. 242 // Tells the GPU process to crash.
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 588
581 // Confirm decoder has been flushed. 589 // Confirm decoder has been flushed.
582 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 590 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
583 591
584 // Confirm decoder has been reset. 592 // Confirm decoder has been reset.
585 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 593 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
586 594
587 // Video decoder has encountered an error. 595 // Video decoder has encountered an error.
588 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 596 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
589 uint32) /* Error ID */ 597 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_manager_unittest.cc ('k') | content/common/gpu/image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698