commit | 3dcb5da8b925ccc5649e5737e809cc6a992b98c4 | [log] [tgz] |
---|---|---|
author | Sunny Sachanandani <[email protected]> | Thu Oct 18 04:59:43 2018 |
committer | Commit Bot <[email protected]> | Thu Oct 18 04:59:43 2018 |
tree | f6dcb1b4f528d338a0898043e7f0c72a7d39c9fd | |
parent | 003aa2372b5cbd4b16cc342f44ec369547955cc6 [diff] |
Reland "Use DirectComposition only if hardware overlays are supported" This is a reland of 90b4fddc3ac00c109bedfb8a395faaa3e9e49f80 Early out from DirectComposition path if it cannot possibly be supported even if command line flags force it on. This is needed to make pixel tests which force enable DirectComposition work on Windows 7/2008 bots. Original change's description: > Use DirectComposition only if hardware overlays are supported > > Before this change, we were using DirectCompositionSurfaceWin on most > newer systems, but it's not needed unless hardware overlays are > supported. > > The disable_direct_composition workaround increases crash rates because > it's applied before GLSurfaceEGL decides to use direct composition with > ANGLE native EGL surfaces. > > This change moves all direct composition logic from GLSurfaceEGL to > DirectCompositionSurfaceWin, and removes use of direct composition with > ANGLE surfaces. > > Bug: 894675 > Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel > Change-Id: I2e9c7c8a7ff36fe7b24868544c03aad0e0b7dad6 > Reviewed-on: https://chromium-review.googlesource.com/c/1278529 > Commit-Queue: Sunny Sachanandani <[email protected]> > Reviewed-by: Zhenyao Mo <[email protected]> > Reviewed-by: Antoine Labour <[email protected]> > Reviewed-by: Daniel Cheng <[email protected]> > Cr-Commit-Position: refs/heads/master@{#600529} [email protected],[email protected],[email protected] Bug: 894675 Change-Id: Ie4322ad2cfceac2156a241b5affbc962dde24088 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Reviewed-on: https://chromium-review.googlesource.com/c/1287254 Reviewed-by: Sunny Sachanandani <[email protected]> Commit-Queue: Sunny Sachanandani <[email protected]> Cr-Commit-Position: refs/heads/master@{#600662}
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 .