delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/03/20/04:33:23

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-IPAS-Result: =?us-ascii?q?A+DfAQA6/cxY/8CaACqCs7QAABFdHAEBBAEBCgEBgw8BQWG?=
=?us-ascii?q?BCo1xkVuVQ4IOKoV4AoMBPxgBAgEBAQEBAQFrKIUWAQU6TwsYCSUPBRhEigENt?=
=?us-ascii?q?HOKViaKNIEJgnYhgQ6CewxcgjEFiRaIE4skhnmDKIgVglyOXJNYHziBBCMWCCy?=
=?us-ascii?q?FGB2BZD81iTkBAQE?=
X-IronPort-AV: E=Sophos;i="5.36,181,1486422000";
d="scan'208";a="38867883"
Date: Sat, 18 Mar 2017 10:27:50 +0100
From: "Gabriel Paubert (paubert AT iram DOT es) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] [pcb-rnd] opengl support available, test sprint
Message-ID: <20170318092750.GA20089@visitor2.iram.es>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1703120457530 DOT 27212 AT igor2priv>
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.00.1703120457530.27212@igor2priv>
User-Agent: Mutt/1.5.21 (2010-09-15)
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, Mar 12, 2017 at 05:44:08AM +0100, gedau AT igor2 DOT repo DOT hu wrote:
> Hi all,
> 
> we started a large scale refactoring of the gtk HID back in January.
> Thanks to a fellow developer (who wishes to remain anonymous) we now
> have a system that allows multiple gtk-based HIDs with much of the
> code shared.
> 
> This also paved the road for opengl support. We only needed someone
> to actually do it. Big thanks to Keith Packard for contributing this
> part.
> 
> SVN HEAD version of pcb-rnd replaces the hid_gtk plugin with
> hid_gtk2_gl and hid_gtk2_gdk. Scconfig attempts to detect both gdk
> and gl. It is possible to compile both and choose which one to use
> on startup-time (usign the --gui switch from the command line or
> using the configuration system to change the preferred order of
> HIDs). Screenshots for comparison (same version of pcb-rnd ran with
> "--gui gtk2_gl" and "--gui gtk2_gdk"):
> 
> http://igor2.repo.hu/tmp/gl.png
> 
> http://igor2.repo.hu/tmp/gl2.png
> 
> There will be an online coding/test sprint next weekend:
> 
> http://repo.hu/cgi-bin/pcb-rnd-people.cgi?event=tsprint4
> 
> Feel free to join during the sprint (or any other time - we have
> things happening almost 24/7) to get support with pcb-rnd.
> 
> If you haven't downloaded pcb-rnd yet because of missing transparent
> layers and/or opengl support, this is the best time to get an svn
> checkout^1! 

I'm in this group, I just compiled pcb-rnd and it seems to work fine
on my old (late 2005) laptop. Pure gtk drawing was too slow to be usable
but the GL version is reasonably fast.

It compiles fine, great job, although I'd prefer a less verbose output 
from make to better see the compiler messages (I like the terseness of 
the Linux kernel compiles).

However, the BGA parametric footprint generator seems to hate me
and never works as soon as I change a parameter. I get a lot of 

(synchro-rnd.lht:20679): GdkGLExt-CRITICAL **: gdk_gl_drawable_gl_begin: assertion 'GDK_IS_GL_DRAWABLE (gldrawable)' failed

messages and I can't place anything.

From the code, I also suspect that it goes from A to Z for the
alphanumeric labelling, which is incorrect. Most BGA alphabets
skip a few letters: I, O, Q, S, X, and Z for the Xilinx parts 
I'm using (leaving us with a 20 alphabet of 20 symbols).

I just spotted a typo (triangle is misspelt) so here is a simple patch:


Index: pcblib/parametric/silkmark.help
===================================================================
--- pcblib/parametric/silkmark.help	(revision 7772)
+++ pcblib/parametric/silkmark.help	(working copy)
@@ -1,8 +1,8 @@
 #@@param:silkmark how to mark pin 1 on the silk layer; multiple values can be listed separated with colons, e.g. "silkmark=externalx:angled"
 #@@enum:silkmark:square a rectangle around pin 1
-#@@enum:silkmark:externalx a little trinagle placed outside of the box pointing in line with the first x row
-#@@enum:silkmark:externaly a little trinagle placed outside of the box pointing in line with the first y row
-#@@enum:silkmark:external45 a little trinagle placed outside of the box pointing at the corner in 45 degree
+#@@enum:silkmark:externalx a little triangle placed outside of the box pointing in line with the first x row
+#@@enum:silkmark:externaly a little triangle placed outside of the box pointing in line with the first y row
+#@@enum:silkmark:external45 a little triangle placed outside of the box pointing at the corner in 45 degree
 #@@enum:silkmark:external shorthand for external
 #@@enum:silkmark:angled an angled line in the corner
 #@@enum:silkmark:arc an external 270 degree arc

    Cheers,
    Gabriel

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019