Moved thread control functionality into a separate folder & added threading mode... 95/50195/14
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 29 Oct 2015 10:23:44 +0000 (10:23 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 4 Nov 2015 11:23:15 +0000 (11:23 +0000)
commit6acebca1162705c4a5eabc8b1faa7668112fabd1
tree94f089654c125719cab401efc720d1f39adbc54d
parent5c323d6b4a685b8ea6d8d2b842a5f4941adbd993
Moved thread control functionality into a separate folder & added threading mode environment variable

Use DALI_THREADING_MODE to control which threading mode to use:
 - 0: SeparateUpdateRender: Event, VSync, Update & Render ALL on separate threads.
 - 1: SingleThreaded: ALL functionality on the SAME thread.
 - 2: CombinedUpdateRender: Three threads: Event, VSync & Combined Update/Render

Only Mode 0 supported in this patch, modes 1 & 2 activated in later patches.

Change-Id: Ib45e7f5305ae56e9bd79def81a61503998e34824
36 files changed:
adaptors/base/environment-options.cpp
adaptors/base/environment-options.h
adaptors/base/environment-variables.h
adaptors/base/file.list
adaptors/base/frame-time.cpp [deleted file]
adaptors/base/frame-time.h [deleted file]
adaptors/base/render-request.cpp [deleted file]
adaptors/base/render-request.h [deleted file]
adaptors/base/render-thread.cpp [deleted file]
adaptors/base/render-thread.h [deleted file]
adaptors/base/separate-update-render/frame-time.cpp [new file with mode: 0644]
adaptors/base/separate-update-render/frame-time.h [new file with mode: 0644]
adaptors/base/separate-update-render/render-request.cpp [new file with mode: 0644]
adaptors/base/separate-update-render/render-request.h [new file with mode: 0644]
adaptors/base/separate-update-render/render-thread.cpp [new file with mode: 0644]
adaptors/base/separate-update-render/render-thread.h [new file with mode: 0644]
adaptors/base/separate-update-render/separate-update-render-controller.cpp [new file with mode: 0644]
adaptors/base/separate-update-render/separate-update-render-controller.h [new file with mode: 0644]
adaptors/base/separate-update-render/thread-synchronization-debug.h [new file with mode: 0644]
adaptors/base/separate-update-render/thread-synchronization.cpp [new file with mode: 0644]
adaptors/base/separate-update-render/thread-synchronization.h [new file with mode: 0644]
adaptors/base/separate-update-render/update-thread.cpp [new file with mode: 0644]
adaptors/base/separate-update-render/update-thread.h [new file with mode: 0644]
adaptors/base/separate-update-render/vsync-notifier.cpp [new file with mode: 0644]
adaptors/base/separate-update-render/vsync-notifier.h [new file with mode: 0644]
adaptors/base/thread-controller-interface.h [new file with mode: 0644]
adaptors/base/thread-controller.cpp
adaptors/base/thread-controller.h
adaptors/base/thread-synchronization-debug.h [deleted file]
adaptors/base/thread-synchronization.cpp [deleted file]
adaptors/base/thread-synchronization.h [deleted file]
adaptors/base/threading-mode.h [new file with mode: 0644]
adaptors/base/update-thread.cpp [deleted file]
adaptors/base/update-thread.h [deleted file]
adaptors/base/vsync-notifier.cpp [deleted file]
adaptors/base/vsync-notifier.h [deleted file]