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 <cnorthrop@google.com>
Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Cody Northrop 2020-10-27 20:34:11 -06:00 коммит произвёл Commit Bot
Родитель 97a45a9f1d
Коммит 5c2db1c5e5
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -3496,9 +3496,11 @@ void Context::initCaps()
<< std::endl; << std::endl;
mDisplay->overrideFrontendFeatures({"disable_program_binary"}, true); mDisplay->overrideFrontendFeatures({"disable_program_binary"}, true);
INFO() << "Disabling GL_EXT_map_buffer_range during capture, it is not supported on " INFO() << "Disabling GL_EXT_map_buffer_range and GL_OES_mapbuffer during capture, which "
<< "some native drivers" << std::endl; "are not supported on some native drivers"
<< std::endl;
mState.mExtensions.mapBufferRange = false; mState.mExtensions.mapBufferRange = false;
mState.mExtensions.mapBufferOES = false;
} }
// Disable support for OES_get_program_binary // Disable support for OES_get_program_binary