Mercurial > sdl-ios-xcode
comparison configure.in @ 3099:82e60908fab1
Date: Mon, 23 Mar 2009 09:17:24 +0200
From: "Mike Gorchak"
Subject: New QNX patches
Please apply patch qnx4.diff, which is attached. What has been done:
1)Added back OpenGL ES renderer for QNX target. Added few corrections to
OpenGL ES renderer to let it work under QNX. OpenGL ES renderer do not
support textures under QNX, so I think some additional work must be done.
2) Added GL_OES_query_matrix extension to SDL_opengles.h header file, which
required by OpenGL ES 1.1 specification.
3) Added attribute clearing at the entrance of function
SDL_GL_GetAttribure(). Added error checking into the function
SDL_GL_GetAttribure(), because some attributes can't be obtained in OpenGL
ES 1.0.
4) Porting testdyngles to OpenGL ES 1.0 (1.1 has glColor4ub() and
glColor4f() functions, but 1.0 has glColor4f() only).
5) Added error checking after obtaining attributes using
SDL_GL_GetAttribute() function to the testgl2 and testgles.
6) Small correction to testmultiaudio with printing errors.
7) Added software and accelerated OpenGL ES 1.0 support into the QNX GF
driver.
Please remove ./src/audio/nto directory - it will not be used anymore.
Please create ./src/audio/qsa directory and add content of the archive
qsa.tar.gz into this directory. I rewrote some sound code, added support for
multiple audio cards, enumeration, etc. Added initial support for capture.
As far as I can understand SDL 1.3 is not supporting audio capture right now
? Sam, Am I right ? Or audio capture must be supported through the
PlayDevice routine ?
And last, please put file SDL_gf_opengles.c to the ./src/video/qnxgf
directory. It is OpenGL ES 1.1 emulation layer for some functions, which are
not supported by OpenGL ES 1.0.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 24 Mar 2009 10:33:12 +0000 |
parents | 0d12e8f1de3c |
children | 86ea6c073d87 |
comparison
equal
deleted
inserted
replaced
3098:5f372cef955d | 3099:82e60908fab1 |
---|---|
1703 video_opengl=yes | 1703 video_opengl=yes |
1704 ]) | 1704 ]) |
1705 AC_MSG_RESULT($video_opengl) | 1705 AC_MSG_RESULT($video_opengl) |
1706 if test x$video_opengl = xyes; then | 1706 if test x$video_opengl = xyes; then |
1707 AC_DEFINE(SDL_VIDEO_OPENGL_ES) | 1707 AC_DEFINE(SDL_VIDEO_OPENGL_ES) |
1708 AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES) | |
1708 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lGLES_CM" | 1709 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lGLES_CM" |
1709 else | 1710 else |
1710 AC_MSG_CHECKING(for QNX OpenGL ES (CL) support) | 1711 AC_MSG_CHECKING(for QNX OpenGL ES (CL) support) |
1711 video_opengl=no | 1712 video_opengl=no |
1712 AC_TRY_COMPILE([ | 1713 AC_TRY_COMPILE([ |
1717 video_opengl=yes | 1718 video_opengl=yes |
1718 ]) | 1719 ]) |
1719 AC_MSG_RESULT($video_opengl) | 1720 AC_MSG_RESULT($video_opengl) |
1720 if test x$video_opengl = xyes; then | 1721 if test x$video_opengl = xyes; then |
1721 AC_DEFINE(SDL_VIDEO_OPENGL_ES) | 1722 AC_DEFINE(SDL_VIDEO_OPENGL_ES) |
1722 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lGLES_CL" | 1723 AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES) |
1724 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lGLES_CLS" | |
1723 fi | 1725 fi |
1724 fi | 1726 fi |
1725 fi | 1727 fi |
1726 } | 1728 } |
1727 | 1729 |
2499 CheckClockGettime | 2501 CheckClockGettime |
2500 | 2502 |
2501 | 2503 |
2502 # Set up files for the audio library | 2504 # Set up files for the audio library |
2503 if test x$enable_audio = xyes; then | 2505 if test x$enable_audio = xyes; then |
2504 AC_DEFINE(SDL_AUDIO_DRIVER_QNXNTO) | 2506 AC_DEFINE(SDL_AUDIO_DRIVER_QSA) |
2505 SOURCES="$SOURCES $srcdir/src/audio/nto/*.c" | 2507 SOURCES="$SOURCES $srcdir/src/audio/qsa/*.c" |
2506 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lasound" | 2508 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lasound" |
2507 have_audio=yes | 2509 have_audio=yes |
2508 fi | 2510 fi |
2509 # Set up files for the cdrom library | 2511 # Set up files for the cdrom library |
2510 if test x$enable_cdrom = xyes; then | 2512 if test x$enable_cdrom = xyes; then |