Xpra: Ticket #1770: opengl exception handler function

Follow up from #1769: register a callback function on the opengl context object to reset the context when we encounter an error, so that later screen updates will succeed.



Mon, 29 Jul 2019 17:10:28 GMT - Antoine Martin: status, milestone changed

Not easy. There are two parts: the window backing context and the underlying opengl context (ie: GLX context). We can't re-initialize the latter without also re-initializing the former. Another problem is that some paint functions already catch and handle exceptions, so the code would need to be added to each one of those rather than doing it generically in the gl-context object.


Mon, 29 Jul 2019 17:12:09 GMT - Antoine Martin: attachment set

example glcontext re-init handler


Mon, 24 Feb 2020 15:39:49 GMT - Antoine Martin: milestone changed


Sun, 04 Oct 2020 14:35:07 GMT - Antoine Martin: milestone changed


Sat, 23 Jan 2021 05:33:19 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1770