diff options
author | binji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-09 18:40:17 +0000 |
---|---|---|
committer | binji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-09 18:40:17 +0000 |
commit | febbb9cf554e724bef222f1306902b78a6ec1f16 (patch) | |
tree | 906c50cfe65bb74e3a04858acb86da3c0c04b41d /ppapi/c/ppb_graphics_3d.h | |
parent | 56fa0311640a37251637f115a0f58f99c1d97ff9 (diff) | |
download | chromium_src-febbb9cf554e724bef222f1306902b78a6ec1f16.zip chromium_src-febbb9cf554e724bef222f1306902b78a6ec1f16.tar.gz chromium_src-febbb9cf554e724bef222f1306902b78a6ec1f16.tar.bz2 |
[PPAPI] Documentation fixes.
* I added a closing </code> tag in r191189, but it seems to be more consistent
to forgo <code> tags for enums, so I've removed it.
* I've also added @code/@endcode around a snippet of code that was flattened
otherwise.
BUG=none
R=dmichael@chromium.org
Review URL: https://codereview.chromium.org/13238002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/ppb_graphics_3d.h')
-rw-r--r-- | ppapi/c/ppb_graphics_3d.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ppapi/c/ppb_graphics_3d.h b/ppapi/c/ppb_graphics_3d.h index 8c409f1..1da70a0 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[]); /** |