Hi Dave, On 21 October 2011 18:43, Dave Tapley <duked...@gmail.com> wrote:
> On 21 October 2011 11:28, Jeremy O'Donoghue <jeremy.odonog...@gmail.com> > wrote: > >> Did the work on OpenGL, or the branch you mention on darcsden[1] ever > >> get anywhere? I'd like to nominate myself to work on it :) > [snip] > I am in the process of digging out the old OpenGL support for wxHaskell - it > was removed a while back due to build problems on some targets. You will > probably need to add support for wxGLContext, which was never wrapped, but > the wxGLCanvas code should work provided you link with the correct > libraries. > > I've suggested to Joel that I send a patch with wxGLCanvas support which you > can put on your Darcsden repo as a starting point. I'll make it compile and > link for Ubuntu, but I won't have time to check whether it is very complete > or functional, so you will likely have some work to do before it is usable. That sounds great, I'm on Ubuntu as well. Don't worry about stability, > it is most definitely a -dev branch! > If you want to throw it in to my repo that would be great, I've added > you to the members list so hopefully you can push. > Attached is a patch reinstating OpenGL for your wxWidgets 2.9 branch. It has been tested against a home-built wxWidgets 2.9.2 on a 32 bit install of the latest Ubuntu (boy, was it a pain getting wxWidgets OpenGL support to compile, but that's another story). I should warn that the sample code doesn't work properly yet (it does compile, link and 'run', but there's nothing in the window). I suspect that this is because the wxWidgets API in OpenGL has changed, and there needs to be a bit more event handling in place, but until I have confirmed, you should consider this only a partial patch. I'll try to get around to committing to Darcsden if I can manage a successful push, and will be continuing to look at the sample code to try to work out why it doesn't work. Best regards Jeremy
OpenGL.patches
Description: Binary data
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d
_______________________________________________ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel