WebXR : On desktop GL make sure to use MSAA rather than CMAA when possible.
If the GPU works with MSAA we should use it. However the current code will always fallback to CMAA on desktop GL because GL_EXT_multisampled_render_to_texture is only available on ES profile. While CMAA could be used by other GPUs than Intel, currently Chromium only provides support for CMAA on Intel GPUs. This patch aligns with the behavior of DrawingBuffer which is used to render the WebGL content. Bug: 990923 Change-Id: Ie3a94a68a685fa0b34d573d48f6d4853d553be64 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730624Reviewed-by:Brandon Jones <bajones@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Commit-Queue: Alexis Menard <alexis.menard@intel.com> Auto-Submit: Alexis Menard <alexis.menard@intel.com> Cr-Commit-Position: refs/heads/master@{#684123}
Showing
Please register or sign in to comment