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 » U++ Library support » U++ Widgets - General questions or Mixed problems » ScrollView - a question - maybe proposal..
Re: ScrollView - a question - maybe proposal.. [message #51096 is a reply to message #51095] Tue, 22 January 2019 19:38 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
luoganda wrote on Tue, 22 January 2019 18:22
i didn't take measure for:
readrawing whole area vs just scrolling and drawing the rest, which is ideal for plotting software, but:


[list type=circle]
[*] simple optimized BitBlt for scrolling will be probably always faster that drawing fragmented old 's' patterned pixels along y axis
[*] BitBlt is probably 2D hardware optimized func - even on most hardware, i don't know if this is true, but probably, i am not sure for SetPixel - although i don't know the workings itself in upp, how this is done. So this "point" may not apply here for optimizations.


There is no "2D hardware" remaining Smile All is GPU today.

That said, you might be right it is faster, but really hard to say. With scrolling you often need to clip a lot of things anyway.

Would nice if you had a chance to benchmark...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: no resources | There were errors
Next Topic: cc1plus.exe: out of memory allocating 65536 bytes
Goto Forum:
  


Current Time: Tue Jun 03 00:35:33 CEST 2025

Total time taken to generate the page: 0.02839 seconds