egl/android: Make get_fourcc() accept HAL formats
egl/android: Make get_fourcc() accept HAL formats

There are DRI_IMAGE_FOURCC macros, for which there are no corresponding
DRI_IMAGE_FORMAT macros. To support such formats we need to make the
lookup function take the native format directly. As a side effect, it
simplifies all existing calls to this function, because they all called
get_format() first to convert from native to DRI_IMAGE_FORMAT.

Signed-off-by: Tomasz Figa <e928e8536d73fe98ff913c2a4249a3960d9cb959@chromium.org>
Tested-by: Rob Herring <7e09c9d3e96378bf549fc283fd6e1e5b7014cc33@kernel.org>
Reviewed-by: Chad Versace <c34c009102e60d77975598e1f414f8a701c22d0b@kiwitree.net>
Change-Id: I4674000fb5ccfd02e38b8fa89bc567ac1d4fc16b

metora/MesaGLSLCompiler,metora/MesaGLSLCompiler,metora/MesaGLSLCompiler