Compute the correct info for hardware GPU for about:gpu
The way we compute feature status and problems identified depends on a few global states for example, if gpu compositing is enabled at the time when we do the computing. So currently when we compute the info for hardware gpu, if we already fallback to SwiftShader, then the global states may have changed. This is not what we want. We want to capture a state of info where we were still using GPU acceleration. So the fix here is that we also cache these global states for the later computing. BUG=1154047 TEST=manual R=kbr@chromium.org Change-Id: Ie9abedafe28a36f635bbe8bff183ba52495f4404 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2594315 Commit-Queue: Zhenyao Mo <zmo@chromium.org> Reviewed-by:Kenneth Russell <kbr@chromium.org> Cr-Commit-Position: refs/heads/master@{#838987}
Showing
Please register or sign in to comment