Implement CPU rendering. Replace texture sharing with native OS surface sharing.