Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Optimizing DrawImage across platforms
Re: MILESTONE: gtk3 replaces gtk2 as default linux backend [message #53700 is a reply to message #53691] Wed, 22 April 2020 17:57 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Tom1 wrote on Tue, 21 April 2020 19:25

I only wish Windows had something similar. As GDI in Windows 10 probably only lives virtually in a layer of software feeding the GPU, I'm getting a strong feeling that we should gradually start looking at Direct2D as it is the MS recommended 2D graphics solution for new applications.


Yes.. Already started "looking". But need to realease first.
Re: MILESTONE: gtk3 replaces gtk2 as default linux backend [message #53722 is a reply to message #53699] Fri, 24 April 2020 17:19 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
LineTracker is nice, will probably merge it for the next release.
Re: MILESTONE: gtk3 replaces gtk2 as default linux backend [message #53730 is a reply to message #53722] Fri, 24 April 2020 22:43 Go to previous messageGo to next message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
mirek wrote on Fri, 24 April 2020 18:19
LineTracker is nice, will probably merge it for the next release.

Hi,

Good to hear that, thanks. Meanwhile, let's give it some time to mature. I will re-post it when it has been stable for some weeks while I'm developing it's surroundings. Please remind me if I forget about it...

Best regards,

Tom
Re: MILESTONE: gtk3 replaces gtk2 as default linux backend [message #53734 is a reply to message #53730] Sat, 25 April 2020 15:58 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
BTW, I have just checked situation on MacOS. Current draw path is drawing 4K image in 2.5ms, so I think it is good SW implementation...

EDIT: It is more complicated. It looks like it might be HW accelerated after all...

[Updated on: Sat, 25 April 2020 16:22]

Report message to a moderator

Re: MILESTONE: gtk3 replaces gtk2 as default linux backend [message #53741 is a reply to message #53734] Sun, 26 April 2020 11:49 Go to previous messageGo to next message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi Mirek,

Sounds interesting -- despite I do not have a Mac. Just for reference, is this 2.5 ms the same for opaque and alpha images? And which Mac model did you test with?

Best regards,

Tom
Re: MILESTONE: gtk3 replaces gtk2 as default linux backend [message #53754 is a reply to message #53741] Tue, 28 April 2020 09:30 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Tom1 wrote on Sun, 26 April 2020 11:49
Hi Mirek,

Sounds interesting -- despite I do not have a Mac. Just for reference, is this 2.5 ms the same for opaque and alpha images? And which Mac model did you test with?

Best regards,

Tom


Actually, it is is in microseconds range, just like X11, but it is all complicated, some results are now great, but sometimes it gets very slow, needs more investigation.

Mirek
Re: MILESTONE: gtk3 replaces gtk2 as default linux backend [message #53888 is a reply to message #53754] Tue, 12 May 2020 15:35 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I have made some changes to RectTracker:

- Fixed the behaviour when there are some widgets in the view area
- Added TrackLine for free line endpoint tracking
- Optimized Refreshing. This probably might break some code using RectTracker as base, it might need to override RefreshRect method.

Mirek
Re: MILESTONE: gtk3 replaces gtk2 as default linux backend [message #53889 is a reply to message #53888] Wed, 13 May 2020 09:44 Go to previous message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi Mirek,

Thanks! It works just fine. Smile

Best regards,

Tom
Previous Topic: Rapsberry PI - cpu dilemma
Next Topic: U++ on Telegram
Goto Forum:
  


Current Time: Thu Mar 28 16:52:36 CET 2024

Total time taken to generate the page: 0.00911 seconds