sw_engine: refactoring of the linear gradient rect rastering function
authorMira Grudzinska <m.grudzinska@samsung.com>
Wed, 26 May 2021 00:10:32 +0000 (02:10 +0200)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 27 May 2021 09:03:52 +0000 (18:03 +0900)
commit93b36ed40929529a869fd5f6b9b5884a8a0a43cd
tree4c477e2e2292051254439cd38d2ba207bff2bfeb
parentdb72aa3e9a592de37b5cb6d8977d9f3f65c9755a
sw_engine: refactoring of the linear gradient rect 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