OLD | NEW |
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_opengles2_proxy.h" | 5 #include "ppapi/proxy/ppb_opengles2_proxy.h" |
6 | 6 |
7 #include "ppapi/shared_impl/opengles2_impl.h" | 7 #include "ppapi/shared_impl/opengles2_impl.h" |
8 | 8 |
9 namespace ppapi { | 9 namespace ppapi { |
10 namespace proxy { | 10 namespace proxy { |
(...skipping 10 matching lines...) Expand all Loading... |
21 : InterfaceProxy(dispatcher, target_interface) { | 21 : InterfaceProxy(dispatcher, target_interface) { |
22 } | 22 } |
23 | 23 |
24 PPB_OpenGLES2_Proxy::~PPB_OpenGLES2_Proxy() { | 24 PPB_OpenGLES2_Proxy::~PPB_OpenGLES2_Proxy() { |
25 } | 25 } |
26 | 26 |
27 // static | 27 // static |
28 const InterfaceProxy::Info* PPB_OpenGLES2_Proxy::GetInfo() { | 28 const InterfaceProxy::Info* PPB_OpenGLES2_Proxy::GetInfo() { |
29 static const Info info = { | 29 static const Info info = { |
30 ppapi::OpenGLES2Impl::GetInterface(), | 30 ppapi::OpenGLES2Impl::GetInterface(), |
31 PPB_OPENGLES2_INTERFACE, | 31 PPB_OPENGLES2_DEV_INTERFACE, |
32 INTERFACE_ID_PPB_OPENGLES2, | 32 INTERFACE_ID_PPB_OPENGLES2, |
33 false, | 33 false, |
34 &CreateOpenGLES2Proxy, | 34 &CreateOpenGLES2Proxy, |
35 }; | 35 }; |
36 return &info; | 36 return &info; |
37 } | 37 } |
38 | 38 |
39 bool PPB_OpenGLES2_Proxy::OnMessageReceived(const IPC::Message& msg) { | 39 bool PPB_OpenGLES2_Proxy::OnMessageReceived(const IPC::Message& msg) { |
40 return false; | 40 return false; |
41 } | 41 } |
42 | 42 |
43 } // namespace proxy | 43 } // namespace proxy |
44 } // namespace ppapi | 44 } // namespace ppapi |
OLD | NEW |