Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-20 Thread Michael Van Canneyt
On Sun, 19 Dec 2010, Darius Blaszyk wrote: On Sun, 2010-12-19 at 19:15 +0100, Michael Van Canneyt wrote: On Sun, 19 Dec 2010, Darius Blaszyk wrote: Today after tinkering a few hours I managed to get an fpGui hello world app running with OpenGL and GLut as back-end. It seemed even easier

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-20 Thread dhkblaszyk
But why is it not possible to integrate this with the regular fpGUI ? Can you explain in a couple of sentences ? Can't remember having said that it was impossible with the current approach. In fact it is perfectly doable. However (free)glut and opengl are already available on a large number

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-20 Thread Vincent Snijders
2010/12/20 dhkblas...@zeelandnet.nl: But why is it not possible to integrate this with the regular fpGUI ? Can you explain in a couple of sentences ? Can't remember having said that it was impossible with the current approach. In fact it is perfectly doable. However (free)glut and opengl are

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-20 Thread Henry Vermaak
On 20 December 2010 14:57, Vincent Snijders vincent.snijd...@gmail.com wrote: 2010/12/20  dhkblas...@zeelandnet.nl: But why is it not possible to integrate this with the regular fpGUI ? Can you explain in a couple of sentences ? Can't remember having said that it was impossible with the

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-20 Thread Jonas Maebe
On 20 Dec 2010, at 16:15, Henry Vermaak wrote: I'm sure Graeme would be very interested to provide guidance, too. Is he still subscribed to this list? No, he unsubscribed himself. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-20 Thread Reimar Grabowski
On Mon, 20 Dec 2010 15:50:52 +0100 dhkblas...@zeelandnet.nl wrote: But why is it not possible to integrate this with the regular fpGUI ? Can you explain in a couple of sentences ? Thats not all however, there are minusses. By using glut, you limit yourself to the supported

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-20 Thread Darius Blaszyk
On Mon, 2010-12-20 at 16:47 +0100, Reimar Grabowski wrote: On Mon, 20 Dec 2010 15:50:52 +0100 dhkblas...@zeelandnet.nl wrote: But why is it not possible to integrate this with the regular fpGUI ? Can you explain in a couple of sentences ? Thats not all however, there are minusses.

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-20 Thread Darius Blaszyk
The above explains why it is useful for an application developer to use an openGL backend. It does not explain the following: Since fpGUI already has two backends (afaik, X and winap), why can't openGL a third one? Did you change the way fpGUI interfaces with its backend? Is this change so

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-20 Thread Darius Blaszyk
On Mon, 2010-12-20 at 18:58 +0100, Darius Blaszyk wrote: The above explains why it is useful for an application developer to use an openGL backend. It does not explain the following: Since fpGUI already has two backends (afaik, X and winap), why can't openGL a third one? Did you

[fpc-pascal] fpGUI powered by OpenGL

2010-12-19 Thread Darius Blaszyk
Today after tinkering a few hours I managed to get an fpGui hello world app running with OpenGL and GLut as back-end. It seemed even easier than anticipated to switch the back-end. I'm happy to share code, although due to implementation differences it will never be possible to have a clean

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-19 Thread Michael Van Canneyt
On Sun, 19 Dec 2010, Darius Blaszyk wrote: Today after tinkering a few hours I managed to get an fpGui hello world app running with OpenGL and GLut as back-end. It seemed even easier than anticipated to switch the back-end. I'm happy to share code, although due to implementation differences

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-19 Thread Darius Blaszyk
On Sun, 2010-12-19 at 19:15 +0100, Michael Van Canneyt wrote: On Sun, 19 Dec 2010, Darius Blaszyk wrote: Today after tinkering a few hours I managed to get an fpGui hello world app running with OpenGL and GLut as back-end. It seemed even easier than anticipated to switch the back-end.