Hi Mike, have a look here: http://bazaar.launchpad.net/~kicad-testing-committers/kicad/kicad-gal/view/head:/gal/common/graphics_abstraction_layer.h
This is the base class. As application developer you have to know only this class and its methods. The implementation is the job of the GAL implementer; currently I've implemented OpenGL (hardware acceleration) and cairo (software renderer). So both share the same interface. I've also an experimental wxDC implementation; just for evaluation and performance comparision (not yet checked in). I've tried to make the interface relative simple .. hope that will be a success. Bye, Torsten -------- Original-Nachricht -------- > Datum: Fri, 18 May 2012 09:00:02 +0200 > Von: Miguel Angel Ajo Pelayo <[email protected]> > An: "Torsten Hüter" <[email protected]> > CC: [email protected] > Betreff: Re: [Kicad-developers] Kicad-gal and OpenGL supported version under > Mingw ( was Plotting/fabricating in nanometers) > Hi Torsten, I'm yet a little bit lost..., > > so you're building a graphic abstraction layer to run over OpenGL?, > > That's great, painting over a graphic abstraction layer should make > things much more simple > for drawing (when it's done), and we must get much better graphical > results. > > > > 2012/5/17 "Torsten Hüter" <[email protected]> > > > Hi Jean, > > > > no, usually MESA is not required. What you only need is the opengl32.dll > > and the glu32.dll (e.g. C:\Windows\System32). The graphics card driver > > should provide the latest versions for these files. The old version of > the > > MinGW OpenGL headers is normal, that's the same on my system - the > purpose > > of GLEW is to wrap the functions of OpenGL > 1.3. > > So I'd guess you have an old driver/ a conficting library or headers > > somewhere. Perhaps OpenGL 2.1 is not supported on your system ( some > older > > Intel GMA Chipsets support only < 2.0 ). > > > > A nice tool for troubleshooting is "GLview": > > http://www.realtech-vr.com/glview/download.html > > > > There you can check, which extensions are supported. > > > > I've found some movies on youtube, which are maybe also helpful: > > > > OpenGL 4.2 + MinGW > > http://www.youtube.com/watch?v=i8XRKBk40VA > > > > OpenGL Superbible example (OpenGL 3.3), MinGW: > > http://www.youtube.com/watch?v=9PbY7SM7P3w > > > > -- > > > > I'll try next week to compile on my notebook (Windows 7 however), I'll > > check if I run into the same troubles .. > > > > Bye, > > Torsten > > > > > > > I also have trouble with GLEW and POINT. > > > I just added GLEW in Kicad-gal to compile it with Kicad-gal, and > renamed > > > POINT. > > > (Currently I can run only the Cairo version of demos) > > > > > > The issue relative to OpenGL (run time error: opengl version 2.1 not > > > supported) > > > is due to the fact MinGw come from a rather old version of OpenGl > (Mesa > > > GL, in fact) > > > (comments in .h headers show a 2002 version) and not an hardware > issue. > > > My MinGW installation is a recent version (now including GDIplus). > > > > > > So my question is: > > > Are you using the Opengl libs and headers coming from Mingw, > > > or have you installed a recent version of MESA GL under Windows? > > > (Recent Mesa version seems do not have an easy install under > > > Mingw/Windows) > > > > > > Thanks. > > > > > > -- > > > Jean-Pierre CHARRAS > > > > > > > > > _______________________________________________ > > > Mailing list: https://launchpad.net/~kicad-developers > > > Post to : [email protected] > > > Unsubscribe : https://launchpad.net/~kicad-developers > > > More help : https://help.launchpad.net/ListHelp > > > > -- > > NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! > > Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~kicad-developers > > Post to : [email protected] > > Unsubscribe : https://launchpad.net/~kicad-developers > > More help : https://help.launchpad.net/ListHelp > > > > > > -- > > Miguel Angel Ajo Pelayo > http://www.nbee.es > +34 636 52 25 69 > skype: ajoajoajo -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

