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

Unified Diff: ppapi/api/ppb_graphics_3d.idl

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/api/pp_completion_callback.idl ('k') | ppapi/api/ppb_input_event.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/ppb_graphics_3d.idl
diff --git a/ppapi/api/ppb_graphics_3d.idl b/ppapi/api/ppb_graphics_3d.idl
index fc13a09d574389c266ba6741d58626376e189a21..28a0c40d7a6c803bf545db039ca115a38d656b03 100644
--- a/ppapi/api/ppb_graphics_3d.idl
+++ b/ppapi/api/ppb_graphics_3d.idl
@@ -24,25 +24,25 @@ label Chrome {
* <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
*/
[macro="PPB_GRAPHICS_3D_INTERFACE"]
interface PPB_Graphics3D {
@@ -170,7 +170,7 @@ interface PPB_Graphics3D {
*
* <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,
@@ -179,7 +179,7 @@ interface PPB_Graphics3D {
* int red_bits = attrib_list[1];
* int green_bits = attrib_list[3];
* int blue_bits = attrib_list[5];
- * </code>
+ * @endcode
*/
int32_t GetAttribs(
[in] PP_Resource context,
« no previous file with comments | « ppapi/api/pp_completion_callback.idl ('k') | ppapi/api/ppb_input_event.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698