Commit b5c3d27a by Geoff Lang Committed by Commit Bot

D3D11: Disable the RGB10A2 backbuffer format.

Chrome was using this format by accident for video decode surfaces, resulting in a power usage regression. BUG=angleproject:1662 BUG=691106 Change-Id: I3b9ac814f06c07490fceb88e8b087b235e5b25bf Reviewed-on: https://chromium-review.googlesource.com/441950Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent ceb1048f
...@@ -938,7 +938,10 @@ egl::ConfigSet Renderer11::generateConfigs() ...@@ -938,7 +938,10 @@ egl::ConfigSet Renderer11::generateConfigs()
// Additional high bit depth formats added in D3D 10.0 // Additional high bit depth formats added in D3D 10.0
// https://msdn.microsoft.com/en-us/library/windows/desktop/bb173064.aspx // https://msdn.microsoft.com/en-us/library/windows/desktop/bb173064.aspx
colorBufferFormats.push_back(GL_RGBA16F); colorBufferFormats.push_back(GL_RGBA16F);
colorBufferFormats.push_back(GL_RGB10_A2);
// TODO(geofflang): Re-enable once client code has been updated to filter configs better and
// not use RGB10A2 accidentally when requesting RGBA8
// colorBufferFormats.push_back(GL_RGB10_A2);
} }
if (!mPresentPathFastEnabled) if (!mPresentPathFastEnabled)
......
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