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 694 - SDL_GL_ACCELERATED_VISUAL and Apple OpenGL software renderer
Summary: SDL_GL_ACCELERATED_VISUAL and Apple OpenGL software renderer
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: PowerPC Mac OS X 10.5 (Intel)
: P2 enhancement
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 09:11 UTC by Dmitri Vedenko
Modified: 2009-12-15 12:38 UTC (History)
1 user (show)

See Also:


Attachments
differnce between repository code and modified version (186 bytes, patch)
2009-02-05 09:11 UTC, Dmitri Vedenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Vedenko 2009-02-05 09:11:34 UTC
Created attachment 294 [details]
differnce between repository code and modified version

It would be really nice, if SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL,false) will actually force the software rendering on Mac OS X. It is pretty easy to do, but by the time, I'm doing it myself everytime, as I update SDL.

I am using the patch attached to achieve described functionality.
Comment 1 Sam Lantinga 2009-02-16 22:14:17 UTC
Thanks!  I'm waiting on a code release before applying this patch.

Ryan, do you think this is a good idea?  Currently I don't think we default this value true, but maybe we should.
Comment 2 Ryan C. Gordon 2009-02-18 23:35:30 UTC
If we default the value to true, I think this patch is a good idea.

--ryan.
Comment 3 Dmitri Vedenko 2009-02-19 07:05:57 UTC
It seems, tha patch is not working on latest svn revision. (it inserts the else statement in wrong place). If you wish, I can create patch for the latest svn version). Actually it is pretty simple.
Comment 4 Sam Lantinga 2009-10-10 12:42:38 UTC
Sure, that would be great.

Thanks!
Comment 5 Ryan C. Gordon 2009-10-11 14:33:53 UTC
Sam, do we want to sneak this into 1.2.14?

--ryan.
Comment 6 Sam Lantinga 2009-10-11 14:41:03 UTC
Sure. :)
Do we want to do the equivalent code for WGL and GLX?
Comment 7 Sam Lantinga 2009-12-15 12:38:31 UTC
I turned on OpenGL hardware acceleration by default and added software OpenGL path for Mac OS X, in revision 5405.

Thanks!