xiaoshuxing wrote:
> Thanks
> 
> No, it’s not, I’ve traced down the SwapBuffer function , what the swap 
> does is flushing all the commands in the buffer and rasterizing the 
> vertices to pixels.

Well, most of the rasterization happens before SwapBuffers is called, 
but SwapBuffers can flush/rasterize anything that might still be 
buffered up.


> But I didn’t find anything related displaying those pixels to the screen.

The BitBlt() function in WMesaSwapBuffers() copies the off-screen back 
color buffer (windows bitmap) to the window to make it visible.


> I wonder whether this unknown displaying function is time driven or 
> event driven.

Applications explicitly call SwapBuffers.

-Brian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to