Diffusion KWin d4423186b98f

[platforms/drm] Delete buffer on all errors in present

Authored by romangg on Jul 14 2017, 11:42 AM.

Description

[platforms/drm] Delete buffer on all errors in present

Summary:
When returning early in DrmOutput::present() because of some error KWin
didn't delete the proposed buffer, therefore not releasing the surface
lock of the GBM buffer to the EGL surface.

This patch makes sure that on any error in present we cleanup the proposed
DrmBuffer.

Reviewers: KWin

Subscribers: KWin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D6660

Details

Committed
romanggJul 14 2017, 11:42 AM
Differential Revision
D6660: [platforms/drm] Delete buffer on all errors in present
Parents
R108:a49ba5054f81: [logind] Correct property name to fix logind session
Branches
Unknown
Tags
Unknown