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 yo

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 chang

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 > 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 glu

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-20 Thread Reimar Grabowski
On Mon, 20 Dec 2010 15:50:52 +0100 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 platforms/targets. So if new p

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 Henry Vermaak
On 20 December 2010 14:57, Vincent Snijders wrote: > 2010/12/20  : >>> 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

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-20 Thread Vincent Snijders
2010/12/20 : >> 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 > availab

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 of

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 th

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 bac

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 it

[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 solution