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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/plugins/ppapi/resource_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_image_data.h
diff --git a/ppapi/c/ppb_image_data.h b/ppapi/c/ppb_image_data.h
index bc014d4e73cc7275249ae9a73da220d55511866d..c25615f8d4f088111639ef76217f477e2b3e9738 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_ */
-
« 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