Added a hardware acceleration option.