sw_engine: refactoring the linear gradient rle rastering function
authorMira Grudzinska <m.grudzinska@samsung.com>
Mon, 24 May 2021 23:50:59 +0000 (01:50 +0200)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 25 May 2021 08:48:33 +0000 (17:48 +0900)
commit32dcda82410b6d3ed31c62141b92b228b9fb5a44
tree29ed4725d64d6b6d1c8d7ba5374a1867ada667c4
parent05175d71cb7f4486ad27ef4d4bb05f3f1341789a
sw_engine: refactoring the linear gradient rle rastering function

The translucent rastering function is split into 3 other (instead of if/else statement).
An additional function is introduced to decide which one of the 3 should be called.
This refactoring is done to preserve the convention used for all other rastering functs.
src/lib/sw_engine/tvgSwRaster.cpp