[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [news] Mesa and 2 gtkglarea / Overlay



>After some tests with Damien Sauveron, we found that there is a bug with
>old versions of MesaGL: Mesa is not able to deal with two gtkglarea in
>the same window. You are only allowed to draw in the last glarea, even
>if you can clear and change the background color in the first one !
>
>However, everything seems to be ok with new Mesa release 3.1.

I don't think this is correct, I use Mesa 3.0, I just modified my code 
to use two different Gl_areas in each window, and they work just fine, 
I can scale, rotate, move objects in one area, then I move my mouse 
to the second area and I scale, rotate, move the objects in that area only. 

I would be quite surprised if the results of my tests were different,
because my app supports as many windows as the user wishes, and
each window has a large gl_area. So, if I now open two windows, I have
four gl_areas and they work just fine. I really suspect that some
basic mistake is occurring, like for example the same gl_area address
is given to both callback functions, so only the last one is effectively
recorded.

Carlos Pereira



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]