[Mono-dev] winforms , libgdiplus and cairo-gl

Michael Grunditz micken at mickenware.se
Sun Jan 26 12:19:59 UTC 2014


26 jan 2014 kl. 11:31 skrev Michael Grunditz <micken at mickenware.se>:

> Hi
> 
> I have spent this weekend working on getting libgdiplus and winforms with a cairo-gl (linux) backend.
> Many things was easy to change and I have a forms gui up and running.
> 
> However , when I tried a drop down menu things got complicated (see pics below). I 
> think that this points to som fill routines but I am not sure. Is there someone on this
> list who knows the complete chain from drop down menu to gdiplus?
> 
> http://www.update.uu.se/~micken/forms_gl1.jpg
> 
> http://www.update.uu.se/~micken/forms_gl2.jpg
> 
> http://www.update.uu.se/~micken/forms_gl3.jpg
> 
> Br
> 
> Michael Grunditz

Update. I found the real problem. When areas are being exposed gdiplus only redraws (filling) the part that was exposed. So , when I do swapbuffers it redraws the  non complete cairo surface.

It seems like the happens only in special fill cases. For example buttons are never ”damaged”.

Michael

Please CC me in your replies , my google mail doesn’t like mailing lists.


More information about the Mono-devel-list mailing list