enable hardware acceleration on fragments