← Back to team overview

kicad-developers team mailing list archive

Re: Something odd with Eeschema GAL


Evidently OpenGL doesn’t guarantee drawing the FBOs in the same order they were painted in.  So I fixed this by putting an AdvanceDepth() call between drawing background objects (ie: those with a bodybackground fill) and foreground ones.

I’ve also turned caching back on.


> On 10 Oct 2018, at 14:42, Jeff Young <jeff@xxxxxxxxx> wrote:
> We currently have GPU caching turned off (it’s commented out in SCH_DRAW_PANEL::setDefaultLayerDeps()).
> If I turn it back on, then when scrolling the origin off the screen some objects are drawn in a different order.
> We have code in to draw background fills first so that borders, text, etc. don’t get obscured by the backgrounds.  However, when I scroll {0,0} off the visible area, the background fills are drawn *after* the text.  (I put one text half in and half out, and the text *is* still getting drawn, it’s just under the background fill.)
> Any ideas?
> Cheers,
> Jeff.
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

Follow ups