aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLCaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/GrGLCaps.cpp')
-rw-r--r--src/gpu/gl/GrGLCaps.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index 134692d7ac..a31b0c0daa 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -365,6 +365,14 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
// but it doesn't clearly align with Pascal vs Maxwell vs Kepler.
fShaderCaps->fDisableImageMultitexturingDstRectAreaThreshold = 150 * 150;
break;
+ case kImagination_GrGLVendor:
+ // Two PowerVR Rogues, Nexus Player and Chromebook Cb5-312T (PowerVR GX6250), show that
+ // it is always a win to use multitexturing.
+ if (kPowerVRRogue_GrGLRenderer == ctxInfo.renderer()) {
+ fShaderCaps->fDisableImageMultitexturingDstRectAreaThreshold =
+ std::numeric_limits<size_t>::max();
+ }
+ break;
default:
break;
}