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

Unified Diff: mojo/services/surfaces/interfaces/quads.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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
Index: mojo/services/surfaces/interfaces/quads.mojom
diff --git a/mojo/services/surfaces/interfaces/quads.mojom b/mojo/services/surfaces/interfaces/quads.mojom
index b410d729bbd9d567881aa2db8a2e3dbe5c11b652..ec2e6f524b7da7d838ccaaa5a317ef06e34eb8f1 100644
--- a/mojo/services/surfaces/interfaces/quads.mojom
+++ b/mojo/services/surfaces/interfaces/quads.mojom
@@ -78,11 +78,13 @@ struct TileQuadState {
struct StreamVideoQuadState {};
+// no-format
enum YUVColorSpace {
REC_601, // SDTV standard with restricted "studio swing" color range.
REC_709, // HDTV standard with restricted "studio swing" color range.
JPEG, // Full color range [0, 255] JPEG color space.
};
+// end-no-format
struct YUVVideoQuadState {
RectF tex_coord_rect;
@@ -144,6 +146,7 @@ struct Quad {
};
enum SkXfermode {
+ // no-format
kClear_Mode = 0, //!< [0, 0]
kSrc_Mode, //!< [Sa, Sc]
kDst_Mode, //!< [Da, Dc]
@@ -158,6 +161,7 @@ enum SkXfermode {
kXor_Mode, //!< [Sa + Da - 2 * Sa * Da, Sc * (1 - Da) + (1 - Sa) * Dc]
kPlus_Mode, //!< [Sa + Da, Sc + Dc]
kModulate_Mode, // multiplies all components (= alpha and color)
+ // end-no-format
// Following blend modes are defined in the CSS Compositing standard:
// https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#blending
@@ -180,7 +184,7 @@ enum SkXfermode {
kSaturation_Mode,
kColor_Mode,
kLuminosity_Mode,
- kLastMode = kLuminosity_Mode
+ kLastMode = kLuminosity_Mode,
};
struct SharedQuadState {
« no previous file with comments | « mojo/services/surfaces/interfaces/display.mojom ('k') | mojo/services/ui/views/interfaces/view_associates.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698