log src/video/SDL_shape.c @ 5221:16d5e8e90e01

age author description
Sun, 22 Aug 2010 12:43:27 -0700 Sam Lantinga Merged no changes?
Tue, 17 Aug 2010 01:11:11 -0400 egottlieb Create all shaped windows at -1000,-1000 and save the real coordinates.
Mon, 16 Aug 2010 01:17:19 -0400 egottlieb Condensed flag-setting code and put parantheses in the appropriate places. It was that, in the end.
Sun, 15 Aug 2010 23:57:50 -0400 Eli Gottlieb Set flag bits *exactly* as Andreas showed me in his screenshot. This shouldn't be different, but what do I know about C's order of operations?
Sun, 15 Aug 2010 21:46:04 -0400 egottlieb Added hiding-as-positioning trick and finally fixed flags.
Sun, 15 Aug 2010 18:52:57 -0400 Eli Gottlieb Changed flags and positioning (for the fake-hiding) as Andreas recommended.
Sat, 14 Aug 2010 20:29:51 -0400 egottlieb Mostly seem to have fixed SDL_CalculateShapeTree. Mostly. There still seem to be some rendering artifacts, stepping effects, and such on Windows -- which indicates subtle logic errors in SDL_CalculateShapeTree().
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!
Thu, 12 Aug 2010 18:17:15 -0400 Eli Gottlieb Added SDL_SetWindowPosition() call to SDL_SetWindowShape(), going to see what this does on Windows.
Tue, 10 Aug 2010 16:30:53 -0400 egottlieb Fixing variable naming style.
Tue, 10 Aug 2010 16:10:26 -0400 Eli Gottlieb Fixed a bug in X11 shaping that refused to use color-key mode.
Mon, 09 Aug 2010 20:32:15 -0400 Eli Gottlieb Fixed formatting of SDL_shape.c post-merge again.
Mon, 09 Aug 2010 20:27:45 -0400 Eli Gottlieb Fixed overwriting of SDL_shape.c in merge.
Mon, 09 Aug 2010 15:41:33 -0400 Eli Gottlieb Merging branches. Will begin correcting mistakes introduced by merging.
Mon, 09 Aug 2010 15:37:20 -0400 Eli Gottlieb Reformatting code to match the rest of SDL. Variable names seem OK; replaced tabs with 4 spaces each for indentation.
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.
Fri, 06 Aug 2010 13:52:38 -0400 egottlieb Fixed the off-by-one bug in SDL_RecursivelyCalculateShapeTree().
Thu, 05 Aug 2010 18:58:45 -0400 egottlieb Improving Cocoa implementation and fixed a small bug in SDL_shape.c.
Thu, 05 Aug 2010 00:53:38 -0400 egottlieb Correcting minor bugs and adding assertions to help me track down a NULL pointer bug in Cocoa code.
Tue, 03 Aug 2010 23:22:31 -0400 egottlieb Compiling for cocoa now works. Does it run? We'll see.
Tue, 03 Aug 2010 00:47:33 -0400 egottlieb Got basic, pre-actually-writing-anything Cocoa to build.
Mon, 02 Aug 2010 01:54:59 -0400 egottlieb Worked on Windows implementation and the quad-trees.
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.
Thu, 29 Jul 2010 22:57:39 -0400 Eli Gottlieb Added Andreas's patch to fix my silly C++-style errors.
Wed, 28 Jul 2010 23:35:24 -0400 Eli Gottlieb Wrote out the system for breaking shape-masks into quad-trees of rectangles, and added code to conglomerate those quad-trees of rectangles into regions for setting shapes under Win32.
Mon, 26 Jul 2010 20:41:45 -0400 Eli Gottlieb OK, it appears that dramatic hacks are not necessary to make Cocoa work...
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.
Thu, 22 Jul 2010 23:11:01 -0400 Eli Gottlieb Added color-key mode and redid the code to work with it.
Tue, 20 Jul 2010 12:42:43 -0400 Eli Gottlieb Reapplied Win32 make-it-build patch. What's going on? Still get rendering artifacts when testing on x11, have literally no idea why.
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:24:52 -0400 Eli Gottlieb Added #define's for error codes returned from SDL shaped-window API.
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.
Thu, 15 Jul 2010 01:41:38 -0400 Eli Gottlieb Added in Visual Studio patch.
Wed, 14 Jul 2010 00:49:28 -0400 Eli Gottlieb Numerous bug fixes that keep testeyes from crashing and dying.
Sun, 11 Jul 2010 17:11:22 -0400 Eli Gottlieb Fixed a pair of syntax errors.
Thu, 08 Jul 2010 22:52:49 -0400 Eli Gottlieb Ported over, to the best of my ability, the code for Win32 shaped windows and patched in the correct C syntax and coding conventions of SDL.
Wed, 07 Jul 2010 16:20:54 -0400 Eli Gottlieb Fixed up shape files as best I can.
Tue, 06 Jul 2010 22:05:22 -0400 Eli Gottlieb Updated test code, updated win32 code a bit (still not complete, but hopefully tonight), and removed the last vestiges of ellipse and polygon drawing support.
Wed, 30 Jun 2010 16:19:44 -0400 Eli Gottlieb Finished X11 shaped-window functionality and removed ellipse+polygon rendering.
Mon, 21 Jun 2010 23:08:10 -0400 Eli Gottlieb Added Andreas's fixes to the header and stub file for SDL_shape.
Sat, 19 Jun 2010 23:10:57 -0400 Eli Gottlieb Replaced the model of treating a window's shape as a render target with treating a window's shape as a surface passed into an SDL_SetWindowShape() function. I'll send this off to Andreas and Sam and start coding.
Thu, 10 Jun 2010 17:37:19 -0400 Eli Gottlieb Stubbed out the new get/set parameter functions, added the start of the enum, union, and struct for those parameters themselves, and added doxygen comments throughout the SDL_shape.h header.
Sat, 05 Jun 2010 15:07:14 -0400 Eli Gottlieb Removed and added back SDL_shape.{c,h} wholesale. Will this get them tracked properly?
Sat, 05 Jun 2010 15:02:26 -0400 Eli Gottlieb Took away a line break to make SDL_shape.c new. Why isn't hg tracking these two files properly?
Thu, 27 May 2010 16:44:35 -0400 Eli Gottlieb Added the standard headers and footers that make SDL_shape.h and SDL_shape.c integrate properly into the build.
Fri, 21 May 2010 17:28:12 -0400 Eli Gottlieb Moved SDL_shape.h, and building out the API as needed by SDL_Eyes.
Fri, 21 May 2010 14:50:04 -0400 Eli Gottlieb Added stub files, working on sample program SDLeyes.