Sun, 22 Jul 2012 11:24:04 -0700Fix for the Game Center status window always being behind the SDL window (untested!)
Sam Lantinga <slouken@libsdl.org> [Sun, 22 Jul 2012 11:24:04 -0700] rev 6379
Fix for the Game Center status window always being behind the SDL window (untested!)

Fri, 20 Jul 2012 12:57:25 -0700Fixed bug 1547 - Fix test(1) utilization within the autoconf script
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Jul 2012 12:57:25 -0700] rev 6378
Fixed bug 1547 - Fix test(1) utilization within the autoconf script

Brad Smith 2012-07-19 11:39:09 PDT

I noticed this error from the OpenBSD/amd64 buildbot log..

../configure[15018]: test: -O2: unexpected operator/operand

The attached patch fixes the issue.

Fri, 20 Jul 2012 15:22:48 -0300Fixes Android_JNI_FileRead behaviour where reading past the end of a file returns zero instead of the number of bytes read.
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 20 Jul 2012 15:22:48 -0300] rev 6377
Fixes Android_JNI_FileRead behaviour where reading past the end of a file returns zero instead of the number of bytes read.

Fri, 20 Jul 2012 13:52:25 -0400Should fix type-punning compiler warnings.
Ryan C. Gordon <icculus@icculus.org> [Fri, 20 Jul 2012 13:52:25 -0400] rev 6376
Should fix type-punning compiler warnings.

Fri, 20 Jul 2012 13:33:15 -0400Fixed some minor compiler warnings.
Ryan C. Gordon <icculus@icculus.org> [Fri, 20 Jul 2012 13:33:15 -0400] rev 6375
Fixed some minor compiler warnings.

Fri, 20 Jul 2012 13:32:34 -0400Fixed pthread_np.h detection on OpenBSD.
Ryan C. Gordon <icculus@icculus.org> [Fri, 20 Jul 2012 13:32:34 -0400] rev 6374
Fixed pthread_np.h detection on OpenBSD.

Thu, 19 Jul 2012 09:36:58 -0700More OpenGL ES fixes from Scott Percival
Sam Lantinga <slouken@libsdl.org> [Thu, 19 Jul 2012 09:36:58 -0700] rev 6373
More OpenGL ES fixes from Scott Percival

Wed, 18 Jul 2012 15:53:33 -0700Fixed bug 1542 - SDL_Touch should reserve tilt_x and tilt_y
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 15:53:33 -0700] rev 6372
Fixed bug 1542 - SDL_Touch should reserve tilt_x and tilt_y

Gerry JJ 2012-07-14 19:42:23 PDT
The SDL_Touch structure currently reserves fields for tablet tilt and rotation
(marked "for future use"), but a tablet stylus can tilt in both x and y
directions in addition to rotation around itself (or, put another way, it can
rotate in x, y and z). So, the struct should probably reserve fields for both
tilt_x and tilt_y, not just tilt.

Wed, 18 Jul 2012 15:20:32 -0700Switch the OpenGL ES renderers to request EGL OpenGL contexts
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 15:20:32 -0700] rev 6371
Switch the OpenGL ES renderers to request EGL OpenGL contexts

Wed, 18 Jul 2012 15:17:27 -0700Improved simultaneous support for OpenGL and OpenGL ES
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 15:17:27 -0700] rev 6370
Improved simultaneous support for OpenGL and OpenGL ES

From Scott Percival

Okay, I think I have something for this. Tested it on GL and GLES
machines, it seems to work okay.

- Add a new SDL GL attribute SDL_GL_CONTEXT_EGL:
- Only useful for the X11 video driver at the moment
- Set to 1 for an EGL context, 0 to use the default for the video driver
- Default is 0, unless library is built for EGL only
- Should be set after SDL init, but before window/context
creation (i.e. same place you'd specify attributes for major/minor GL
version)
- After a lot of agony pondering the least-terrible way to go about
it, made it so that X11_GL_LoadLibrary and X11_GLES_LoadLibrary check
SDL_GL_CONTEXT_EGL. If no GL context exists yet, and the attribute
choice doesn't match with the checking function, then it changes all
the function pointers in the video driver and passes control on to the
new LoadLibrary method.
- Likewise, make X11_CreateWindow check this attribute before firing
off a call to X11_GL_GetVisual/X11_GLES_GetVisual
- Added a sanity check to the start of X11_GL_LoadLibrary
- Tidied up SDL_x11opengles.h
- Moved ownership of the gles_data structure over to
X11_GLES_LoadLibrary/UnloadLibrary
- Should incorporate the 3 fixes posted by Andre Heider

This is obviously quite a bit to take in, but is (at least) a proof of
concept for the approach I think EGL/GLX mingling should take. Any
comments/criticism is much appreciated.