summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authoryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-23 18:23:57 +0000
committeryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-23 18:23:57 +0000
commit7af3e12becb1c56ed151852ba35712e545506e73 (patch)
tree6e8a5fe059ca4dec648bb76ffeb9205a979a1cda /ppapi
parentcc308a26d0872f741c04957b68e6e27cb642e8f5 (diff)
downloadchromium_src-7af3e12becb1c56ed151852ba35712e545506e73.zip
chromium_src-7af3e12becb1c56ed151852ba35712e545506e73.tar.gz
chromium_src-7af3e12becb1c56ed151852ba35712e545506e73.tar.bz2
Minor changes to the comments of ResourceTracker and PP_ImageDataFormat.
BUG=none TEST=none R=brettw@chromium.org Review URL: http://codereview.chromium.org/6727028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79156 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/c/ppb_image_data.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ppapi/c/ppb_image_data.h b/ppapi/c/ppb_image_data.h
index bc014d4..c25615f 100644
--- a/ppapi/c/ppb_image_data.h
+++ b/ppapi/c/ppb_image_data.h
@@ -27,6 +27,11 @@
/**
* PP_ImageDataFormat is an enumeration of the different types of
* image data formats.
+ *
+ * The third part of each enumeration value describes the memory layout from
+ * the lowest address to the highest. For example, BGRA means the B component
+ * is stored in the lowest address, no matter what endianness the platform is
+ * using.
*/
typedef enum {
PP_IMAGEDATAFORMAT_BGRA_PREMUL,
@@ -170,4 +175,3 @@ struct PPB_ImageData {
*/
#endif /* PPAPI_C_PPB_IMAGE_DATA_H_ */
-