Commit a3c42ed
Cull off-screen children in scroll containers
Skip render command generation for elements whose bounding box
falls entirely outside their parent scroll container's clip bounds,
reducing render commands for large scrollable content.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 49ff2b7 commit a3c42ed
1 file changed
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1111 | 1111 | | |
1112 | 1112 | | |
1113 | 1113 | | |
1114 | | - | |
| 1114 | + | |
1115 | 1115 | | |
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
1119 | 1119 | | |
1120 | 1120 | | |
1121 | 1121 | | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
1122 | 1132 | | |
1123 | 1133 | | |
1124 | 1134 | | |
| |||
1187 | 1197 | | |
1188 | 1198 | | |
1189 | 1199 | | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
1190 | 1211 | | |
1191 | 1212 | | |
1192 | 1213 | | |
| |||
0 commit comments