| 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_C_DEV_PPB_GRAPHICS_3D_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_GRAPHICS_3D_DEV_H_ |
| 6 #define PPAPI_C_DEV_PPB_GRAPHICS_3D_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_GRAPHICS_3D_DEV_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/dev/pp_graphics_3d_dev.h" | 8 #include "ppapi/c/dev/pp_graphics_3d_dev.h" |
| 9 | 9 |
| 10 #include "ppapi/c/pp_bool.h" | 10 #include "ppapi/c/pp_bool.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 // Note that the same error code may also be obtained by calling GetError. | 195 // Note that the same error code may also be obtained by calling GetError. |
| 196 // | 196 // |
| 197 // On failure SwapBuffers may return the following error codes: | 197 // On failure SwapBuffers may return the following error codes: |
| 198 // - PP_ERROR_BADRESOURCE if context is invalid. | 198 // - PP_ERROR_BADRESOURCE if context is invalid. |
| 199 // - PP_ERROR_BADARGUMENT if callback is invalid. | 199 // - PP_ERROR_BADARGUMENT if callback is invalid. |
| 200 int32_t (*SwapBuffers)(PP_Resource context, | 200 int32_t (*SwapBuffers)(PP_Resource context, |
| 201 struct PP_CompletionCallback callback); | 201 struct PP_CompletionCallback callback); |
| 202 }; | 202 }; |
| 203 | 203 |
| 204 #endif /* PPAPI_C_DEV_PPB_GRAPHICS_3D_DEV_H_ */ | 204 #endif /* PPAPI_C_DEV_PPB_GRAPHICS_3D_DEV_H_ */ |
| OLD | NEW |