Small refactoring related to getting platform texture name.
Implemented fps display for performance testing.