Sam Lantinga
|
af32a2f4cd
|
Updated copyright for 2019
|
2019-01-04 22:01:14 -08:00 |
|
Sam Lantinga
|
346af016a5
|
Updated copyright for 2018
|
2018-01-03 10:03:25 -08:00 |
|
Philipp Wiesemann
|
ca30563db8
|
Fixed handling only one event per frame in testshape program.
|
2017-06-24 23:45:19 +02:00 |
|
Philipp Wiesemann
|
6219e4a880
|
Fixed ignoring first event in testshape program.
Found by Cppcheck.
|
2017-06-08 22:40:35 +02:00 |
|
Philipp Wiesemann
|
74a845ca37
|
Fixed crash if creating textures failed in testshape program.
|
2017-06-02 22:15:23 +02:00 |
|
Sam Lantinga
|
1b24bfad38
|
Updated copyright for 2017
|
2017-01-01 18:33:28 -08:00 |
|
Philipp Wiesemann
|
13dddf1a3b
|
Fixed crash in shape test program if memory allocation failed.
|
2016-05-10 21:13:58 +02:00 |
|
Sam Lantinga
|
7ee8dda270
|
Updated copyright to 2016
|
2016-01-02 10:10:34 -08:00 |
|
Philipp Wiesemann
|
da4d0e4a52
|
Replaced tabs with spaces in test programs.
|
2015-11-25 21:39:28 +01:00 |
|
Sam Lantinga
|
56b58afdbe
|
Updated the copyright year to 2015
|
2015-05-26 06:27:46 -07:00 |
|
Philipp Wiesemann
|
e68f76da43
|
Removed empty statements.
|
2014-04-05 23:50:09 +02:00 |
|
Sam Lantinga
|
d7940a513e
|
Fixed bug 2374 - Update copyright for 2014...
Is it that time already??
|
2014-02-02 00:53:27 -08:00 |
|
Edward Rudd
|
80089de1b0
|
some fixes to the testshape.c code so it more correctly works.
--HG--
extra : rebase_source : 16e302aa18fca6d543bcefa99768a665385fa208
extra : amend_source : 5b2210968e25d6ff3851e1884de6109740fdddd1
|
2014-01-08 14:18:11 -05:00 |
|
Sam Lantinga
|
62d7359fd5
|
Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x)
|
2013-08-29 08:29:51 -07:00 |
|
Gabriel Jacobo
|
298ce1c1a7
|
OCD fixes: Adds a space after /* (glory to regular expressions!)
|
2013-08-21 09:47:10 -03:00 |
|
Gabriel Jacobo
|
271e0d67c4
|
OCD fixes: Adds a space before */
|
2013-08-21 09:43:09 -03:00 |
|
Gabriel Jacobo
|
5e78879e76
|
More non C89 compliant comments
|
2013-08-20 20:34:40 -03:00 |
|
Andreas Schiffler
|
16a40598f6
|
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
|
e2a14cf5dd
|
Updated the copyright year for the test programs
|
2013-07-25 09:51:21 -07:00 |
|
Philipp Wiesemann
|
32e6f653b6
|
Replaced use of malloc()/free() with SDL_malloc()/SDL_free() in test program.
|
2013-07-20 21:51:53 +02:00 |
|
Philipp Wiesemann
|
62c31ff5c3
|
Removed not needed SDL_WINDOW_SHOWN from test programs.
See bug #1667.
|
2013-07-20 21:47:16 +02:00 |
|
Sam Lantinga
|
0cb6385637
|
File style cleanup for the SDL 2.0 release
|
2013-05-18 14:17:52 -07:00 |
|
Sam Lantinga
|
b0660ba5ff
|
SDL 1.3 is now under the zlib license.
|
2011-04-08 13:03:26 -07:00 |
|
Sam Lantinga
|
fe2b0d9703
|
Simplified and improved the process of creating a texture from a surface.
|
2011-02-03 00:54:29 -08:00 |
|
Sam Lantinga
|
df94d4c6a4
|
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
|
d627939049
|
Making the API simpler, the renderer present semantics are always having a backbuffer and then discarding it. This is best for hardware accelerated rendering.
--HG--
extra : rebase_source : bbe6641fce097c79ccd47f4e1ea6b27683fd0acb
|
2011-02-01 12:19:46 -08:00 |
|
Sam Lantinga
|
c3daf0f0cd
|
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
|
2c7a66fb27
|
Removed extra space
|
2011-01-19 11:35:31 -08:00 |
|
egottlieb
|
781d130602
|
Raised binarization cutoff to eliminate alpha-blending of trollface.
|
2010-08-16 09:55:35 -04:00 |
|
egottlieb
|
4e4cb86ffe
|
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
|
cd2d456d46
|
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
|
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
|
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
|
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
|
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 |
|