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

Jarod Wilson jarod at wilsonet.com
Fri May 27 22:13:25 UTC 2005


On Friday 27 May 2005 15:02, Joe Votour wrote:
> It was working fine for me, I'm pretty sure that I
> attached the correct set of patches.  (Definitely, the
> "connect" was not supposed to be there - having it
> there gave me the greyed out option).
>
> Maybe it worked for me because I had the database
> entry present already, since I originally started
> mucking about with it in 0.18.1.  I didn't do a
> database reset, rather I just made a backup of my
> database before migrating to CVS.  Since I have the
> CVS and the 0.18.1 binaries on the machine, and switch
> between them by changing /etc/ld.so.conf, I suppose I
> could just delete the database and repopulate it from
> scratch, and restore the backup when I want to go to
> 0.18.1.
>
> I was definitely seeing the check mark retain it's
> value though, because when I switched to LiveTV, I'd
> get either SGI OpenGL, or RTC, depending on the value
> of the checkbox.  I toggled it about five times just
> to make sure that I wasn't missing something.
>
> I'll redo the diffs and see what's going on...

I've got a fully working version now. I set USING_OPENGL_VSYNC in configure 
instead of using that line in mythfrontend.pro, and everything built as 
expected with the #ifdefs in place. However, I think the problem is more 
accurately fixed by changing the line in mythfrontend.pro from

using_opengl: DEFINES += USING_OPENGL_VSYNC

to

using_opengl_vsync: DEFINES += USING_OPENGL_VSYNC

I'm rebuilding that way to test now.

Not sure what to say about the connect portion. Its working for me right now 
w/it in there, but I started w/this patch on cvs head, not 0.18.1.

-- 
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/6f51e7c7/attachment.pgp


More information about the mythtv-dev mailing list