log test/testshape.c @ 5167:97423d858a1a

age author description
Thu, 03 Feb 2011 00:54:29 -0800 Sam Lantinga Simplified and improved the process of creating a texture from a surface.
Tue, 01 Feb 2011 19:19:43 -0800 Sam Lantinga The rendering functions take a context so it's clear what window they're drawing to. This also potentially opens to the door to multi-threaded rendering in the future.
Tue, 01 Feb 2011 12:19:46 -0800 Sam Lantinga Making the API simpler, the renderer present semantics are always having a backbuffer and then discarding it. This is best for hardware accelerated rendering.
Thu, 27 Jan 2011 22:44:08 -0800 Sam Lantinga Removed completely non-portable event thread hack.
Wed, 19 Jan 2011 11:35:31 -0800 Sam Lantinga Removed extra space
Mon, 16 Aug 2010 09:55:35 -0400 egottlieb Raised binarization cutoff to eliminate alpha-blending of trollface.
Sat, 14 Aug 2010 16:14:36 -0400 egottlieb Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now!
Fri, 06 Aug 2010 20:22:14 -0400 egottlieb Fixed lots of little bugs in Win32 shaping and in SDL_CalculateShapeTree(). Still not actually showing anything on Windows, though there's no crashes and everything compiles fine. Bugger.
Sun, 01 Aug 2010 21:10:42 -0400 Eli Gottlieb Fixed a couple of bugs in the general and X11 shape code, and fixed a bug in testshape that was keeping it from recognizing surfaces without alpha. Thanks to Andreas's bit-bashing tip, X11 shaped windows now work entirely, AFAICT.
Fri, 30 Jul 2010 18:04:21 -0400 Eli Gottlieb Added Andreas's VS2010 patch for testshape.
Mon, 26 Jul 2010 17:27:04 -0400 Eli Gottlieb Rejiggering the way shaped windows are created as preparation for OS X implementation. Fixed overdrive bug in test program that appears to have been introduced by someone other than myself.
Fri, 23 Jul 2010 01:48:42 -0400 Eli Gottlieb More work on color-key mode.
Mon, 19 Jul 2010 00:24:02 -0400 Eli Gottlieb Put the render loop back in its right place, but with delaying functionality to keep it down to roughly 60fps, not eating up all the X11 time.
Sun, 18 Jul 2010 23:51:47 -0400 Eli Gottlieb Boxed up the rendering loop and turned it into a redraw/update function. This makes things way more responsive, usable again.
Sun, 18 Jul 2010 23:36:39 -0400 Eli Gottlieb Added code to make testshape switch shapes on keystrokes and exit on an ESC keystroke.
Sun, 18 Jul 2010 23:05:40 -0400 Eli Gottlieb Minor bugfixes. testshape now draws a shaped window with bizarre, pixellated gashes of transparency across it, and in doing so seems to hog a system resource and slow the rest of the video system down.
Sun, 18 Jul 2010 22:17:52 -0400 Eli Gottlieb Same place as before, but optimizing a bit to try to isolate the spot in the program that locks things up.
Sun, 18 Jul 2010 21:31:22 -0400 Eli Gottlieb Rewrote test program for shaped windows. It definitely displays recognizable pictures now, but the resizing and shaping functionality isn't behaving correctly, possibly due to a miscalculation of alpha values.