commit | 076e037047ae0852f57a41529174bb6853adf47b | [log] [tgz] |
---|---|---|
author | Maksim Sisov <msisov@igalia.com> | Wed Sep 15 05:30:21 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 15 05:30:21 2021 |
tree | eadd4a514210e74e3c068844db896f55bd4ad38d | |
parent | ee8a9d0ab3c24036111cae8aabdeb872ee85bb8b [diff] |
ozone/wayland: fixed order of presentation feedback and swap result. GLSurfaceWayland permits calling SwapBuffers if the window it backs has not been configured yet (otherwise, a buffer is attached before the surface is configured, which is illegal in Wayland). However, they way it did so resulted in incorrect order of swap results and presentation callbacks - swap result must be sent before a presentation callback. Thus, use ScopedSwapBuffers, which runs the callback with some delay (it's the same technique used below in NativeViewGLSurfaceEGL, but we don't have a way to force it to fail. Thus, GLSurfaceWayland does that instead). Bug: 578890 Change-Id: Ic8e7f27c0effa55341a7b45d0b0d7288715644a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3150277 Reviewed-by: Zhenyao Mo <zmo@chromium.org> Reviewed-by: Robert Kroeger <rjkroege@chromium.org> Commit-Queue: Maksim Sisov <msisov@igalia.com> Cr-Commit-Position: refs/heads/main@{#921536}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.