зеркало из https://github.com/AvaloniaUI/angle.git
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:
Родитель
97a45a9f1d
Коммит
5c2db1c5e5
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче