a163392978
This reverts commit 003312a211
.
Change-Id: Ib41065e5c356d1dd99e70fa10611ac6756c2b79d
Reviewed-on: https://skia-review.googlesource.com/6803
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
27 lines
549 B
C++
27 lines
549 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 "SkBlendMode.h"
|
|
#include "SkRefCnt.h"
|
|
|
|
class GrTexture;
|
|
class GrXPFactory;
|
|
|
|
/**
|
|
* Custom Xfer modes are used for blending when the blend mode cannot be represented using blend
|
|
* coefficients.
|
|
*/
|
|
namespace GrCustomXfermode {
|
|
bool IsSupportedMode(SkBlendMode mode);
|
|
const GrXPFactory* Get(SkBlendMode mode);
|
|
};
|
|
|
|
#endif
|