Add features to download images over http protocol. 00/34900/5
authorYoonsang Lee <ysang114.lee@samsung.com>
Wed, 4 Feb 2015 08:43:40 +0000 (17:43 +0900)
committerYoonsang Lee <ysang114.lee@samsung.com>
Thu, 12 Feb 2015 23:40:53 +0000 (08:40 +0900)
commit59ecea8a75cf15c6e1da946d41443d343b51d6c2
tree0127dc344937daef5e6c44fa87b82dcc8ea4c872
parent9aa97141a0e50120a4714a9e8c5450940deca1ee
Add features to download images over http protocol.

- Add ResourceThreadImage::Download() to download an image using libcurl.
- Add ResoureThreadBase::RequestDownload, ResourceThreadBase::Download()
- Refactor ResoureThreadImage::Load(), Decode().
- Add one more thread object, mThreadImageRemote, to ResourceBitmapRequester to download images over http protocol in a seperate thread.
  Without this seperate thread, local image files which can be loaded very shortly may be delayed until other time-consuming remote images loading is finished.
- Employ libcurl to download files over http protocol.

Change-Id: Ie10e5b0b1fa374af74a48ad2c9f0df301d27fe5e
13 files changed:
build/tizen/adaptor/Makefile.am
build/tizen/configure.ac
packaging/dali-adaptor-mobile.spec
packaging/dali-adaptor-tv.spec
packaging/dali-adaptor-wearable.spec
packaging/dali-adaptor.spec
platform-abstractions/slp/resource-loader/resource-bitmap-requester.cpp
platform-abstractions/slp/resource-loader/resource-bitmap-requester.h
platform-abstractions/slp/resource-loader/resource-thread-base.cpp
platform-abstractions/slp/resource-loader/resource-thread-base.h
platform-abstractions/slp/resource-loader/resource-thread-distance-field.h
platform-abstractions/slp/resource-loader/resource-thread-image.cpp
platform-abstractions/slp/resource-loader/resource-thread-image.h