1/*
2 * Copyright 2016 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 SkCodecAnimationPriv_DEFINED
9#define SkCodecAnimationPriv_DEFINED
10
11namespace SkCodecAnimation {
12 /**
13 * How to blend the current frame.
14 */
15 enum class Blend {
16 /**
17 * Blend with the prior frame. This is the typical case, supported
18 * by all animated image types.
19 */
20 kPriorFrame,
21
22 /**
23 * Do not blend.
24 *
25 * This frames pixels overwrite previous pixels "blending" with
26 * the background color of transparent.
27 */
28 kBG,
29 };
30
31}
32#endif // SkCodecAnimationPriv_DEFINED
33