Editing User:Javispedro/SDL-GLES

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
You can use SDL 1.2 and a small addon I made, SDL-GLES, to ease development of OpenGL ES (1.1 and 2.0) applications in Maemo.
You can use SDL 1.2 and a small addon I made, SDL-GLES, to ease development of OpenGL ES (1.1 and 2.0) applications in Maemo.
 +
 +
'''Page in progress'''
== Get started ==
== Get started ==
Line 13: Line 15:
# Now to get a simple skeleton for your app. Download [http://git.maemo.org/git?p=sdlhildon;a=blob_plain;f=sdlgles/test/gles2.c;h=d13ee1ef5505af8ee51a68250f3016ea4ce5f5d3;hb=HEAD gles2.c] and put it in your working directory.
# Now to get a simple skeleton for your app. Download [http://git.maemo.org/git?p=sdlhildon;a=blob_plain;f=sdlgles/test/gles2.c;h=d13ee1ef5505af8ee51a68250f3016ea4ce5f5d3;hb=HEAD gles2.c] and put it in your working directory.
#: <code>wget "http://git.maemo.org/git?p=sdlhildon;a=blob_plain;f=sdlgles/test/gles2.c;h=d13ee1ef5505af8ee51a68250f3016ea4ce5f5d3" -O gles2.c</code>
#: <code>wget "http://git.maemo.org/git?p=sdlhildon;a=blob_plain;f=sdlgles/test/gles2.c;h=d13ee1ef5505af8ee51a68250f3016ea4ce5f5d3" -O gles2.c</code>
-
#: ''Note that this is just a skeletion application; if you want samples, look at the nehegles package in extras.''
+
#: ''Note that this is not a proper skeleton, work in progress''
# Build gles2 with  
# Build gles2 with  
#: <code>gcc `sdl-config --cflags --libs` -o gles2 gles2.c -lSDL_gles -lEGL -lGLESv2</code>
#: <code>gcc `sdl-config --cflags --libs` -o gles2 gles2.c -lSDL_gles -lEGL -lGLESv2</code>
Line 28: Line 30:
# Now to get a simple skeleton for your app. Download [http://git.maemo.org/git?p=sdlhildon;a=blob_plain;f=sdlgles/test/gles1.c;h=0756be5b8979868a4a9ac4c3d8497e56b18bb276 gles1.c] and put it in your working directory.
# Now to get a simple skeleton for your app. Download [http://git.maemo.org/git?p=sdlhildon;a=blob_plain;f=sdlgles/test/gles1.c;h=0756be5b8979868a4a9ac4c3d8497e56b18bb276 gles1.c] and put it in your working directory.
#: <code>wget "http://git.maemo.org/git?p=sdlhildon;a=blob_plain;f=sdlgles/test/gles1.c;h=0756be5b8979868a4a9ac4c3d8497e56b18bb276" -O gles1.c</code>
#: <code>wget "http://git.maemo.org/git?p=sdlhildon;a=blob_plain;f=sdlgles/test/gles1.c;h=0756be5b8979868a4a9ac4c3d8497e56b18bb276" -O gles1.c</code>
-
#: ''Note that this is just a skeletion application; if you want samples, look at the nehegles package in extras.''
+
#: ''Note that this is not a proper skeleton, work in progress''
# Build gles1 with  
# Build gles1 with  
#: <code>gcc `sdl-config --cflags --libs` -o gles1 gles1.c -lSDL_gles -lEGL -lGLES_CM</code>
#: <code>gcc `sdl-config --cflags --libs` -o gles1 gles1.c -lSDL_gles -lEGL -lGLES_CM</code>

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)