We use the following call to glViewport when setting the viewport as the lower right quarter of the device window.
glViewport(0.5*deviceWindowWidth,
0.0*deviceWindowHeight,
0.25*deviceWindowWidth,
0.25*deviceWindowHeight);