Comment 11 for bug 1674143

Revision history for this message
Hal Gentz (gentz) wrote :

Hi Maciej,

Decimating the number of drawed points does sound as a good idea, however using the mean Y coordinate might result in some weird visual quirks. E.g. If one of the lines switches rapidly between, lets say, -5V and 5V, it might get rendered as a straight line at 0V instead of as a thick bar between -5V and 5V.

I suggest that we instead store the min and max Y for each X coordinate, and draw two lines for each X coordinate. I think this would end up being a good comprise between performance and visual quality.

I'll probably take a swing at this sometime today or tomorrow.