On 10/31/06, xiaoshuxing <[EMAIL PROTECTED]> wrote:
> Thanks, this makes my head more clear, according to my understanding, there
> needn't be any function to show the framebuffer to the screen, the video
> card just know it, and do a refresh to display the buffer every time period.

The primary function of a video card is to read bytes from memory and
convert them to display signals. Anything else recent video cards do
is just bonus.

> There's one more question, mesa simulates the framebuffer in memory,
> traditionally, framebuffer should be some space on the video card so that
> the video card knows where to read, how does mesa make a connection between
> the self-defined framebuffer and the screen?

It's called memory mapped I/O. There's plenty on the internet about
it, so do a google search. The actual method used is mmap(), you can
google for that too...

http://en.wikipedia.org/wiki/Memory-mapped_I/O
http://en.wikipedia.org/wiki/Mmap

Basically, the memory actually is on the card, but the PCI bus, AGP
bus, O/S, MMU, etc work together to make it look like the memory is
part of your program.

Have a nice day,
-- 
Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/

-------------------------------------------------------------------------
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