thorvg/src
Hermet Park c8bc0a91d9 sw_engine: applied async rasterizing based on task scheduler.
Now, we have 2 points for asynchronous behaviors.

1. update shapes:

Each shape update will be performed by async when you push shape to canvas.
Meaning, if you have time gap between update and rendering in process main-loop,
you can have a benefit by this.

2. rasterization by canvas:

Canvas.draw() will be performed asynchnously until you call canvas.sync();
Meaing, if you can trigger tvg rendering eariler than composition time.
You can have a benefit by this.

If these 1, 2 points might not work for your program,
You can just toggle off async by setting threads number zero at initialization.

Or if you could apply either point of them for your program,
It might be good for performance.

But the best approach is to make both async properly.
Though this might need to fine-grained tuning integration between your program & tvg,
You could achieve the best peformance by parallelzing tasks as possible without any jobs delaying.

Change-Id: I04f9a61ebb426fd897624f5b24c83841737e6b5b
2020-08-26 16:56:54 +09:00
..
bindings common taskscheduler: revise functionalities. 2020-08-21 12:26:57 +09:00
examples replace license from Apache 2.0 to MIT 2020-08-13 16:53:38 +09:00
lib sw_engine: applied async rasterizing based on task scheduler. 2020-08-26 16:56:54 +09:00
loaders svg_loader: applied asynchronous threads tasks for optimal performance. 2020-08-25 16:08:33 +09:00
meson.build meson: added compiler flags to optimize binary size 2020-08-24 19:50:04 +09:00