← Back to team overview

kicad-developers team mailing list archive

Re: GerbView GAL port

 

This doesn't answer any of your questions, but Mark Roszko did some
refactoring of gerbview that had some really nice changes. I believe he
started the refactoring with the intention of switching gerbview over to
GAL.

https://github.com/marekr/kicad-devel

Jon Neal

On Tue, Feb 14, 2017 at 1:38 PM Jon Evans <jon@xxxxxxxxxxxxx> wrote:

> Hi all,
>
> I want to get familiar with the GAL codebase, and it occurred to me that
> it might be fun to play with porting GerbView to GAL.  I know it is on the
> 6.x roadmap, but it seemed to me that it would be mostly not dependent on
> any other changes that I see on the roadmap or have seen people talking
> about on the mailing list.
>
> - Is anyone currently working on this?
>
> - Does anyone think it would be a bad idea for me to start working on this
> now?
>
> - If a GAL port is "feature-complete", is there any reason for the app to
> retain the legacy graphics code, or can it just provide OpenGL and Cairo
> backends?  My impression is the only think keeping legacy canvas in pcbnew
> is feature differences between legacy and GAL, but I wanted to check if
> there are other reasons.
>
> - In my first hour of looking at the code for this, it seems like the GAL
> code currently has some interdependence with pcbnew that needs to be
> straightened out before using GAL in other applications.  For example,
> EDA_DRAW_PANEL_GAL depends on PCB_PAINTER, not a generic PAINTER.  Is this
> an open problem for anyone to tackle, or does anyone actively have plans to
> refactor this?
>
> Best,
> Jon
> _______________________________________________
> 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
>

References