Modify

Ticket #5279 (closed patch: fixed)

Opened 4 years ago

Last modified 3 years ago

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

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

Change History

Changed 4 years ago by jackanddougal@…

PATCH: Fix XvMC-OpenGL and OpenGL OSD

comment:1 Changed 3 years ago by danielk

  • Owner changed from ijr to danielk
  • Status changed from new to assigned
  • Type changed from defect to patch
  • Milestone changed from unknown to 0.22

comment:2 Changed 3 years ago by danielk

  • Status changed from assigned to closed
  • Resolution set to fixed

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

comment:3 Changed 3 years ago by jackanddougal@…

Any chance of this being backported to -fixes?

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.