Re: [Mesa-dev] Mesa Library questions

2013-07-28 Thread Kenneth Graunke
On 07/26/2013 06:18 PM, ZhiLi wrote: Hello everyone, I am an university student working on school project related to OpenGL. Now I am using mesa library (version 9.0.3) as an implementation of OpenGL. I have a few questions about Mesa library. glBegin()/glEnd() pair is used for immediate mode r

Re: [Mesa-dev] Mesa Library questions

2013-07-28 Thread Pierre Moreau
Hello Li Zhi, I have done a quick search, and it seems that glBegin is mapped to vbo_exec_Begin. I'm not using the same version of Mesa as you, but here is how it works for me. In vbo_exec_api.c, function vbo_exec_vtxfmt_init, you get vfmt->Begin = vbo_exec_Begin; And after, in vtxfmt.c,

[Mesa-dev] Mesa Library questions

2013-07-26 Thread ZhiLi
Hello everyone, I am an university student working on school project related to OpenGL. Now I am using mesa library (version 9.0.3) as an implementation of OpenGL. I have a few questions about Mesa library. glBegin()/glEnd() pair is used for immediate mode rendering, so I study the source co