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

Side by Side Diff: ppapi/proxy/ppb_graphics_3d_proxy.cc

Issue 10168026: Delete FunctionGroupBase from Pepper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/proxy/ppb_flash_proxy.cc ('k') | ppapi/proxy/ppb_instance_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) 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 #include "ppapi/proxy/ppb_graphics_3d_proxy.h" 5 #include "ppapi/proxy/ppb_graphics_3d_proxy.h"
6 6
7 #include "gpu/command_buffer/client/gles2_implementation.h" 7 #include "gpu/command_buffer/client/gles2_implementation.h"
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/proxy/enter_proxy.h" 9 #include "ppapi/proxy/enter_proxy.h"
10 #include "ppapi/proxy/plugin_dispatcher.h" 10 #include "ppapi/proxy/plugin_dispatcher.h"
11 #include "ppapi/proxy/ppapi_command_buffer_proxy.h" 11 #include "ppapi/proxy/ppapi_command_buffer_proxy.h"
12 #include "ppapi/proxy/ppapi_messages.h" 12 #include "ppapi/proxy/ppapi_messages.h"
13 #include "ppapi/thunk/enter.h" 13 #include "ppapi/thunk/enter.h"
14 #include "ppapi/thunk/resource_creation_api.h" 14 #include "ppapi/thunk/resource_creation_api.h"
15 #include "ppapi/thunk/thunk.h" 15 #include "ppapi/thunk/thunk.h"
16 16
17 using ppapi::thunk::EnterFunctionNoLock;
18 using ppapi::thunk::EnterResourceNoLock; 17 using ppapi::thunk::EnterResourceNoLock;
19 using ppapi::thunk::PPB_Graphics3D_API; 18 using ppapi::thunk::PPB_Graphics3D_API;
20 using ppapi::thunk::ResourceCreationAPI; 19 using ppapi::thunk::ResourceCreationAPI;
21 20
22 namespace ppapi { 21 namespace ppapi {
23 namespace proxy { 22 namespace proxy {
24 23
25 namespace { 24 namespace {
26 const int32 kCommandBufferSize = 1024 * 1024; 25 const int32 kCommandBufferSize = 1024 * 1024;
27 const int32 kTransferBufferSize = 1024 * 1024; 26 const int32 kTransferBufferSize = 1024 * 1024;
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 void PPB_Graphics3D_Proxy::SendSwapBuffersACKToPlugin( 328 void PPB_Graphics3D_Proxy::SendSwapBuffersACKToPlugin(
330 int32_t result, 329 int32_t result,
331 const HostResource& context) { 330 const HostResource& context) {
332 dispatcher()->Send(new PpapiMsg_PPBGraphics3D_SwapBuffersACK( 331 dispatcher()->Send(new PpapiMsg_PPBGraphics3D_SwapBuffersACK(
333 API_ID_PPB_GRAPHICS_3D, context, result)); 332 API_ID_PPB_GRAPHICS_3D, context, result));
334 } 333 }
335 334
336 } // namespace proxy 335 } // namespace proxy
337 } // namespace ppapi 336 } // namespace ppapi
338 337
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | ppapi/proxy/ppb_instance_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698