[mythtv-commits] mythtv commit: r24695 - in branches/libmythui-osd/libs by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun May 16 15:14:23 UTC 2010

      Author: markk
        Date: 2010-05-16 15:14:23 +0000 (Sun, 16 May 2010)
New Revision: 24695
   Changeset: http://svn.mythtv.org/trac/changeset/24695




Branch libmythui-osd: Fix alpha blending for the VDPAU osd.

Alpha blending is currently broken for the VDPAU, OpenGL and Direct3D
OSDs as we render to a separate buffer which is then blended onto the
video frame. The buffer needs to have a default alpha of zero to ensure
the video is visible in blank areas which in turn breaks alpha blending
when we draw to that surface.

There are a few possible solutions but by far the simplest is to just
render the OSD elements directly to the output surface for each
presented frame. While this is theoretically slower, as we no longer
buffer/cache the rendered OSD, I can't actually see a measurable
difference in performance. It also marginally reduces the video memory

Fixes for OpenGL and Direct3D to follow.

Refs #7650.

More information about the mythtv-commits mailing list