pix_snap takes up CPU time waiting for the GPU to finish all rendering operations and then bring the data from the card to main memory.  This is one of the least efficient OpenGL operations.  80% CPU at such a small size seems like a lot though.   
<br><br><div><span class="gmail_quote">On 5/8/07, <b class="gmail_sendername">Roman Haefeli</b> &lt;<a href="mailto:reduzierer@yahoo.de">reduzierer@yahoo.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hello<br><br>when i snap the framebuffer using [pix_snap], i get a cpu usage of over<br>80% @ 20fps with dimension 320x240. is that what one would expect?<br>the same, but using [pix_snap2tex] doesn&#39;t cause any cpu peak at all. of
<br>course, i&#39;ll use [pix_snap2tex] whenever possible, but i&#39;d like to<br>record opengl-stuff into a video file. or is there another/more<br>optimized method to record gem&#39;s output into a videofile?<br><br>roman
<br><br><br><br><br><br><br>___________________________________________________________<br>Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: <a href="http://mail.yahoo.de">http://mail.yahoo.de</a><br>
<br><br><br>_______________________________________________<br>GEM-dev mailing list<br><a href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a><br><a href="http://lists.puredata.info/listinfo/gem-dev">http://lists.puredata.info/listinfo/gem-dev
</a><br><br></blockquote></div><br>