[Lazarus] OpenGL conversion

Juha Manninen juha.manninen62 at gmail.com
Mon Feb 14 06:51:35 CET 2011


Reimar Grabowski kirjoitti maanantai 14 helmikuu 2011 05:44:18:
> For OpenGL calls no conversion should be needed. GL works the same
> independent of language/OS (except context handling and some OS-specific
> extensions WGL_*, GLX_*, etc.). OpenGL is just a bunch of commands which
> go directly to the graphics driver.
> 
> > I would try to automate it with Delphi converter but I don't know much
> > about graphics programming myself.
> 
> Just go ahead. If you have any problems ask again. I know a thing or two
> about OpenGL and graphics programming in general.

DeleD has types and functions defined only on Windows.
At least types:
 HGLRC
 PixelFormatDescriptor

and functions:
 wglMakeCurrent
 wglDeleteContext
 wglCreateContext
 wglUseFontBitmaps
 wglUseFontOutlines
 SwapBuffers
 ZeroMemory
 ChoosePixelFormat
 SetPixelFormat
 ActivateRenderingContext

There are more...

Juha




More information about the Lazarus mailing list