View Single Post
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#141
Originally Posted by Mitrandir View Post
Spent two days (evenings) implementing per-op rotation. Result: it doesn't give any performance advantage. I'm not sure why: whether my code is very dirty and unoptimized, doing tens of matrix multiplications per frame or there some other reason.
But that's it.
Do you render text one character at a time or full line? You could special case each orientation (no on-the-fly transformations) in each widget and pre-rotate textures.

I think the rotation buffer would be faster and have cleaner code than individual widget transformation, unless you special case them. In normal orientation the buffer isn't rotated and would be faster than widget code that can do transformations, even if special cased, right?
 

The Following 2 Users Say Thank You to auouymous For This Useful Post: