| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_GRAPHICS_3D_H_ | 5 #ifndef PPAPI_CPP_GRAPHICS_3D_H_ |
| 6 #define PPAPI_CPP_GRAPHICS_3D_H_ | 6 #define PPAPI_CPP_GRAPHICS_3D_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "ppapi/c/ppb_graphics_3d.h" | 10 #include "ppapi/c/ppb_graphics_3d.h" |
| 9 #include "ppapi/cpp/resource.h" | 11 #include "ppapi/cpp/resource.h" |
| 10 | 12 |
| 11 /// @file | 13 /// @file |
| 12 /// This file defines the API to create a 3D rendering context in the browser. | 14 /// This file defines the API to create a 3D rendering context in the browser. |
| 13 namespace pp { | 15 namespace pp { |
| 14 | 16 |
| 15 class CompletionCallback; | 17 class CompletionCallback; |
| 16 class InstanceHandle; | 18 class InstanceHandle; |
| 17 | 19 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 /// | 186 /// |
| 185 /// @return An int32_t containing <code>PP_ERROR_BADRESOURCE</code> if | 187 /// @return An int32_t containing <code>PP_ERROR_BADRESOURCE</code> if |
| 186 /// context is invalid or <code>PP_ERROR_BADARGUMENT</code> if callback is | 188 /// context is invalid or <code>PP_ERROR_BADARGUMENT</code> if callback is |
| 187 /// invalid. | 189 /// invalid. |
| 188 int32_t SwapBuffers(const CompletionCallback& cc); | 190 int32_t SwapBuffers(const CompletionCallback& cc); |
| 189 }; | 191 }; |
| 190 | 192 |
| 191 } // namespace pp | 193 } // namespace pp |
| 192 | 194 |
| 193 #endif // PPAPI_CPP_GRAPHICS_3D_H_ | 195 #endif // PPAPI_CPP_GRAPHICS_3D_H_ |
| OLD | NEW |