Sam Lantinga
|
a9072159b2
|
Updated copyright for 2018
|
2018-01-03 10:03:25 -08:00 |
|
Philipp Wiesemann
|
a60ec8961c
|
Fixed handling only one event per frame in testshape program.
|
2017-06-24 23:45:19 +02:00 |
|
Philipp Wiesemann
|
8169c59a78
|
Fixed ignoring first event in testshape program.
Found by Cppcheck.
|
2017-06-08 22:40:35 +02:00 |
|
Philipp Wiesemann
|
f8dc17bacd
|
Fixed crash if creating textures failed in testshape program.
|
2017-06-02 22:15:23 +02:00 |
|
Sam Lantinga
|
d77ab77a7a
|
Updated copyright for 2017
|
2017-01-01 18:33:28 -08:00 |
|
Philipp Wiesemann
|
d231148b56
|
Fixed crash in shape test program if memory allocation failed.
|
2016-05-10 21:13:58 +02:00 |
|
Sam Lantinga
|
255c182471
|
Updated copyright to 2016
|
2016-01-02 10:10:34 -08:00 |
|
Philipp Wiesemann
|
9677d33467
|
Replaced tabs with spaces in test programs.
|
2015-11-25 21:39:28 +01:00 |
|
Sam Lantinga
|
78f2198e6c
|
Updated the copyright year to 2015
|
2015-05-26 06:27:46 -07:00 |
|
Philipp Wiesemann
|
8cc0a1f080
|
Removed empty statements.
|
2014-04-05 23:50:09 +02:00 |
|
Sam Lantinga
|
dba255c1e5
|
Fixed bug 2374 - Update copyright for 2014...
Is it that time already??
|
2014-02-02 00:53:27 -08:00 |
|
Edward Rudd
|
049d8ae9a5
|
some fixes to the testshape.c code so it more correctly works.
|
2014-01-08 14:18:11 -05:00 |
|
Sam Lantinga
|
6d9d4b6eba
|
Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x)
|
2013-08-29 08:29:51 -07:00 |
|
Gabriel Jacobo
|
8515791f86
|
OCD fixes: Adds a space after /* (glory to regular expressions!)
|
2013-08-21 09:47:10 -03:00 |
|
Gabriel Jacobo
|
871473e032
|
OCD fixes: Adds a space before */
|
2013-08-21 09:43:09 -03:00 |
|
Gabriel Jacobo
|
f93c78450b
|
More non C89 compliant comments
|
2013-08-20 20:34:40 -03:00 |
|
Andreas Schiffler
|
7582a71d05
|
Fix bug 2034: replace printf by SDL_Log in tests; update loopwave VS solution: copy missing dependency
|
2013-08-14 23:30:10 -07:00 |
|
Sam Lantinga
|
7eff345ecb
|
Updated the copyright year for the test programs
|
2013-07-25 09:51:21 -07:00 |
|
Philipp Wiesemann
|
bfc26adbd5
|
Replaced use of malloc()/free() with SDL_malloc()/SDL_free() in test program.
|
2013-07-20 21:51:53 +02:00 |
|
Philipp Wiesemann
|
aa1fee4fdb
|
Removed not needed SDL_WINDOW_SHOWN from test programs.
See bug #1667.
|
2013-07-20 21:47:16 +02:00 |
|
Sam Lantinga
|
0d9b661db8
|
File style cleanup for the SDL 2.0 release
|
2013-05-18 14:17:52 -07:00 |
|
Sam Lantinga
|
6196aa221e
|
SDL 1.3 is now under the zlib license.
|
2011-04-08 13:03:26 -07:00 |
|
Sam Lantinga
|
533d4862d6
|
Simplified and improved the process of creating a texture from a surface.
|
2011-02-03 00:54:29 -08:00 |
|
Sam Lantinga
|
adaab5944f
|
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.
|
2011-02-01 19:19:43 -08:00 |
|
Sam Lantinga
|
88718ffabe
|
Making the API simpler, the renderer present semantics are always having a backbuffer and then discarding it. This is best for hardware accelerated rendering.
|
2011-02-01 12:19:46 -08:00 |
|
Sam Lantinga
|
74a3510cf2
|
Removed completely non-portable event thread hack.
Next I'll be working on generalizing the event sources and making the event queue lock-free. :)
|
2011-01-27 22:44:08 -08:00 |
|
Sam Lantinga
|
802ab4a83d
|
Removed extra space
|
2011-01-19 11:35:31 -08:00 |
|
egottlieb
|
394cc7bd48
|
Raised binarization cutoff to eliminate alpha-blending of trollface.
|
2010-08-16 09:55:35 -04:00 |
|
egottlieb
|
1dac65bd3a
|
Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now!
|
2010-08-14 16:14:36 -04:00 |
|
egottlieb
|
75a9691e3e
|
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.
|
2010-08-06 20:22:14 -04:00 |
|
Eli Gottlieb
|
fd29b00539
|
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
|
d184c2cdf1
|
Added Andreas's VS2010 patch for testshape.
|
2010-07-30 18:04:21 -04:00 |
|
Eli Gottlieb
|
1ed6481157
|
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
|
0b10a1cb52
|
More work on color-key mode.
|
2010-07-23 01:48:42 -04:00 |
|
Eli Gottlieb
|
a765c590a3
|
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
|
725ae8e50b
|
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
|
8a85a825dc
|
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
|
d85a315678
|
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
|
4cae3679e9
|
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
|
c78de4899e
|
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 |
|