OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 SkRemote_protocol_DEFINED | 8 #ifndef SkRemote_protocol_DEFINED |
9 #define SkRemote_protocol_DEFINED | 9 #define SkRemote_protocol_DEFINED |
10 | 10 |
11 // ATTENTION! Changes to this file can break protocol compatibility. Tread car
efully. | 11 // ATTENTION! Changes to this file can break protocol compatibility. Tread car
efully. |
12 | 12 |
13 namespace SkRemote { | 13 namespace SkRemote { |
14 | 14 |
15 // It is safe to append to this enum without breaking protocol compatibility
. | 15 // It is safe to append to this enum without breaking protocol compatibility
. |
16 // Resorting, deleting, or inserting anywhere but the end will break compati
bility. | 16 // Resorting, deleting, or inserting anywhere but the end will break compati
bility. |
17 enum class Type : uint8_t { | 17 enum class Type : uint8_t { |
18 kMatrix, | 18 kMatrix, |
19 kMisc, | 19 kMisc, |
20 kPath, | 20 kPath, |
21 kStroke, | 21 kStroke, |
| 22 kTextBlob, |
22 kPathEffect, | 23 kPathEffect, |
23 kShader, | 24 kShader, |
24 kXfermode, | 25 kXfermode, |
25 kMaskFilter, | 26 kMaskFilter, |
26 kColorFilter, | 27 kColorFilter, |
27 kRasterizer, | 28 kRasterizer, |
28 kDrawLooper, | 29 kDrawLooper, |
29 kImageFilter, | 30 kImageFilter, |
30 kAnnotation, | 31 kAnnotation, |
31 }; | 32 }; |
32 | 33 |
33 } // namespace SkRemote | 34 } // namespace SkRemote |
34 | 35 |
35 #endif//SkRemote_protocol_DEFINED | 36 #endif//SkRemote_protocol_DEFINED |
OLD | NEW |