https://bugs.kde.org/show_bug.cgi?id=399499

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |n/212d87a32ef15b9baf6102060
                   |                            |639c06fa580e965

--- Comment #56 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 212d87a32ef15b9baf6102060639c06fa580e965 by David Edmundson.
Committed on 10/01/2020 at 14:24.
Pushed by davidedmundson into branch 'master'.

[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.
Related: bug 372305

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

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

M  +0    -31   plugins/scenes/opengl/scene_opengl.cpp

https://commits.kde.org/kwin/212d87a32ef15b9baf6102060639c06fa580e965

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to