Commit 5f5292c8 by Khushal Committed by Commit Bot

Only enable robust client memory if the context supports validation.

Bug: chromium:1028418 Change-Id: Id47ac64a3d56b58455e1f36d8a17dbdc9db7e509 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2056506Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Khushal <khushalsagar@chromium.org>
parent 59126651
...@@ -3501,8 +3501,8 @@ Extensions Context::generateSupportedExtensions() const ...@@ -3501,8 +3501,8 @@ Extensions Context::generateSupportedExtensions() const
supportedExtensions.maxDebugGroupStackDepth = 1024; supportedExtensions.maxDebugGroupStackDepth = 1024;
supportedExtensions.maxLabelLength = 1024; supportedExtensions.maxLabelLength = 1024;
// Explicitly enable GL_ANGLE_robust_client_memory // Explicitly enable GL_ANGLE_robust_client_memory if the context supports validation.
supportedExtensions.robustClientMemory = true; supportedExtensions.robustClientMemory = !mSkipValidation;
// Determine robust resource init availability from EGL. // Determine robust resource init availability from EGL.
supportedExtensions.robustResourceInitialization = mState.isRobustResourceInitEnabled(); supportedExtensions.robustResourceInitialization = mState.isRobustResourceInitEnabled();
......
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