Draw pin / pad names first, so they don't get masked by the padpcb+gl/draw-pin-pad-names-first-so-th
commitc89a8ac5e3b533beac0a10938e860cf3248067bc
authorPeter Clifton <pcjc2@cam.ac.uk>
Sun, 4 Dec 2016 19:20:03 +0000 (4 19:20 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Sun, 4 Dec 2016 19:20:03 +0000 (4 19:20 +0000)
tree1def69f7440318f59203604725f6df5bd4402adc
parent1a828ea8fe508a226a2121ecef6340b6239c6cc8
Draw pin / pad names first, so they don't get masked by the pad

Since we use stencil masking to ensure we don't redraw an area
multiple times, confusingly, we need to draw the text first to
ensure it isn't occluded by the pad its-self.

HACK:

We probably draw the names multiple times - as we still use the
common draw.c code which assumes it can draw labels on top of
the pads.
src/hid/gtk/gtkhid-gl.c