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   |
 |
mirek
Messages: 14260 Registered: November 2005
|
Ultimate Member |
|
|
luoganda wrote on Tue, 22 January 2019 18:22i 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 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
|
|
|
Goto Forum:
Current Time: Tue Jun 03 00:35:33 CEST 2025
Total time taken to generate the page: 0.02839 seconds
|