>
> > 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?

Yes, I see your point. I had the mind set that if no one implemented the entry
point NULL would be returned, although this would be friendly its not a
necessary feature.

John

Reply via email to