From: Burkhard P. <pl...@ip...> - 2004-10-14 11:04:11
|
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. 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. But all OpenGL functions must be available directly. This also makes porting plugins to libvisual more easy. -- _____________________________ Dr.-Ing. Burkhard Plaum Institut fuer Plasmaforschung Pfaffenwaldring 31 70569 Stuttgart Tel.: +49 711 685-2187 Fax.: -3102 |