lima: don't use damage system when full damage
authorQiang Yu <yuq825@gmail.com>
Sun, 25 Aug 2019 09:24:26 +0000 (17:24 +0800)
committerQiang Yu <yuq825@gmail.com>
Mon, 23 Sep 2019 01:48:50 +0000 (09:48 +0800)
commit4ed569eed771a1b70b485430c8b595d817232b1c
tree1089f5acc80baf34a14f922d15cad6d7135db4fd
parentafbaed906d7ba89467b177e768c36f29d6053ad0
lima: don't use damage system when full damage

Some time weston set full damage region. It is
more effient to use the cached pp stream instead
of dynamically create one.

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