After profiling the performance, we can find that the triangulation
is the bottleneck of performance in the OpenVG library.
Triangulation containsmany graphic computation tasks, i.e. computing
the coordinates of vertices and splitting the whole graph tomany
triangle shapes. Therefore, optimizing the triangulation process is
the most important problem in the vector graphic library. To solve
the problem, we propose a two-stage optimization flow shown in
the rest of this section.