gl: add upload function
gl: multiple textures. for plane count > 1