X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Thu, 1 Sep 2016 12:43:41 +0200 (CEST) X-X-Sender: igor2 AT igor2priv To: "michalwd1979 (michalwd1979 AT o2 DOT pl) [via geda-user AT delorie DOT com]" X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" From: gedau AT igor2 DOT repo DOT hu Subject: Re: Odp: [geda-user] Re: [pcb-rnd] opengl support (was: release 1.1.1) In-Reply-To: <79b7fcc8179f4d11ba5a5fa61e72e02f@gwp> Message-ID: References: <53b7bc76fb144120bfa076ae7d6b63dc AT gwp> <79b7fcc8179f4d11ba5a5fa61e72e02f AT gwp> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-461200392-1472726621=:7286" 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 Precedence: bulk This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-461200392-1472726621=:7286 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 1 Sep 2016, michalwd1979 (michalwd1979 AT o2 DOT pl) [via geda-user AT delori= e.com] wrote: >I will download pcb-rnd and check is I am able to understand UI code and >drawing engine. At the same time pcb-opengl drawing is better then mainlin= e >(in my opinion), so I think it would be better to use it's code. Still it = is >a long way for me to, but I will try :-).=C2=A0 Thank You Igro2 and Erich = for >detailed answers. Thanks! Some pointers: originally the opengl code is part of the gtk hid. In pcb-rnd source, it=20 lives in trunk/src_plugins/hid_gtk ; the files to look at are=20 gtkhid-gdk.c and gtkhid-gl.c ; they implement the same thing, gdk with=20 software rendering, gl with opengl. The gl part is not compiled currently. I had already moved out some generic opengl draw helpers to=20 trunk/src_plugins/gl (which is an uncompilable plugin until someone picks= =20 it up). The two gl parts, the generic gl and the gtk-specific gtkhid-gl are about= =20 1500 sloc together. Provided I'd do all the=20 infrastructural/plugin/configure support, it is probably not a big chunk=20 of code to deal with. (Note: if we revive the opengl support, I'll reorganize the code a bit,=20 so the above reflects how it is now, not how it would be if we worked on=20 it. But this is the part the opengl contributor doesn't need to worry=20 about. If there is a contributor, I get it all sorted out and provide a=20 version that already compiles (but who-knows-how-well-it-works)). Regards, Igor2 --0-461200392-1472726621=:7286--