From: Andrew R. <and...@uc...> - 2001-02-25 13:34:06
|
Dear All, Ive just come over from the DRI devel list. I've been looking at providing an SMP dispatch layer to Mesa to provide a means by which even if a client is not multithreaded you can still get the whole process running ~2 as fast. I have'nt got the concentration to enumerate exactly how it works as ive been up ~all~ night coding. :) Anyway I need some way to hook a set of dummy functions into mesa so that the client thinks the real openGL routine has been called without breaking the ABI (that I assume exists in Mesa). I can quite happily using the _mesa_<function-name> and _tnl_<function-name> but they don't cover the whole API. I need to know where the other functions are. If anyone has a better idea of how to hook a set of routines info mesa without breaking the ABI I would like to know. I know that you have some sort of override layer thing. How does that work? Does it alow me to get my routines called without knackering the ABI, but does mesa then call the original layer or is that my responibility? If anyone can tell me I would be greatful. Thanks Andy -- \\\|/// \\ - - // ( @ @ ) +---------------o00o----(_)----o00o-------------------------------------+ |Andy Richardson Dept. of Chemistry | |t(w): +44-20-7679 (4718) University college London | |f(w): +44-20-7679 (4560) Gordon street | |e: and...@uc... London WC1E 6BT UK | +------------------------------0ooo-------------------------------------+ ooo0 ( ) ( ) ) / \ ( (_/ \_) |