https://bugs.documentfoundation.org/show_bug.cgi?id=93839
Bug ID: 93839
Summary: vdevs shared OpenGLContexts - end up broken.
Product: LibreOffice
Version: unspecified
Hardware: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: graphics stack
Assignee: [email protected]
Reporter: [email protected]
VirtualDevices - pick the current OpenGLContext to use - and associate that
with their SalGraphics by taking a ref-count. This is well and good, we don't
want to (horribly expensively) swap GL contexts when we use a vdev.
Unfortunately, when the window owning the DC and hWnd which that context is
associated with is released the - often we're left with a OpenGLContext still
in use with several VirtualDevices.
Amazingly this continues to work for a time - a long time on Linux, a short
time on Windows - until eventually - bang: things stop working. GL spews wgl
context binding errors and ... life is bad.
Luckily in this case we can reset the OpenGLContext and force it to initialize
afresh the next time we hit a draw method; fix to follow.
This should rid us of random black bits that are not rendering, and/or which
show up after a while.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs