Converted ShaderProgram to work with GLObjectContext.