updated diff attached, now both 'my' new modes (avg was around before but was deleted at some point.. <*>) works in plain x11. probably for opengl preview you need to a bit more lines.. <div><br></div><div>reason why it failed to compile at first - one (!) additional space in defines for new mode.. <br><div><br></div><div><*> <a href="http://git.cinelerra-gg.org/git/?p=goodguy/history.git;a=commit;h=93d60cc0fdf746cc03b4d7a9e45744c2c424439b">http://git.cinelerra-gg.org/git/?p=goodguy/history.git;a=commit;h=93d60cc0fdf746cc03b4d7a9e45744c2c424439b</a></div><div><br></div><div><br><br>On Tuesday, June 29, 2021, Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">randrianasulu@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">finally looked at history..<div><br></div><div><a href="http://git.cinelerra-gg.org/git/?p=goodguy/history.git;a=blobdiff;f=cinelerra-5.1/cinelerra/overlayframe.h;h=730be3741ed638b54703c530809aeaada999e20e;hp=7ca03621e6b6df0b91b165e9566fbc263a2074b0;hb=93d60cc0fdf746cc03b4d7a9e45744c2c424439b;hpb=361dbd9de4e6e4143ea0cac5daa89b30685a4c70" target="_blank">http://git.cinelerra-gg.org/<wbr>git/?p=goodguy/history.git;a=<wbr>blobdiff;f=cinelerra-5.1/<wbr>cinelerra/overlayframe.h;h=<wbr>730be3741ed638b54703c530809aea<wbr>ada999e20e;hp=<wbr>7ca03621e6b6df0b91b165e9566fbc<wbr>263a2074b0;hb=<wbr>93d60cc0fdf746cc03b4d7a9e45744<wbr>c2c424439b;hpb=<wbr>361dbd9de4e6e4143ea0cac5daa89b<wbr>30685a4c70</a></div><div><br></div><div>and made this patch (attached) </div><div><br></div><div>it works softer than logical or porter/duff modes, but notiecably slower ( (on 8 core arm tablet) </div><div><br></div><div><br></div><div>my modes fails to compile - something about me not really knowing how to write macro functions (?) </div><div><br></div><div><br></div><div><br></div>
</blockquote></div></div>