[mythtv-firehose] mythtv branch master updated by jstichnoth. v0.27-beta-109-g3325c09

Git Repo Owner noreply at mythtv.org
Sat Aug 31 02:38:40 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user jstichnoth.
       via  3325c09b2fc070179047f678a02ee6feaed5cfd7 (commit)
      from  909c54eb8adbff8e2016fbedafd04f8397ee69e3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3325c09b2fc070179047f678a02ee6feaed5cfd7
Author:    Jim Stichnoth <jstichnoth at mythtv.org> at Fri, 30 Aug 2013 19:28:38 -0700
Committer: Jim Stichnoth <jstichnoth at mythtv.org> at Fri, 30 Aug 2013 19:28:38 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=3325c09b2fc070179047f678a02ee6feaed5cfd7

Speed up drawing caption text with outlines.
The old method of drawing text with outlines involves drawing the same
text many times at various offsets, with the offsets based on
traversing the perimeter square of pixels with edge length 2N+1, where
N is the specified outlinesize.  This means drawing 8N extra copies of
the text.  With some fonts and point sizes, this can be a very
expensive operation, leading to video stuttering while captions are
drawn.

The new method draws just one extra copy, but with a pen width set to
2N+1, which is much faster.  Beware that using a huge outlinesize may
lead to strange artifacts in the outline (but that was already the
case for the original outline code).

Refs #10984.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythui/mythpainter.cpp |  117 ++++++++++++++++++---------------
 1 files changed, 63 insertions(+), 54 deletions(-)

-- 



More information about the mythtv-firehose mailing list