[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] SDL 1.2.10 video API enhancements



Hi,

yes, for windows and mac .11 is going to be used.  However I might
change the default video driver from windows gdi to directx as it has
been until the .10 and .11 releases of SDL.  Since that changes input
behaviour, as well it is a big loss in performance.

The intel laptop chipset driver that was the cause of the problems for
the directx backend has long since been fixed.  Also older directx
versions are supported by vista, contrary to the reasoning behind the
change by SDL.


On 8/23/06, Kevin Bluck <kevin.bluck@xxxxxxxxx> wrote:
I noticed that pygame does not surface a couple of relatively recent SDL
video API enhancements that are very useful when you're trying to
respect the user's existing video settings.

The SDL_VideoInfo struct has some additional data members, in particular
current_w and current_h

http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fVideoInfo

SDL_SetVideoMode() width and height parameters may both be set to 0. It
will then use the width and height of the currently set video mode, or
the desktop mode if no mode has yet been set.

http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fSetVideoMode

Of course, including these will require at least SDL 1.2.10  The present
dependencies ( http://www.pygame.org/ftp/win32-dependencies.zip) appear
to reference 1.2.7  Are there any plans to move ahead to latest stable
1.2.11?


Regards,

--- Kevin