Do you need dpi in your calculations really? As far as i know everything in computer graphics can be done with just pixels, where OpenGL is also directly plotting via graphics card. There is no real meaning to the term i can think of...