kwin/plugins/scenes/opengl
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
..
shaders Move lanczos filter away from KWin core 2019-02-07 18:03:34 +02:00
CMakeLists.txt Undo some recent cmake changes 2019-09-18 13:50:52 +03:00
lanczosfilter.cpp [scenes/opengl] Discard cached Lanczos textures for all toplevels 2019-12-02 15:14:21 +02:00
lanczosfilter.h Use nullptr everywhere 2019-09-19 17:48:21 +03:00
opengl.json SVN_SILENT made messages (.desktop file) - always resolve ours 2019-12-07 05:38:05 +01:00
resources.qrc Move lanczos filter away from KWin core 2019-02-07 18:03:34 +02:00
scene_opengl.cpp [scenes/opengl] Remove outdated hack to reset vertex buffers 2020-01-10 14:24:54 +00:00
scene_opengl.h Add hasSwapEvent getter 2019-12-12 01:25:36 +01:00