Commit 64980c5
DIAGNOSTIC: log ChartComponent.paint entry every frame
Native logs from 6ef4eb7 ruled out the leaked-mutable-target
hypothesis -- chart-line's drawTextureAlphaMaskImpl always reports
targetSet=0 (correctly routed to screen). Both chart-line (blank)
and chart-pie (working) emit ~70 bg fillRects between their last
chart paint and the screenshot, with no chart paints in between.
Yet pie shows pie content in the captured PNG and line shows pure
bg color.
Hypothesis: Form.paint is invoked at ~50fps (the bg fillRect
heartbeat) but ChartComponent.paint is being skipped on the chart-
line form for some reason -- maybe a dirty-region optimisation that
declares the chart "not invalidated", or an isVisible check, or
something specific to the chart.
Log every ChartComponent.paint call so we can see whether the
chart's paint method is being called every frame for chart-pie but
not for chart-line.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 6ef4eb7 commit 64980c5
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
| |||
0 commit comments