aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/effects/GrXfermodeFragmentProcessor.h
blob: d93b400b8bf29309cdfb98359d1c3156d221b1ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * 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 GrXfermodeFragmentProcessor_DEFINED
#define GrXfermodeFragmentProcessor_DEFINED

#include "SkXfermode.h"

class GrFragmentProcessor;

namespace GrXfermodeFragmentProcessor {
    const GrFragmentProcessor* CreateFromTwoProcessors(const GrFragmentProcessor* src,
                                                       const GrFragmentProcessor* dst,
                                                       SkXfermode::Mode mode);
};

#endif