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 103 - sdl glscale backend
Summary: sdl glscale backend
Status: RESOLVED WONTFIX
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.0
Hardware: All All
: P2 enhancement
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL: http://icps.u-strasbg.fr/~marchesin/s...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-29 00:27 UTC by Sam Lantinga
Modified: 2007-07-03 03:02 UTC (History)
1 user (show)

See Also:


Attachments
sdl_glscale.patch (21.40 KB, patch)
2006-01-29 00:28 UTC, Sam Lantinga
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Lantinga 2006-01-29 00:27:46 UTC
Date: Wed, 11 Aug 2004 02:23:19 +0200
From: Stephane Marchesin <stephane.marchesin@wanadoo.fr>
Subject: [SDL] [patch] sdl glscale backend

To use it, patch your SDL source tree, compile, install and then set the
environment variable SDL_VIDEODRIVER :
export SDL_VIDEODRIVER=glscale        
It scales the picture by a factor 2 by default, but you can set your own
window size using the two env variables SDL_VIDEODRIVER_GLSCALE_X and   
SDL_VIDEODRIVER_GLSCALE_Y.

This latest version avoids pixel copy/conversion most of the time, so
it's faster than the previous one (most games are playable even on my
radeon 7000 card with the free dri drivers :)

The patch is there :
http://icps.u-strasbg.fr/~marchesin/sdl/sdl_glscale.patch
Comment 1 Sam Lantinga 2006-01-29 00:28:13 UTC
Created attachment 47 [details]
sdl_glscale.patch
Comment 2 Sam Lantinga 2006-06-21 04:10:29 UTC
Stephane mentioned this is out of date, and it might be obsoleted by SDL 1.3.  Moved to 1.3 so we can review it once the video drivers are rewritten.
Comment 3 Ryan C. Gordon 2007-07-03 03:02:40 UTC
I'm closing this as WONTFIX since it doesn't really apply to 1.3 now. Please reopen if this is incorrect.

--ryan.