f234272cbd
Reason for revert: breaking some builds Original issue's description: > Make specialized SrcOver XPFactory > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/a7006d45217d128a94fa53cb4b827cca79bc7049 TBR=bsalomon@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1464933003
25 lines
523 B
C++
25 lines
523 B
C++
/*
|
|
* 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 GrCustomXfermode_DEFINED
|
|
#define GrCustomXfermode_DEFINED
|
|
|
|
#include "SkXfermode.h"
|
|
|
|
class GrTexture;
|
|
|
|
/**
|
|
* Custom Xfer modes are used for blending when the blend mode cannot be represented using blend
|
|
* coefficients.
|
|
*/
|
|
namespace GrCustomXfermode {
|
|
bool IsSupportedMode(SkXfermode::Mode mode);
|
|
GrXPFactory* CreateXPFactory(SkXfermode::Mode mode);
|
|
};
|
|
|
|
#endif
|