[Lazarus] GLScene flickers in GTK2 and TJpegImage error

Burkhard Carstens fpc at bcsoft.de
Thu Oct 16 21:05:56 CEST 2008


Am Donnerstag, 16. Oktober 2008 14:01 schrieb Paulo Malheiros:
> Hello,
>
> I installed the new release of Lazarus, great work by the way, but
> the GLScene components are not totally compatible, using SVN from
> http://svn.freepascal.org/svn/fpcprojects/glscene/trunk/ .
>
> On the Actor demo compiling gives an 'EConvertError' with the message
> "Cannot assign a TJpegImage to a TGLBitmap32". I've seen in previous
> discussions that Image formats have changed in Lazarus, any ideas on
> how to make the change in GLScene?

This should be fixed with glscene svn rev. 2262


> The other problem is using in GTK2, GLscene flickers horribly which
> didn't happened in 0.9.24 (can be checked with Volcano demo). What
> has changed in GTK2 for this to happen?

Did this work ok with a recent glscene svn version (> r2228) and laz 
0.9.24 ? I changed some things regarding rendering context creation 
device context handling in glscene in around r.2228 .. that could have 
caused it, too. I don't use gtk2 so I wouldn't have noticed ..

>
> I can try and fix this, just need some directions :-)

* try with svn r. 2227 (or any earlier version that worked for you) and 
current laz. 
* check Source/platform/gllclviewer.pas and Source/platform/
gllingtkcontext.pas if you find things to improve ...
* get in touch on freenode.net IRC #glscene channel

regards
 Burkhard




More information about the Lazarus mailing list