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 1112

Summary: retina display support
Product: SDL Reporter: Vittorio Giovara <vitto.giova>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2    
Version: HG 2.0   
Hardware: ARM   
OS: iOS (All)   
Attachments: retina display support

Description Vittorio Giovara 2011-02-01 02:21:50 UTC
Created attachment 563 [details]
retina display support

with the attached patch, the opengles context will always use the maximum screensize available; this is particularly useful for supporting retina display on latest iphone.

please note: Apple documentation warns that using the "upscaled" gl context actually uses more memory and bandwitdh, so it might be worth to let the user decide whether to disable it or not, either with a flag or a sdl function...
Comment 1 Sam Lantinga 2011-02-01 08:55:14 UTC
Your patch is in, thanks!
http://hg.libsdl.org/SDL/rev/ec13e48ee0d9