Fri, 18 Jul 2008 20:46:02 +0000 |
Holmes Futrell |
iPhone SDL 1.3 demos go here. All these demos are written using pure SDL 1.3 code. No compatibility calls! Perhaps if they are any good they could be use as tests for the SDL 1.3 release.
gsoc2008_iphone
|
Fri, 18 Jul 2008 19:23:13 +0000 |
Holmes Futrell |
Just renamed it...
gsoc2008_iphone
|
Fri, 18 Jul 2008 19:21:27 +0000 |
Holmes Futrell |
just a readme for the files located in this directory
gsoc2008_iphone
|
Fri, 18 Jul 2008 19:12:49 +0000 |
Holmes Futrell |
Root directory for iPhone SDL Xcode projects.
gsoc2008_iphone
|
Fri, 18 Jul 2008 19:10:50 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 18 Jul 2008 19:08:00 +0000 |
Holmes Futrell |
Project files for iPhone SDL
gsoc2008_iphone
|
Fri, 18 Jul 2008 18:46:11 +0000 |
Holmes Futrell |
Fixed typo
gsoc2008_iphone
|
Fri, 18 Jul 2008 18:45:36 +0000 |
Holmes Futrell |
Changed format of video texture to something compatible with iPhone ... a better solution is probably needed. Also set blending mode of video texture to none.
gsoc2008_iphone
|
Fri, 18 Jul 2008 18:41:08 +0000 |
Holmes Futrell |
Added macros to detect if you are compiling for iPhone OS vs Mac OS X.
gsoc2008_iphone
|
Fri, 18 Jul 2008 18:24:50 +0000 |
Holmes Futrell |
Added line to include SDL_config_iphoneos.h when the platform is __IPHONEOS__
gsoc2008_iphone
|
Fri, 18 Jul 2008 18:23:23 +0000 |
Holmes Futrell |
added SDL_LOADSO_DLOPEN macro
gsoc2008_iphone
|
Fri, 18 Jul 2008 18:22:41 +0000 |
Holmes Futrell |
Added SDL_VIDEO_RENDER_OGL macro back in
gsoc2008_iphone
|
Fri, 18 Jul 2008 18:09:04 +0000 |
Holmes Futrell |
This file serves a similar purpose as SDL_opengl.h, but for OpenGL ES. It is based off of the official OpenGL ES v1.1 header file found at Kronos (http://www.khronos.org/registry/gles/api/1.1/gl.h).
gsoc2008_iphone
|
Fri, 18 Jul 2008 18:05:54 +0000 |
Holmes Futrell |
Added SDL_GL_RETAINED_BACKING to SDL_GLattr enum. Retained backing means the memory for color buffers, depth buffers, etc cannot be overwritten by other applications between frames. The default for this setting is 'on'. I wanted to add this because turning retained backing off on iPhone dramatically increases performance.
gsoc2008_iphone
|
Fri, 18 Jul 2008 17:53:54 +0000 |
Holmes Futrell |
These files contain the audio support for iPhone. They are based on the CoreAudio audio driver for Mac OS X. The principle difference is that the iPhone doesn't seem to have a concept of audio devices ... it just has special units for audio in and audio out. Also had to change some functions to versions which seem to only exist on iPhone and will apparently exist in Mac OS X 10.6(!)
gsoc2008_iphone
|
Fri, 18 Jul 2008 17:47:36 +0000 |
Holmes Futrell |
Fixed a bug where SDL_SYS_JoystickUpdate would send update events even when the accelerometer delegate hadn't received new information from the hardware.
gsoc2008_iphone
|
Fri, 18 Jul 2008 17:46:17 +0000 |
Holmes Futrell |
These files contain the specification for a class which receives updates from the iPhone accelerometer. The class holds the accelerometer information, and is queried by SDL_sysjoystick.m.
gsoc2008_iphone
|
Fri, 18 Jul 2008 17:30:56 +0000 |
Holmes Futrell |
test
gsoc2008_iphone
|
Thu, 17 Jul 2008 23:45:58 +0000 |
Holmes Futrell |
Added declaration of UIKit video bootstrap. Added retained_backing property to glconfig structure.
gsoc2008_iphone
|
Thu, 17 Jul 2008 23:31:42 +0000 |
Holmes Futrell |
These files are the OpenGL ES render driver. You should be able to use them on any platform that supports OpenGL ES -- not just iPhone. The driver is based off the OpenGL render driver.
gsoc2008_iphone
|
Thu, 17 Jul 2008 23:11:05 +0000 |
Holmes Futrell |
This file serves an analoguous purpose as SDL_glfuncs.h, but for OpenGL ES. I haven't put the 'unused' functions in this file yet.
gsoc2008_iphone
|
Thu, 17 Jul 2008 23:07:58 +0000 |
Holmes Futrell |
Added support for OpenGL ES and UIKit Video Driver:
gsoc2008_iphone
|
Thu, 17 Jul 2008 22:50:39 +0000 |
Holmes Futrell |
These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
gsoc2008_iphone
|
Thu, 17 Jul 2008 22:48:23 +0000 |
Holmes Futrell |
These files contain the events related functions for the UIKit video driver. Right now this is just UIKit_PumpEvents.
gsoc2008_iphone
|
Thu, 17 Jul 2008 22:45:41 +0000 |
Holmes Futrell |
These files contain the window related functions for the UIKit video driver.
gsoc2008_iphone
|
Thu, 17 Jul 2008 22:43:09 +0000 |
Holmes Futrell |
SDL_uikitview is just a generic view class which SDL_uikitopenglview inherits from. The functionality found in this class relates to (right now) mouse/touch input support. The reason for putting it here is that if someone wanted to write a render driver for iPhone based around CoreGraphics rather than OpenGL ES, they could make their Core Graphics view inherit from this class as well.
gsoc2008_iphone
|
Thu, 17 Jul 2008 22:38:29 +0000 |
Holmes Futrell |
SDL_uikitvideo.m is the main file for the UIKit video driver. It has the UIKit video bootstrap, initialization, device creation, etc.
gsoc2008_iphone
|
Thu, 17 Jul 2008 22:35:59 +0000 |
Holmes Futrell |
SDL_uikitopenglview is an OpenGL ES View class based on the one found in Apple's OpenGL ES based application template. It's created from SDL_uikitopengles.m, normally.
gsoc2008_iphone
|