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

Unified Diff: src/core/SkValueKeys.h

Issue 1585813004: SkValue: SkXfermode (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-01-14 (Thursday) 16:27:56 EST Created 4 years, 11 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: src/core/SkValueKeys.h
diff --git a/src/core/SkValueKeys.h b/src/core/SkValueKeys.h
new file mode 100644
index 0000000000000000000000000000000000000000..951167255d9b47ba8f8975a68e1cc83f403fb269
--- /dev/null
+++ b/src/core/SkValueKeys.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+#ifndef SkValueKeys_DEFINED
+#define SkValueKeys_DEFINED
+
+#include "SkValue.h"
+
+namespace SkValueKeys {
+
+enum ArithmeticXfermodeKeys {
+ ArithmeticXfermode_K0,
+ ArithmeticXfermode_K1,
+ ArithmeticXfermode_K2,
+ ArithmeticXfermode_K3,
+ ArithmeticXfermode_EnforcePMColor
+};
+
+enum PixelXorXfermodeKeys { PixelXorXfermode_OpColor };
+
+enum ProcCoeffXfermodeKeys { ProcCoeffXfermode_Mode };
+
+enum LerpXfermodeKeys { LerpXfermode_Scale256 };
+}
+
+#endif // SkValueKeys_DEFINED

Powered by Google App Engine
This is Rietveld 408576698