aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkRemote_protocol.h
blob: 19bdc33fdd685b0efc8815125c1df9bbe09b89f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * Copyright 2015 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkRemote_protocol_DEFINED
#define SkRemote_protocol_DEFINED

// ATTENTION!  Changes to this file can break protocol compatibility.  Tread carefully.

namespace SkRemote {

    // It is safe to append to this enum without breaking protocol compatibility.
    // Resorting, deleting, or inserting anywhere but the end will break compatibility.
    enum class Type : uint8_t {
        kMatrix,
        kMisc,
        kPath,
        kStroke,
        kTextBlob,
        kPathEffect,
        kShader,
        kXfermode,
        kMaskFilter,
        kColorFilter,
        kRasterizer,
        kDrawLooper,
        kImageFilter,
        kAnnotation,
    };

}  // namespace SkRemote

#endif//SkRemote_protocol_DEFINED