1 /* 2 * Copyright 2015 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #ifndef SkRemote_protocol_DEFINED 9 #define SkRemote_protocol_DEFINED 10 11 // ATTENTION! Changes to this file can break protocol compatibility. Tread carefully. 12 13 namespace SkRemote { 14 15 // It is safe to append to this enum without breaking protocol compatibility. 16 // Resorting, deleting, or inserting anywhere but the end will break compatibility. 17 enum class Type : uint8_t { 18 kMatrix, 19 kMisc, 20 kPath, 21 kStroke, 22 kTextBlob, 23 kPathEffect, 24 kShader, 25 kXfermode, 26 kMaskFilter, 27 kColorFilter, 28 kRasterizer, 29 kDrawLooper, 30 kImageFilter, 31 kAnnotation, 32 }; 33 34 } // namespace SkRemote 35 36 #endif//SkRemote_protocol_DEFINED 37