John Dennis wrote:
> 
> > So why would any context need to be bound in order to call GetProcAddress?
> > The implementation of GetProcAddress in this case is fairly trivial ...
> 
> You are making the assumption the API knows about every driver (e.g. type of
> context) that could be created. For that to be the case the API would have to
> search for and load every driver when a process binds to OpenGL, that's pretty
> heavy weight. It would be easier and faster if the driver just registers its
> capabilities when it gets loaded. The API cannot know apriori about every
> possible extention entry point that might get exported so it has to get this
> information from the "drivers".

Say a user calls GetProcAddress("glQuantumVertex9fvEXT").  All the information
necessary for the API to return a context-independent function pointer already
exists, independent of whether a driver that supports "glQuantumVertex9fvEXT"
has been loaded (or even if one exists!).  What information does GetProcAddress
need from the driver?

Cheers!
-- 
Brett Johnson <[EMAIL PROTECTED]>
Workstation Systems Lab
Hewlett-Packard Company

"Politicians, like diapers, should be changed regularly,
 and for the same reason."

Reply via email to