[mythtv-commits] mythtv commit: r27281 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Nov 18 08:12:38 UTC 2010


      Author: markk
        Date: 2010-11-18 08:12:38 +0000 (Thu, 18 Nov 2010)
New Revision: 27281
   Changeset: http://svn.mythtv.org/trac/changeset/27281

Log:

Don't call QGLContext::doneCurrent() in MythRenderOpenGL.

- it should be unnecessary given that makeCurrent always checks the
correct context is current to the current thread and following the
threading changes, all of our OpenGL usage should be in the same thread.
- it breaks playback on certain Windows builds.
- it has a sizeable performance impact on at least one system tested
(Intel GPU)

Based on a patch from Lawrence Rust.


Modified:

   trunk/mythtv/libs/libmythui/mythrender_opengl.cpp




More information about the mythtv-commits mailing list