Change encode textureview to surface