Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SDL 2.0.0 has finally been released

0 views
Skip to first unread message

Mason James

unread,
Aug 13, 2013, 9:10:36 AM8/13/13
to sdl-...@perl.org

Kartik Thakore

unread,
Aug 13, 2013, 4:24:36 PM8/13/13
to Mason James, kmx, Tobias Leich, sdl-...@perl.org
Yeah read this! Hey kmx, anyway you can update the packs? or FROGGS

kmx

unread,
Aug 14, 2013, 6:10:54 AM8/14/13
to sdl-...@perl.org

On 13.8.2013 22:24, Kartik Thakore wrote:
> Yeah read this! Hey kmx, anyway you can update the packs? or FROGGS

If you mean urls in Alien::SDL2 -
https://github.com/PerlGameDev/Alien-SDL2/blob/master/inc/My/Utility.pm#L58
- I can do it.

Just SDL2_xxx packages or should I update also zlib, png, freetype ... to
the latest versions?

--
kmx

Kartik Thakore

unread,
Aug 15, 2013, 9:08:07 AM8/15/13
to kmx, sdl-...@perl.org
Yeah all of them. Also smpeg was missing. 

Chris Marshall

unread,
Aug 15, 2013, 9:26:11 AM8/15/13
to Kartik Thakore, kmx, sdl-...@perl.org
Are there any perl bindings to SDL2? The libsdl.org site
only lists C#, Pascal, and Python.

--Chris

Kartik Thakore

unread,
Aug 15, 2013, 9:27:17 AM8/15/13
to Chris Marshall, kmx, sdl-...@perl.org

Chris Marshall

unread,
Aug 15, 2013, 9:53:14 AM8/15/13
to Kartik Thakore, kmx, sdl-...@perl.org
Excellent, thanks for the link! --Chris

On Thu, Aug 15, 2013 at 9:27 AM, Kartik Thakore

Kartik Thakore

unread,
Aug 15, 2013, 9:54:55 AM8/15/13
to Chris Marshall, sdl-...@perl.org
No problem. Btw do you have any comments on the new Constants.pm ? Using XS to load them instead of use constants?

Chris Marshall

unread,
Aug 15, 2013, 10:08:40 AM8/15/13
to Kartik Thakore, sdl-...@perl.org
The current POGL module uses XS functions for
constant values. alias pointed out that that prevents
the perl compiler from doing performance optimizations
resulting bigger, slower code.

For the current POGL2 work, I'm switching to use
constants from the XS loader where the constant
values are determined from the appropriate headers.

It is a bit simpler for the case of OpenGL constants
since their values are actually specified in the
standard so getting them directly from there (via
the GLEW sources) means I don't have to deal
with platform-specific include file processing and
parsing. A nice feature is that it is possible to have
constants for features that may not be supported
by your current runtime environment. The fact
that they are visible at the perl/source layer is
nice too.

In the SDL2 case, couldn't Alien::SDL2 perform the
constant determination (and even generation) for the
bindings to use?

--Chris

On Thu, Aug 15, 2013 at 9:54 AM, Kartik Thakore
0 new messages