[mythtv-commits] Ticket #5279: PATCH: Fixed XvMV-OpenGL on certain NVIDIA cards

MythTV mythtv at cvs.mythtv.org
Thu May 1 11:08:05 UTC 2008


#5279: PATCH: Fixed XvMV-OpenGL on certain NVIDIA cards
---------------------------------------+------------------------------------
 Reporter:  jackanddougal at yahoo.co.uk  |       Owner:  ijr       
     Type:  defect                     |      Status:  new       
 Priority:  minor                      |   Milestone:  unknown   
Component:  mythtv                     |     Version:  0.21-fixes
 Severity:  medium                     |     Mlocked:  0         
---------------------------------------+------------------------------------
 Following on from the 'XvMc-OpenGL and OpenGL-OSD' thread
 (http://mythtv.org/pipermail/mythtv-dev/2008-May/061934.html) on the myth-
 dev mailing list, here is a patch to fix the issue that appears on certain
 NVIDIA cards.

 I think it may also fix http://svn.mythtv.org/trac/ticket/4813 so tafypz
 may want to give it a try.

 The patch simply modifie get_fbuffer_cfg() to add an GLX_ALPHA_SIZE
 component to the kRenderRGBA glx_fbconfig parameters passed to
 get_pbuffer().

 This function is also called from openglcontext.cpp so I don't know if it
 will have any impact there.  If it does, then I propose we add a new
 FrameBufferType=kRenderRGB support the openglcontext.cpp use (as it
 currently is only RBG not RGBA).

 Hopefully, this can be applied as-is, otherwise let me know and I will
 work on a more extensive patch.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5279>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list