I just made the switch from WinXP to Linux (Slackware), and I'm really enjoying it. Anyway, when I first tried Lazarus in win32, I translated a Delphi OpenGL example app I wrote. It worked beautifully. Now I am running Lazarus on Linux and I'm trying to translate the code so that it will work on Linux.
Anyway, in my OpenGL example program in win32, I do my OpenGL drawing on a TPanel. I can retrieve the DC by using GetDC(Panel1.Handle), and then create an opengl context, and go from there. But it seems in Linux what I need to do is grab a PDisplay and a GLXDrawable. How do I get these from a TPanel in Lazarus?
My main goal would be to write a simple OpenGL component for Lazarus.