refactored HDPI renderer