Rather silly question, but I can’t quite figure out the code in Component :oops: . I have a component which is mostly transparent, but which paints some stuff over a child at 60fps. The child is an AudioThumbnail, which has setBufferedToImage() set to true. But will calling paintOverChildren() on the parent call repaint() on the thumbnail, obviating the performance benefit of setBufferedToImage()?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| [Solved] setBufferedToImage not working? | 6 | 1513 | September 24, 2018 | |
| Saving CPU while repainting component and its child components with setBufferedToImage | 5 | 1465 | April 12, 2017 | |
| Component::setBufferedToImage(true) problem with repaint | 3 | 462 | September 20, 2021 | |
| I've asked this before but nobody seemed to know the answer. I have a component that draws a vertical line playhead but it calls repaint on the parent. I just want to draw the line | 4 | 656 | March 9, 2019 | |
| Repaint without parent repaint | 11 | 3730 | June 22, 2021 |
