Implement CPU rendering with native surfaces. Optimize reflow.