From: Jeremy W. <jez...@ho...> - 2009-05-22 19:30:06
|
Win32::GUI supports threading - if you use the module below, it makes Win32::GUI thread safe(er): Win32::GUI::ThreadUtils http://rob.themayfamily.me.uk/win32-gui/win32-gui-threadutils Cheers, jez. Date: Fri, 22 May 2009 11:50:11 -0700 From: apu...@ya... To: jez...@ho...; rob...@us...; per...@li...; kej...@ho... Subject: Re: [perl-win32-gui-users] Win32::GUI + OpenGL Does this mean, we will be able to make some kick ass 2D games using Win32::GUI and PERL? Shouldn't that need some type of threading ? ------------------------------ Apu Islam ( E Pluribus Unum) From: Jeremy White <jez...@ho...> To: rob...@us...; per...@li...; kej...@ho... Sent: Friday, May 22, 2009 12:50:50 PM Subject: Re: [perl-win32-gui-users] Win32::GUI + OpenGL > I have also experimented with OpenGL and Win32::GUI. I started to > write a module to integrate the two, but never completed it - I did > get it running though, and successfully ported most of the examples > that some with the OpenGL module. I've played with this too. Got the basics working, but found OpenGL (and DirectX for that matter) to heavy for what I needed at the time (fast simple 2D graphics). > I'll make make my code available sometime next week, once I get back > home; if anyone wants to pick this up I can give some direction on > what needs doing to complete it. Nice. Win32::GUI::OpenGL then? :) > Rob. > [snip] >>> It is possible to create child windows that are rendered to using OpenGL >>> instead of rendering to the parent window, but requires a lot more setup. >>> One of the tricks needed is to specify the right styles for the window. I >>> have yet to perfect this technique, but perhaps when I get it working >>> correctly I'll post an example. Good work - and thanks for the example. Feel free to drop me a mail off list as I can probably help here - I have got a 3rd party C++ graphics module painting into a Win32::GUI child window. Cheers, Jeremy. Windows Live Messenger just got better. Find out more! _________________________________________________________________ View your Twitter and Flickr updates from one place – Learn more! http://clk.atdmt.com/UKM/go/137984870/direct/01/ |