evas/render: size and draw proxy render surface based on proxy clipper
authorMike Blumenkrantz <zmike@samsung.com>
Fri, 10 May 2019 18:14:49 +0000 (14:14 -0400)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 12 Aug 2019 07:35:38 +0000 (16:35 +0900)
commite5f4acd702e860988409d3d2a89e752366abe9dd
tree41f1ec2c160cf8606a0d2a3baa28cfeaf0b719f9
parent0c81414d18f9880d94398977cbf24859c6eacd80
evas/render: size and draw proxy render surface based on proxy clipper

if a proxy is not being proxied, it's optimal to create a surface for only
the necessary dimensions and then only draw within those dimensions.

when a proxy is clipped to a size smaller than the proxy object, the required
size for the proxy render becomes smaller as the proxy has less visible area.
this enables us to draw only the clipped region and thus gives a performance
boost

this can only be enabled if the clipper is marked as static

Reviewed-by: Hermet Park <hermetpark@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8881
src/lib/evas/canvas/evas_render.c