egottlieb
|
9e01a7bbb1
|
Fixed the off-by-one bug in SDL_RecursivelyCalculateShapeTree().
|
2010-08-06 13:52:38 -04:00 |
|
egottlieb
|
983d7b8fd6
|
Finally figured out how to use autorelease pools.
|
2010-08-05 21:27:32 -04:00 |
|
egottlieb
|
c95526b7ce
|
Improving Cocoa implementation and fixed a small bug in SDL_shape.c.
|
2010-08-05 18:58:45 -04:00 |
|
egottlieb
|
08c64cf886
|
Shaped windows for Cocoa build and testshape runs, but the actual shaping doesn't work. Something, however, is definitely happening, because we get the backgrounds drawn in two different colors.
|
2010-08-05 01:03:24 -04:00 |
|
egottlieb
|
91e4d53502
|
Correcting minor bugs and adding assertions to help me track down a NULL pointer bug in Cocoa code.
|
2010-08-05 00:53:38 -04:00 |
|
egottlieb
|
f77e383d26
|
Building under OS X with command-line tools now works.
|
2010-08-03 23:41:57 -04:00 |
|
egottlieb
|
6295237d5f
|
Compiling for cocoa now works. Does it run? We'll see.
|
2010-08-03 23:22:31 -04:00 |
|
egottlieb
|
57c8f6a466
|
Implemented shaped windows for Cocoa. Still need to see if they actually work.
|
2010-08-03 21:56:05 -04:00 |
|
egottlieb
|
2d2a93ff5d
|
Removed superfluous VS2010 build files.
|
2010-08-03 10:10:06 -04:00 |
|
egottlieb
|
8f1459d90c
|
Got basic, pre-actually-writing-anything Cocoa to build.
|
2010-08-03 00:47:33 -04:00 |
|
Eli Gottlieb
|
34bbabf02e
|
Why wasn't this in the repository?
|
2010-08-02 23:58:22 -04:00 |
|
Eli Gottlieb
|
c013c279ef
|
Added SDL_cocoashape.h
|
2010-08-02 23:33:04 -04:00 |
|
egottlieb
|
0a0b18c761
|
Added and re-added VS2010 solution files.
|
2010-08-02 22:20:13 -04:00 |
|
egottlieb
|
4caaaf9b10
|
Added VS2010 build files.
|
2010-08-02 21:43:08 -04:00 |
|
egottlieb
|
56ab3ca590
|
Worked on Windows implementation and the quad-trees.
|
2010-08-02 01:54:59 -04:00 |
|
egottlieb
|
c33852e995
|
Added VS2010 tests solution file.
|
2010-08-01 23:27:22 -04:00 |
|
egottlieb
|
e44b848675
|
Added Windows build files for testshape.
|
2010-08-01 23:26:37 -04:00 |
|
egottlieb
|
7e4a59dccf
|
Converted some project files to VS2010, adding new files. Backups were made.
|
2010-08-01 23:16:32 -04:00 |
|
egottlieb
|
2c1ceff2c4
|
Changed the file name to its correct, required one.
|
2010-08-01 23:07:59 -04:00 |
|
Eli Gottlieb
|
6c23f8c602
|
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.
|
2010-08-01 21:10:42 -04:00 |
|
Eli Gottlieb
|
0e0ad58e1f
|
Added Andreas's VS2010 patch for testshape.
|
2010-07-30 18:04:21 -04:00 |
|
Eli Gottlieb
|
d5e0ecb0f0
|
Added Andreas's patch to fix my silly C++-style errors.
|
2010-07-29 22:57:39 -04:00 |
|
Eli Gottlieb
|
980298285c
|
Added the header to the repo. Oops.
|
2010-07-29 12:49:17 -04:00 |
|
Eli Gottlieb
|
9a3f51f3c5
|
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.
|
2010-07-28 23:35:24 -04:00 |
|
Eli Gottlieb
|
3433f10279
|
Added shapes folder to hg.
|
2010-07-26 21:49:32 -04:00 |
|
Eli Gottlieb
|
807e0c5cca
|
Working on Cocoa implementation.
|
2010-07-26 21:48:53 -04:00 |
|
Eli Gottlieb
|
01cddf42c7
|
OK, it appears that dramatic hacks are not necessary to make Cocoa work...
|
2010-07-26 20:41:45 -04:00 |
|
Eli Gottlieb
|
155833dd81
|
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.
|
2010-07-26 17:27:04 -04:00 |
|
Eli Gottlieb
|
6cc1b97fc5
|
More work on color-key mode.
|
2010-07-23 01:48:42 -04:00 |
|
Eli Gottlieb
|
abb4ad73c5
|
Added color-key mode and redid the code to work with it.
|
2010-07-22 23:11:01 -04:00 |
|
Eli Gottlieb
|
f9048e7257
|
Reapplied Win32 make-it-build patch. What's going on? Still get rendering artifacts when testing on x11, have literally no idea why.
|
2010-07-20 12:42:43 -04:00 |
|
Eli Gottlieb
|
2d0aeb3f2e
|
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.
|
2010-07-19 00:24:02 -04:00 |
|
Eli Gottlieb
|
e2dcaac803
|
Boxed up the rendering loop and turned it into a redraw/update function. This makes things way more responsive, usable again.
|
2010-07-18 23:51:47 -04:00 |
|
Eli Gottlieb
|
60b401aef8
|
Added code to make testshape switch shapes on keystrokes and exit on an ESC keystroke.
|
2010-07-18 23:36:39 -04:00 |
|
Eli Gottlieb
|
70ad6fd4e9
|
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.
|
2010-07-18 23:05:40 -04:00 |
|
Eli Gottlieb
|
4922edee74
|
Added #define's for error codes returned from SDL shaped-window API.
|
2010-07-18 22:24:52 -04:00 |
|
Eli Gottlieb
|
68fccc096b
|
Same place as before, but optimizing a bit to try to isolate the spot in the program that locks things up.
|
2010-07-18 22:17:52 -04:00 |
|
Eli Gottlieb
|
86f3a25266
|
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.
|
2010-07-18 21:31:22 -04:00 |
|
Eli Gottlieb
|
7e104c5469
|
Updated testeyes.c. It now shows some kind of gibberish Missingno-type picture somewhere on the screen and, possibly, hangs the window system. On the upside, the Missingno is definitely a non-rectangular window.
|
2010-07-18 15:15:05 -04:00 |
|
Eli Gottlieb
|
72dcc2f873
|
Added SDL_win32shape.h to version control. D'oh.
|
2010-07-18 14:47:04 -04:00 |
|
Eli Gottlieb
|
21d029da3b
|
Added in Visual Studio patch.
|
2010-07-15 01:41:38 -04:00 |
|
Eli Gottlieb
|
20c4883dee
|
Numerous bug fixes that keep testeyes from crashing and dying.
|
2010-07-14 00:49:28 -04:00 |
|
Ryan C. Gordon
|
8d6d1c0e56
|
Check configure-defined macro before doing _anything_ with XShape.
|
2010-07-13 02:43:49 -04:00 |
|
Ryan C. Gordon
|
799e5c6cbe
|
Add XShape test to configure scripts.
|
2010-07-13 02:43:10 -04:00 |
|
Ryan C. Gordon
|
e9eaf8d58d
|
Removed compiled testeyes from revision control. Added it to ignore list.
|
2010-07-13 02:27:59 -04:00 |
|
Ryan C. Gordon
|
7ae528ef48
|
Make sure we have XShape symbols before we allow a shaped window.
|
2010-07-13 02:26:50 -04:00 |
|
Ryan C. Gordon
|
21dfc93ebd
|
Add new X11 symbols that XShape support needs to the dynamic function list.
|
2010-07-13 02:12:14 -04:00 |
|
Eli Gottlieb
|
c1483580f5
|
Fixed a pair of syntax errors.
|
2010-07-11 17:11:22 -04:00 |
|
Eli Gottlieb
|
559963b115
|
Put in a couple of fixes that I realized hadn't gotten done when I wrote out the SCRUM stuff in TODO. Added SCRUM listings in TODO.
|
2010-07-09 20:24:44 -04:00 |
|
Eli Gottlieb
|
7e0f1f1898
|
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.
|
2010-07-08 22:52:49 -04:00 |
|