Add profiling.
Only create texture once.