| 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 kPathEffect, |
| 22 kShader, | 23 kShader, |
| 23 kXfermode, | 24 kXfermode, |
| 25 kMaskFilter, |
| 26 kColorFilter, |
| 27 kRasterizer, |
| 28 kDrawLooper, |
| 29 kImageFilter, |
| 30 kAnnotation, |
| 24 }; | 31 }; |
| 25 | 32 |
| 26 } // namespace SkRemote | 33 } // namespace SkRemote |
| 27 | 34 |
| 28 #endif//SkRemote_protocol_DEFINED | 35 #endif//SkRemote_protocol_DEFINED |
| OLD | NEW |