[mythtv-commits] mythtv commit: r25713 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Aug 17 06:29:38 UTC 2010


      Author: markk
        Date: 2010-08-17 06:29:38 +0000 (Tue, 17 Aug 2010)
New Revision: 25713
   Changeset: http://svn.mythtv.org/trac/changeset/25713

Modified:

   trunk/mythtv/libs/libmythtv/teletextscreen.cpp
   trunk/mythtv/libs/libmythtv/teletextscreen.h

Log:

Optimise teletext rendering.

The post OSD-merge teletext rendering used a libmythui object for each
character and for each character background. This meant the hardware
accelerated UI painters (VDPAU, OpenGL and Direct3D9) were possibly
processing over 2,000 elements for each frame rendered (hence up to
100,000 per second) - and there was a sizeable performance hit.

The new approach is to render to some intermidiary QImage buffers for
each double line and when complete, convert those to MythUIImage. This
is substantially faster, with a maximum of 13 objects to be rendered per
frame.





More information about the mythtv-commits mailing list