Re: [Pdl-porters] Interfacing SDL Surface with a piddle

2010-06-28 Thread Chris Marshall
On 6/27/2010 12:18 PM, Kartik Thakore wrote: This is a good idea. How do I make a piddle of bytes 4 * $width * $height ? At least you would have all the surface and piddle data in the same spot which seems to be your difficulty here This might be easier indeed, thanks. PDL

Re: [Pdl-porters] Interfacing SDL Surface with a piddle

2010-06-28 Thread Chris Marshall
a piddle of data the size and structure of the surface and then creating the desired surface from that? At least you would have all the surface and piddle data in the same spot which seems to be your difficulty here. --Chris On Sun, Jun 27, 2010 at 1:32 AM, Chris Marshall c...@alum.mit.edu mailto:c

Re: Perl OpenGL Project

2011-07-08 Thread Chris Marshall
A quick SDL heads up: the Prima::OpenGL strawman implementation is now working with POGL on cygwin using the native WGL OpenGL drivers. For project goal #3 below, I'll be trying to get SDL installed on cygwin so that I can try using it with POGL for the OpenGL drawing. Anyone already using SDL

Re: AW: Perl OpenGL Project

2011-07-11 Thread Chris Marshall
=cygwin-ports/SDL;a=tree Cheers, Chris On Mon, Jul 11, 2011 at 9:44 AM, Chris Marshall devel.chm...@gmail.com wrote: I took a look at compiling SDL by hand to see if I could figure out what is going on.  It looks like the SDL build on cygwin using .configure assumes you'll want the native

Perl OpenGL-0.65 released

2011-07-22 Thread Chris Marshall
the contributions of Paul Seamons, Rob/Sisyphus, Dmitry Karasik, kmx, Kartik Thakore, and others. Thanks! Enjoy, Chris Marshall and the POGL developers ++ | OpenGL-0.65

Re: PDL image to SDL::Surface

2012-09-24 Thread Chris Marshall
for an expert on some of the tricky XS technologies. --Chris Cheers, Tobias Am 24.09.2012 16:09, schrieb Chris Marshall: I took a look at the gist and it looks reasonable (I can't run it because I don't have the SDL module and lib installed on my system), however... I would expect the performance

Re: PDL image to SDL::Surface

2012-09-24 Thread Chris Marshall
. If that is the case (that SDL_CreateRGBSurfaceFrom is not accessible from the perl API), have you implemented another approach to achieve this? Regards, Chris On Mon, Sep 24, 2012 at 12:07 PM, Chris Marshall devel.chm...@gmail.com wrote: On Mon, Sep 24, 2012 at 10:41 AM, Tobias Leich em...@froggs.de wrote

Re: PDL image to SDL::Surface

2012-09-24 Thread Chris Marshall
On Mon, Sep 24, 2012 at 12:35 PM, Tobias Leich em...@froggs.de wrote: Am 24.09.2012 18:07, schrieb Chris Marshall: On Mon, Sep 24, 2012 at 10:41 AM, Tobias Leich em...@froggs.de wrote: Hi Chris, The performance is poor of course. I tried to use the piddle's pointer (-dataref or so

Re: PDL image to SDL::Surface

2012-09-24 Thread Chris Marshall
? On Mon, Sep 24, 2012 at 12:36 PM, Chris Marshall devel.chm...@gmail.com wrote: Looking back through the code to the original SDL_Perl I found version 2.0.5 which allows one to actually create an SDL surface from pixel data. More recent versions appear to copy the data and as far as I can

Re: [Perldl] PDL image to SDL::Surface

2012-09-26 Thread Chris Marshall
:36 PM, Sisyphus sisyph...@optusnet.com.au wrote: - Original Message - From: Chris Marshall devel.chm...@gmail.com To: Kartik Thakore thakore.kar...@gmail.com Cc: Tobias Leich em...@froggs.de; sdl-devel sdl-devel@perl.org Sent: Tuesday, September 25, 2012 2:46 AM Subject: Re: [Perldl

Re: PDL image to SDL::Surface

2012-09-26 Thread Chris Marshall
On Mon, Sep 24, 2012 at 12:46 PM, Chris Marshall devel.chm...@gmail.com wrote: Hi Kartik- I don't have a working SDL module install that I could check things out on. The posted gist seemed like a regression of using direct PDL manipulation to read and copy the image data to an SDL surface

Re: SDL 2.0.0 has finally been released

2013-08-15 Thread Chris Marshall
Are there any perl bindings to SDL2? The libsdl.org site only lists C#, Pascal, and Python. --Chris On Thu, Aug 15, 2013 at 9:08 AM, Kartik Thakore thakore.kar...@gmail.com wrote: Yeah all of them. Also smpeg was missing. On Wed, Aug 14, 2013 at 6:10 AM, kmx k...@volny.cz wrote: On

Re: SDL 2.0.0 has finally been released

2013-08-15 Thread Chris Marshall
Excellent, thanks for the link! --Chris On Thu, Aug 15, 2013 at 9:27 AM, Kartik Thakore thakore.kar...@gmail.com wrote: We are working on it: http://github.com/PerlGameDev/SDL2 On Thu, Aug 15, 2013 at 9:26 AM, Chris Marshall devel.chm...@gmail.com wrote: Are there any perl bindings

Re: SDL 2.0.0 has finally been released

2013-08-15 Thread Chris Marshall
) for the bindings to use? --Chris On Thu, Aug 15, 2013 at 9:54 AM, Kartik Thakore thakore.kar...@gmail.com wrote: No problem. Btw do you have any comments on the new Constants.pm ? Using XS to load them instead of use constants? On Thu, Aug 15, 2013 at 9:53 AM, Chris Marshall devel.chm

SDL2 + POGL2 + PDL confluence

2013-08-15 Thread Chris Marshall
PDL/SDL/OpenGL users- With the recently announced SDL2 release and in-progress work to provide perl bindings for the same, I wanted to share my thoughts for leveraging joint capabilities of these three modules with a couple of specific points. 1) SDL2 brings integrated hardware acceleration via

Re: SDL2 + POGL2 + PDL confluence

2013-08-16 Thread Chris Marshall
to make a surface from that. I'm not sure what would work for SDL2 stuff. --Chris On Thu, Aug 15, 2013 at 1:11 PM, Chris Marshall devel.chm...@gmail.com wrote: PDL/SDL/OpenGL users- With the recently announced SDL2 release and in-progress work to provide perl bindings for the same, I