News for hackers. Stuff that matters.
Re:Optimizing Gaussian blurs on a mobile GPU by jffry on Tuesday October 22, 2013 @11:29AM (#6592525)
Another opportunity for efficient blur would be to rescale the image if the blur radius is above a certain amount. This incurs overhead, so for smaller radii it might be more efficient to just blur the full-size image, but for larger radii you can first reduce the image, blur with a smaller radius, and then upscale the image.

You might need an Arbitrary Hack Constant (oh, sorry, "tuning parameter") to decide when to make that transition.

Re:Optimizing Gaussian blurs on a mobile GPU by crazygringo on Tuesday October 22, 2013 @11:41AM (#6592614)
That's already in the article:

> Instead of filtering the image in its native resolution, I used OpenGL's native support for linear interpolation to downsample the source image by 4X in width and height, blurred that downsampled image, then linearly upsampled via OpenGL afterward.

Re:Optimizing Gaussian blurs on a mobile GPU by jffry on Tuesday October 22, 2013 @01:08PM (#6593281)
Indeed it is, my bad for not RTFM