src/video/uikit/SDL_uikitopengles.h
author Sam Lantinga <slouken@libsdl.org>
Sat, 04 Oct 2008 06:46:59 +0000
changeset 2765 f55c87ae336b
child 2859 99210400e8b9
permissions -rw-r--r--
Final merge of Google Summer of Code 2008 work...

Bring SDL to iPhone and iPod Touch
by Holmes Futrell, mentored by Sam Lantinga
slouken@2765
     1
/*
slouken@2765
     2
    SDL - Simple DirectMedia Layer
slouken@2765
     3
    Copyright (C) 1997-2006 Sam Lantinga
slouken@2765
     4
slouken@2765
     5
    This library is free software; you can redistribute it and/or
slouken@2765
     6
    modify it under the terms of the GNU Lesser General Public
slouken@2765
     7
    License as published by the Free Software Foundation; either
slouken@2765
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@2765
     9
slouken@2765
    10
    This library is distributed in the hope that it will be useful,
slouken@2765
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@2765
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@2765
    13
    Lesser General Public License for more details.
slouken@2765
    14
slouken@2765
    15
    You should have received a copy of the GNU Lesser General Public
slouken@2765
    16
    License along with this library; if not, write to the Free Software
slouken@2765
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@2765
    18
slouken@2765
    19
    Sam Lantinga
slouken@2765
    20
    slouken@libsdl.org
slouken@2765
    21
*/
slouken@2765
    22
slouken@2765
    23
#include "SDL_config.h"
slouken@2765
    24
slouken@2765
    25
#ifndef _SDL_uikitopengles
slouken@2765
    26
#define _SDL_uikitopengles
slouken@2765
    27
slouken@2765
    28
#include "SDL_uikitvideo.h"
slouken@2765
    29
slouken@2765
    30
extern int UIKit_GL_MakeCurrent(_THIS, SDL_Window * window,
slouken@2765
    31
                                SDL_GLContext context);
slouken@2765
    32
extern void UIKit_GL_SwapWindow(_THIS, SDL_Window * window);
slouken@2765
    33
extern SDL_GLContext UIKit_GL_CreateContext(_THIS, SDL_Window * window);
slouken@2765
    34
extern void UIKit_GL_DeleteContext(_THIS, SDL_GLContext context);
slouken@2765
    35
extern void *UIKit_GL_GetProcAddress(_THIS, const char *proc);
slouken@2765
    36
extern int UIKit_GL_LoadLibrary(_THIS, const char *path);
slouken@2765
    37
slouken@2765
    38
#endif