Gralloc implementation for raspberrypi