8#ifndef skgpu_Blend_DEFINED
9#define skgpu_Blend_DEFINED
86 bool operator==(
const BlendInfo& other)
const {
87 return fEquation == other.fEquation &&
124 bool srcColorIsOpaque) {
constexpr SkPMColor4f SK_PMColor4fTRANSPARENT
static void dump(const float m[20], SkYUVColorSpace cs, bool rgb2yuv)
static constexpr bool BlendCoeffRefsConstant(const BlendCoeff coeff)
static constexpr bool BlendEquationIsAdvanced(BlendEquation equation)
const char * BlendFuncName(SkBlendMode mode)
static constexpr bool BlendCoeffRefsDst(const BlendCoeff coeff)
static constexpr bool BlendCoeffsUseSrcColor(BlendCoeff srcCoeff, BlendCoeff dstCoeff)
static constexpr bool BlendShouldDisable(BlendEquation equation, BlendCoeff srcCoeff, BlendCoeff dstCoeff)
static constexpr bool BlendAllowsCoverageAsAlpha(BlendEquation equation, BlendCoeff srcCoeff, BlendCoeff dstCoeff)
static const int kBlendEquationCnt
static constexpr bool BlendCoeffRefsSrc(const BlendCoeff coeff)
static constexpr bool BlendCoeffsUseDstColor(BlendCoeff srcCoeff, BlendCoeff dstCoeff, bool srcColorIsOpaque)
ReducedBlendModeInfo GetReducedBlendModeInfo(SkBlendMode mode)
static constexpr bool BlendModifiesDst(BlendEquation equation, BlendCoeff srcCoeff, BlendCoeff dstCoeff)
static const int kBlendCoeffCnt
SkSpan< const float > GetPorterDuffBlendConstants(SkBlendMode mode)
static constexpr bool BlendCoeffRefsSrc2(const BlendCoeff coeff)
skgpu::BlendCoeff fDstBlend
SkPMColor4f fBlendConstant
SkDEBUGCODE(SkString dump() const ;) bool operator
skgpu::BlendCoeff fSrcBlend
SkSpan< const float > fUniformData