comparison src/video/uikit/SDL_uikitopengles.h @ 2350:eb828d6c3efb gsoc2008_iphone

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.
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Thu, 17 Jul 2008 22:32:16 +0000
parents
children e9a1eed243c9
comparison
equal deleted inserted replaced
2349:0381047f2210 2350:eb828d6c3efb
1 /*
2 * SDL_uikitopengles.h
3 * iPodSDL
4 *
5 * Created by Holmes Futrell on 5/29/08.
6 * Copyright 2008 __MyCompanyName__. All rights reserved.
7 *
8 */
9
10 #include "SDL_config.h"
11
12 #ifndef _SDL_uikitopengles
13 #define _SDL_uikitopengles
14
15 #include "SDL_uikitvideo.h"
16
17 extern int UIKit_GL_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);
18 extern void UIKit_GL_SwapWindow(_THIS, SDL_Window * window);
19 extern SDL_GLContext UIKit_GL_CreateContext(_THIS, SDL_Window * window);
20 extern void UIKit_GL_DeleteContext(_THIS, SDL_GLContext context);
21 extern void *UIKit_GL_GetProcAddress(_THIS, const char *proc);
22 extern int UIKit_GL_LoadLibrary(_THIS, const char *path);
23 #endif