| Index: include/gpu/GrCaps.h
|
| diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
|
| index f219cb23e03293197aad7e4590c2e766de03c6d2..6dc42998f9e0689e5ebcd6f907e7115b9b2e11a4 100644
|
| --- a/include/gpu/GrCaps.h
|
| +++ b/include/gpu/GrCaps.h
|
| @@ -11,6 +11,7 @@
|
| #include "GrTypes.h"
|
| #include "GrTypesPriv.h"
|
| #include "GrShaderVar.h"
|
| +#include "GrXferProcessor.h"
|
| #include "SkRefCnt.h"
|
| #include "SkString.h"
|
|
|
| @@ -158,6 +159,10 @@ public:
|
| return kAdvancedCoherent_BlendEquationSupport == fBlendEquationSupport;
|
| }
|
|
|
| + bool advancedBlendEquationIsBlacklist(GrBlendEquation equation) const {
|
| + return fAdvBlendEqBlacklist & (1 << equation);
|
| + }
|
| +
|
| /**
|
| * Indicates whether GPU->CPU memory mapping for GPU resources such as vertex buffers and
|
| * textures allows partial mappings or full mappings.
|
| @@ -229,6 +234,9 @@ protected:
|
| bool fUseDrawInsteadOfClear : 1;
|
|
|
| BlendEquationSupport fBlendEquationSupport;
|
| + uint32_t fAdvBlendEqBlacklist;
|
| + GR_STATIC_ASSERT(kLast_GrBlendEquation < 32);
|
| +
|
| uint32_t fMapBufferFlags;
|
| int fGeometryBufferMapThreshold;
|
|
|
|
|