Also use memcpy to copy the constats. These two things might shave of some cycles but the measureable performance benefit is marginal. v2: Avoid the memcpy that ralloc does when increasing the size, the data is overwritten anyway. Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>macos/master
parent
3cb469599e
commit
c1b6c98589
Loading…
Reference in new issue