Great link: http://www.khronos.org/webgl/wiki/HandlingHighDPI