kwin/plugins
David Edmundson 212d87a32e [scenes/opengl] Remove outdated hack to reset vertex buffers
Summary:
Scene opengl has a callback for when we have a GL error. One of the
handlers for an error calls scheduleVboReInit the history shows it was a
forerunner to the GLX_NV_robustness_video_memory_purge but resetting
only one tiny part based on debug output.

When we get here we schedule a reset of the vertex buffer, via a timer.
When the timer is caled we have no idea what GL context was last
current, if it's not the currect context then the main scene
GLVertexBuffer will be deleted but not correctly re-initialised.

We have two very common crashes with a corrupted
GLVertexBuffer::streamingBuffer() which would match up perfectly.

Given that we now have a proper mechanism to reset the entire scene, we
don't need this timer based hack and resolve that problem.

BUG: 399499
BUG: 372305

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D26556
2020-01-10 14:24:54 +00:00
..
idletime Use nullptr everywhere 2019-09-19 17:48:21 +03:00
kdecorations Remove deprecated method 2019-12-23 14:09:02 +01:00
kglobalaccel Use nullptr everywhere 2019-09-19 17:48:21 +03:00
kpackage SVN_SILENT made messages (.desktop file) - always resolve ours 2020-01-04 06:12:32 +01:00
platforms [platforms/drm] Allow running without outputs 2020-01-08 10:12:39 +01:00
qpa Don't use MESA_EGL_NO_X11_HEADERS 2019-10-24 18:57:30 +03:00
scenes [scenes/opengl] Remove outdated hack to reset vertex buffers 2020-01-10 14:24:54 +00:00
windowsystem fix compilation with no-deprecated build of kwindowsystem 2019-11-24 22:43:54 +01:00
CMakeLists.txt Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00