Blur-LIB-Android
Blur-LIB-Android copied to clipboard
This change addresses the issue of Surface release under specific scenarios, ensuring stable functionality for BlurBehindLayout. The surface of BlurBehindLayout may get released during screen lock or when the app...
When blurring another SurfaceView/TextureView like Google Maps MapView for example. The BlurBehindLayout takes the renderer of that view and it becomes unresponsive. For example, moving the map around will show...
How to blur surface screen view on out of app ????

It works well on the Android Emulator, but not on my phone (Meizu, Flyme 7, Android 7.1.1). See the bottom of the picture. 
This happens when i just go to another activity and then goes back.
` W/Bitmap (10400): Called getRowBytes() on a recycle()'d bitmap! This is undefined behavior! W/Bitmap (10400): Called getHeight() on a recycle()'d bitmap! This is undefined behavior! W/Bitmap (10400): Called getRowBytes() on...
Just draw a black texture with an error in a loop `clearing GL error: 0x500`
I have view with map and blurlayout. Sometimes when i press 'home' button i just got error from my app : ``` signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr...
java.lang.IllegalArgumentException: canvas object must be the same instance that was previously returned by lockCanvas at android.view.Surface$HwuiContext.unlockAndPost(Surface.java:834) at android.view.Surface.unlockCanvasAndPost(Surface.java:334) at no.danielzeller.blurbehindlib.opengl.ViewSurfaceTexture.endDraw(ViewSurfaceTexture.kt:55) at no.danielzeller.blurbehindlib.BlurBehindLayout.renderBehindViewToTexture(BlurBehindLayout.kt:254) at no.danielzeller.blurbehindlib.BlurBehindLayout.redrawBlurTexture(BlurBehindLayout.kt:216) at no.danielzeller.blurbehindlib.BlurBehindLayout.access$redrawBlurTexture(BlurBehindLayout.kt:25) at no.danielzeller.blurbehindlib.BlurBehindLayout$frameCallBack$1.doFrame(BlurBehindLayout.kt:234) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:964)...