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
|
Thu, 17 Jul 2008 22:32:16 +0000 |
Holmes Futrell |
SDL_uikitopengles is responsible for OpenGLES related functions in the UIKit video driver. The main thing to note is UIKit_GL_CreateContext which creates an instance of the SDL_uikitopenglview class, an OpenGL ES View. Most the real functionality is in SDL_uikitopenglview.
gsoc2008_iphone
|
Thu, 17 Jul 2008 22:29:37 +0000 |
Holmes Futrell |
The class SDL_uikitappdelegate acts as the UIApplicationDelegate for an iPhone SDL project. This class is reponsible for application control flow, including initial setup of working directory, forwarding command line arguments to the user's main function, and handling application termination.
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:54:04 +0000 |
Holmes Futrell |
Just the sysjoystick file for the iPhone accelerometer. It doesn't reveal anything under NDA, but I just wanted to make sure that adding files to the repository is working under XCode right now.
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:47:05 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:41:34 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:40:56 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:39:47 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:35:04 +0000 |
Holmes Futrell |
Just modified the macro so that iPhone will use the Mac OS X code here
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:32:38 +0000 |
Holmes Futrell |
Added Core Audio iPhone bootstrap
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:30:31 +0000 |
Holmes Futrell |
iPhone port uses custom main
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:29:35 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:29:18 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:28:50 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:24:22 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:23:01 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:22:16 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:21:45 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Fri, 11 Jul 2008 00:21:34 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Wed, 09 Jul 2008 21:32:49 +0000 |
Holmes Futrell |
just testing commit ... please commit to the right place.
gsoc2008_iphone
|
Wed, 23 Apr 2008 06:26:33 +0000 |
Sam Lantinga |
Creating GSoC 2008 code branches
gsoc2008_iphone
|
Tue, 18 Mar 2008 12:31:14 +0000 |
Sam Lantinga |
So we don't forget to do this...
|
Fri, 14 Mar 2008 20:43:44 +0000 |
Bob Pendleton |
ran make indent
|
Fri, 14 Mar 2008 18:17:49 +0000 |
Bob Pendleton |
re: bug#563. checking in some commented out trace code and a fix so that the in testalpha.c the background only flashes when alpha == 255. The problem that is being
|
Fri, 07 Mar 2008 23:57:15 +0000 |
Bob Pendleton |
In testdyngl.c the event type was being anded (&) with SDL_KEYDOWN and if the result was none zero the program was quiting. This is very weird because it was
|
Fri, 07 Mar 2008 21:01:54 +0000 |
Bob Pendleton |
oops, need to comment out some debug code.
|
Fri, 07 Mar 2008 20:54:11 +0000 |
Bob Pendleton |
Next version of internationalized input for X11. On my machine (famous last words :-) with a US English keyboard and locale I can compose ` and e and get a text
|
Fri, 07 Mar 2008 17:20:37 +0000 |
Bob Pendleton |
more valgrind errors fixed. Plus I ran make indent which changed a few files.
|
Thu, 06 Mar 2008 23:07:02 +0000 |
Bob Pendleton |
Fixed many valgrind errors. But, I broke testdyngl.
|
Thu, 06 Mar 2008 17:08:10 +0000 |
Bob Pendleton |
Fixing valgrind errors.
|
Tue, 04 Mar 2008 23:09:28 +0000 |
Bob Pendleton |
SetupWindowData in SDL_X11window.c was realloc()ing the display window list and incrementing numwindows even though those are being updated in functions that call
|
Sat, 01 Mar 2008 20:34:36 +0000 |
Bob Pendleton |
Deleted a call to X__PumpEvents at the end of X11_GL_InitExtensions(). This function is being called from SDL_RecreateWindow at a point when the numwindows value in
|