[mythtv-commits] mythtv commit: r23402 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Jan 31 16:50:50 UTC 2010


      Author: danielk
        Date: 2010-01-31 16:50:50 +0000 (Sun, 31 Jan 2010)
New Revision: 23402
   Changeset: http://svn.mythtv.org/trac/changeset/23402

Modified:

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

Log:

Fixes #7913. Speed up font loading in OSD class by only loading each font name + size combination once per OSD.

Note: The patch supplied on the ticket resulted in multiple free's per TTFFont, so this solution is quite different -- but it is also more general and catches all instances of the same font being used multiple times in the OSD.




More information about the mythtv-commits mailing list