[mythtv] [PATCH] Enable/Disable OpenGL VSync via mythfrontend or environment variable

Jarod Wilson jarod at wilsonet.com
Fri May 27 21:21:04 UTC 2005


On Friday 27 May 2005 14:03, Jarod Wilson wrote:
> On Wednesday 25 May 2005 22:23, Joe Votour wrote:
> > I found the problems.  Two of them actually:
> > 1. I mimicked the XvMC behavior too well - I put in
> > the connect(...) slot and that led to the option being
> > greyed out.
> > 2. The mythfrontend program was never being compiled
> > with OpenGL vsync support (which is why you didn't see
> > the option).
> >
> > I have attached new patches that I made against CVS
> > HEAD from about one hour ago.
>
> Hrm, still not completely working for me...
>
> > I'm still not 100% sure about the database retention -
> > it's staying put for me, but I'd appreciate some extra
> > feedback.
>
> This time around, the db setting was created and its staying there, but it
> defaulted to on (1), but I'm still missing a settings checkbox and that
> setting value seems to be getting ignored, because even when I set it to 0
> manually in the db, opengl vsync is being used.
>
> I'm poking around and trying some things to see if I can figure out what's
> up...

Okay, I just got it working. The connect(...) part wasn't actually a problem, 
so far as I can tell, since the build I just did does include that part. I 
believe the problem is with the DEFINES part in the mythfrontend.pro file, 
because what I ended up doing was commenting out the #ifdef's for 
USING_OPENGL_VSYNC to force that option on.

I'll keep beating on it, might have something that completely works ever so 
shortly...

-- 
Jarod Wilson
jarod at wilsonet.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050527/a5bad292/attachment.pgp


More information about the mythtv-dev mailing list