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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 6883179: Rework FlushSync to return early if commands have been processed since the last update (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 9 years, 7 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
« no previous file with comments | « ppapi/c/dev/ppb_context_3d_trusted_dev.h ('k') | ppapi/proxy/ppb_context_3d_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 309
310 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBContext3D_Initialize, 310 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBContext3D_Initialize,
311 pp::proxy::HostResource /* context */, 311 pp::proxy::HostResource /* context */,
312 int32 /* size */, 312 int32 /* size */,
313 base::SharedMemoryHandle /* ring_buffer */) 313 base::SharedMemoryHandle /* ring_buffer */)
314 314
315 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBContext3D_GetState, 315 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBContext3D_GetState,
316 pp::proxy::HostResource /* context */, 316 pp::proxy::HostResource /* context */,
317 gpu::CommandBuffer::State /* state */) 317 gpu::CommandBuffer::State /* state */)
318 318
319 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBContext3D_Flush, 319 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_Flush,
320 pp::proxy::HostResource /* context */, 320 pp::proxy::HostResource /* context */,
321 int32 /* put_offset */, 321 int32 /* put_offset */,
322 int32 /* last_known_get */,
322 gpu::CommandBuffer::State /* state */) 323 gpu::CommandBuffer::State /* state */)
323 324
324 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBContext3D_AsyncFlush, 325 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBContext3D_AsyncFlush,
325 pp::proxy::HostResource /* context */, 326 pp::proxy::HostResource /* context */,
326 int32 /* put_offset */) 327 int32 /* put_offset */)
327 328
328 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBContext3D_CreateTransferBuffer, 329 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBContext3D_CreateTransferBuffer,
329 pp::proxy::HostResource /* context */, 330 pp::proxy::HostResource /* context */,
330 int32 /* size */, 331 int32 /* size */,
331 int32 /* id */) 332 int32 /* id */)
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, 793 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated,
793 pp::proxy::SerializedVar /* var */, 794 pp::proxy::SerializedVar /* var */,
794 int64 /* object_class */, 795 int64 /* object_class */,
795 int64 /* object-data */, 796 int64 /* object-data */,
796 PP_Bool /* result */) 797 PP_Bool /* result */)
797 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, 798 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated,
798 PP_Instance /* instance */, 799 PP_Instance /* instance */,
799 int64 /* object_class */, 800 int64 /* object_class */,
800 int64 /* object_data */, 801 int64 /* object_data */,
801 pp::proxy::SerializedVar /* result */) 802 pp::proxy::SerializedVar /* result */)
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_context_3d_trusted_dev.h ('k') | ppapi/proxy/ppb_context_3d_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698