Open hugomc92 opened 1 year ago
Any news on this?
@hugomc92 It indeed seems to be the case, but I'm afraid there's nothing reasonable I can do to fix it.
I'm not sure what they changed internally so it stopped working, because they shouldn't stop the ripple on the Render thread and system canvas just because someone requests drawing on a different unrelated software Canvas. They could just skip drawing on that software Canvas only.
The only fix I imagine is to move to a hardware-accelerated Canvas for view snapshotting, but because it forces a quite different rendering approach, I couldn't squeeze a reasonable performance for real-time blur from it. And I tried it implementing it a couple of times already.
So most likely this won't ever be fixed, unless one day I find some brilliant way of doing the same thing on a hardware canvas
We had the same warning in our app only in Android 13 emulators and it went away after removing android:hardwareAccelerated="false" from the manifest.
Please include: 1) Library version
2.0.2
2) Device and OS version
OnePlus 6 Android 13 CherishOS (https://forum.xda-developers.com/t/rom-official-13-0-cherish-os-aosp-oneplus-6-6t-v4-0-4-sept-2022.4485817/)
3) Detailed steps to reproduce the issue -
If you set a BlurView, every view with ripple near it doesnt show ripple.
Even when activities and aplication is hardware accelerated, at the moment the blurview is shown the ripple near it stop to work.
4) XML layout and code for BlurView setup
The ripple in the recycler items are set with
I setup the blur as this
5) Stacktrace in case of a crash
Not a crash really but this log is showed.