New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compose: Software rendering doesn't support hardware bitmaps #1560
Comments
@yschimke Sorry for the delayed response! Coil ideally should automatically disable hardware bitmaps, however there are some edge cases where it's not possible with 100% certainty. A few questions: Are you adding My hypothesis is we're probably reaching this line and the view isn't attached yet. However, considering it only happens occasionally it could be a device-specific issue in which case we'd want to add it to the blocklist. |
Let's close, it was from a prod report, so I don't know the code path |
I've seen this issue once now @colinrtwhite and yes, I'm using an I'm seeing this issue on a OnePlus 6T. |
Can I gracefully ignore this error? I'm now setting 'allowHardware' to false:
|
Raising, because I haven't seen this with Coil and Compose before.
This is with Coil 2.2.2 (it's from a prod report, so possibly was older version)
Other reports like #31 seem to be View based.
My expectation is that by default Coil, will choose the right hardware more. Disabling presumably fixes this, but as it's working in almost all cases, that seems sub-optimal.
Should this be possible with Coil and Compose?
The text was updated successfully, but these errors were encountered: