]> sigrok.org Git - pulseview.git/commit
DecodeTrace: Speed up annotation drawing
authorSoeren Apel <redacted>
Tue, 29 Dec 2015 22:04:59 +0000 (23:04 +0100)
committerUwe Hermann <redacted>
Wed, 30 Dec 2015 22:14:45 +0000 (23:14 +0100)
commit506317984393a41000650ccca868f3dd66872a4f
tree6ddd6a2c8bb669d287491ced53f3a6afa46c65df
parentf3697d314410ef2ce0ab8f53b11f7a9912c7b0cd
DecodeTrace: Speed up annotation drawing

The speedup is achieved by combining neighbouring annotations
into a single item to be drawn if their end pixels are less than
2 pixels apart.

This fixes bug #325.
pv/view/decodetrace.cpp
pv/view/decodetrace.hpp