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/c/pp_errors.h" | 5 #include "ppapi/c/pp_errors.h" |
6 #include "ppapi/thunk/common.h" | 6 #include "ppapi/thunk/common.h" |
7 #include "ppapi/thunk/enter.h" | 7 #include "ppapi/thunk/enter.h" |
8 #include "ppapi/thunk/thunk.h" | 8 #include "ppapi/thunk/thunk.h" |
9 #include "ppapi/thunk/ppb_surface_3d_api.h" | 9 #include "ppapi/thunk/ppb_surface_3d_api.h" |
10 #include "ppapi/thunk/resource_creation_api.h" | 10 #include "ppapi/thunk/resource_creation_api.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 const PPB_Surface3D_Dev g_ppb_surface_3d_thunk = { | 56 const PPB_Surface3D_Dev g_ppb_surface_3d_thunk = { |
57 &Create, | 57 &Create, |
58 &IsSurface3D, | 58 &IsSurface3D, |
59 &SetAttrib, | 59 &SetAttrib, |
60 &GetAttrib, | 60 &GetAttrib, |
61 &SwapBuffers | 61 &SwapBuffers |
62 }; | 62 }; |
63 | 63 |
64 } // namespace | 64 } // namespace |
65 | 65 |
66 const PPB_Surface3D_Dev* GetPPB_Surface3D_Thunk() { | 66 const PPB_Surface3D_Dev* GetPPB_Surface3D_Dev_Thunk() { |
67 return &g_ppb_surface_3d_thunk; | 67 return &g_ppb_surface_3d_thunk; |
68 } | 68 } |
69 | 69 |
70 } // namespace thunk | 70 } // namespace thunk |
71 } // namespace ppapi | 71 } // namespace ppapi |
OLD | NEW |