please help
i want to know how 3d API implement

how it divided in parts
for eg(don't take it much series as i don't know much) 3D math, driver approach via software,bug fix etc

i even try to learn from Mesa 3.x but i can't

please help 
any link clue etc
Q. At most how hardware interacted??
thanks in advance
vivek