Set multitexturing image threshold for PowerVR.
Change-Id: I2fd928f79e005c73151a9b915879ac561c3fadaf Reviewed-on: https://skia-review.googlesource.com/78400 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
This commit is contained in:
parent
b4ec104318
commit
06c8da41eb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user