What are the values of iTilePointMinX and iTilePointMaxX?

In case you are using something like 0 to 255(x) x 0 to 255(y) it would decrease speed quite a bit. I'd recommend using an offset and only display those tiles that are visible on the screen.

Not sure if this is your problem though. If not, please give us some info more to work with...