src/video/nacl/SDL_naclopengles.h
author Philipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 30 Oct 2016 21:01:33 +0100
changeset 10563 e3d84016cb79
parent 9998 f67cf37e9cd4
child 10695 e54fce44f677
permissions -rw-r--r--
Fixed outdated info in README.
gabomdq@8833
     1
/*
gabomdq@8833
     2
  Simple DirectMedia Layer
slouken@9998
     3
  Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org>
gabomdq@8833
     4
gabomdq@8833
     5
  This software is provided 'as-is', without any express or implied
gabomdq@8833
     6
  warranty.  In no event will the authors be held liable for any damages
gabomdq@8833
     7
  arising from the use of this software.
gabomdq@8833
     8
gabomdq@8833
     9
  Permission is granted to anyone to use this software for any purpose,
gabomdq@8833
    10
  including commercial applications, and to alter it and redistribute it
gabomdq@8833
    11
  freely, subject to the following restrictions:
gabomdq@8833
    12
gabomdq@8833
    13
  1. The origin of this software must not be misrepresented; you must not
gabomdq@8833
    14
     claim that you wrote the original software. If you use this software
gabomdq@8833
    15
     in a product, an acknowledgment in the product documentation would be
gabomdq@8833
    16
     appreciated but is not required.
gabomdq@8833
    17
  2. Altered source versions must be plainly marked as such, and must not be
gabomdq@8833
    18
     misrepresented as being the original software.
gabomdq@8833
    19
  3. This notice may not be removed or altered from any source distribution.
gabomdq@8833
    20
*/
gabomdq@8833
    21
#include "../../SDL_internal.h"
gabomdq@8833
    22
gabomdq@8833
    23
#ifndef _SDL_naclgl_h
gabomdq@8833
    24
#define _SDL_naclgl_h
gabomdq@8833
    25
gabomdq@8833
    26
extern int NACL_GLES_LoadLibrary(_THIS, const char *path);
gabomdq@8833
    27
extern void *NACL_GLES_GetProcAddress(_THIS, const char *proc);
gabomdq@8833
    28
extern void NACL_GLES_UnloadLibrary(_THIS);
gabomdq@8833
    29
extern SDL_GLContext NACL_GLES_CreateContext(_THIS, SDL_Window * window);
gabomdq@8833
    30
extern int NACL_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);
gabomdq@8833
    31
extern int NACL_GLES_SetSwapInterval(_THIS, int interval);
gabomdq@8833
    32
extern int NACL_GLES_GetSwapInterval(_THIS);
gabomdq@8833
    33
extern void NACL_GLES_SwapWindow(_THIS, SDL_Window * window);
gabomdq@8833
    34
extern void NACL_GLES_DeleteContext(_THIS, SDL_GLContext context);
gabomdq@8833
    35
gabomdq@8833
    36
#endif /* _SDL_naclgl_h */
gabomdq@8833
    37
gabomdq@8833
    38
/* vi: set ts=4 sw=4 expandtab: */