Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Modifier.drawLayer currently does not expose the useCompositingLayer API on RenderNode. This API is necessary to use certain BlendModes like BlendMode.Xor to operate properly.
Alternatives leverage canvas.saveLayer, however, in order to provide better caching behavior we want to rely on leveraging compose's Layer API instead as it can be re-used across draw calls instead of canvas.saveLayer which gets created and discarded across draw operations