Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Blur is applied multiple times on pan/pinch/toggling #27

Closed
leejunkit opened this Issue · 3 comments

2 participants

@leejunkit

Turn on blur and observe the effect. Then either toggle it on and off, or pan, or pinch. Observe that the blur "intensity" increases every time the event happens when the blur "intensity"/"level" should be constant, equal to the first time the blur is applied.

@dmitric
Owner

Ah this is an interesting one. Very subtle. I am reusing the blur instead of creating a new one each time, but not sure why this would happen. I wonder if it's due to the changes in GPUImage for caching textures, etc.

@leejunkit

This has an unfortunate side effect of causing the image to become blurrer and blurrer everytime the user adjusts the size/position of the blur. Is there a way to force-reset the filter (like clear cached textures etc) without explicitly creating a new GuassianBlurFilter every single time?

@leejunkit

Has been fixed in the latest GPUImage commits.

@leejunkit leejunkit closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.