Grab frame from blit engine and threads.
Michael <[email protected]> Tue, 26 Sep 2006 21:49:41 +0100
| Newsgroups | gmane.comp.games.mame.advancemame.user |
|---|---|
| Message-ID | <[email protected]> |
I want to grab a frame from the blit engine when it has finished being processed. I've noticed in the code that it seems to process a line of pixels at a time and the video driver also seems to output a line at a time. Does this mean that I would have to set up a buffer that is the size of the output frame and then copy each line into it as it is processed? Is there also an indication of the pixel format that is sent to the video driver? I was also thinking about how to multithread the blit engine and was wondering if it would be possible to divide the screen up into groups of lines and have each thread process its lot and write the output into a buffer and then the last thread to finish gets to call the video output driver? Michael. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Unsubscribe at https://lists.sourceforge.net/lists/listinfo/advancemame-users