DF-1933. Low level OpenGL code moved to RenderHelper