If this works also for Radeon and AMD graphics in general, then this is great!
On Sat, Mar 20, 2021 at 3:19 AM Fred van Stappen <fi...@hotmail.com> wrote: > I vote for this: > > fownerwidget.paint(bmp.canvas); > fownerwidget.paint(bmp.canvas); > bmp.paint(fcanvas,rect1); > > > > ------------------------------ > *De :* vasi vasi <funl...@gmail.com> > *Envoyé :* samedi 20 mars 2021 02:15 > *À :* General list for MSEide+MSEgui < > mseide-msegui-talk@lists.sourceforge.net> > *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ? > > This works best: > fownerwidget.paint(bmp.canvas); > fownerwidget.paint(bmp.canvas); > bmp.paint(fcanvas,rect1); > > On the other, smudges reappear. > > On Sat, Mar 20, 2021 at 3:09 AM Fred van Stappen <fi...@hotmail.com> > wrote: > > And doubling only one of the paint ?: > > this: > > fownerwidget.paint(bmp.canvas); > fownerwidget.paint(bmp.canvas); > bmp.paint(fcanvas,rect1); > > or this: > > fownerwidget.paint(bmp.canvas); > bmp.paint(fcanvas,rect1); > bmp.paint(fcanvas,rect1); > > > ------------------------------ > *De :* vasi vasi <funl...@gmail.com> > *Envoyé :* samedi 20 mars 2021 01:21 > *À :* General list for MSEide+MSEgui < > mseide-msegui-talk@lists.sourceforge.net> > *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ? > > It even works with double painting without the sleep(). frankly, I prefer > this, but depends also on Alexander... > > On Sat, Mar 20, 2021 at 2:18 AM vasi vasi <funl...@gmail.com> wrote: > > no, the smudges return. the previous solution works. > > On Sat, Mar 20, 2021 at 2:10 AM Fred van Stappen <fi...@hotmail.com> > wrote: > > Very-very last thing (I sleep already). > > Ok, repeat seems to fix the thing. > > But what without repeat but place a sleep(10) before paint, like this: > > ... > sleep(10); // sleep before paint > > fownerwidget.paint(bmp.canvas); > bmp.paint(fcanvas,rect1); > > // no repeat > ... > > Ok, I continue to sleep() too. > > Fre;D > > ------------------------------ > *De :* vasi vasi <funl...@gmail.com> > *Envoyé :* samedi 20 mars 2021 00:39 > *À :* General list for MSEide+MSEgui < > mseide-msegui-talk@lists.sourceforge.net> > *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ? > > Good night and thank you again! > > On Sat, Mar 20, 2021 at 1:39 AM Fred van Stappen <fi...@hotmail.com> > wrote: > > > we need Alexander's confirmation. > > Yes, I cross my fingers. > > Good night. > > Fre;D > > ------------------------------ > *De :* vasi vasi <funl...@gmail.com> > *Envoyé :* samedi 20 mars 2021 00:35 > *À :* General list for MSEide+MSEgui < > mseide-msegui-talk@lists.sourceforge.net> > *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ? > > I will try to tune that delay, meantime we need Alexander's confirmation. > I think the delay tune might depend also on him. > > On Sat, Mar 20, 2021 at 1:34 AM Fred van Stappen <fi...@hotmail.com> > wrote: > > Really ? > > So excellent news! > > Maybe you may try to decrease the sleep(x) to see how many time is needed. > Maybe only sleep(1) is enough. > > When you are ok, could you attach the msegui.pas with fixes on a post? > > Before to commit it, it would be better to test it deeply to see if there > is no lost of performence. > > Here on a i5, no difference. > > Thanks, it was a nice combat. > > Fre;D > > ------------------------------ > *De :* vasi vasi <funl...@gmail.com> > *Envoyé :* samedi 20 mars 2021 00:25 > *À :* General list for MSEide+MSEgui < > mseide-msegui-talk@lists.sourceforge.net> > *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ? > > This (see attachment) > [image: smudges_gone.png] > > > On Sat, Mar 20, 2021 at 1:22 AM Fred van Stappen <fi...@hotmail.com> > wrote: > > Huh, not sure to understand, what did I do, what fixes the things ? > > ------------------------------ > *De :* vasi vasi <funl...@gmail.com> > *Envoyé :* samedi 20 mars 2021 00:18 > *À :* General list for MSEide+MSEgui < > mseide-msegui-talk@lists.sourceforge.net> > *Objet :* Re: [MSEide-MSEgui-talk] Need or not needed domain for MSE ? > > You know what? > > YOU DID IT! NO SMUDGES HERE! > > If this fixes the problem also for Alexander then this is huge! > Thank you Fred for not giving up! Sleep well! > > On Sat, Mar 20, 2021 at 1:03 AM fredvs <fi...@hotmail.com> wrote: > > > Is msegui using BGRABitmap as foundation in drawing it's widgets? Because > if it is not, then I don't see the point... > > No, it was just a (bad) idea, I did try it but it gives much more problem, > better to stay with msebitmap. > > Hum, last thing before to sleep, if you repeat the paint in msegui.pas, > changing this at the same place that explained in previous post: > > ... > fownerwidget.paint(bmp.canvas); > bmp.paint(fcanvas,rect1); > > sleep(10); > > fownerwidget.paint(bmp.canvas); // repeat this > bmp.paint(fcanvas,rect1); // repeat this > > fcanvas.endpaint; > > ... > > > I don't have it installed. It is installed in Lazarus (again is not clear > > to me if Lazarus use it instead of gtk, qt, etc.) but I don't have it > > installed for msegui. > > It works perfectly with msegui, if you want I will explain how to use it > (but not now, I have to sleep). > > Fre;D > > > > -- > Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ > > > _______________________________________________ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > > > > -- > Vasi > _______________________________________________ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > > > > -- > Vasi > _______________________________________________ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > > > > -- > Vasi > _______________________________________________ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > > > > -- > Vasi > _______________________________________________ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > > > > -- > Vasi > > > > -- > Vasi > _______________________________________________ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > > > > -- > Vasi > _______________________________________________ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- Vasi
_______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk