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

Side by Side Diff: src/core/SkValue.h

Issue 1611633002: Remove SkLerpXfermode (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove recent usages 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 unified diff | Download patch
« no previous file with comments | « samplecode/SamplePathEffects.cpp ('k') | src/effects/SkArithmeticMode.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkValue_DEFINED 8 #ifndef SkValue_DEFINED
9 #define SkValue_DEFINED 9 #define SkValue_DEFINED
10 10
(...skipping 11 matching lines...) Expand all
22 Bytes, S16s, U16s, S32s, U32s, S64s, U64s, F32s, F64s, 22 Bytes, S16s, U16s, S32s, U32s, S64s, U64s, F32s, F64s,
23 Array, 23 Array,
24 24
25 kMaxBuiltin = 0xFF, 25 kMaxBuiltin = 0xFF,
26 // 256-2147483647 may be used by Skia for public Object types. 26 // 256-2147483647 may be used by Skia for public Object types.
27 27
28 Matrix, 28 Matrix,
29 29
30 ArithmeticXfermode, 30 ArithmeticXfermode,
31 DefaultXfermode, 31 DefaultXfermode,
32 LerpXfermode,
33 PixelXorXfermode, 32 PixelXorXfermode,
34 ProcCoeffXfermode, 33 ProcCoeffXfermode,
35 34
36 kMaxPublicObject = 0x7FFFFFFF, 35 kMaxPublicObject = 0x7FFFFFFF,
37 // 2147483648+ won't be used by Skia. They're open for 36 // 2147483648+ won't be used by Skia. They're open for
38 // client-specific use, testing, etc. 37 // client-specific use, testing, etc.
39 }; 38 };
40 39
41 // Each Object type may define its own namespace of Key values, 40 // Each Object type may define its own namespace of Key values,
42 // so there are no pre-defined Keys here. 41 // so there are no pre-defined Keys here.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 || U16s == fType 107 || U16s == fType
109 || U32s == fType 108 || U32s == fType
110 || F32s == fType; 109 || F32s == fType;
111 } 110 }
112 template <typename T> static SkValue FromT(SkValue::Type, T SkValue::*, T); 111 template <typename T> static SkValue FromT(SkValue::Type, T SkValue::*, T);
113 template <typename T> static SkValue FromTs(SkValue::Type, SkData*); 112 template <typename T> static SkValue FromTs(SkValue::Type, SkData*);
114 template <typename T> const T* asTs(SkValue::Type, int*) const; 113 template <typename T> const T* asTs(SkValue::Type, int*) const;
115 }; 114 };
116 115
117 #endif // SkValue_DEFINED 116 #endif // SkValue_DEFINED
OLDNEW
« no previous file with comments | « samplecode/SamplePathEffects.cpp ('k') | src/effects/SkArithmeticMode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698