Michel Dänzer wrote: > On Thu, 2007-08-02 at 17:44 +0200, Jerome Glisse wrote: >> Btw i think that some GPU can wait on vblank using cmd ie you >> don't need to ask the card to emit irq you just insert a cmd in >> stream which stall further cmd execution until vblank happen, >> this might be good for power consumption. > > It's generally a bad idea because it prevents the GPU from doing > anything else that could be done before vertical blank.
This is true on cards with a single command stream - if you had per-context ringbuffers and a hardware scheduler, it might be better. Unfortunately, you still end up forcing the cliprects not to change, unless you also have some hardware mechanism for that, which I think is pretty rare nowdays. Hmm. Maybe you could use the frontbuffer alpha bits as a window id. You'd still need to either lock the window position, or find some way of telling the hardware about window position changes, or... something else... Anyway, it gets complicated... Keith ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel