Mercurial > sdl-ios-xcode
view src/video/uikit/jump.c @ 2357:ad4a291c85ab gsoc2008_iphone
Added support for OpenGL ES and UIKit Video Driver:
- included SDL_renderer_gles.h
- added UIKit Video driver bootstrap declaration
- added property "retained_backing" to gl_config structure. Having retained backing means your video buffers can't be overwritten by other applications between drawing frames. By default, this is enabled. I wanted to give the option to disable this on iPhone because it increases performance greatly.
- modified SDL_GetAttribute and SDL_SetAttribute function for OpenGL ES support. OpenGL ES does not have support for accumulation buffers, and is always double buffered, among other things.
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Thu, 17 Jul 2008 23:07:58 +0000 |
parents | 5c27688b08cf |
children |
line wrap: on
line source
/* * jump.c * iPodSDL * * Created by Holmes Futrell on 7/2/08. * Copyright 2008 __MyCompanyName__. All rights reserved. * */ #include "jump.h" jmp_buf env; jmp_buf *jump_env() { return &env; }