Major re-write to drawing routinespcb+gl/major-re-write-to-drawing
commit080d080313d11848002823888de4335073806050
authorPeter Clifton <peter@clifton-electronics.co.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)
treed28a1fcc3b54a01392fc623937559be068186fdc
parent6f89fabf1727afa52ef219bb50ea27251dc5400c
Major re-write to drawing routines

FIXME: FULLY OF NASTY API HACKS TO draw.c

Notes from squashed patches:
  Pin and via hole cores are drawn in the appropriate colour
  Playing with stack rendering order
  Fix mask display in 3D (Allow both side masks to display at once)
  Fix rendering depths for silk and mask layers
  Fixup depth for layers and element marks
  Move more rendering to world coordinates
  Fix get_coords function
  Re-write parts of the PCB+GL set_layer function
  Fix layer on/off rendering after commit 9768e060fad7bc3dfc366da76ea1db8154005018
  Only assign stencil planes where sub-compositing is required - that is, not the far-side, mask, rat or switched off layers.
  Pass an explicit graphics context to DrawAttached and DrawMark
src/draw.c
src/draw.h
src/hid/gtk/gtkhid-gl.c