PDA

View Full Version : The role of a Assembler in the driver



tanshilai
06-28-2012, 04:54 AM
In our driver ,when i debug glVertex3f function,it will jmp to GL_STUB(Vertex3f)Macro.The Macro define in a Assembler,I only know the assembler have relationship whit dispatchtable,can any one the some detail about it ,thanks!

Dark Photon
06-28-2012, 05:12 AM
* http://www.mesa3d.org/dispatch.html (search for GL_STUB)
* https://en.wikipedia.org/wiki/Assembly_language#Assembler

Kopelrativ
06-28-2012, 06:10 AM
In our driver ,when i debug glVertex3f function,it will jmp to GL_STUB(Vertex3f)Macro.The Macro define in a Assembler,I only know the assembler have relationship whit dispatchtable,can any one the some detail about it ,thanks!
You know you are using the legacy version of OpenGL?