HomePhabricator

evas/render: size and draw proxy render surface based on proxy clipper

Authored by zmike on May 10 2019, 11:14 AM.

Description

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