Kyant0
674cf17ca1
Massive update
2025-10-05 18:25:46 +08:00
Kyant0
e3d3a475ec
Make layers backward compatible
2025-10-02 20:28:37 +08:00
Kyant0
57cce15a70
Record layers with safe sizes
2025-10-01 15:32:20 +08:00
Kyant0
c8e8aa78cb
Rename RuntimeShaderCacheScope to RuntimeShaderCache
2025-10-01 12:17:28 +08:00
Kyant0
dc7b77b343
Use jvmToolchain to specify JVM version
2025-09-30 20:53:19 +08:00
Kyant0
b5b0202141
Remove deprecations
2025-09-28 21:44:17 +08:00
Kyant0
8716a80c30
Update HighlightStyle API
2025-09-28 21:25:30 +08:00
Kyant0
32b520a2bf
Rename image uniform to content, fix low quality of the dispersion shader
2025-09-28 20:41:05 +08:00
Kyant0
60a9493237
Add inner shadow API
2025-09-28 15:03:58 +08:00
Kyant0
af41b42e25
Fix crash
2025-09-28 14:09:44 +08:00
Kyant0
c58c9ae6b3
Fix content layer doesn't draw
2025-09-27 17:47:33 +08:00
Kyant0
ea60a0d292
Update highlight API. Update demos, add a magnifier demo.
2025-09-27 17:17:14 +08:00
Kyant0
4b48052fc1
Fix crash
2025-09-27 16:34:26 +08:00
Kyant0
869e7715c7
Use the old highlight shader, update highlight API
2025-09-26 23:04:56 +08:00
Kyant0
0859dc1a0d
Add LiquidBottomTabs component
2025-09-26 17:25:04 +08:00
Kyant0
0251265eca
Update bottom tabs
2025-09-25 20:06:02 +08:00
Kyant0
ce55bc930a
Rename layer with layerBlock for Modifier.drawBackdrop
2025-09-25 11:22:03 +08:00
Kyant0
cf745433dd
Simplify shadow mask
2025-09-25 00:39:47 +08:00
Kyant0
62ca933253
Simplify shadow mask
2025-09-25 00:24:10 +08:00
Kyant0
86ab3fdc0e
Use GPU compositing for highlight and shadow.
...
This is a compromise. The overall performance is improved. But non-lazy scrollable layouts can be surprisingly laggy on device with poor GPU performance.
2025-09-24 23:47:20 +08:00
Kyant0
455f81b221
Simplify shadow drawing
2025-09-24 21:25:18 +08:00
Kyant0
11312bb028
Reorder params of Modifier.drawBackdrop
2025-09-24 16:05:24 +08:00
Kyant0
00e9479e32
Merge Modifier.contentBackdrop into Modifier.drawBackdrop
2025-09-24 11:00:05 +08:00
Kyant0
f23b9e5408
Fix solid highlight blend mode
2025-09-24 10:58:42 +08:00
Kyant0
7f468fbb74
Add drawContent param for Modifier.contentBackdrop
2025-09-24 10:17:28 +08:00
Kyant0
83c8de42ed
Add opacity color filter
2025-09-24 10:07:27 +08:00
Kyant0
53766b2874
Add many color filters
2025-09-23 20:27:51 +08:00
Kyant0
3456ea7463
Rename saturation with vibrancy
2025-09-23 19:21:25 +08:00
Kyant0
1181945c4b
Fix highlight canvas doesn't restore clip
2025-09-23 13:59:11 +08:00
Kyant0
6ba9f87ab6
Add exportedBackdrop param for Modifier.drawBackdrop, see #25
2025-09-23 13:09:29 +08:00
Kyant0
4841314568
New Backdrop API
2025-09-23 12:04:13 +08:00
Kyant0
5abcb17389
Add new BackdropDrawers, update glass playground to support parameter adjustment
2025-09-22 23:21:27 +08:00
Kyant0
98094adf9b
Fix effects are failed to be observed
2025-09-22 22:46:53 +08:00
Kyant0
47efb1ec77
Update ambient highlight and inner shadow
2025-09-22 20:52:13 +08:00
Kyant0
9d33570561
Update Highlight and Shadow APIs. Support ambient highlight
2025-09-22 15:16:04 +08:00
Kyant0
2c54bd7eb4
Reset InverseLayerScope
2025-09-21 18:21:58 +08:00
Kyant0
12ea7d2357
Add slider demo
2025-09-21 17:23:14 +08:00
Kyant0
4d7797e305
Add CombinedBackdropDrawer to support drawing multiple backdrops together
2025-09-21 16:35:59 +08:00
Kyant0
a9034abaed
Change param name: shapeProvider -> shape, layerBlock -> layer, add onDrawFront. Refactor catalog, add image selection, add Buttons demo
2025-09-21 15:21:59 +08:00
Kyant0
6f51aeaec8
Fix crash caused by Density. Add AdaptiveLuminanceGlass demo. Add compose backdrop effects.
2025-09-20 23:44:28 +08:00
Kyant0
23a250b1ba
Don't call bitmap.prepareToDraw()
2025-09-20 14:17:38 +08:00
Kyant0
efa16d4287
Improve performance for shadow
2025-09-20 13:13:32 +08:00
Kyant0
11b03cdbb5
Rename SimpleGraphicsLayerScope with InverseLayerScope
2025-09-20 12:24:05 +08:00
Kyant0
1a2e29a07e
Improve performance for matrix inversion
2025-09-20 12:00:59 +08:00
Kyant0
4f6a483c3c
Improve performance for the inverse transformation greatly
2025-09-20 10:49:22 +08:00
Kyant0
a1047ae66a
Improve performance for highlight greatly, update control center demo
2025-09-19 23:15:41 +08:00
Kyant0
b7aa21485f
Optimize for Android 12-, fix content backdrop doesn't have effects
2025-09-19 00:44:17 +08:00
Kyant0
8821cdde60
Remove a mutable state
2025-09-18 21:41:05 +08:00
Kyant0
54e6021697
Add layerBlock for drawBackdrop modifier. Add two demos in catalog
2025-09-18 21:04:57 +08:00
Kyant0
d167fdd576
Update default highlight style
2025-09-18 15:09:42 +08:00