SDL-mirror/include
Alex Szpakowski b323ac5ca6 Several improvements to the iOS backend:
- Added new custom launch screen code. It uses the launch screen nib when available on iOS 8+, the launch images dictionary if the launch screen nib isn't available, and the old standard image names if the launch image dictionary isn't in the plist.
The launch screen is now hidden during the first call to SDL_PumpEvents rather than SDL_CreateWindow so apps can have the launch screen still visible if they do time-consuming loading after creating their window. It also fades out in roughly the same way as the system launch screen behavior.
It can be disabled by setting the SDL_IPHONE_LAUNCHSCREEN define in SDL_config_iphoneos.h to 0.

- A blank UIView is now created and displayed when the window is first created. The old behavior was to defer creating any view until SDL_GL_CreateContext, which prevented rotation, touch events, and other windowing-related things from working until then. This also makes it easier to use SDL_GetWindowWMInfo after creating a window.

- Moved the keyboard and animation callback code from SDL's UIView subclasses to its UIViewController subclass, which lets them work properly in all cases when a SDL window is valid, even before SDL_GL_CreateContext is called and after SDL_GL_DeleteContext is called.

- SDL_GL_CreateContext, SDL_GL_SwapWindow, SDL_GL_MakeCurrent, and SDL_GL_DeleteContext are more robust.

- Fixed some edge cases where SDL windows weren't rotating properly or their reported sizes were out of sync with their actual sizes.

- Removed all calls to [UIApplication setStatusBarOrientation:]. It doesn't seem to work as expected in all cases in recent iOS versions.

- Some code style cleanup.

--HG--
branch : iOS-improvements
2015-01-15 01:06:14 -04:00
..
begin_code.h Fix compiler warnings in Native Client and Linux builds. 2014-06-20 11:10:16 -03:00
close_code.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL.h Rearrange documentation 2014-07-29 09:20:12 -03:00
SDL_assert.h Changed local var names in SDL assert macro. 2014-07-28 10:54:25 -04:00
SDL_atomic.h 2620 solaris port missing atomics if not using gcc 2014-07-05 16:11:23 -07:00
SDL_audio.h Added audio device buffer queueing API. 2014-07-22 21:41:49 -04:00
SDL_bits.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_blendmode.h Corrected header file guard comments. 2014-11-25 22:37:12 +01:00
SDL_clipboard.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_config.h Integrated David Ludwig's support for Windows RT 2014-03-09 11:36:47 -07:00
SDL_config.h.cmake Expanded the iMX6 video driver into a general Vivante video driver that works across multiple SoCs 2014-10-15 09:18:17 -07:00
SDL_config.h.in Expanded the iMX6 video driver into a general Vivante video driver that works across multiple SoCs 2014-10-15 09:18:17 -07:00
SDL_config_android.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_config_iphoneos.h Several improvements to the iOS backend: 2015-01-15 01:06:14 -04:00
SDL_config_macosx.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_config_minimal.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_config_pandora.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_config_psp.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_config_windows.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_config_winrt.h WinRT: enabled OpenGL ES 2 support on Windows Phone 2014-11-02 10:32:25 -05:00
SDL_config_wiz.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_copying.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_cpuinfo.h Fixed bug in AVX detection and added AVX2 detection 2014-07-11 22:02:50 -07:00
SDL_egl.h Fixed doxygen warnings and markdown formatting. 2014-08-12 23:28:45 +02:00
SDL_endian.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_error.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_events.h Updated README name in header. 2014-08-11 22:53:03 +02:00
SDL_filesystem.h Corrected header file guard comments. 2014-11-25 22:37:12 +01:00
SDL_gamecontroller.h Corrected header file documentation comment. 2014-11-22 22:20:40 +01:00
SDL_gesture.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_haptic.h Fixed bug 2766 - Haptic coding bugs and fixes for Linux FF: periodic.phase handled as time instead of angle; + direction clarification 2014-11-29 11:49:58 -08:00
SDL_hints.h Merged default into iOS-improvements 2014-12-02 02:52:45 -04:00
SDL_joystick.h Fixed typo in header file documentation comment. 2014-11-23 11:26:46 +01:00
SDL_keyboard.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_keycode.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_loadso.h Back out changelist 1951976 2014-02-13 11:05:34 -08:00
SDL_log.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_main.h Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
SDL_messagebox.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_mouse.h Merged Ryan's SDL-gui-backend branch. 2014-06-25 17:06:12 -04:00
SDL_mutex.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_name.h Added missing copyright notices 2014-03-13 21:21:26 -07:00
SDL_opengl.h Don't use the system OpenGL headers, ever. 2014-08-18 14:05:02 -04:00
SDL_opengl_glext.h Better Mac OS X build fix - actually match the SDK OpenGL headers. 2014-08-18 18:44:08 -07:00
SDL_opengles.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_opengles2.h Fixed doxygen warnings and markdown formatting. 2014-08-12 23:28:45 +02:00
SDL_opengles2_gl2.h SDL_opengles2: Update to latest Khronos headers. 2014-06-04 01:35:36 -07:00
SDL_opengles2_gl2ext.h SDL_opengles2: Update to latest Khronos headers. 2014-06-04 01:35:36 -07:00
SDL_opengles2_gl2platform.h SDL_opengles2: Update to latest Khronos headers. 2014-06-04 01:35:36 -07:00
SDL_opengles2_khrplatform.h SDL_opengles2: Update to latest Khronos headers. 2014-06-04 01:35:36 -07:00
SDL_pixels.h Added NV12 and NV21 texture support for OpenGL and OpenGL ES 2.0 renderers 2014-08-06 11:34:54 -07:00
SDL_platform.h 2620 solaris port missing atomics if not using gcc 2014-07-05 16:11:23 -07:00
SDL_power.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_quit.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_rect.h Fixed using SDL_PointInRect() from C++. 2014-05-30 09:50:47 -04:00
SDL_render.h Improved the pitch variable description 2014-11-29 11:18:49 -08:00
SDL_revision.h Unofficial builds should have a 0 revision number - if this accidentally gets checked in with a different revision, this file should be reverted to this content. 2012-01-14 13:17:01 -05:00
SDL_rwops.h The NaCL mount/unmount functions need to be in SDL_system.h and specific to NaCL 2014-06-08 12:05:17 -07:00
SDL_scancode.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_shape.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_stdinc.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_surface.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_system.h Added iOS-specific functions to get the window view's current OpenGL Renderbuffer and Framebuffer objects, so they can be more easily rebound when necessary. 2014-08-08 15:14:09 -03:00
SDL_syswm.h Mac: Fix build with clang from Xcode 6. 2014-09-30 11:20:50 -07:00
SDL_test.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_assert.h Fixed typos in header file documentation comments. 2014-11-23 20:40:48 +01:00
SDL_test_common.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_compare.h Fix assert format strings/parameters in testautomation modules; improve output of SDL_CompareSurfaces to aid debugging; update platform_testSetErrorInvalidInput for SDL changes 2014-11-30 20:55:27 -08:00
SDL_test_crc32.h Fixed doxygen tags in header file documentation comments. 2014-11-23 20:46:34 +01:00
SDL_test_font.h Exposed the font character size and SDLTest_DrawCharacter() to make it easier to do custom debug text layout 2014-02-10 10:02:42 -08:00
SDL_test_fuzzer.h Fixed doxygen tags in header file documentation comments. 2014-11-23 20:46:34 +01:00
SDL_test_harness.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_images.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_log.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_test_md5.h Fixed doxygen tags in header file documentation comments. 2014-11-23 20:46:34 +01:00
SDL_test_random.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_thread.h Fixed example in header file. 2014-09-06 23:20:14 +02:00
SDL_timer.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_touch.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_types.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_version.h Updated version to 2.0.4 2014-09-02 06:55:47 -07:00
SDL_video.h Added SDL_HITTEST_RESIZE_*, and implemented for X11. 2014-06-05 00:45:16 -04:00