https://bugs.documentfoundation.org/show_bug.cgi?id=94252

            Bug ID: 94252
           Summary: Gratuitous GL context switching.
           Product: LibreOffice
           Version: 5.0.2.1 rc
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: michael.me...@collabora.com

Switching OpenGLContext's is an expensive hobby and implies a glFlush (I think)
-which tends to show the partial construction of what we're rendering before
its ready (ie. creates flicker).

Currently we tend to re-use the OGL context that was previously associated with
a VirtualDevice's SalGraphics; however since we un-bind our framebuffers from
that each time we clearCurrent - then if we have a new context - we shouldn't
try to restore the old context if we have another in-place, but instead just
jump on the new context.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to