HomePhabricator

evas filter: Implement blur filter in pure GL

Authored by Jean-Philippe Andre <jp.andre@samsung.com> on Jan 25 2017, 1:06 AM.

Description

evas filter: Implement blur filter in pure GL

Wait a second though, this implementation is not only incomplete
(no support for box vs. gaussian blur), it's also insanely bad in
terms of performance. Small radii may work fine, but at least blurs
render properly in GL with this patch (no more glReadPixels!).

The shader needs a lot of love, including in particular:

  • support for 1D box blur single pass
  • support for 1D gaussian (or sine) blur
  • use linear interpolation and N-tap filters
  • separation of 2D blur in two passes (high-level logic)
  • potentially separation of large 1D blurs in 2 or more passes knowing that 2sigma == sigma + sigma when it comes to the gaussian bell curve.

Details

Jean-Philippe Andre <jp.andre@samsung.com> committed rEFL5bce7120f1c2: evas filter: Implement blur filter in pure GL (authored by Jean-Philippe Andre <jp.andre@samsung.com>).Apr 13 2017, 7:26 PM