refactor(openGLTexture): Refactor some codes into functions because it's used several times
refactor(openGLTexture): Refactor some codes into functions because it's used several times

Kitware/vtk-js,Kitware/vtk-js,Kitware/vtk-js,Kitware/vtk-js