Enable reordering on newer Adreno drivers
Verified the hang is fixed on this (pre-release) driver version. Bug: skia:11935 Change-Id: Ia841dce15da5802e9e3bf036cb1dace73304bb51 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/416737 Commit-Queue: Adlai Holler <adlai@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
This commit is contained in:
parent
3650f6d9e5
commit
29d9f1dd23
@ -4132,9 +4132,10 @@ void GrGLCaps::applyDriverCorrectnessWorkarounds(const GrGLContextInfo& ctxInfo,
|
||||
fReuseScratchTextures = false;
|
||||
}
|
||||
|
||||
// skbug.com/11935. Don't reorder on these GPUs in GL.
|
||||
if (ctxInfo.renderer() == GrGLRenderer::kAdreno620 ||
|
||||
ctxInfo.renderer() == GrGLRenderer::kAdreno640) {
|
||||
// skbug.com/11935. Don't reorder on these GPUs in GL on old drivers.
|
||||
if ((ctxInfo.renderer() == GrGLRenderer::kAdreno620 ||
|
||||
ctxInfo.renderer() == GrGLRenderer::kAdreno640) &&
|
||||
ctxInfo.driverVersion() < GR_GL_DRIVER_VER(571, 0, 0)) {
|
||||
fAvoidReorderingRenderTasks = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user