[fpc-pascal] Performance problems with Image Conversions

2013-02-23 Thread Andrew Brunner
Hi guys, I just finished (a beta) of a collage app for Aurawin. I'm seeing a huge load on my servers when scaling images using the Image factory classes for JPEG, and PNG. Prefix: 6 Core AMD 64 32GB RAM Ubuntu 12.10 x64 8 Core AMD 64 32GB RAM Ubuntu 12.10 x64 FPC/Lazarus daily svn/trunk Ove

Re: [fpc-pascal] dglOpenGL <-> GL, GLu, GLExt

2013-02-23 Thread Reimar Grabowski
On Sat, 23 Feb 2013 15:20:12 +0100 Sven Barth wrote: Just a little addition: > In unit GLext you have functions like Load_GL_version_1_3 which will > load all core functions provided in OpenGL 1.3 and lower. So Load_GL_version_2_0 will call Load_GL_version_1_5 which will call Load_GL_Version_

Re: [fpc-pascal] TProcess InheritHandles has no effect

2013-02-23 Thread Luca Olivetti
Al 26/05/11 13:14, En/na Luca Olivetti ha escrit: > According to the documentation InheritHandles only works in windows. > However the windows implementation of TProcess.Execute has in the first > line > > FInheritHandles:=true > > so it doesn't work even under windows. > > fpc 2.4.2, but I chec

Re: [fpc-pascal] dglOpenGL <-> GL, GLu, GLExtt

2013-02-23 Thread Marco van de Voort
In our previous episode, Juha Manninen said: > > I didn't quite understand what is load. A function loadgl4.1 or loadglext4.1 or so. There was one for each version in glext to preload certain extensions (which afaik you can only load if you have created a proper context) > My experiments advanc

Re: [fpc-pascal] dglOpenGL <-> GL, GLu, GLExt

2013-02-23 Thread Sven Barth
On 23.02.2013 14:45, Juha Manninen wrote: On Sun, Feb 17, 2013 at 11:12 PM, Marco van de Voort wrote: Q: how am I supposed to initialize OpenGL when using units provided by FPC? The unit does it at startup. That has as disadvantage that the filename can't be changed (or at least that first tr

Re: [fpc-pascal] dglOpenGL <-> GL, GLu, GLExt

2013-02-23 Thread Juha Manninen
On Sun, Feb 17, 2013 at 11:12 PM, Marco van de Voort wrote: >> Q: how am I supposed to initialize OpenGL when using units provided by FPC? > > The unit does it at startup. That has as disadvantage that the filename > can't be changed (or at least that first try can't be avoided). > > After that, y