Forum Discussion
TheEndless
15 years agoChannel Surfer
"kbenson" wrote:
P.S. I just realized I haven't tested whether there's a difference in delays with multiple images if they are overlapping or not. I guess I know what I'll be testing tonight...
I've actually done some testing with this myself, and found the difference to be negligible. I'm curious to see if you get the same results. I suspect you will, based on my other testing.
One test in particular that reveals a lot about how the canvas works, you may be interested in trying...
Draw a full screen image in one go and time it. Then draw the same image in three sections (to the same layer) with the appropriately different TargetRects and SourceRects, so you're essentially drawing the exact same data, from the exact same file, to the screen. I was surprised at the results.