Opened 16 years ago
Closed 15 years ago
Last modified 15 years ago
#5279 closed patch (fixed)
PATCH: Fixed XvMV-OpenGL on certain NVIDIA cards
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | mythtv | Version: | 0.21-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (4)
Changed 16 years ago by
Attachment: | util-opengl.cpp.patch added |
---|
comment:1 Changed 15 years ago by
Milestone: | unknown → 0.22 |
---|---|
Owner: | changed from Isaac Richards to danielk |
Status: | new → assigned |
Type: | defect → patch |
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
PATCH: Fix XvMC-OpenGL and OpenGL OSD