[mythtv-commits] Ticket #7650: Use libmythui to draw the OSD

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


#7650: Use libmythui to draw the OSD
-------------------------------------+--------------------------------------
 Reporter:  markk                    |       Owner:  markk   
     Type:  task                     |      Status:  accepted
 Priority:  minor                    |   Milestone:  0.24    
Component:  MythTV - Video Playback  |     Version:  head    
 Severity:  medium                   |     Mlocked:  0       
-------------------------------------+--------------------------------------

Comment(by markk):

 (In [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
 requirements.

 Fixes for OpenGL and Direct3D to follow.

 Refs #7650.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7650#comment:178>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list