Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Side by Side Diff: ppapi/c/ppb_graphics_3d.h

Issue 13220002: [PPAPI] Fix a bunch of spelling mistakes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/c/ppb_graphics_2d.h ('k') | ppapi/c/ppb_input_event.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 5
6 /* From ppb_graphics_3d.idl modified Tue Feb 07 11:38:46 2012. */ 6 /* From ppb_graphics_3d.idl modified Thu Mar 28 10:12:11 2013. */
7 7
8 #ifndef PPAPI_C_PPB_GRAPHICS_3D_H_ 8 #ifndef PPAPI_C_PPB_GRAPHICS_3D_H_
9 #define PPAPI_C_PPB_GRAPHICS_3D_H_ 9 #define PPAPI_C_PPB_GRAPHICS_3D_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_resource.h" 15 #include "ppapi/c/pp_resource.h"
16 #include "ppapi/c/pp_stdint.h" 16 #include "ppapi/c/pp_stdint.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 * - <code>PP_ERROR_BADARGUMENT</code> if <code>attrib_list</code> is 0 or 204 * - <code>PP_ERROR_BADARGUMENT</code> if <code>attrib_list</code> is 0 or
205 * any attribute in the <code>attrib_list</code> is not a valid attribute. 205 * any attribute in the <code>attrib_list</code> is not a valid attribute.
206 */ 206 */
207 int32_t (*SetAttribs)(PP_Resource context, const int32_t attrib_list[]); 207 int32_t (*SetAttribs)(PP_Resource context, const int32_t attrib_list[]);
208 /** 208 /**
209 * GetError() returns the current state of the given 3D context. 209 * GetError() returns the current state of the given 3D context.
210 * 210 *
211 * The recoverable error conditions that have no side effect are 211 * The recoverable error conditions that have no side effect are
212 * detected and returned immediately by all functions in this interface. 212 * detected and returned immediately by all functions in this interface.
213 * In addition the implementation may get into a fatal state while 213 * In addition the implementation may get into a fatal state while
214 * processing a command. In this case the application must detroy the 214 * processing a command. In this case the application must destroy the
215 * context and reinitialize client API state and objects to continue 215 * context and reinitialize client API state and objects to continue
216 * rendering. 216 * rendering.
217 * 217 *
218 * Note that the same error code is also returned in the SwapBuffers callback. 218 * Note that the same error code is also returned in the SwapBuffers callback.
219 * It is recommended to handle error in the SwapBuffers callback because 219 * It is recommended to handle error in the SwapBuffers callback because
220 * GetError is synchronous. This function may be useful in rare cases where 220 * GetError is synchronous. This function may be useful in rare cases where
221 * drawing a frame is expensive and you want to verify the result of 221 * drawing a frame is expensive and you want to verify the result of
222 * ResizeBuffers before attemptimg to draw a frame. 222 * ResizeBuffers before attempting to draw a frame.
223 * 223 *
224 * @param[in] The 3D graphics context. 224 * @param[in] The 3D graphics context.
225 * @return Returns: 225 * @return Returns:
226 * - <code>PP_OK</code> if no error 226 * - <code>PP_OK</code> if no error
227 * - <code>PP_ERROR_NOMEMORY</code> 227 * - <code>PP_ERROR_NOMEMORY</code>
228 * - <code>PP_ERROR_CONTEXT_LOST</code> 228 * - <code>PP_ERROR_CONTEXT_LOST</code>
229 */ 229 */
230 int32_t (*GetError)(PP_Resource context); 230 int32_t (*GetError)(PP_Resource context);
231 /** 231 /**
232 * ResizeBuffers() resizes the backing surface for context. 232 * ResizeBuffers() resizes the backing surface for context.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 struct PP_CompletionCallback callback); 286 struct PP_CompletionCallback callback);
287 }; 287 };
288 288
289 typedef struct PPB_Graphics3D_1_0 PPB_Graphics3D; 289 typedef struct PPB_Graphics3D_1_0 PPB_Graphics3D;
290 /** 290 /**
291 * @} 291 * @}
292 */ 292 */
293 293
294 #endif /* PPAPI_C_PPB_GRAPHICS_3D_H_ */ 294 #endif /* PPAPI_C_PPB_GRAPHICS_3D_H_ */
295 295
OLDNEW
« no previous file with comments | « ppapi/c/ppb_graphics_2d.h ('k') | ppapi/c/ppb_input_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698