Commit 3fa51867 by Cody Northrop Committed by Angle LUCI CQ

Capture/Replay: Disable GL_OES_depth32 during capture

Depth32 is not a renderable format on native mobile GLES drivers. Disabling GL_OES_depth32 during capture provides a more portable trace. Apps fall back to Depth24, i.e.: glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT32, 760, 360); Becomes: glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT24, 760, 360); Test: Beach Buggy Racing MEC Bug: b/192237726 Bug: angleproject:6113 Change-Id: Id188ca0186c67d2584f8ad7070cdc8c9baaf2aaa Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2992573Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Cody Northrop <cnorthrop@google.com>
parent 5a2bd6fd
......@@ -3810,6 +3810,10 @@ void Context::initCaps()
mSkipValidation = false;
mState.mExtensions.noError = mSkipValidation;
mState.mExtensions.robustClientMemory = !mSkipValidation;
INFO() << "Disabling GL_OES_depth32 during capture, which is not widely supported on "
"mobile";
mState.mExtensions.depth32OES = false;
}
// Disable support for OES_get_program_binary
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment