Commit 3e8a8d5b by Jamie Madill Committed by Commit Bot

Force new displays on each Windows 7 end2end test.

This should fix the buffer allocation crash manifesting on Windows 7 x64. Bug: angleproject:3261 Bug: chromium:944454 Change-Id: I8a0713e1d1f18285f128c0cfb98b398c6a336a36 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1534461Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 4967de72
......@@ -171,6 +171,14 @@ const char *GetColorName(GLColor color)
bool ShouldAlwaysForceNewDisplay()
{
#if defined(ANGLE_PLATFORM_WINDOWS)
// Work around a buffer allocation crash that shows up on Windows 7 x64 NVIDIA bots.
// See http://crbug.com/944454 for more information.
if (!IsWindows10OrGreater())
{
return true;
}
#endif // defined(ANGLE_PLATFORM_WINDOWS)
// We prefer to reuse config displays. This is faster and solves a driver issue where creating
// many displays causes crashes. However this exposes other driver bugs on many other platforms.
// Conservatively enable the feature only on Windows Intel and NVIDIA for now.
......
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