[AD] X patch update |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
However, there is a slight cost. When running the demo game, using the DIGMID driver, I noticed a bit of stuttering in the sound. I can only guess that this is caused by the lock being held on the screen for too long while the screen->xbuffer conversion takes place and interrupting the input+sound thread. However, if the sound was put into its own thread (or perhaps even the timer thread), that issue would be resolved.
I also tried to make the X11 driver create an XImage with the same depth as Allegro's screen, leaving X to deal with the color conversion (since if it's running on a seperate thread, it would leave the Allegro program alone while it's converting the image). However, after having to reboot my computer due to it, I don't think I'm going to try persuing this again anytime soon.
- Kitty Cat
Attachment:
xlock.diff.gz
Description: application/gzip
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |