Re: [Mono-dev] winforms , libgdiplus and cairo-gl
26 jan 2014 kl. 13:19 skrev Michael Grunditz : > > 26 jan 2014 kl. 11:31 skrev Michael Grunditz : > >> 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 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] winforms , libgdiplus and cairo-gl
26 jan 2014 kl. 11:31 skrev Michael Grunditz : > 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. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] winforms , libgdiplus and cairo-gl
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 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list