Using hardware acceleration (dma2d) for rendering