Commit 0284aeb7 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

platforms/drm: Don't release drm buffers in EglGbmBackend

When we release the buffers that also removes the drm fbs.
This causes failing atomic commits that the atomic code
doesn't (yet) handle correctly, the result is a black
screen when compositing is restarted.
parent 8af45aa9
......@@ -74,14 +74,6 @@ void DrmOutput::teardown()
//this is needed so that the pageflipcallback handle isn't deleted
void DrmOutput::releaseBuffers()
bool DrmOutput::hideCursor()
return drmModeSetCursor(m_gpu->fd(), m_crtc->id(), 0, 0, 0) == 0;
......@@ -44,7 +44,6 @@ public:
///queues deleting the output after a page flip has completed.
void teardown();
void releaseBuffers();
bool showCursor(DrmDumbBuffer *buffer);
bool showCursor();
bool hideCursor();
......@@ -69,7 +69,6 @@ void EglGbmBackend::cleanupFramebuffer(Output &output)
void EglGbmBackend::cleanupOutput(Output &output)
output.buffer = nullptr;
output.secondaryBuffer = nullptr;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment