WIP: add gralloc support

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>