Lazarus

Programming => Graphics => Graphics and Multimedia => BGRABitmap and LazPaint => Topic started by: Lulu on June 24, 2022, 05:33:45 pm

Title: Problems with TBGLVirtualScreen on GTK2
Post by: Lulu on June 24, 2022, 05:33:45 pm
Hi, I work on a project that use TBGLVirtualScreen. The main windows have two TBGLVirtualScreen showing differents graphics at same time and the user can interact with the mouse.
All work fine on Windows, but  problems occurs when I try to port this application under Linux-GTK2: graphics blinks or becomes black, app freeze.

So I try Tux-Game demo in BGRABitmap package that use two TBGLVirtualScreen on same form. It compile and run well on windows, but on Linux, I have the same problems.
Since my machine is Windows 10 based, I use VirtualBox to test under Linux Ubuntu 20 and 22, widgetset GTK2. May be problems comes from the virtual machine...?

Does someone with a real Linux machine have tested tux_game in Bgrabitmap package ?

[EDIT] problems appears only when the second TBGLVirtualScreen is activated.
Title: Re: Problems with TBGLVirtualScreen on GTK2
Post by: winni on June 24, 2022, 09:48:12 pm

Does someone with a real Linux machine have tested tux_game in Bgrabitmap package ?


Hi!

No problems with Suse Tumbleweed, fpc 3.2.2 laz 2.2.2

Winni
Title: Re: Problems with TBGLVirtualScreen on GTK2
Post by: Lulu on June 25, 2022, 08:40:10 am
Thanks you Winni. Ok, I stay on the idea that this is the virtual machine that brings its package of problems.
Sorry for the noise about BGRABitmap !
TinyPortal © 2005-2018