Open T8RIN opened 14 hours ago
Thank you for your feedback! @T8RIN I acknowledge that the initialization component currently has significant stability issues. At this stage, the project has been primarily focused on implementing the core blurring functionality, while the initialization process requires separate development attention.
Regarding MinSDK21 support: The current implementation relies on hardware-accelerated canvas features for texture rendering, which may not be consistently available on API level 21. While this is a known limitation, a CPU-based fallback solution could be implemented in the future to extend compatibility. For now, the project maintains its current API level requirements.
Good! Also here are the things that i noticed while playing around:
The library is looking great tho, potential way to add blur to older SDKs
I think I know what’s happening with the dialog issue, you’re probably sharing the blur state between different windows, which doesn’t work well. Each blur state needs to stick to its own window since the GraphicsLayer is tied to wherever it was first created.
Got it, then it's not possible to blur the background of stacked dialogs? The only workaround is to put source to root and pass state down via composition local, but dialogs will not be visible if something above them requests blurring
The tricky part is whether we can combine multiple dialogs into one background image. Right now, the project uses GraphicsLayer to capture a compose layout, renders it into a 2D texture, applies the blur effect and other postprocessing, and shows it in a SurfaceView to create that blurred look. But with multiple windows, it gets complicated because each window has its own DisplayList and HwComposer and runs separately. I’m not sure if there’s a way to capture everything from different windows into a single texture yet.
Thanks for explanation
The library is looking great tho, potential way to add blur to older SDKs
Thanks, that’s the plan for the foreseeable future. 🙂
Huge black areas appearing after pausing app, also why minSdk is 23, i tried with 21 and all is ok