Add pixel format support flags on Windows. The flags are queried through ID3D11Device::CheckFormatSupport(). Hopefully they can be used to bypass YUY2 related tests on AMD where creating a YUY2 swap chain fails. Also, they can be useful diagnosing swap chain related issues from user machines, i.e., whether we assumed certain capabilities without checking. BUG=967860 TEST=bots R=sunnyps@chromium.org,piman@chromium.org Change-Id: I5dff9069b2fc53851cbffc5263bd4a2e0e03582f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1637195 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Antoine Labour <piman@chromium.org> Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Commit-Queue: Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#665218}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .