WASM: Use ARGB8888. Convert into ABGR and unmultiply after sync()
authorMichal Maciola <m.maciola@samsung.com>
Tue, 2 Nov 2021 17:11:45 +0000 (18:11 +0100)
committerJunsuChoi <jsuya.choi@samsung.com>
Fri, 5 Nov 2021 01:58:14 +0000 (10:58 +0900)
commit0f95ff4123bbd9789ac711a15e18e07c554fc68e
tree62831e23f1fdbb22a10ad2dc99d4ec9cf56c070e
parent517893464392c078b0cf9c61341823f1fd6501df
WASM: Use ARGB8888. Convert into ABGR and unmultiply after sync()

Wasm needs ABGR STRAIGHT buffer.
As there is a problem using ABGR for loaders, it is better to use ARGB8888.
This patch makes wasm using ARGB8888 and relocate pixels and unmultiply after sync().
src/wasm/thorvgwasm.cpp