lima: move format handling to unified place
authorQiang Yu <yuq825@gmail.com>
Sat, 17 Aug 2019 08:40:49 +0000 (16:40 +0800)
committerQiang Yu <yuq825@gmail.com>
Sun, 25 Aug 2019 03:52:29 +0000 (11:52 +0800)
commit5ff41b9fc5ed2298b70772666573ad47418d12fd
tree79eabc150a4d5e00d2d24cd50479d28592f9c892
parentfe0ec41c4d36fd5a82e7579d89e34cce7423c4e5
lima: move format handling to unified place

Create a unified table to handle pipe format to texture
and render target format lookup.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/Android.mk
src/gallium/drivers/lima/lima_draw.c
src/gallium/drivers/lima/lima_format.c [new file with mode: 0644]
src/gallium/drivers/lima/lima_format.h [new file with mode: 0644]
src/gallium/drivers/lima/lima_screen.c
src/gallium/drivers/lima/lima_texture.c
src/gallium/drivers/lima/lima_texture.h
src/gallium/drivers/lima/meson.build