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

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

Issue 6727028: Minor changes to the comments of ResourceTracker and PP_ImageDataFormat. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 9 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 | « no previous file | webkit/plugins/ppapi/resource_tracker.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) 2010 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2010 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_C_PPB_IMAGE_DATA_H_ 5 #ifndef PPAPI_C_PPB_IMAGE_DATA_H_
6 #define PPAPI_C_PPB_IMAGE_DATA_H_ 6 #define PPAPI_C_PPB_IMAGE_DATA_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_macros.h" 10 #include "ppapi/c/pp_macros.h"
11 #include "ppapi/c/pp_module.h" 11 #include "ppapi/c/pp_module.h"
12 #include "ppapi/c/pp_resource.h" 12 #include "ppapi/c/pp_resource.h"
13 #include "ppapi/c/pp_size.h" 13 #include "ppapi/c/pp_size.h"
14 #include "ppapi/c/pp_stdint.h" 14 #include "ppapi/c/pp_stdint.h"
15 15
16 /** 16 /**
17 * @file 17 * @file
18 * This file defines the PPB_ImageData struct for determining how a browser 18 * This file defines the PPB_ImageData struct for determining how a browser
19 * handles image data. 19 * handles image data.
20 */ 20 */
21 21
22 /** 22 /**
23 * @addtogroup Enums 23 * @addtogroup Enums
24 * @{ 24 * @{
25 */ 25 */
26 26
27 /** 27 /**
28 * PP_ImageDataFormat is an enumeration of the different types of 28 * PP_ImageDataFormat is an enumeration of the different types of
29 * image data formats. 29 * image data formats.
30 *
31 * The third part of each enumeration value describes the memory layout from
32 * the lowest address to the highest. For example, BGRA means the B component
33 * is stored in the lowest address, no matter what endianness the platform is
34 * using.
30 */ 35 */
31 typedef enum { 36 typedef enum {
32 PP_IMAGEDATAFORMAT_BGRA_PREMUL, 37 PP_IMAGEDATAFORMAT_BGRA_PREMUL,
33 PP_IMAGEDATAFORMAT_RGBA_PREMUL 38 PP_IMAGEDATAFORMAT_RGBA_PREMUL
34 } PP_ImageDataFormat; 39 } PP_ImageDataFormat;
35 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_ImageDataFormat, 4); 40 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_ImageDataFormat, 4);
36 /** 41 /**
37 * @} 42 * @}
38 */ 43 */
39 44
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 * 168 *
164 * @param[in] image_data A PP_Resource corresponding to image data. 169 * @param[in] image_data A PP_Resource corresponding to image data.
165 */ 170 */
166 void (*Unmap)(PP_Resource image_data); 171 void (*Unmap)(PP_Resource image_data);
167 }; 172 };
168 /** 173 /**
169 * @} 174 * @}
170 */ 175 */
171 176
172 #endif /* PPAPI_C_PPB_IMAGE_DATA_H_ */ 177 #endif /* PPAPI_C_PPB_IMAGE_DATA_H_ */
173
OLDNEW
« no previous file with comments | « no previous file | webkit/plugins/ppapi/resource_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698