Mercurial > sdl-ios-xcode
view src/video/uikit/SDL_uikitopengles.h @ 2353:07acabba25d9 gsoc2008_iphone
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.
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Thu, 17 Jul 2008 22:43:09 +0000 |
parents | eb828d6c3efb |
children | e9a1eed243c9 |
line wrap: on
line source
/* * SDL_uikitopengles.h * iPodSDL * * Created by Holmes Futrell on 5/29/08. * Copyright 2008 __MyCompanyName__. All rights reserved. * */ #include "SDL_config.h" #ifndef _SDL_uikitopengles #define _SDL_uikitopengles #include "SDL_uikitvideo.h" extern int UIKit_GL_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context); extern void UIKit_GL_SwapWindow(_THIS, SDL_Window * window); extern SDL_GLContext UIKit_GL_CreateContext(_THIS, SDL_Window * window); extern void UIKit_GL_DeleteContext(_THIS, SDL_GLContext context); extern void *UIKit_GL_GetProcAddress(_THIS, const char *proc); extern int UIKit_GL_LoadLibrary(_THIS, const char *path); #endif