commit | ad256863c018bc5f0bf25a7c9f21f5a84e135342 | [log] [tgz] |
---|---|---|
author | Maksim Sisov <msisov@igalia.com> | Wed Feb 19 16:56:42 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 19 16:56:42 2020 |
tree | 4cdd31e14209f31da0fce7437d3bf1a8d6214c1b | |
parent | 911ef8b675149b7ea39bafcdbfa32a912e637195 [diff] |
ozone/wayland: do not use modifiers for linear buffers Video playback is broken in Ozone/Wayland whenever Wayland compositor announces that R_8 buffer is supported and sends supported format modifiers for that buffer type. Then, when video is played, GbmPixmapWayland is created with format modifiers supplied by Wayland compositor. However, this result in a video playback that is garbled. The reason to this is that the buffer is requested to be linear, which means no format modifiers should be supplied. I believe it could be the gbm handling that, but it turns out that messes up and we have weird behaviour. Thus, do not use format modifiers if the buffer usage is linear. Bug: 1050364 Change-Id: I980c462f857b3a462f95677810e3ff2aaaf340c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2049978 Reviewed-by: Michael Spang <spang@chromium.org> Reviewed-by: Robert Kroeger <rjkroege@chromium.org> Commit-Queue: Maksim Sisov <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#742670}
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 .