[Mono-dev] winforms , libgdiplus and cairo-gl
Michael Grunditz
micken at mickenware.se
Thu Feb 6 07:16:01 UTC 2014
26 jan 2014 kl. 13:19 skrev Michael Grunditz <micken at mickenware.se>:
>
> 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.
Hi again, update
The backend works now , but are very slow. I haven’t got around the need for swap buffers every time the gui changes. I have recommended my customer to migrate to Gtk# instead.
Michael
More information about the Mono-devel-list
mailing list