Mon, 18 Aug 2008 18:11:47 +0000 |
Holmes Futrell |
updated template script
gsoc2008_iphone
|
Mon, 18 Aug 2008 18:02:43 +0000 |
Holmes Futrell |
grammar, typos
gsoc2008_iphone
|
Mon, 18 Aug 2008 18:02:20 +0000 |
Holmes Futrell |
added description
gsoc2008_iphone
|
Mon, 18 Aug 2008 18:01:24 +0000 |
Holmes Futrell |
Grammar, spelling, clarity.
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:26:46 +0000 |
Holmes Futrell |
updated project for new file paths
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:25:55 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:25:03 +0000 |
Holmes Futrell |
Renamed functions and structures to GLES (rather than GL) to avoid confusion with the OpenGL renderer, which prior used the same names. Removed references to GL_IMG_texture_format_BGRA8888, which will not be supported here. Made it so renderer no longer caches texture filter mode, because I think that is actually bound to specific textures, so we'd need to cache the currently bound texture too ... I don't want to go through that trouble. DOES cache blend function though.
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:19:52 +0000 |
Holmes Futrell |
Filled in list of all OpenGL ES functions, used to contain only functions that were in use.
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:19:07 +0000 |
Holmes Futrell |
whitespace
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:18:40 +0000 |
Holmes Futrell |
removed NULL comment ... it's UIKit now, not NULL
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:18:06 +0000 |
Holmes Futrell |
whitespace
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:17:18 +0000 |
Holmes Futrell |
removed comment about NULL video driver ... it's not null anymore, it's the UIKit video driver.
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:16:32 +0000 |
Holmes Futrell |
Added comments, view now deletes keyboard upon dealloc, function declarations for iPhone keyboard additions now moved to SDL_uikitkeyboard.h.
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:14:35 +0000 |
Holmes Futrell |
comments and trivials
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:13:42 +0000 |
Holmes Futrell |
updated #include path, added comments.
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:10:15 +0000 |
Holmes Futrell |
Added comments
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:09:54 +0000 |
Holmes Futrell |
Cleaned up, updated header include path
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:09:10 +0000 |
Holmes Futrell |
added comment
gsoc2008_iphone
|
Sat, 16 Aug 2008 00:08:10 +0000 |
Holmes Futrell |
Added comments, updated included header name
gsoc2008_iphone
|
Fri, 15 Aug 2008 23:53:04 +0000 |
Holmes Futrell |
Header files that users of the library can include for additional iPhone keyboard functions.
gsoc2008_iphone
|
Fri, 15 Aug 2008 23:51:11 +0000 |
Holmes Futrell |
renamed and moved up one directory
gsoc2008_iphone
|
Fri, 15 Aug 2008 23:48:49 +0000 |
Holmes Futrell |
Elaborated on features and limitations of SDL for iPhone. renamed and moved readme with all the other readmes.
gsoc2008_iphone
|
Fri, 15 Aug 2008 19:19:57 +0000 |
Holmes Futrell |
Renamed jump.c and jump.h to jumphack.c and jumphack.h ... why? Because they are undesirable hacks used to allow an SDL programmer to execute his/her own code upon program exit.
gsoc2008_iphone
|
Fri, 15 Aug 2008 19:16:01 +0000 |
Holmes Futrell |
Cleaned up code, added comments.
gsoc2008_iphone
|
Fri, 15 Aug 2008 18:51:28 +0000 |
Holmes Futrell |
Added macro so that targetconditionals.h isn't included when compiling from versions of Mac OS X earlier than 10.3 (the header file doesn't exist there). Instead, it is just assumed that you want to compile for Mac OS X rather than iPhone ... a fine assumption since you need 10.5 to compile for iPhone.
gsoc2008_iphone
|
Fri, 15 Aug 2008 18:31:30 +0000 |
Holmes Futrell |
Added comments, link to Kronos site.
gsoc2008_iphone
|
Fri, 15 Aug 2008 18:26:48 +0000 |
Holmes Futrell |
Removed useless lines, added comments.
gsoc2008_iphone
|
Fri, 15 Aug 2008 18:22:12 +0000 |
Holmes Futrell |
changed #ifndef statment to _SDL_config_iphoneos_h instead of _SDL_config_minimal_h.
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:59:44 +0000 |
Holmes Futrell |
Added string for iPhone OS platform to the list
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:59:14 +0000 |
Holmes Futrell |
Added line to set proper display resolution on iPhone OS
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:57:58 +0000 |
Holmes Futrell |
Added lines to change path when run on iPhone. Reason: iPhone operates in sandbox and so cannot write files just anywhere ... I use the documents folder in this test.
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:56:43 +0000 |
Holmes Futrell |
Added some code to set proper screensize on iPhone
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:54:21 +0000 |
Holmes Futrell |
A version of testgl2 written using OpenGL ES calls. Necessary because there's no glBegin/glEnd, etc.
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:52:52 +0000 |
Holmes Futrell |
testdyngles is exactly what it sounds like -- a version of testdyngl that uses OpenGL ES calls instead of OpenGL. Was necessary to create because glOrtho is called glOrthof in OpenGL ES, and OpenGL ES doesn't have glBegin() type semantics for specifying geometry.
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:49:49 +0000 |
Holmes Futrell |
Added macros SDL_IPHONE_MAX_GFORCE (which is used in converting the floating point g-force value returned by the iPhone accelerometer to the Sint16 required by SDL_Joystick) and SDL_IPHONE_MULTIPLE_MICE, which when enabled allows multi-touch to be emulated as multiple mice.
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:46:58 +0000 |
Holmes Futrell |
changed macro MAX_G_FORCE to SDL_IPHONE_MAX_GFORCE and moved it to the SDL_config_iphoneos.h file. This should allow users to convert between the Sint16 returned by polling the joystick and units of g-force, which better describe what is going on with the iPhone (and are what the iPhone OS actually gives you). This conversion wouldn't be necessary except that we'd need floating point to store everything as g-force.
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:44:07 +0000 |
Holmes Futrell |
Removed log messages
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:42:14 +0000 |
Holmes Futrell |
Removed log messages (printf and NSLog)
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:40:47 +0000 |
Holmes Futrell |
Added references to SDL_IPHONE_MAX_GFORCE ... that way this value can change without altering the demos behavior. More understandable too.
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:38:49 +0000 |
Holmes Futrell |
Added conditional compilation line #ifdef __IPHONE_OS__ to prevent other platforms from including iPhone specific line of code that is used to toggle keyboard visibility.
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:37:49 +0000 |
Holmes Futrell |
Just re-ordered some things logically in the project file
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:37:17 +0000 |
Holmes Futrell |
Readme file for iPhone OS Demo applications
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:36:33 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Wed, 13 Aug 2008 23:14:36 +0000 |
Holmes Futrell |
Originally keyboard support was in the form of a category of the class SDL_uikitview. It turns out this can cause problems with compilation where the code is not actually included and doesn't fail until dynamic dispatch. This is just awful, so I've moved to the code into the SDL_uikitview class itself.
gsoc2008_iphone
|
Wed, 13 Aug 2008 23:12:00 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Wed, 13 Aug 2008 23:10:51 +0000 |
Holmes Futrell |
Cleaned up code, added comments, added randomized colors, added check for extension GL_POINT_SIZE_ARRAY_OES, which not all OpenGL ES systems have.
gsoc2008_iphone
|
Wed, 13 Aug 2008 20:56:21 +0000 |
Holmes Futrell |
Fixed a bug where bad access would occur if UIKIT_MakeCurrent is passed NULL for the parameter 'SDL_GLContext context'. Instead, it clears the current context.
gsoc2008_iphone
|
Wed, 13 Aug 2008 18:16:27 +0000 |
Holmes Futrell |
updated XCode project, now includes files for keyboard support (oops)
gsoc2008_iphone
|
Sat, 02 Aug 2008 00:57:15 +0000 |
Holmes Futrell |
Bitmap font used in bitmap font / keyboard demo, along with licsense. The license is Common Public License Version 1.0, so I don't see any problems here.
gsoc2008_iphone
|
Sat, 02 Aug 2008 00:55:28 +0000 |
Holmes Futrell |
just updating XCode project files to include keyboard example as target
gsoc2008_iphone
|
Sat, 02 Aug 2008 00:54:30 +0000 |
Holmes Futrell |
keyboard.c contains the source code for the bitmap font keyboard example.
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:37:53 +0000 |
Holmes Futrell |
whitespace
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:35:20 +0000 |
Holmes Futrell |
removed reference to pthread.h
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:33:24 +0000 |
Holmes Futrell |
This is the header file for SDL_uikitview.m ... somehow this file was not committed.
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:25:54 +0000 |
Holmes Futrell |
Added SDL_IPHONE_KEYBOARD macro, which controls whether or not the SDL for iPhone is compiled with keyboard support or not.
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:23:50 +0000 |
Holmes Futrell |
keyinfotable.h contains information which SDL_uikitkeyboard uses to convert between unichar characters that it reads from the text field (which acts as the keyboard's target) to SDL_scancodes and key modifiers which are sent to SDL's keyboard system.
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:21:49 +0000 |
Holmes Futrell |
SDL_uikitkeyboard extends SDL_uikitview to add keyboard support. It adds several methods to the SDL_uikitview class for keyboard initialization, showing, and hiding. SDL_uikitkeyboard.m contains the implementation of these methods as well as the implementation of some iPhone specific additions to SDL so that a programmer can access the functionality of hiding and showing the keyboard.
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:19:23 +0000 |
Holmes Futrell |
Added keyboard support in view initialization and proper deallocation of keyboard in -(void)dealloc, if keyboard is enabled
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:09:29 +0000 |
Holmes Futrell |
Added textField view and member variable which shows if keyboard is shown
gsoc2008_iphone
|
Tue, 22 Jul 2008 23:05:40 +0000 |
Holmes Futrell |
Added standard SDL header comments
gsoc2008_iphone
|
Tue, 22 Jul 2008 23:03:51 +0000 |
Holmes Futrell |
removed references to singletons, now uses SDL_WindowData information instead.
gsoc2008_iphone
|
Tue, 22 Jul 2008 23:02:53 +0000 |
Holmes Futrell |
turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
gsoc2008_iphone
|
Tue, 22 Jul 2008 23:01:01 +0000 |
Holmes Futrell |
removed white space
gsoc2008_iphone
|
Tue, 22 Jul 2008 22:59:59 +0000 |
Holmes Futrell |
Added SDL_WindowData for UIKit video driver. Now looks up instances here instead of assuming we're referring to a singleton.
gsoc2008_iphone
|
Fri, 18 Jul 2008 21:53:52 +0000 |
Holmes Futrell |
Fixed path to plist in fireworks target.
gsoc2008_iphone
|
Fri, 18 Jul 2008 21:50:20 +0000 |
Holmes Futrell |
fixed typo
gsoc2008_iphone
|
Fri, 18 Jul 2008 21:37:46 +0000 |
Holmes Futrell |
XCode template for iPhone SDL projects
gsoc2008_iphone
|
Fri, 18 Jul 2008 21:17:29 +0000 |
Holmes Futrell |
XCode files for iPhone SDL libraries
gsoc2008_iphone
|
Fri, 18 Jul 2008 21:16:48 +0000 |
Holmes Futrell |
ugh
gsoc2008_iphone
|
Fri, 18 Jul 2008 21:13:22 +0000 |
Holmes Futrell |
renamed to README
gsoc2008_iphone
|
Fri, 18 Jul 2008 21:12:42 +0000 |
Holmes Futrell |
XCode project for iPhone SDL libraries.
gsoc2008_iphone
|
Fri, 18 Jul 2008 21:09:39 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 18 Jul 2008 21:07:49 +0000 |
Holmes Futrell |
Xcode template
gsoc2008_iphone
|
Fri, 18 Jul 2008 20:58:48 +0000 |
Holmes Futrell |
XCode files for test applications (the ones previously bundled with the source, mostly SDL 1.2 demos). README contains some notes on various problems.
gsoc2008_iphone
|
Fri, 18 Jul 2008 20:56:09 +0000 |
Holmes Futrell |
graphics for demos
gsoc2008_iphone
|
Fri, 18 Jul 2008 20:55:33 +0000 |
Holmes Futrell |
Drums sounds for mixer demo
gsoc2008_iphone
|
Fri, 18 Jul 2008 20:52:32 +0000 |
Holmes Futrell |
Touch input demo (multitouch)
gsoc2008_iphone
|
Fri, 18 Jul 2008 20:52:18 +0000 |
Holmes Futrell |
Rectangles demo (SDL_RenderFill)
gsoc2008_iphone
|
Fri, 18 Jul 2008 20:51:59 +0000 |
Holmes Futrell |
Drum kit demo (SDL_mixer)
gsoc2008_iphone
|
Fri, 18 Jul 2008 20:51:47 +0000 |
Holmes Futrell |
Happy faces demo (bitmaps)
gsoc2008_iphone
|
Fri, 18 Jul 2008 20:51:34 +0000 |
Holmes Futrell |
fireworks demo
gsoc2008_iphone
|
Fri, 18 Jul 2008 20:51:25 +0000 |
Holmes Futrell |
Files used by all demos (random numbers, screen size, etc)
gsoc2008_iphone
|
Fri, 18 Jul 2008 20:50:59 +0000 |
Holmes Futrell |
Demo of iPhone accelerometer as SDL joystick
gsoc2008_iphone
|
Fri, 18 Jul 2008 20:48:15 +0000 |
Holmes Futrell |
XCode and data files for demos
gsoc2008_iphone
|
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
|