Optimized gfx.