[mythtv-commits] mythtv/master commit: fb45eb9fe by Michael T. Dean (sphery)

MythTV noreply at mythtv.org
Wed Feb 16 05:42:40 UTC 2011


      Author:  Michael T. Dean <mdean at mythtv.org>
 Change Date:  2011-02-15T21:41:52-08:00
   Push Date:  2011/02/15 21:42:38 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  fb45eb9fef28a58e468c8db02c2d8621d510493a
   Changeset:  https://github.com/MythTV/mythtv/commit/fb45eb9fe

Log:

Auto-detect UI painter.

If running on Windows, use D3D9.  Else, try the OpenGL UI painter.  If
initialization fails or if OpenGL is not using direct rendering, fall
back to the Qt painter.  This also removes the ThemePainter setting.

The auto-detection will automatically choose the Qt painter for ssh X
forwarding and such, but will use OpenGL painter for local display (when
OpenGL is properly installed and configured on the underlying system) so
users shouldn't need to worry about overriding the painter.

Theme developers may test with a non-default painter by starting
with -O UIPainter=[opengl|qt|d3d9].

Modified:

   mythtv/libs/libmythui/mythmainwindow.cpp
   mythtv/programs/mythfrontend/globalsettings.cpp



More information about the mythtv-commits mailing list