From 5c2db1c5e51280914ff4936c8efacef86db87a4f Mon Sep 17 00:00:00 2001 From: Cody Northrop Date: Tue, 27 Oct 2020 20:34:11 -0600 Subject: [PATCH] FrameCapture: Disable GL_OES_mapbuffer during capture Test: Capture PUBG Mobile Lite Bug: b/159238311 Bug: b/165824228 Change-Id: Idb9c29a963585c2f56e2fd134d77ee72bd2c53cb Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2504826 Commit-Queue: Cody Northrop Reviewed-by: Courtney Goeltzenleuchter Reviewed-by: Jamie Madill --- src/libANGLE/Context.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libANGLE/Context.cpp b/src/libANGLE/Context.cpp index 22e5e57ba..5dc1d3ad3 100644 --- a/src/libANGLE/Context.cpp +++ b/src/libANGLE/Context.cpp @@ -3496,9 +3496,11 @@ void Context::initCaps() << std::endl; mDisplay->overrideFrontendFeatures({"disable_program_binary"}, true); - INFO() << "Disabling GL_EXT_map_buffer_range during capture, it is not supported on " - << "some native drivers" << std::endl; + INFO() << "Disabling GL_EXT_map_buffer_range and GL_OES_mapbuffer during capture, which " + "are not supported on some native drivers" + << std::endl; mState.mExtensions.mapBufferRange = false; + mState.mExtensions.mapBufferOES = false; } // Disable support for OES_get_program_binary