I am trying to understand DRI source, now from start, i.e. from OpenGL calls.
I was analizing file: lib/GL/glx/g_render.c, if I understand correctly there is stream build there, but where it's readed?
For example in glColor3f there is identifier: X_GLrop_Color3fv. I grep whole DRI source and can't find where it's used. So how stream decoder knows which opcode is it?
The opcode is used to index into an array of function pointers, rather than using a giant switch statement.
I was browsing documentation on dri.sf.net, but I am unable to find answer for
my question: "which functions in hardware driver (like lib/GL/mesa/src/drv/r200) are called
for given GL call?".
That's difficult to answer. There isn't a strict 1-to-1 correspondence between GL API functions and device driver functions.
-Brian
------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
