lima: implement EGL_KHR_partial_update
authorQiang Yu <yuq825@gmail.com>
Sun, 30 Jun 2019 13:44:12 +0000 (21:44 +0800)
committerQiang Yu <yuq825@gmail.com>
Mon, 23 Sep 2019 01:48:15 +0000 (09:48 +0800)
commitafbaed906d7ba89467b177e768c36f29d6053ad0
tree2a7bfd5aa0f1cb3f34bf08f350feb4c3c4e487db
parent8278b236b05b2d2f04439e6bc12766315a95869b
lima: implement EGL_KHR_partial_update

This extension set a damage region for each
buffer swap which can be used to reduce buffer
reload cost by only feed damage region's tile
buffer address for PP.

Reviewed-and-Tested-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/lima_context.h
src/gallium/drivers/lima/lima_draw.c
src/gallium/drivers/lima/lima_resource.c
src/gallium/drivers/lima/lima_resource.h
src/gallium/drivers/lima/lima_state.c