Opened 3 years ago
Last modified 3 months ago
#1770 assigned enhancement
opengl exception handler function
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | minor | Milestone: | future |
Component: | client | Version: | 2.2.x |
Keywords: | Cc: |
Description
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.
Attachments (1)
Change History (5)
comment:1 Changed 21 months ago by
Milestone: | 3.0 → 4.0 |
---|---|
Status: | new → assigned |
comment:2 Changed 14 months ago by
Milestone: | 4.0 → 4.1 |
---|
comment:3 Changed 6 months ago by
Milestone: | 4.1 → future |
---|
comment:4 Changed 3 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1770
Note: See
TracTickets for help on using
tickets.
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.