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

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 again. 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 // the given surface. The browser must send an ACK once this operation 384 // the given surface. The browser must send an ACK once this operation
385 // is complete. 385 // is complete.
386 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceRelease, 386 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceRelease,
387 GpuHostMsg_AcceleratedSurfaceRelease_Params) 387 GpuHostMsg_AcceleratedSurfaceRelease_Params)
388 388
389 // Tells the browser to release resources for the given surface until the next 389 // Tells the browser to release resources for the given surface until the next
390 // time swap buffers or post sub buffer is sent. 390 // time swap buffers or post sub buffer is sent.
391 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSuspend, 391 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSuspend,
392 int32 /* surface_id */) 392 int32 /* surface_id */)
393 393
394 // Tells the browser about updated parameters for vsync alignment.
395 IPC_MESSAGE_CONTROL3(GpuHostMsg_UpdateVSyncParameters,
396 int32 /* surface_id */,
397 base::TimeTicks /* timebase */,
398 base::TimeDelta /* interval */)
399
394 //------------------------------------------------------------------------------ 400 //------------------------------------------------------------------------------
395 // GPU Channel Messages 401 // GPU Channel Messages
396 // These are messages from a renderer process to the GPU process. 402 // These are messages from a renderer process to the GPU process.
397 403
398 // Tells the GPU process to create a new command buffer that renders to an 404 // Tells the GPU process to create a new command buffer that renders to an
399 // offscreen frame buffer. 405 // offscreen frame buffer.
400 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_CreateOffscreenCommandBuffer, 406 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_CreateOffscreenCommandBuffer,
401 gfx::Size, /* size */ 407 gfx::Size, /* size */
402 GPUCreateCommandBufferConfig, /* init_params */ 408 GPUCreateCommandBufferConfig, /* init_params */
403 int32 /* route_id */) 409 int32 /* route_id */)
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 675
670 // Confirm decoder has been flushed. 676 // Confirm decoder has been flushed.
671 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 677 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
672 678
673 // Confirm decoder has been reset. 679 // Confirm decoder has been reset.
674 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 680 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
675 681
676 // Video decoder has encountered an error. 682 // Video decoder has encountered an error.
677 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 683 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
678 uint32) /* Error ID */ 684 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/browser/renderer_host/image_transport_factory.cc ('k') | content/common/gpu/image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698