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

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

Issue 9303009: Add IPC allowing GPU process to tell browser process to temporarily drop a front buffer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 <vector> 8 #include <vector>
9 #include <string> 9 #include <string>
10 10
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // should cause the browser to redraw the compositor's contents. 244 // should cause the browser to redraw the compositor's contents.
245 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfacePostSubBuffer, 245 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfacePostSubBuffer,
246 GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params) 246 GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params)
247 247
248 // Tells the browser to release whatever resources are associated with 248 // Tells the browser to release whatever resources are associated with
249 // the given surface. The browser must send an ACK once this operation 249 // the given surface. The browser must send an ACK once this operation
250 // is complete. 250 // is complete.
251 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceRelease, 251 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceRelease,
252 GpuHostMsg_AcceleratedSurfaceRelease_Params) 252 GpuHostMsg_AcceleratedSurfaceRelease_Params)
253 253
254 // Tells the browser to release resources for the given surface until the next
255 // time swap buffers or post sub buffer is sent.
256 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSuspend,
257 int32 /* surface_id */)
258
254 //------------------------------------------------------------------------------ 259 //------------------------------------------------------------------------------
255 // GPU Channel Messages 260 // GPU Channel Messages
256 // These are messages from a renderer process to the GPU process. 261 // These are messages from a renderer process to the GPU process.
257 262
258 // Initialize a channel between a renderer process and a GPU process. The 263 // Initialize a channel between a renderer process and a GPU process. The
259 // renderer passes its process handle to the GPU process, which gives gives the 264 // renderer passes its process handle to the GPU process, which gives gives the
260 // GPU process the ability to map handles from the renderer process. This must 265 // GPU process the ability to map handles from the renderer process. This must
261 // be the first message sent on a newly connected channel. 266 // be the first message sent on a newly connected channel.
262 IPC_MESSAGE_CONTROL1(GpuChannelMsg_Initialize, 267 IPC_MESSAGE_CONTROL1(GpuChannelMsg_Initialize,
263 base::ProcessHandle /* renderer_process_for_gpu */) 268 base::ProcessHandle /* renderer_process_for_gpu */)
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 471
467 // Confirm decoder has been flushed. 472 // Confirm decoder has been flushed.
468 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 473 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
469 474
470 // Confirm decoder has been reset. 475 // Confirm decoder has been reset.
471 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 476 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
472 477
473 // Video decoder has encountered an error. 478 // Video decoder has encountered an error.
474 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 479 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
475 uint32) /* Error ID */ 480 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.cc ('k') | content/common/gpu/image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698