diff options
author | Tomasz Figa <[email protected]> | 2016-08-02 20:07:53 +0900 |
---|---|---|
committer | Chad Versace <[email protected]> | 2016-08-08 11:40:41 -0700 |
commit | 7dfb1a4074328bcdff4b407b8f44be538180791d (patch) | |
tree | 89d2383e76524208582d095b20c138b90afa6990 /src/egl/drivers/haiku | |
parent | e77b4933907106238c7872cb74d0ba0b5246aee6 (diff) |
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 <[email protected]>
Tested-by: Rob Herring <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Change-Id: I4674000fb5ccfd02e38b8fa89bc567ac1d4fc16b
Diffstat (limited to 'src/egl/drivers/haiku')
0 files changed, 0 insertions, 0 deletions