Enable hardware acceleration for drawing line