More sub texture support
Split the gl surface generation
More nine patch code