Mon, 29 Jun 2009 19:54:43 +0000I've made so many changes I don't dare continue until I check the current stuff in.
Bob Pendleton <bob@pendleton.com> [Mon, 29 Jun 2009 19:54:43 +0000] rev 3202
I've made so many changes I don't dare continue until I check the current stuff in.

/test/testatomic.c performs absolutely basic tests to show that the function work as expected. Need a second test to do more detailed tests.

/include/SDL_atomic.h provides declarations for all included functions.

/src/atomic/linux/SDL_atomic.c provided all the functions. On a generic built the 64 bit functions work, but they are emulated. On a build for -march=pentium and above the 64 bit functions use native instructions
/src/atomic/dummy/SDL_atomic.c emulates all the operations using SDL_mutex.h.
/src/atomic/win32/SDL_atomic.c is a copy of dummy
/src/atomic/macosx/SDL_atomic.s is a copy of dummy

These versions of SDL_atomic.c provide a frame work for building the library with a mixture of native and emulated functions. This allows the whole library to be provided on all platforms. (I hope.)
I hope this fits with the SDL philosophy of either providing a common subset or emulating when the platform is missing a feature.

I have not added dummy, macosx, or win32 to the build. They are there as place holders for future work.

I have modified congifure.in to compile sources in /src/atomic/linux. (The SDL configure.in file is an amazing piece of work and I hope I didn't mess it up. :-)

Wed, 24 Jun 2009 22:24:23 +0000Disabling 64 bit atomics operations until I figure out why they do not link.
Bob Pendleton <bob@pendleton.com> [Wed, 24 Jun 2009 22:24:23 +0000] rev 3201
Disabling 64 bit atomics operations until I figure out why they do not link.

Wed, 24 Jun 2009 20:20:57 +0000First draft of atomic operations code for GCC and linux.
Bob Pendleton <bob@pendleton.com> [Wed, 24 Jun 2009 20:20:57 +0000] rev 3200
First draft of atomic operations code for GCC and linux.

Wed, 24 Jun 2009 20:04:08 +0000This check in updates SDL_atomic.h to reflect the new set of atomic operations in 32 and 64 bit form.
Bob Pendleton <bob@pendleton.com> [Wed, 24 Jun 2009 20:04:08 +0000] rev 3199
This check in updates SDL_atomic.h to reflect the new set of atomic operations in 32 and 64 bit form.
It also update configure.in to compile the linux version of the library. The three versions are all dummies
implementations that do nothing. They are being checked in as place holders. Mostly, I just wanted to get
place holders and the configure.in checked in.

Wed, 17 Jun 2009 04:26:19 +0000Added power API and test program to Visual C++ project files.
Ryan C. Gordon <icculus@icculus.org> [Wed, 17 Jun 2009 04:26:19 +0000] rev 3198
Added power API and test program to Visual C++ project files.

Tue, 16 Jun 2009 14:34:15 +0000Alexei Tereschenko
Sam Lantinga <slouken@libsdl.org> [Tue, 16 Jun 2009 14:34:15 +0000] rev 3197
Alexei Tereschenko

Why not to use hardware vertex processing instead of software one if
it is available in D3D render driver? With hardware processing
testsprite2 runs three times faster on all videocards which I could
test.

Fri, 12 Jun 2009 08:41:48 +0000Fixed some compile errors and warnings under Visual C++
Sam Lantinga <slouken@libsdl.org> [Fri, 12 Jun 2009 08:41:48 +0000] rev 3196
Fixed some compile errors and warnings under Visual C++

Thu, 11 Jun 2009 20:08:33 +0000Mouse events now report the correct window id and window enter/leave events are now reported.
Bob Pendleton <bob@pendleton.com> [Thu, 11 Jun 2009 20:08:33 +0000] rev 3195
Mouse events now report the correct window id and window enter/leave events are now reported.

Thu, 11 Jun 2009 06:03:05 +0000Proper window resize handling in GLES test application.
Mike Gorchak <lestat@i.com.ua> [Thu, 11 Jun 2009 06:03:05 +0000] rev 3194
Proper window resize handling in GLES test application.

Thu, 11 Jun 2009 05:57:32 +0000Fixed problems with OpenGL ES window resizing.
Mike Gorchak <lestat@i.com.ua> [Thu, 11 Jun 2009 05:57:32 +0000] rev 3193
Fixed problems with OpenGL ES window resizing.