efl gfx_path: introduce efl_gfx_path_reserve() 60/195560/2
authorHermet Park <hermetpark@gmail.com>
Fri, 14 Dec 2018 08:26:38 +0000 (17:26 +0900)
committerHermet Park <hermetpark@gmail.com>
Fri, 14 Dec 2018 08:36:20 +0000 (17:36 +0900)
commitd2a192b16ac1702eee0df39563e1464305ff1c86
tree62af25672e17836a3b3539f1945cbac440fc4593
parent6e9ad56e38feb4825eff9d18bc08ceb36fe0951f
efl gfx_path: introduce efl_gfx_path_reserve()

Summary:
This method reserves path commands buffer in advance.
If user know the count of path commands coming,
they can reserve commands buffer in advance to avoid buffer growing job.

This reserved buffer would grow up by double size, if the buffer is full.

@feature

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7456

Change-Id: If6cff3783280aa670c96049a156eb39a8d7c6b0b
src/lib/efl/interfaces/efl_gfx_path.c
src/lib/efl/interfaces/efl_gfx_path.eo