Enable hardware acceleration.