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

Unified Diff: ppapi/c/ppb_graphics_3d.h

Issue 13238002: [PPAPI] Documentation fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge yet again 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/pp_completion_callback.h ('k') | ppapi/c/ppb_input_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_graphics_3d.h
diff --git a/ppapi/c/ppb_graphics_3d.h b/ppapi/c/ppb_graphics_3d.h
index 8c409f1c8fd7f37ed01fd4977b32f25922db6a33..1da70a068eb5e1c03582c5c44f07fdce6055dd6b 100644
--- a/ppapi/c/ppb_graphics_3d.h
+++ b/ppapi/c/ppb_graphics_3d.h
@@ -37,25 +37,25 @@
* <strong>Example usage from plugin code:</strong>
*
* <strong>Setup:</strong>
- * <code>
+ * @code
* PP_Resource context;
* int32_t attribs[] = {PP_GRAPHICS3DATTRIB_WIDTH, 800,
* PP_GRAPHICS3DATTRIB_HEIGHT, 800,
* PP_GRAPHICS3DATTRIB_NONE};
* context = g3d->Create(instance, attribs, &context);
* inst->BindGraphics(instance, context);
- * </code>
+ * @endcode
*
* <strong>Present one frame:</strong>
- * <code>
+ * @code
* gles2->Clear(context, GL_COLOR_BUFFER);
* g3d->SwapBuffers(context);
- * </code>
+ * @endcode
*
* <strong>Shutdown:</strong>
- * <code>
+ * @code
* core->ReleaseResource(context);
- * </code>
+ * @endcode
*/
struct PPB_Graphics3D_1_0 {
/**
@@ -176,7 +176,7 @@ struct PPB_Graphics3D_1_0 {
*
* <strong>Example usage:</strong> To get the values for rgb bits in the
* color buffer, this function must be called as following:
- * <code>
+ * @code
* int attrib_list[] = {PP_GRAPHICS3DATTRIB_RED_SIZE, 0,
* PP_GRAPHICS3DATTRIB_GREEN_SIZE, 0,
* PP_GRAPHICS3DATTRIB_BLUE_SIZE, 0,
@@ -185,7 +185,7 @@ struct PPB_Graphics3D_1_0 {
* int red_bits = attrib_list[1];
* int green_bits = attrib_list[3];
* int blue_bits = attrib_list[5];
- * </code>
+ * @endcode
*/
int32_t (*GetAttribs)(PP_Resource context, int32_t attrib_list[]);
/**
« no previous file with comments | « ppapi/c/pp_completion_callback.h ('k') | ppapi/c/ppb_input_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698