Hi, 2013/12/26 mehmet altıparmak <mehmet6par...@hotmail.com>: > Which game development frameworks does sailfish development environmen > support? > Does it support OpenGl?
With Qt 5, you can use OpenGL ES 2.0: http://qt-project.org/doc/qt-5.0/qtgui/openglwindow.html If you want to use OpenGL ES 1.1, you will either have to use Wayland EGL + wayland-client directly (tedious, but already supported by Harbour): http://cgit.freedesktop.org/wayland/wayland/tree/src/wayland-egl.h http://cgit.freedesktop.org/mesa/mesa/tree/include/EGL/eglplatform.h http://cgit.freedesktop.org/wayland/wayland/tree/src/wayland-client.h Or you can use SDL 2.0, which is currently being updated to upstream 2.0.1 and packaged: https://github.com/nemomobile-packages/libsdl/tree/nemo Linking against the system SDL 2.0 is not yet supported in Harbour, but will be supported soon. You can always choose to link to SDL statically (if your license is compatible with SDL2's license) or dynamically by shipping libSDL2 with your application (see http://harbour.jolla.com/faq for details). For SDL2, there are also the usual add-on libraries available in the repositories: https://github.com/search?q=%40nemomobile-packages+libsdl Desktop OpenGL (without "ES") is not supported, for a quick port, Regal GL might be helpful: https://github.com/p3/regal For Audio, use PulseAudio (or Qt5 Multimedia / SDL2 Audio if you use these frameworks). Due to the resource policy, you might have to use libaudioresource to request playback of audio, otherwise system policy might prevent you from playing audio, and writing to the audio device might block forever: https://github.com/nemomobile/libaudioresource/ HTH :) Thomas _______________________________________________ SailfishOS.org Devel mailing list