[SDL] Open GL, Linux, Windows

David Olofson david.olofson at reologica.se
Mon Jun 17 08:08:00 PDT 2002


On Sun, 16/06/2002 14:21:42 , Loren Osborn <linux_dr at yahoo.com> wrote:
[...fullscreen h/w surfaces...]
>You could always submit a patch... I honestly am not
>sure Sam would go for the idea of not clipping, as it
>breaks the "window paradigm", but it's still worth
>asking him.

Why not provide it as an *extra* feature, rather than a change of how windowed mode works? Add an SDL_FASTWINDOW flag or something... (Will just be ignored by older SDL libs, and not requested by old applications, so it shouldn't break anything. Some new applications might need to check whether or not they got it, though.)


>> >While this is certainly possible, I don't even
>> think
>> >that even the Amiga port does this.  If you feel
>> >ambitious, I'm sure Sam would welcome a patch to
>> >handle this case...
>> 
>> Do you think SDL/OpenGL _prevents_ the use of
>> hardware acceleration in
>> non-fullscreen mode, or can I enable it and live
>> with the shortcomings ?
>
>I am unsure if the final rendered-3D to 2D window blit
>is accelerated under SDL/OpenGL,
[...]

AFAIK, that blit is always performed (and clipped :-) by the OpenGL driver, regardless of platform, so that shouldn't be an issue.


//David


.---------------------------------------
| David Olofson
| Programmer
| david.olofson at reologica.se
|---------------------------------------
| Address:
| REOLOGICA Instruments AB
| Scheelevägen 30
| 223 63 LUND
| Sweden
|---------------------------------------
| Phone: 046-12 77 60
| Fax: 046-12 50 57
| Mobil: 
| E-mail: david.olofson at reologica.se
| WWW: http://www.reologica.se
| 
`-----> We Make Rheology Real





More information about the SDL mailing list