GUI: Blur dialog shading
|Reported by:||jvprat||Owned by:||lordhoto|
I'm attaching a patch to support the blur shading I described here: http://forums.scummvm.org/viewtopic.php?t=4052
I've optimized it mainly by reworking the algorithm. I've also tried to work with a RGB surface and not having to do the conversion while blurring, but it doesn't seem to have a noticeable performance enhancement. Let me know if you have further ideas on how to improve it.
BTW I'm attaching two versions of it:
blur.patch: It just adds the new effect
blur-mix.patch: It reworks the way filters are used. With it you can use all the filters, just have to set their parameters. (The modified theme uses luminance, dimming and blurring as an example, I like how it looks :)
Ticket imported from: #1742028. Ticket imported from: patches/804.