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

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

Issue 7782020: Revert 99855 - Move PPAPI graphics3d and opengles interfaces out of Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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_graphics_3d_proxy.h ('k') | ppapi/proxy/ppb_opengles2_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
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 #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"
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 callback_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) { 401 callback_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
402 } 402 }
403 403
404 PPB_Graphics3D_Proxy::~PPB_Graphics3D_Proxy() { 404 PPB_Graphics3D_Proxy::~PPB_Graphics3D_Proxy() {
405 } 405 }
406 406
407 // static 407 // static
408 const InterfaceProxy::Info* PPB_Graphics3D_Proxy::GetInfo() { 408 const InterfaceProxy::Info* PPB_Graphics3D_Proxy::GetInfo() {
409 static const Info info = { 409 static const Info info = {
410 thunk::GetPPB_Graphics3D_Thunk(), 410 thunk::GetPPB_Graphics3D_Thunk(),
411 PPB_GRAPHICS_3D_INTERFACE, 411 PPB_GRAPHICS_3D_DEV_INTERFACE,
412 INTERFACE_ID_PPB_GRAPHICS_3D, 412 INTERFACE_ID_PPB_GRAPHICS_3D,
413 false, 413 false,
414 &CreateGraphics3DProxy, 414 &CreateGraphics3DProxy,
415 }; 415 };
416 return &info; 416 return &info;
417 } 417 }
418 418
419 // static 419 // static
420 PP_Resource PPB_Graphics3D_Proxy::CreateProxyResource( 420 PP_Resource PPB_Graphics3D_Proxy::CreateProxyResource(
421 PP_Instance instance, 421 PP_Instance instance,
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 void PPB_Graphics3D_Proxy::SendSwapBuffersACKToPlugin( 600 void PPB_Graphics3D_Proxy::SendSwapBuffersACKToPlugin(
601 int32_t result, 601 int32_t result,
602 const HostResource& context) { 602 const HostResource& context) {
603 dispatcher()->Send(new PpapiMsg_PPBGraphics3D_SwapBuffersACK( 603 dispatcher()->Send(new PpapiMsg_PPBGraphics3D_SwapBuffersACK(
604 INTERFACE_ID_PPB_GRAPHICS_3D, context, result)); 604 INTERFACE_ID_PPB_GRAPHICS_3D, context, result));
605 } 605 }
606 606
607 } // namespace proxy 607 } // namespace proxy
608 } // namespace ppapi 608 } // namespace ppapi
609 609
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_graphics_3d_proxy.h ('k') | ppapi/proxy/ppb_opengles2_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698