diff options
author | Daniel Hirt <hirt.danny@gmail.com> | 2017-09-04 19:16:27 +0300 |
---|---|---|
committer | Daniel Hirt <hirt.danny@gmail.com> | 2017-09-11 17:26:55 +0300 |
commit | ec1670c5f3d02cc9852453829e3743ecdca9502a (patch) | |
tree | 5f9f65b0c61edd03b96b475b4debeeb13fb3dabd /src/Makefile_Elementary.am | |
parent | 4a1829a65765b986438d27909493002a44d01529 (diff) | |
download | efl-ec1670c5f3d02cc9852453829e3743ecdca9502a.tar.gz |
Canvas text async: add async layout functionality
This adds Efl.Canvas.Text_Async with the 'async_layout' method.
The 'async layout' method is similar to 'size_formatted_get', but done
outside of the mainloop. When a call is made to this method, a thread
is created (after some preparation like updating the logical text
items), and the visual layout is offloaded to that thread.
Mainloop is blocked for operations that manipulate the object, if a
thread has already been created but hasn't complete its work.
Consecutive calls for async layout for the same object are not handled
simultaneously. Each time the threads has complete its work, the next
(if exists) layout will be dispatched.
@feature
Diffstat (limited to 'src/Makefile_Elementary.am')
0 files changed, 0 insertions, 0 deletions