annotate src/video/uikit/jump.h @ 2365:478fa831910f gsoc2008_iphone

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.
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Fri, 18 Jul 2008 18:05:54 +0000
parents 5c27688b08cf
children
rev   line source
2356
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
1 /*
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
2 * jump.h
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
3 * iPodSDL
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
4 *
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
5 * Created by Holmes Futrell on 7/2/08.
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
6 * Copyright 2008 __MyCompanyName__. All rights reserved.
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
7 *
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
8 */
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
9
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
10 #include "setjmp.h"
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
11
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
12 extern jmp_buf* jump_env();
5c27688b08cf 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
13 extern int canJump;