Re: Example: effective rendering
Posted: Mon May 18, 2009 2:09 pm
I had no noticeable difference using either versions.
IMO its still a good idea to not calculate drawing for things outside the screen. In the textfield in LoveUI, for example, after typing alot of text you'd notice frame rate drop, even though set scissor is used. I suspect its the calculations done by SDL involved when drawing such a large string; it'd be more efficient if I only drew strings that I know are in display.
IMO its still a good idea to not calculate drawing for things outside the screen. In the textfield in LoveUI, for example, after typing alot of text you'd notice frame rate drop, even though set scissor is used. I suspect its the calculations done by SDL involved when drawing such a large string; it'd be more efficient if I only drew strings that I know are in display.