diff options
Diffstat (limited to 'include/gpu/GrShaderCaps.h')
-rw-r--r-- | include/gpu/GrShaderCaps.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/gpu/GrShaderCaps.h b/include/gpu/GrShaderCaps.h index 15377ff0b1..4c847ac8b0 100644 --- a/include/gpu/GrShaderCaps.h +++ b/include/gpu/GrShaderCaps.h @@ -196,14 +196,7 @@ public: int maxCombinedSamplers() const { return fMaxCombinedSamplers; } - /** - * In general using multiple texture units for image rendering seems to be a win at smaller - * sizes of dst rects and a loss at larger sizes. Dst rects above this pixel area threshold will - * not use multitexturing. - */ - size_t disableImageMultitexturingDstRectAreaThreshold() const { - return fDisableImageMultitexturingDstRectAreaThreshold; - } + bool disableImageMultitexturingSupport() const { return fDisableImageMultitexturing; } /** * Given a texture's config, this determines what swizzle must be appended to accesses to the @@ -252,6 +245,7 @@ private: bool fVertexIDSupport : 1; bool fFloatIs32Bits : 1; bool fHalfIs32Bits : 1; + bool fDisableImageMultitexturing : 1; // Used for specific driver bug work arounds bool fCanUseMinAndAbsTogether : 1; @@ -283,8 +277,6 @@ private: int fMaxFragmentSamplers; int fMaxCombinedSamplers; - size_t fDisableImageMultitexturingDstRectAreaThreshold; - AdvBlendEqInteraction fAdvBlendEqInteraction; GrSwizzle fConfigTextureSwizzle[kGrPixelConfigCnt]; |