Patched gralloc