From: Vitaly V. B. <vit...@us...> - 2004-10-14 12:35:51
|
On Thu, 14 Oct 2004 13:07:57 +0200 Burkhard Plaum <pl...@ip...> wrote: > Dennis Smit wrote: > > I don't think wrapping ALL gl calls is a good idea, however, it might > > be good to have some functions within lvdisplay to request glxcontext, > > pbuffers and the such, or rather make it possible to access the GLX > > stuff. > > I agree with Dennis. > Something like glxMakeCurrent MUST be wrapped, because it looks different, > on systems, which don't have GLX. Making plugins depend on GLX restricts > their usage to X11. Agree, they will be (alreary are) wrapped with context_create(), context_delete(), context_activate. > Other systems MUST have something analogous then, because OpenGL doesn't > know about windows, so some glue lib between Window system <-> OpenGL > is always needed. Even more. Non gl render targets can have contexts also. -- Vitaly GPG Key ID: F95A23B9 |