On Mon, Mar 21, 2011 at 21:04, Mattias Gaertner <[email protected]> wrote: > On Mon, 21 Mar 2011 11:25:12 +0100 (CET) > [email protected] wrote: > > Why? > AFAIK in cgi you can not use the hardware acceleration.
Because color manupulation in 16-bit depth may be slower than in 8-bit, and because even withouh acceleration, OS drawing functions may be much better optimized then FPPCanvas ones. > Since you are the second to blame the LCL, let's try the most simple gtk > program: ... > gtk_init(nil, nil); Well, of course. The question is -- should LCL call gtk_init even if no gtk functions are called? Maybe initializing gtk_pixbuf would be enough for TBitmap? >> Well, I suppose a 'simplified' color handling could be introduced in fpImage. > > TColor does not support alpha. > And TColor has some VCL/LCL specific special colors. > I don't see the point integrating that into fpimage. It would avoid ugly workarounds like the one I am writing for TAChart now. Anyway, this is not a huge problem -- just some code duplication. -- Alexander S. Klenin -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
