[Mesa-dev] [PATCH v2 5/7] egl/android: Make get_fourcc() accept HAL formats

Rob Herring robh at kernel.org
Tue Aug 2 19:43:47 UTC 2016


On Tue, Aug 2, 2016 at 6:07 AM, Tomasz Figa <tfiga at chromium.org> wrote:
> 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 <tfiga at chromium.org>

Tested-by: Rob Herring <robh at kernel.org>


More information about the mesa-dev mailing list