added double buffering with internal resolution of 1920x1080