use fourcc_code instead of WL_DRM_FORMAT

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
put drm code in drm-module.c

Signed-off-by: Adrian Negreanu <groleo@gmail.com>
be able to pipe from file

now there're checks against null window,
source read failures

Signed-off-by: Adrian Negreanu <groleo@gmail.com>
WIP: add gralloc support

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