Skip to content

Conversation

@MatkovIvan
Copy link
Member

@MatkovIvan MatkovIvan commented Jan 20, 2025

Skiko side change: JetBrains/skiko#1014
Fixes: CMP-5924, CMP-6703 and problems mentioned in #1777. Removes internal states from draw phase

Testing

Existing tests, manually

TBD: Add something about performance improvements in release notes once we have some specific numbers from our benchmarks

Release Notes

Fixes - Multiple Platforms

  • Fix light source position for shadow rendering to match the Material specification and Android behavior
  • Fix inconsistency between Android and Desktop in placeWithLayer scale application: offset is not scaled now (Android behavior)

@MatkovIvan MatkovIvan requested a review from igordmn January 20, 2025 12:11
@MatkovIvan MatkovIvan marked this pull request as ready for review January 20, 2025 12:27
@igordmn igordmn self-requested a review January 29, 2025 17:37
# Conflicts:
#	compose/ui/ui/src/skikoMain/kotlin/androidx/compose/ui/node/RootNodeOwner.skiko.kt
@MatkovIvan MatkovIvan merged commit 5a79140 into jb-main Jan 30, 2025
7 checks passed
@MatkovIvan MatkovIvan deleted the ivan.matkov/layer-rendernode branch January 30, 2025 16:19
MatkovIvan added a commit that referenced this pull request Jan 31, 2025
Fixes https://youtrack.jetbrains.com/issue/CMP-7508
Skiko change: JetBrains/skiko#1018
Regression after #1784

## Testing
Covered by integration tests

## Release Notes
N/A
MatkovIvan added a commit that referenced this pull request Feb 12, 2025
The fix itself was in #1784, here it's just an addition test

Fixes [CMP-7573](https://youtrack.jetbrains.com/issue/CMP-7573)

## Release Notes
N/A
MatkovIvan added a commit that referenced this pull request Feb 14, 2025
After #1784 the stacktrace is different, but the root reason is still
here

Fixes [CMP-7608](https://youtrack.jetbrains.com/issue/CMP-7608)
kotlin.IllegalArgumentException: Object already closed: Picture

## Testing
Reproduction is not clear

## Release Notes
### Fixes - Multiple Platforms
- Fix possible `IllegalArgumentException: Object already closed` during
`GraphicsLayer.record`
@igordmn igordmn mentioned this pull request May 1, 2025
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.

3 participants