Skip to content
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

[next] Initial upgrade to Compose Multiplatform 1.7.0-alpha #250

Merged
merged 20 commits into from
Jul 13, 2024
Merged

Conversation

chrisbanes
Copy link
Owner

@chrisbanes chrisbanes commented Jul 4, 2024

This is the initial PR to integrate Compose Multiplatform 1.7.0 (currently alpha) in Haze.

The big goal here is to merge the different platform implementations into 1 common implementation powered by the new GraphicsLayer APIs in Compose 1.7.0.

Since Compose GraphicsLayers are similar in concept and API to Android RenderNodes, refactoring the existing Android implementation to work on all platforms has been fairly easy. The RenderEffect applied is different per platform, but all of the layer handling is in commonMain.

Open questions

Going beyond that, there are other usages for graphics layers:

Can we invert the drawing paths?

See #256

TODO

  • Common implementation
  • Tests passing
  • Start releasing alphas
  • Optimisations
  • Fix blurring outside clip areas

@chrisbanes chrisbanes changed the base branch from main to next July 13, 2024 09:36
@chrisbanes chrisbanes changed the title [WIP] Compose Multiplatform 1.7.0 [next] Initial upgrade to Compose Multiplatform 1.7.0-alpha Jul 13, 2024
@chrisbanes chrisbanes marked this pull request as ready for review July 13, 2024 09:37
@chrisbanes chrisbanes enabled auto-merge (squash) July 13, 2024 09:45
@chrisbanes chrisbanes merged commit aa3663a into next Jul 13, 2024
2 checks passed
@chrisbanes chrisbanes deleted the cb/1.7.0 branch July 13, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant