We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 6 - glSDL...
Summary: glSDL...
Status: RESOLVED WONTFIX
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.0
Hardware: All All
: P2 API change
Assignee: marchesin
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-03 11:43 UTC by Ryan C. Gordon
Modified: 2006-09-23 19:08 UTC (History)
1 user (show)

See Also:


Attachments
glSDL patch for SDL 1.3 (104.09 KB, patch)
2006-02-11 13:52 UTC, marchesin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan C. Gordon 2006-01-03 11:43:36 UTC
The loved-and-feared glSDL!

No patch attached, get the latest if/when we plan to apply this.

--ryan.
Comment 1 Ryan C. Gordon 2006-01-05 02:33:43 UTC
(Changed severity to "API change" for a bunch of bugs.)

--ryan.

Comment 2 Ryan C. Gordon 2006-01-27 11:23:00 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 3 marchesin 2006-02-11 13:52:45 UTC
Created attachment 72 [details]
glSDL patch for SDL 1.3
Comment 4 Sam Lantinga 2006-05-01 03:05:20 UTC
Okay, the patch is in SDL 1.3:
svn://libsdl.org/branches/SDL-1.3

There seem to be some problems, however.  The window created is the size of my desktop, the testalpha program throws up garbage on my screen, the testwin program sort of works, in that I see the SDL logo go by, very very slowly, but the colors are completely messed up.

I have a Radeon 9200 with Fedora Core 4 DRI drivers.

Here's the testvidinfo output:
[hercules@localhost test]$ ./testvidinfo
Video driver: x11
Current display: 1280x1024, 32 bits-per-pixel
        Red Mask = 0x00ff0000
        Green Mask = 0x0000ff00
        Blue Mask = 0x000000ff
Fullscreen video modes:
        1280x1024x32
        1280x960x32
        1280x800x32
        1280x768x32
        1280x720x32
        1152x864x32
        1152x768x32
        1024x768x32
        848x480x32
        832x624x32
        800x600x32
        720x400x32
        640x480x32
        640x400x32
        640x360x32
        640x350x32
        512x384x32
        424x240x32
        416x312x32
        400x300x32
A window manager is available
[hercules@localhost test]$ SDL_VIDEODRIVER=glSDL ./testvidinfo
glSDL videoinit
Video driver: glSDL
Current display: 1280x1024, 32 bits-per-pixel
        Red Mask = 0x00ff0000
        Green Mask = 0x0000ff00
        Blue Mask = 0x000000ff
No special fullscreen video modes
A window manager is available
Hardware surfaces are available (0K video memory)
Copy blits between hardware surfaces are accelerated
Colorkey blits between hardware surfaces are accelerated
Alpha blits between hardware surfaces are accelerated
Copy blits from software surfaces to hardware surfaces are accelerated
Colorkey blits from software surfaces to hardware surfaces are accelerated
Alpha blits from software surfaces to hardware surfaces are accelerated
Color fills on hardware surfaces are accelerated

It seems like there should be more video modes for glSDL?
Comment 5 Sam Lantinga 2006-09-23 19:08:31 UTC
Most of the functionality of glSDL is built-in for SDL 1.3