DrawImage?
I was drawing some rectangles in my game and realised that the FPS was suffering badly and when I replaced them with pre-made images that I loaded in, it was considerably faster. I gained a large amount of FPS well worth making the change.
Similarly I was drawing some small lines (8 pairs), which were impacting the FPS a lot. I replaced them with a 2 pixel tall image which I drew 8 times and it was hugely faster.
Using DX on Vista on a slightly crappy 256MB video card.
I was drawing some rectangles in my game and realised that the FPS was suffering badly and when I replaced them with pre-made images that I loaded in, it was considerably faster. I gained a large amount of FPS well worth making the change.
Similarly I was drawing some small lines (8 pairs), which were impacting the FPS a lot. I replaced them with a 2 pixel tall image which I drew 8 times and it was hugely faster.
Using DX on Vista on a slightly crappy 256MB video card.