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

Unified Diff: cc/proto/skxfermode.proto

Issue 1399933004: Add Protobuf support for cc/playback skia usage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_geo_proto
Patch Set: Addressed comments Created 5 years, 2 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 | « cc/proto/skrrect.proto ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/skxfermode.proto
diff --git a/cc/proto/skxfermode.proto b/cc/proto/skxfermode.proto
new file mode 100644
index 0000000000000000000000000000000000000000..b0b39630bebe78752da972d9b54e092dd4b0a11a
--- /dev/null
+++ b/cc/proto/skxfermode.proto
@@ -0,0 +1,46 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package cc.proto;
+
+message SkXfermode {
+ enum Mode {
+ Mode_Clear = 0;
+ Mode_Src = 1;
+ Mode_Dst = 2;
+ Mode_SrcOver = 3;
+ Mode_DstOver = 4;
+ Mode_SrcIn = 5;
+ Mode_DstIn = 6;
+ Mode_SrcOut = 7;
+ Mode_DstOut = 8;
+ Mode_SrcATop = 9;
+ Mode_DstATop = 10;
+ Mode_XOR = 11;
+ Mode_Plus = 12;
+ Mode_Modulate = 13;
+
+ Mode_Screen = 14;
+
+ Mode_Overlay = 15;
+ Mode_Darken = 16;
+ Mode_Lighten = 17;
+ Mode_ColorDodge = 18;
+ Mode_ColorBurn = 19;
+ Mode_HardLight = 20;
+ Mode_SoftLight = 21;
+ Mode_Difference = 22;
+ Mode_Exclusion = 23;
+ Mode_Multiply = 24;
+
+ Mode_Hue = 25;
+ Mode_Saturation = 26;
+ Mode_Color = 27;
+ Mode_Luminosity = 28;
+ }
+}
« no previous file with comments | « cc/proto/skrrect.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698