[JeZ+Lee] SDL 1.3 SVN Built - How do I enable OpenGL blitting ?
Hi,
Thank you to the people that help me!
I successfully built SDL 1.3 SVN.
How do I enable OpenGL hardware acceleration?
Have a simple demo and would like to see the performance difference…
Thanks!
JeZ+Lee
SLNTHERO at aol.com
Silent Hero Productions ®
Video Game Design Studio
www.SilentHeroProductions.com
Good question!
I took a quick look through the source code and it looks like it might
be accomplished by setting the SDL_VIDEODRIVER environment variable to
"vgl"
Anyone want to correct me?On Tue, Dec 30, 2008 at 4:07 PM, Jesse P. wrote:
[JeZ+Lee] SDL 1.3 SVN Built - How do I enable OpenGL blitting ?
Hi,
Thank you to the people that help me!
I successfully built SDL 1.3 SVN.
How do I enable OpenGL hardware acceleration?
Have a simple demo and would like to see the performance difference…
Thanks!
JeZ+Lee
SLNTHERO at aol.com
Silent Hero Productions ®
Video Game Design Studio
www.SilentHeroProductions.com
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
–
http://codebad.com/
I will!
Sorry. ‘vgl’ is the libvga video backend.On Tue, Dec 30, 2008 at 5:27 PM, Donny Viszneki <@Donny_Viszneki> wrote:
I took a quick look through the source code and it looks like it might
be accomplished by setting the SDL_VIDEODRIVER environment variable to
"vgl"
Anyone want to correct me?
–
http://codebad.com/
Donny Viszneki wrote:> On Tue, Dec 30, 2008 at 5:27 PM, Donny Viszneki <donny.viszneki at gmail.com > wrote:
I took a quick look through the source code and it looks like it might
be accomplished by setting the SDL_VIDEODRIVER environment variable to
"vgl"
Anyone want to correct me?
I will!
Sorry. ‘vgl’ is the libvga video backend.
Ok, then how i enable OpenGL blitting in SDL 1.3
Good question.
I’m not even sure if SDL SVN has OpenGL-accelerated blitting. The only
reason I assumed that it did is because it looks like SDL SVN has some
notion of textures, which lead me to assume some kind of
surface/texture unification going on, but in retrospect this is wild
speculation.
A better question is: does Sam have a blog?On Tue, Dec 30, 2008 at 6:26 PM, Jesse P. wrote:
Ok, then how i enable OpenGL blitting in SDL 1.3
–
http://codebad.com/
slouken
December 31, 2008, 3:38am
#6
Ok, then how i enable OpenGL blitting in SDL 1.3
You need to switch to the new accelerated texture API that’s available.
Check out test/testsprite2.c for an example.
For comparison you can try out testsprite and testsprite2 and see how
they compare in terms of both speed and functionality.
A better question is: does Sam have a blog?
Nope, I’m too busy with life to write about it.
See ya!
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment> On Tue, Dec 30, 2008 at 6:26 PM, Jesse P. wrote: