mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 03:45:58 +01:00
backend/drm: stop checking for wlr_client_buffer
wlr_client_buffer is a bad indicator for direct scan-out. Compositors might use the underlying wlr_buffer instead.
This commit is contained in:
parent
67447d6cb4
commit
37ef9d7356
1 changed files with 1 additions and 2 deletions
|
@ -1690,8 +1690,7 @@ static void handle_page_flip(int fd, unsigned seq,
|
||||||
* data between the GPUs, even if we were using the direct scanout
|
* data between the GPUs, even if we were using the direct scanout
|
||||||
* interface.
|
* interface.
|
||||||
*/
|
*/
|
||||||
if (!drm->parent && plane->current_fb &&
|
if (!drm->parent) {
|
||||||
wlr_client_buffer_get(plane->current_fb->wlr_buf)) {
|
|
||||||
present_flags |= WLR_OUTPUT_PRESENT_ZERO_COPY;
|
present_flags |= WLR_OUTPUT_PRESENT_ZERO_COPY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue