[mythtv-commits] mythtv/master commit: b919ad29a by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Tue Jan 10 10:26:04 UTC 2012


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2012-01-10T02:26:24-08:00
   Push Date:  2012/01/10 02:25:52 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  b919ad29af10411d7f44b31d16029f6354af3c02
   Changeset:  https://github.com/MythTV/mythtv/commit/b919ad29a

Log:

OpenGL Vsync: Use the NV Control extension to test for OpenGL VSync.

This will perform a couple of checks to determine whether OpenGL Sync to
VBlank is enabled at run time and offer (via the log) some ways of
enabling it if not.

This is currently for NVidia linux only - I'll add other checks where
available.

N.B. The proprietary NVidia driver will never sync to vblank unless
enabled before the app has started. Forcing the swap interval and other
methods will have no effect.

Modified:

   mythtv/libs/libmythui/mythrender_opengl.cpp
   mythtv/libs/libmythui/util-nvctrl.cpp
   mythtv/libs/libmythui/util-nvctrl.h



More information about the mythtv-commits mailing list