[mythtv-commits] mythtv commits

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Apr 23 18:15:02 UTC 2005

Changes committed by danielk on Sat Apr 23 18:10:55 2005

Modified Files:
   in mythtv/libs/libmyth:
        util-x11.cpp util-x11.h 
   in mythtv/libs/libmythtv:
        XvMCSurfaceTypes.cpp XvMCSurfaceTypes.h osdxvmc.cpp 
        videoout_xv.cpp videoout_xv.h vsync.cpp 
   in mythtv/libs/libmythtv/vbitext:
Log Message:

This adds three macros to util-x11.cpp, X11L, X11U, and X11S()
Which lock, and unlock x11_lock, and run enclosed code within
a X11L and X11U, resp. This should be used around bare X11 calls,
to serialize all access to the X11 server. No other locks should
be acquired inside the X11L and X11U construct, or inside a X11S

I've gone though a few classes to implement this locking protocol,
but I still haven't gone through everything.

I've also suppressed some warnings and fixed one compile error
when USING_XVMC is not being used. 


More information about the mythtv-commits mailing list