commit | 9387b40dd397f3644ea9c0146eaec02ecd5dcd7c | [log] [tgz] |
---|---|---|
author | Sidney San Martín <sdy@chromium.org> | Fri Jun 08 18:13:26 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jun 08 18:13:26 2018 |
tree | 3c1f5ab673b88e4f5e06dd54cf33a5684a9fb9ef | |
parent | 9569c413494d73f11eb4477cf982ad8d9d5ae9a1 [diff] |
De-jank window resizing in MacViews (part 2). Part 1: https://chromium-review.googlesource.com/c/chromium/src/+/1066304 This change picks up from the above CL and adds hooks into the GPU process to coordinate its CATransaction with the browser's on request (e.g. for resize). New GPU IPCs let the browser process, via CATransactionObserver, begin a transaction and then end it while in the post commit phase of its CATransaction. This makes compositor changes display atomically with changes in the browser process. It also fixes the window frame jank described in the above CL when the GPU process assigns new IOSurfaces as CALayer contents. I think this is because the two CATransactions happen as one from the window server's point of view: in a test app, committing the two transactions like this significantly reduced the time to commit. Bug: 837660 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: Ib5b2a3a3cae76640cc9872b7f265cb3bd13143a4 Reviewed-on: https://chromium-review.googlesource.com/1077047 Reviewed-by: Robert Sesek <rsesek@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: ccameron <ccameron@chromium.org> Commit-Queue: Sidney San Martín <sdy@chromium.org> Cr-Commit-Position: refs/heads/master@{#565687}
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 .