blurkit-android
blurkit-android copied to clipboard
RenderScript fails
I am using BlurKit in a fragment laying it out in xml as shown below. That generates a "V/RenderScript: User-backed allocation failed stride requirement, falling back to separate allocation" every couple of milliseconds for each instance. When used programmatically I get the same message. On sdk 24 the app eventually runs out of memory and crashes.
<io.alterac.blurkit.BlurLayout xmlns:blurkit="http://schemas.android.com/apk/res-auto"
android:id="@+id/top_blurLayout"
android:layout_width="match_parent"
android:layout_height="@dimen/playback_view_topbar_height"
android:background="@color/blur_color"
app:layout_constraintBottom_toBottomOf="@+id/tab_bar_layout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
blurkit:blk_blurRadius="20"
blurkit:blk_cornerRadius="0dp"
blurkit:blk_downscaleFactor="0.12"
blurkit:blk_fps="0" />
Did this get solved?