Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#5279 closed patch (fixed)

PATCH: Fixed XvMV-OpenGL on certain NVIDIA cards

Reported by: jackanddougal@… 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)

util-opengl.cpp.patch (354 bytes) - added by jackanddougal@… 12 years ago.
PATCH: Fix XvMC-OpenGL and OpenGL OSD

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by jackanddougal@…

Attachment: util-opengl.cpp.patch added

PATCH: Fix XvMC-OpenGL and OpenGL OSD

comment:1 Changed 11 years ago by danielk

Milestone: unknown0.22
Owner: changed from Isaac Richards to danielk
Status: newassigned
Type: defectpatch

comment:2 Changed 11 years ago by danielk

Resolution: fixed
Status: assignedclosed

(In [19465]) Fixes #5279. Request alpha plane in get_fbuffer().

comment:3 Changed 11 years ago by jackanddougal@…

Any chance of this being backported to -fixes?

Note: See TracTickets for help on using tickets.