I wanted to be able to use sizes >2x along with
filtering options, and OpenGL was what came to mind. I
tried to make the patch portable across OS's, but it's
only been tested on Linux and is submitted on a "works
for me" basis.
Good work , you made me learn a lesson about open source:
"don't let code rot in your hd".
Some months ago I added opengl support to visualboy I didn't
release a patch because I wanted the code to be good/clean
enough.
Your patch failed in configure , it checked 3 times for
opengl support (it might have been my fault since I don't
know patch too well) , anyway I used the configure.in from
my patch (I just modified configure.in to do my patch I
think there's no need to alter makefile.am as you do in your
patch).
I used glTexImage2D instead as glTexsubImage2D , there's no
difference on performance (at least on my machine) , but
glTexsubImage2D allows non power of two updates so this is
where your patch beats mine.
With your patch when you switch to fullscreen the whole
screen remains black , check the case of CTRL+F in void
sdlPollEvents().
To project maintainers: I think ethermage's patch is ok , I
will gladly add any feature I miss in this patch , like
linear / nearest filter selection , custom resolution
selection , keep aspect ratio ...feel free to sugest anything.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
patch to add OpenGL rendering option to SDL port
Logged In: YES
user_id=817486
Good work , you made me learn a lesson about open source:
"don't let code rot in your hd".
Some months ago I added opengl support to visualboy I didn't
release a patch because I wanted the code to be good/clean
enough.
Your patch failed in configure , it checked 3 times for
opengl support (it might have been my fault since I don't
know patch too well) , anyway I used the configure.in from
my patch (I just modified configure.in to do my patch I
think there's no need to alter makefile.am as you do in your
patch).
I used glTexImage2D instead as glTexsubImage2D , there's no
difference on performance (at least on my machine) , but
glTexsubImage2D allows non power of two updates so this is
where your patch beats mine.
With your patch when you switch to fullscreen the whole
screen remains black , check the case of CTRL+F in void
sdlPollEvents().
To project maintainers: I think ethermage's patch is ok , I
will gladly add any feature I miss in this patch , like
linear / nearest filter selection , custom resolution
selection , keep aspect ratio ...feel free to sugest anything.