[Lazarus] TOpenGLControl: multisampling not working (Linux/GLX)

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Feb 26 19:42:32 CET 2013


On Tue, 26 Feb 2013 19:10:53 +0100
Reimar Grabowski <reimgrab at web.de> wrote:

> On Tue, 26 Feb 2013 16:53:25 +0100
> Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
> 
> > A quick look at the gtkglext-1.2.0 sources didn't reveal anything
> > special about multisampling.
> It is very possible that no 'special' support is needed.
> 
> > The first noticeable thing of gtkglext code is the special color map.
> This could be the difference as multisampling in GLX is handled the same as for example alpha bits or color bits.

The color map functions are in gdk/x11/gdkglconfig-x11.c. The C
looks simple, but I guess it needs some time to understand all the X
calls and flags.

 
> > And the last release of gtkglext is 1.2.0 from 2006.
> It is not part of GTK and OpenGL context creation never was unlike for example QT where the OpenGL widget is a first class citizen. 

There is still no opengl widget for LCL QT. AFAIK it requires a
QT expert.

> AFAIR GLX 1.3 was released around 1998.


Mattias




More information about the Lazarus mailing list