google/trace-viewer — pull request #626 by petrcermak (2014-10-01 16:06:33+00:00)
Title: Use fixed margins for counter track series spanning the whole viewport. #625

An improvement for #625. When a counter track series spans the whole viewport (and overflows it), we only render the series within the viewport and add fixed margins on both sides of it. This reduces the resolution at which (full) clipping occurs roughly from 0.005 ms to 10^-8 ms.