Mail Archives: geda-user/2016/09/01/06:32:29
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--
- Raw text -