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 #ifndef PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_ | 5 #ifndef PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_ |
6 #define PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_ | 6 #define PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_ |
7 | 7 |
8 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" | 8 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" |
9 #include "ppapi/cpp/resource.h" | 9 #include "ppapi/cpp/resource.h" |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 int32_t* num_config); | 31 int32_t* num_config); |
32 | 32 |
33 static int32_t GetConfigAttribs(PP_Config3D_Dev config, | 33 static int32_t GetConfigAttribs(PP_Config3D_Dev config, |
34 int32_t* attrib_list); | 34 int32_t* attrib_list); |
35 | 35 |
36 static Var GetString(int32_t name); | 36 static Var GetString(int32_t name); |
37 | 37 |
38 int32_t GetAttribs(int32_t* attrib_list) const; | 38 int32_t GetAttribs(int32_t* attrib_list) const; |
39 int32_t SetAttribs(int32_t* attrib_list); | 39 int32_t SetAttribs(int32_t* attrib_list); |
40 | 40 |
| 41 int32_t Resize(int32_t width, int32_t height); |
| 42 |
41 int32_t SwapBuffers(const CompletionCallback& cc); | 43 int32_t SwapBuffers(const CompletionCallback& cc); |
42 }; | 44 }; |
43 | 45 |
44 } // namespace pp | 46 } // namespace pp |
45 | 47 |
46 #endif // PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_ | 48 #endif // PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_ |
47 | 49 |
OLD | NEW |