Tue, 28 Apr 2009 04:30:52 +0000Continue working on QNX Photon with OpenGL ES support
Mike Gorchak [Tue, 28 Apr 2009 04:30:52 +0000] rev 3108
Continue working on QNX Photon with OpenGL ES support

Fri, 24 Apr 2009 03:46:54 +0000Update README for QNX 6.x
Mike Gorchak [Fri, 24 Apr 2009 03:46:54 +0000] rev 3107
Update README for QNX 6.x

Mon, 13 Apr 2009 09:33:55 +0000Added a reminder for the jobs mailing list
Sam Lantinga [Mon, 13 Apr 2009 09:33:55 +0000] rev 3106
Added a reminder for the jobs mailing list

Fri, 03 Apr 2009 17:19:05 +0000Fixed bug #721
Sam Lantinga [Fri, 03 Apr 2009 17:19:05 +0000] rev 3105
Fixed bug #721

From michalziulek@gmail.com 2009-03-28 07:43:34 (-) [reply]

There is a bug in OpenGL 3.x context creation code.
Function glXGetProcAddress is used directly where it should be:
_this->gl_data->glXGetProcAddress. I have attached patch which fixes this on
x11 and win32. Thanks.

Fri, 03 Apr 2009 13:35:05 +0000Fixed undefined references to joystick code
Sam Lantinga [Fri, 03 Apr 2009 13:35:05 +0000] rev 3104
Fixed undefined references to joystick code

Fri, 03 Apr 2009 13:27:33 +0000Added SDL_GetColorKey()
Sam Lantinga [Fri, 03 Apr 2009 13:27:33 +0000] rev 3103
Added SDL_GetColorKey()

Sat, 28 Mar 2009 06:00:42 +0000Oops
Sam Lantinga [Sat, 28 Mar 2009 06:00:42 +0000] rev 3102
Oops

Tue, 24 Mar 2009 10:46:18 +0000Added credits for OpenGL 3.0 support
Sam Lantinga [Tue, 24 Mar 2009 10:46:18 +0000] rev 3101
Added credits for OpenGL 3.0 support

Tue, 24 Mar 2009 10:43:53 +0000Date: Sun, 22 Mar 2009 12:52:29 +0000
Sam Lantinga [Tue, 24 Mar 2009 10:43:53 +0000] rev 3100
Date: Sun, 22 Mar 2009 12:52:29 +0000
From: Luke Benstead
Subject: OpenGL 3.0 Context Creation

I've attached a patch which implements OpenGL 3.x context creation on
the latest SVN. I've added two options to SDL_GL_SetAttribute, these
are SDL_GL_CONTEXT_MAJOR_VERSION and SDL_GL_CONTEXT_MINOR_VERSION.
These default to 2 and 1 respectively. If the major version is less
than 3 then the current context creation method is used, otherwise the
appropriate new context creation function is called (depending on the
platform).

Sample code:

if (SDL_Init(SDL_INIT_VIDEO) != 0) {
printf("Unable to initialize SDL: %s\n", SDL_GetError());
return 1;
}

SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3); //Without these 2 lines, SDL will create a GL 2.x context
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);

SDL_Surface* screen = SDL_SetVideoMode( 640, 480, 16, SDL_OPENGL | SDL_FULLSCREEN );


I've implemented context creation on both Win32 and X and run basic
tests on both. This patch doesn't provide access to all the options
allowed by the new context creation (e.g. shared contexts, forward
compatible contexts) but they can be added pretty easily.

Tue, 24 Mar 2009 10:33:12 +0000Date: Mon, 23 Mar 2009 09:17:24 +0200
Sam Lantinga [Tue, 24 Mar 2009 10:33:12 +0000] rev 3099
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.