Commit Graph

  • b9dd9284f1 Fixed crash if SDL_VideoDriverName() is passed a NULL namebuf Sam Lantinga 2011-02-03 16:57:38 -08:00
  • 93a4e38e98 Added a way to get a framebuffer interface for a window, and also a way to create a software renderer for an arbitrary surface. The software renderer has been re-routed to use the framebuffer interface, which makes it possible to have software rendering available even on simple ports. Sam Lantinga 2011-02-03 15:49:37 -08:00
  • 7880fa3997 Extended SDL_SetWindowData() to allow arbitrary named values. Sam Lantinga 2011-02-03 11:16:57 -08:00
  • 4360f9d15a Added an intro to the features and goals of the 2D rendering API. Sam Lantinga 2011-02-03 10:03:55 -08:00
  • e4569cfdca Making the API simpler, moved the surface drawing functions to the software renderer. Sam Lantinga 2011-02-03 02:45:29 -08:00
  • ff6324fb43 Updated for API changes Sam Lantinga 2011-02-03 02:42:50 -08:00
  • 004e4cde9f Fixed building for Android Sam Lantinga 2011-02-03 01:30:28 -08:00
  • dd03fe7ff1 Re-ordered platforms based on frequency Sam Lantinga 2011-02-03 01:19:10 -08:00
  • 599d9d75f5 Create the video texture based on the available texture formats, not the backbuffer format. Sam Lantinga 2011-02-03 01:13:48 -08:00
  • 533d4862d6 Simplified and improved the process of creating a texture from a surface. Sam Lantinga 2011-02-03 00:54:29 -08:00
  • a5bfac214f Making the API simpler, removed the writepixels interface Sam Lantinga 2011-02-03 00:22:18 -08:00
  • 405d4ed7e4 Made it possible to create a texture of any format, even if not supported by the renderer. This allows me to reduce the set of formats supported by the renderers to the most optimal set, for a nice speed boost. Sam Lantinga 2011-02-03 00:19:40 -08:00
  • 433b8c4189 Fixed compiling on Windows Sam Lantinga 2011-02-02 22:55:12 -08:00
  • 8bf50cc83c Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library. Sam Lantinga 2011-02-02 14:34:54 -08:00
  • 3f10d86ed9 Fixed compiling with the latest API changes Sam Lantinga 2011-02-02 14:34:24 -08:00
  • adfafcaa35 Removing Visual Studio projects for testpalette Sam Lantinga 2011-02-01 21:51:54 -08:00
  • c7881753b8 SDL doesn't actually support the physical/logical palette split anymore. Sam Lantinga 2011-02-01 21:51:09 -08:00
  • 482e5c0697 Nobody is currently maintaining the QNX code, so removing it for now. Sam Lantinga 2011-02-01 21:40:03 -08:00
  • 1f34b65342 Making the API simpler, removed support for palettized video modes and textures. Sam Lantinga 2011-02-01 21:23:43 -08:00
  • 1fceabf43c The DrawRect API is implemented using lines Sam Lantinga 2011-02-01 20:50:04 -08:00
  • 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. Sam Lantinga 2011-02-01 19:19:43 -08:00
  • 5978f70063 Added functions to watch events as they go through the event queue. Sam Lantinga 2011-02-01 19:15:42 -08:00
  • f729dd20de Split the rendering API out into a separate header file. Sam Lantinga 2011-02-01 15:02:21 -08:00
  • f0bd43ac99 The renderers always support texture modulation and blend modes. Sam Lantinga 2011-02-01 12:54:27 -08:00
  • 5d5f352744 Renumbered the renderer flags Sam Lantinga 2011-02-01 12:44:52 -08:00
  • 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. Sam Lantinga 2011-02-01 12:19:46 -08:00
  • 870377a6f9 merged: might need to check main.c in the iOS template to make sure no changes were abandoned. Eric Wing 2011-02-01 00:37:02 -08:00
  • fb80cf39a4 Making the API simpler, texture color and alpha modulation are supported by all renderers. Sam Lantinga 2011-01-31 23:37:30 -08:00
  • 0efb1ea0b2 Making the API simpler, the blend modes are "none, blend, add" and are supported by all renderers. Sam Lantinga 2011-01-31 23:23:57 -08:00
  • f9ebc0527f Removed more partially functional renderers Sam Lantinga 2011-01-31 22:53:45 -08:00
  • 471a85fb52 Making the API simpler, scaling is always defined as linear interpolation and should be supported as much as possible on all renderers. Sam Lantinga 2011-01-31 22:44:43 -08:00
  • 096a6b8d79 Removed partially functional renderers Sam Lantinga 2011-01-31 22:21:29 -08:00
  • 2a2df3d2b1 Spacing for documentation tweaks Sam Lantinga 2011-02-01 12:01:37 -08:00
  • e191dd269c Tweak for documentation Sam Lantinga 2011-02-01 11:53:29 -08:00
  • 52ecd71fd9 Fixed bug #1025 (iphone keyboard doesn't send 'return' and 'backspace' events) Sam Lantinga 2011-02-01 09:04:43 -08:00
  • 262b76230f Fixed spacing, adding vim spacing hints Sam Lantinga 2011-02-01 09:02:53 -08:00
  • 39de371db9 Added vim spacing hints Sam Lantinga 2011-02-01 09:00:47 -08:00
  • eb67b9777b Fixed spacing Sam Lantinga 2011-02-01 08:59:22 -08:00
  • c60a170bc7 Fixed bug #1112 (retina display support) Sam Lantinga 2011-02-01 08:54:34 -08:00
  • 5f28c7bf36 Fixed spacing Sam Lantinga 2011-02-01 08:53:22 -08:00
  • ad5638e329 iOS Xcode project template fixes/changes. - Embedded headers - Embedded Universal Device/Simulator libSDL.a - Changed search paths. - Removed cruft from copy resources. Eric Wing 2011-01-31 07:36:12 -08:00
  • 0e1ee9c69c New iOS Xcode target to build libSDL.a and lipo Simulator & Device binaries together. New iOS Xcode target to prepare an Xcode template using the Universal libSDL.a. Eric Wing 2011-01-31 00:37:38 -08:00
  • 741f1ec0c4 Fixed bug #1111 Sam Lantinga 2011-01-30 13:42:05 -08:00
  • a961fbabfe Added Edgar's blog to the haptic documentation Sam Lantinga 2011-01-28 12:09:25 -08:00
  • 2bf7444139 Updated main.c for API changes Sam Lantinga 2011-01-28 10:37:36 -08:00
  • 177d309b34 Fixed bug #1056 (Frequent crashes in Touch events by simply touching the screen) Sam Lantinga 2011-01-28 10:21:58 -08:00
  • 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. :) Sam Lantinga 2011-01-27 22:44:08 -08:00
  • 6935f227c7 Fixed test Sam Lantinga 2011-01-27 20:51:54 -08:00
  • 473652316a Added CPU cache line size to the test output. Sam Lantinga 2011-01-27 20:49:07 -08:00
  • 357519de5a Added API function to get CPU cache line size. Sam Lantinga 2011-01-27 20:46:45 -08:00
  • cff0c4846b Fixed quotes around Mercurial revision text Sam Lantinga 2011-01-27 20:37:54 -08:00
  • 8903c6651b 0 isn't a valid Mercurial revision Sam Lantinga 2011-01-27 20:14:10 -08:00
  • ece000dbf1 Always copy the SDL_config_windows.h to SDL_config.h for VisualC 2005, 2008 and 2010 projects. krogoway 2011-01-27 20:30:39 -06:00
  • c5035c553b Bump up the default cache line size. Sam Lantinga 2011-01-27 16:51:47 -08:00
  • d6a6503537 Added cache line size info in SDL_cpuinfo.h I also added an implementation to dynamically query it, but didn't expose it since most x86 CPUs have an L1 cache line size of 64 bytes. Sam Lantinga 2011-01-27 16:46:15 -08:00
  • 050fce366d Fixed compiling under Visual Studio Sam Lantinga 2011-01-27 15:31:00 -08:00
  • 16881d932e When the last window is closed and the SDL_WINDOWEVENT_CLOSE event is sent, send the SDL_QUIT event. Common.c now destroys the SDL_Window upon a SDL_WINDOWEVENT_CLOSE event to ensure that all windows get closed properly and the new code to handle the last window closes gets executed. krogoway 2011-01-27 15:58:30 -06:00
  • 8a17c42647 This patch fixes the issue of configure generating broken Makefile when .cc files are used due to bad sed substitution on multiple passes: $(objects)/SDL_BeApp.lo: $(objects)/SDL_BeApp.lo: ./src/main/beos/SDL_BeApp.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c $< -o $@c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c $< -o $@ Sam Lantinga 2011-01-27 14:54:20 -08:00
  • 9b5a15bc30 Improved timer implementation Sam Lantinga 2011-01-27 14:45:06 -08:00
  • 98d356be1b Improved condition variable documentation Sam Lantinga 2011-01-27 10:40:17 -08:00
  • 96fd668ed6 Scott Smith volunteered to maintain the Pandora port. Sam Lantinga 2011-01-27 10:07:14 -08:00
  • a83b9bdf4b Fixed bug #1109 Sam Lantinga 2011-01-27 08:40:06 -08:00
  • 0ffe05f55f Only document the public API, not the whole source tree. Sam Lantinga 2011-01-27 07:05:13 -08:00
  • b3eae36a25 Colin Leroy 2011-01-26 04:24:20 PST Sam Lantinga 2011-01-27 00:34:12 -08:00
  • 4bdd736397 Added a list of platforms, for my own sanity. :) Sam Lantinga 2011-01-27 00:19:46 -08:00
  • 9195b9f922 Nobody is maintaining RISC OS code, so I'm removing it for now. Sam Lantinga 2011-01-27 00:06:36 -08:00
  • 647b5a4fa1 Since we're directly reading and writing 'active' from different threads, it needs to be flagged volatile. Sam Lantinga 2011-01-26 19:20:16 -08:00
  • 46fea0e925 Ozkan Sezer to slouken Sam Lantinga 2011-01-26 12:23:32 -08:00
  • 45a109abad Added a test to measure the impact of a separate thread periodically locking the queue entirely. Sam Lantinga 2011-01-26 00:03:34 -08:00
  • c382f95013 Added a FIFO test to the atomic test suite. This is really useful because we might be able to use something like this for the SDL event queue. Sam Lantinga 2011-01-25 23:23:52 -08:00
  • 94cfb29bb1 More fixes for compilation on Visual Studio Sam Lantinga 2011-01-25 18:02:41 -08:00
  • 7dba2ad5da Fixed compile error on Visual C++ Sam Lantinga 2011-01-25 17:44:17 -08:00
  • 3dc1009723 Improvements based on feedback from Anthony Williams Sam Lantinga 2011-01-25 17:40:06 -08:00
  • 86dd80b24b Added SDL_window.* to the project. krogoway 2011-01-24 23:54:21 -06:00
  • 37df0221d4 Fixed cross-compiling for Windows Sam Lantinga 2011-01-24 21:41:36 -08:00
  • 0709487572 Fixed Android build Sam Lantinga 2011-01-24 21:31:32 -08:00
  • 35a4f38472 Only include windows.h on Windows. :) Sam Lantinga 2011-01-24 21:22:00 -08:00
  • 01fa14dc42 Include windows.h in a single point in the source, so we can be consistent about the definition of UNICODE and have core utility functions for Windows that all modules can share. Sam Lantinga 2011-01-24 21:20:30 -08:00
  • e1e1122ee0 Fixed bug #1102 Sam Lantinga 2011-01-24 17:47:18 -08:00
  • 57ac355cb5 Fixed bug #1100 Sam Lantinga 2011-01-24 17:38:18 -08:00
  • eec2c075f8 Fixed bug #1103 Sam Lantinga 2011-01-24 16:10:13 -08:00
  • ec39fffe84 Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008 Sam Lantinga 2011-01-24 15:46:11 -08:00
  • 5bb9535909 Fixed compile error Sam Lantinga 2011-01-24 15:10:16 -08:00
  • 294c77d54e Fixed bug #1080 Sam Lantinga 2011-01-24 14:36:12 -08:00
  • d35de7167f Renamed SDL_keysym to SDL_KeySym Renamed SDL_scancode to SDL_ScanCode Added #defines to SDL_compat.h krogoway 2011-01-24 13:47:35 -06:00
  • 50c5b0720f Fixed bug #1011 Sam Lantinga 2011-01-23 21:55:04 -08:00
  • 6cc7f17e34 Fixed size_t warnings on 64-bit build Sam Lantinga 2011-01-22 15:58:21 -08:00
  • 65280ffd21 Fixed bug in timer when the list of timers changed. Sam Lantinga 2011-01-22 00:33:37 -08:00
  • 8ca87bec57 Fixed bug #1097 Sam Lantinga 2011-01-21 23:46:51 -08:00
  • 3a2ff3bde7 Whitespace change in a README. Ryan C. Gordon 2011-01-22 03:57:27 -05:00
  • cabda4aa7c HAVE_GCC_ATOMICS covers the test and set Sam Lantinga 2011-01-21 21:45:55 -08:00
  • 3b73c8e006 Yeah, go iPhone! Sam Lantinga 2011-01-21 21:43:56 -08:00
  • 69dab46757 Separated out the minimum functionality that we need from gcc for our spinlock fallback. Sam Lantinga 2011-01-21 21:42:04 -08:00
  • 483ab95fda Fixed atomic intrinsic test Sam Lantinga 2011-01-21 21:35:43 -08:00
  • dffcf58f01 Fixed bug #859 Sam Lantinga 2011-01-21 12:57:01 -08:00
  • 8fda035e06 Fixed bug #945 Sam Lantinga 2011-01-21 12:43:25 -08:00
  • 7f59b3b677 Fixed compile error on Mac OS X Sam Lantinga 2011-01-21 11:23:19 -08:00
  • 577f62668f Fixed bug #929 Sam Lantinga 2011-01-20 18:42:41 -08:00
  • 3f8169298d You can't have an empty union in the structure... Sam Lantinga 2011-01-20 18:09:55 -08:00
  • 08ad787807 Fixed bug #925 Sam Lantinga 2011-01-20 18:04:05 -08:00