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

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

Issue 11195011: Send vsync timebase updates to the browser compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, and added a missing chunk Created 8 years, 1 month 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 // the given surface. The browser must send an ACK once this operation 372 // the given surface. The browser must send an ACK once this operation
373 // is complete. 373 // is complete.
374 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceRelease, 374 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceRelease,
375 GpuHostMsg_AcceleratedSurfaceRelease_Params) 375 GpuHostMsg_AcceleratedSurfaceRelease_Params)
376 376
377 // Tells the browser to release resources for the given surface until the next 377 // Tells the browser to release resources for the given surface until the next
378 // time swap buffers or post sub buffer is sent. 378 // time swap buffers or post sub buffer is sent.
379 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSuspend, 379 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSuspend,
380 int32 /* surface_id */) 380 int32 /* surface_id */)
381 381
382 // Tells the browser about updated parameters for vsync alignment.
383 IPC_MESSAGE_CONTROL3(GpuHostMsg_UpdateVSyncParameters,
384 int32 /* surface_id */,
385 base::TimeTicks /* timebase */,
386 base::TimeDelta /* interval */)
387
382 //------------------------------------------------------------------------------ 388 //------------------------------------------------------------------------------
383 // GPU Channel Messages 389 // GPU Channel Messages
384 // These are messages from a renderer process to the GPU process. 390 // These are messages from a renderer process to the GPU process.
385 391
386 // Tells the GPU process to create a new command buffer that renders to an 392 // Tells the GPU process to create a new command buffer that renders to an
387 // offscreen frame buffer. 393 // offscreen frame buffer.
388 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_CreateOffscreenCommandBuffer, 394 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_CreateOffscreenCommandBuffer,
389 gfx::Size, /* size */ 395 gfx::Size, /* size */
390 GPUCreateCommandBufferConfig, /* init_params */ 396 GPUCreateCommandBufferConfig, /* init_params */
391 int32 /* route_id */) 397 int32 /* route_id */)
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 657
652 // Confirm decoder has been flushed. 658 // Confirm decoder has been flushed.
653 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 659 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
654 660
655 // Confirm decoder has been reset. 661 // Confirm decoder has been reset.
656 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 662 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
657 663
658 // Video decoder has encountered an error. 664 // Video decoder has encountered an error.
659 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 665 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
660 uint32) /* Error ID */ 666 uint32) /* Error ID */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698