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

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

Issue 7409003: Binding Graphics3D with Instance and OpenGLES2 interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_context_3d_proxy.cc ('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')
OLDNEW
1 // Copyright (c) 2010 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 #ifndef PPAPI_PPB_OPENGLES2_PROXY_H_ 5 #ifndef PPAPI_PPB_OPENGLES2_PROXY_H_
6 #define PPAPI_PPB_OPENGLES2_PROXY_H_ 6 #define PPAPI_PPB_OPENGLES2_PROXY_H_
7 7
8 #include "ppapi/proxy/interface_proxy.h" 8 #include "ppapi/proxy/interface_proxy.h"
9 9
10 struct PPB_OpenGLES2_Dev; 10 struct PPB_OpenGLES2_Dev;
11 11
12 namespace pp { 12 namespace pp {
13 namespace proxy { 13 namespace proxy {
14 14
15 class PPB_OpenGLES2_Proxy : public InterfaceProxy { 15 class PPB_OpenGLES2_Proxy : public InterfaceProxy {
16 public: 16 public:
17 PPB_OpenGLES2_Proxy(Dispatcher* dispatcher, const void* target_interface); 17 PPB_OpenGLES2_Proxy(Dispatcher* dispatcher, const void* target_interface);
18 virtual ~PPB_OpenGLES2_Proxy(); 18 virtual ~PPB_OpenGLES2_Proxy();
19 19
20 static const Info* GetInfo(); 20 static const Info* GetInfo();
21 21
22 const PPB_OpenGLES2_Dev* ppb_gles2_target() const { 22 const PPB_OpenGLES2_Dev* ppb_opengles2_target() const {
23 return reinterpret_cast<const PPB_OpenGLES2_Dev*>(target_interface()); 23 return reinterpret_cast<const PPB_OpenGLES2_Dev*>(target_interface());
24 } 24 }
25 25
26 // InterfaceProxy implementation. 26 // InterfaceProxy implementation.
27 virtual bool OnMessageReceived(const IPC::Message& msg); 27 virtual bool OnMessageReceived(const IPC::Message& msg);
28
29 private:
30 }; 28 };
31 29
32 } // namespace proxy 30 } // namespace proxy
33 } // namespace pp 31 } // namespace pp
34 32
35 #endif // PPAPI_PPB_OPENGLES2_PROXY_H_ 33 #endif // PPAPI_PPB_OPENGLES2_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_context_3d_proxy.cc ('k') | ppapi/proxy/ppb_opengles2_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698