Re: [Libosmscout-development] GDI drawing Performance Under Windows
Library for OpenStreetMap offline rendering and routing
Status: Beta
Brought to you by:
tteuling
From: David H. R. <dav...@gm...> - 2022-01-11 21:38:59
|
Hello, pRender->m_pGraphics->ExcludeClip(cr.region); is the bottleneck of drawAreas. I think to make a good gdi render + movement application the view should be divided in small tiles and prefetching the boundaries while the main bitmap is showed so each movement could be prebufered and speed would be great. But this needs time that I don't have. On Tue, 11 Jan 2022 at 11:01, David Huelves Ramos <dav...@gm...> wrote: > Hello, > > After some improvements: > > DrawAreas (Clipping) is still getting too much time to render. At this > point I can't improve more as I don't know how clipping works. > > Regards > > > > > On Mon, 10 Jan 2022 at 08:47, David Huelves Ramos <dav...@gm...> > wrote: > >> BTW. >> >> Adding: >> >> case WM_ERASEBKGND: >> return TRUE; >> >> To: >> >> LRESULT MapPainterGDIWindow::WinMsgHandler(HWND hwnd, UINT uMsg, WPARAM >> wParam, LPARAM lParam) >> >> >> Flickering is avoided. >> >> >> >> >> On Mon, 10 Jan 2022 at 08:43, David Huelves Ramos < >> dav...@gm...> wrote: >> >>> Sorry, >>> >>> Don't understand the Invalidate(TRUE) statement.... as Invalidate is >>> already called with TRUE as parameter. >>> >>> [image: image.png] >>> >>> >>> >>> On Mon, 10 Jan 2022 at 07:39, Tim Teulings <ti...@fr...> wrote: >>> >>>> Hello David, >>>> >>>> > Thanks for your work. >>>> > >>>> > I'll check it out this week. >>>> > >>>> > What Should I do to get the modifications? >>>> My pull request has already been merged to master. >>>> >>>> You could see pending pull requests here: >>>> https://github.com/Framstag/libosmscout/pulls >>>> >>>> You can see past pull requests here (just dropping the is:open filter): >>>> https://github.com/Framstag/libosmscout/pulls?q=is%3Apr >>>> >>>> You can also see the diffs behind the pull requests also by following >>>> the links there. >>>> >>>> -- >>>> Gruß... >>>> Tim >>>> >>>> >>>> >>>> _______________________________________________ >>>> Libosmscout-development mailing list >>>> Lib...@li... >>>> https://lists.sourceforge.net/lists/listinfo/libosmscout-development >>>> >>> |