<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: KWin.<br />Herald added a project: KWin.<br />Herald added a subscriber: kwin.<br />davidedmundson requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D26556">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Scene opengl has a callback for when we have a GL error. One of the<br />
handlers for an error calls scheduleVboReInit - the comment next to it<br />
explicitly mentions Nvidia.</p>

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

<p>We have a very common crash with a corrupted GLVertexBuffer...</p>

<p>CCBUG: 399499</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>I could never reproduce the crash, but it's a good theory at least.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26556">https://phabricator.kde.org/D26556</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/scenes/opengl/scene_opengl.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson, KWin<br /><strong>Cc: </strong>kwin, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>