/* Generated by Cython 0.29.20 */

#define PY_SSIZE_T_CLEAN
#include "Python.h"
#ifndef Py_PYTHON_H
    #error Python headers needed to compile C extensions, please install development version of Python.
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
    #error Cython requires Python 2.6+ or Python 3.3+.
#else
#define CYTHON_ABI "0_29_20"
#define CYTHON_HEX_VERSION 0x001D14F0
#define CYTHON_FUTURE_DIVISION 0
#include <stddef.h>
#ifndef offsetof
  #define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
#endif
#if !defined(WIN32) && !defined(MS_WINDOWS)
  #ifndef __stdcall
    #define __stdcall
  #endif
  #ifndef __cdecl
    #define __cdecl
  #endif
  #ifndef __fastcall
    #define __fastcall
  #endif
#endif
#ifndef DL_IMPORT
  #define DL_IMPORT(t) t
#endif
#ifndef DL_EXPORT
  #define DL_EXPORT(t) t
#endif
#define __PYX_COMMA ,
#ifndef HAVE_LONG_LONG
  #if PY_VERSION_HEX >= 0x02070000
    #define HAVE_LONG_LONG
  #endif
#endif
#ifndef PY_LONG_LONG
  #define PY_LONG_LONG LONG_LONG
#endif
#ifndef Py_HUGE_VAL
  #define Py_HUGE_VAL HUGE_VAL
#endif
#ifdef PYPY_VERSION
  #define CYTHON_COMPILING_IN_PYPY 1
  #define CYTHON_COMPILING_IN_PYSTON 0
  #define CYTHON_COMPILING_IN_CPYTHON 0
  #undef CYTHON_USE_TYPE_SLOTS
  #define CYTHON_USE_TYPE_SLOTS 0
  #undef CYTHON_USE_PYTYPE_LOOKUP
  #define CYTHON_USE_PYTYPE_LOOKUP 0
  #if PY_VERSION_HEX < 0x03050000
    #undef CYTHON_USE_ASYNC_SLOTS
    #define CYTHON_USE_ASYNC_SLOTS 0
  #elif !defined(CYTHON_USE_ASYNC_SLOTS)
    #define CYTHON_USE_ASYNC_SLOTS 1
  #endif
  #undef CYTHON_USE_PYLIST_INTERNALS
  #define CYTHON_USE_PYLIST_INTERNALS 0
  #undef CYTHON_USE_UNICODE_INTERNALS
  #define CYTHON_USE_UNICODE_INTERNALS 0
  #undef CYTHON_USE_UNICODE_WRITER
  #define CYTHON_USE_UNICODE_WRITER 0
  #undef CYTHON_USE_PYLONG_INTERNALS
  #define CYTHON_USE_PYLONG_INTERNALS 0
  #undef CYTHON_AVOID_BORROWED_REFS
  #define CYTHON_AVOID_BORROWED_REFS 1
  #undef CYTHON_ASSUME_SAFE_MACROS
  #define CYTHON_ASSUME_SAFE_MACROS 0
  #undef CYTHON_UNPACK_METHODS
  #define CYTHON_UNPACK_METHODS 0
  #undef CYTHON_FAST_THREAD_STATE
  #define CYTHON_FAST_THREAD_STATE 0
  #undef CYTHON_FAST_PYCALL
  #define CYTHON_FAST_PYCALL 0
  #undef CYTHON_PEP489_MULTI_PHASE_INIT
  #define CYTHON_PEP489_MULTI_PHASE_INIT 0
  #undef CYTHON_USE_TP_FINALIZE
  #define CYTHON_USE_TP_FINALIZE 0
  #undef CYTHON_USE_DICT_VERSIONS
  #define CYTHON_USE_DICT_VERSIONS 0
  #undef CYTHON_USE_EXC_INFO_STACK
  #define CYTHON_USE_EXC_INFO_STACK 0
#elif defined(PYSTON_VERSION)
  #define CYTHON_COMPILING_IN_PYPY 0
  #define CYTHON_COMPILING_IN_PYSTON 1
  #define CYTHON_COMPILING_IN_CPYTHON 0
  #ifndef CYTHON_USE_TYPE_SLOTS
    #define CYTHON_USE_TYPE_SLOTS 1
  #endif
  #undef CYTHON_USE_PYTYPE_LOOKUP
  #define CYTHON_USE_PYTYPE_LOOKUP 0
  #undef CYTHON_USE_ASYNC_SLOTS
  #define CYTHON_USE_ASYNC_SLOTS 0
  #undef CYTHON_USE_PYLIST_INTERNALS
  #define CYTHON_USE_PYLIST_INTERNALS 0
  #ifndef CYTHON_USE_UNICODE_INTERNALS
    #define CYTHON_USE_UNICODE_INTERNALS 1
  #endif
  #undef CYTHON_USE_UNICODE_WRITER
  #define CYTHON_USE_UNICODE_WRITER 0
  #undef CYTHON_USE_PYLONG_INTERNALS
  #define CYTHON_USE_PYLONG_INTERNALS 0
  #ifndef CYTHON_AVOID_BORROWED_REFS
    #define CYTHON_AVOID_BORROWED_REFS 0
  #endif
  #ifndef CYTHON_ASSUME_SAFE_MACROS
    #define CYTHON_ASSUME_SAFE_MACROS 1
  #endif
  #ifndef CYTHON_UNPACK_METHODS
    #define CYTHON_UNPACK_METHODS 1
  #endif
  #undef CYTHON_FAST_THREAD_STATE
  #define CYTHON_FAST_THREAD_STATE 0
  #undef CYTHON_FAST_PYCALL
  #define CYTHON_FAST_PYCALL 0
  #undef CYTHON_PEP489_MULTI_PHASE_INIT
  #define CYTHON_PEP489_MULTI_PHASE_INIT 0
  #undef CYTHON_USE_TP_FINALIZE
  #define CYTHON_USE_TP_FINALIZE 0
  #undef CYTHON_USE_DICT_VERSIONS
  #define CYTHON_USE_DICT_VERSIONS 0
  #undef CYTHON_USE_EXC_INFO_STACK
  #define CYTHON_USE_EXC_INFO_STACK 0
#else
  #define CYTHON_COMPILING_IN_PYPY 0
  #define CYTHON_COMPILING_IN_PYSTON 0
  #define CYTHON_COMPILING_IN_CPYTHON 1
  #ifndef CYTHON_USE_TYPE_SLOTS
    #define CYTHON_USE_TYPE_SLOTS 1
  #endif
  #if PY_VERSION_HEX < 0x02070000
    #undef CYTHON_USE_PYTYPE_LOOKUP
    #define CYTHON_USE_PYTYPE_LOOKUP 0
  #elif !defined(CYTHON_USE_PYTYPE_LOOKUP)
    #define CYTHON_USE_PYTYPE_LOOKUP 1
  #endif
  #if PY_MAJOR_VERSION < 3
    #undef CYTHON_USE_ASYNC_SLOTS
    #define CYTHON_USE_ASYNC_SLOTS 0
  #elif !defined(CYTHON_USE_ASYNC_SLOTS)
    #define CYTHON_USE_ASYNC_SLOTS 1
  #endif
  #if PY_VERSION_HEX < 0x02070000
    #undef CYTHON_USE_PYLONG_INTERNALS
    #define CYTHON_USE_PYLONG_INTERNALS 0
  #elif !defined(CYTHON_USE_PYLONG_INTERNALS)
    #define CYTHON_USE_PYLONG_INTERNALS 1
  #endif
  #ifndef CYTHON_USE_PYLIST_INTERNALS
    #define CYTHON_USE_PYLIST_INTERNALS 1
  #endif
  #ifndef CYTHON_USE_UNICODE_INTERNALS
    #define CYTHON_USE_UNICODE_INTERNALS 1
  #endif
  #if PY_VERSION_HEX < 0x030300F0
    #undef CYTHON_USE_UNICODE_WRITER
    #define CYTHON_USE_UNICODE_WRITER 0
  #elif !defined(CYTHON_USE_UNICODE_WRITER)
    #define CYTHON_USE_UNICODE_WRITER 1
  #endif
  #ifndef CYTHON_AVOID_BORROWED_REFS
    #define CYTHON_AVOID_BORROWED_REFS 0
  #endif
  #ifndef CYTHON_ASSUME_SAFE_MACROS
    #define CYTHON_ASSUME_SAFE_MACROS 1
  #endif
  #ifndef CYTHON_UNPACK_METHODS
    #define CYTHON_UNPACK_METHODS 1
  #endif
  #ifndef CYTHON_FAST_THREAD_STATE
    #define CYTHON_FAST_THREAD_STATE 1
  #endif
  #ifndef CYTHON_FAST_PYCALL
    #define CYTHON_FAST_PYCALL 1
  #endif
  #ifndef CYTHON_PEP489_MULTI_PHASE_INIT
    #define CYTHON_PEP489_MULTI_PHASE_INIT (PY_VERSION_HEX >= 0x03050000)
  #endif
  #ifndef CYTHON_USE_TP_FINALIZE
    #define CYTHON_USE_TP_FINALIZE (PY_VERSION_HEX >= 0x030400a1)
  #endif
  #ifndef CYTHON_USE_DICT_VERSIONS
    #define CYTHON_USE_DICT_VERSIONS (PY_VERSION_HEX >= 0x030600B1)
  #endif
  #ifndef CYTHON_USE_EXC_INFO_STACK
    #define CYTHON_USE_EXC_INFO_STACK (PY_VERSION_HEX >= 0x030700A3)
  #endif
#endif
#if !defined(CYTHON_FAST_PYCCALL)
#define CYTHON_FAST_PYCCALL  (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
#endif
#if CYTHON_USE_PYLONG_INTERNALS
  #include "longintrepr.h"
  #undef SHIFT
  #undef BASE
  #undef MASK
  #ifdef SIZEOF_VOID_P
    enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  #endif
#endif
#ifndef __has_attribute
  #define __has_attribute(x) 0
#endif
#ifndef __has_cpp_attribute
  #define __has_cpp_attribute(x) 0
#endif
#ifndef CYTHON_RESTRICT
  #if defined(__GNUC__)
    #define CYTHON_RESTRICT __restrict__
  #elif defined(_MSC_VER) && _MSC_VER >= 1400
    #define CYTHON_RESTRICT __restrict
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define CYTHON_RESTRICT restrict
  #else
    #define CYTHON_RESTRICT
  #endif
#endif
#ifndef CYTHON_UNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define CYTHON_UNUSED __attribute__ ((__unused__))
#   else
#     define CYTHON_UNUSED
#   endif
# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
#   define CYTHON_UNUSED __attribute__ ((__unused__))
# else
#   define CYTHON_UNUSED
# endif
#endif
#ifndef CYTHON_MAYBE_UNUSED_VAR
#  if defined(__cplusplus)
     template<class T> void CYTHON_MAYBE_UNUSED_VAR( const T& ) { }
#  else
#    define CYTHON_MAYBE_UNUSED_VAR(x) (void)(x)
#  endif
#endif
#ifndef CYTHON_NCP_UNUSED
# if CYTHON_COMPILING_IN_CPYTHON
#  define CYTHON_NCP_UNUSED
# else
#  define CYTHON_NCP_UNUSED CYTHON_UNUSED
# endif
#endif
#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None)
#ifdef _MSC_VER
    #ifndef _MSC_STDINT_H_
        #if _MSC_VER < 1300
           typedef unsigned char     uint8_t;
           typedef unsigned int      uint32_t;
        #else
           typedef unsigned __int8   uint8_t;
           typedef unsigned __int32  uint32_t;
        #endif
    #endif
#else
   #include <stdint.h>
#endif
#ifndef CYTHON_FALLTHROUGH
  #if defined(__cplusplus) && __cplusplus >= 201103L
    #if __has_cpp_attribute(fallthrough)
      #define CYTHON_FALLTHROUGH [[fallthrough]]
    #elif __has_cpp_attribute(clang::fallthrough)
      #define CYTHON_FALLTHROUGH [[clang::fallthrough]]
    #elif __has_cpp_attribute(gnu::fallthrough)
      #define CYTHON_FALLTHROUGH [[gnu::fallthrough]]
    #endif
  #endif
  #ifndef CYTHON_FALLTHROUGH
    #if __has_attribute(fallthrough)
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
    #else
      #define CYTHON_FALLTHROUGH
    #endif
  #endif
  #if defined(__clang__ ) && defined(__apple_build_version__)
    #if __apple_build_version__ < 7000000
      #undef  CYTHON_FALLTHROUGH
      #define CYTHON_FALLTHROUGH
    #endif
  #endif
#endif

#ifndef CYTHON_INLINE
  #if defined(__clang__)
    #define CYTHON_INLINE __inline__ __attribute__ ((__unused__))
  #elif defined(__GNUC__)
    #define CYTHON_INLINE __inline__
  #elif defined(_MSC_VER)
    #define CYTHON_INLINE __inline
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define CYTHON_INLINE inline
  #else
    #define CYTHON_INLINE
  #endif
#endif

#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag)
  #define Py_OptimizeFlag 0
#endif
#define __PYX_BUILD_PY_SSIZE_T "n"
#define CYTHON_FORMAT_SSIZE_T "z"
#if PY_MAJOR_VERSION < 3
  #define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
          PyCode_New(a+k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  #define __Pyx_DefaultClassType PyClass_Type
#else
  #define __Pyx_BUILTIN_MODULE_NAME "builtins"
#if PY_VERSION_HEX >= 0x030800A4 && PY_VERSION_HEX < 0x030800B2
  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
          PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
#else
  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
          PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
#endif
  #define __Pyx_DefaultClassType PyType_Type
#endif
#ifndef Py_TPFLAGS_CHECKTYPES
  #define Py_TPFLAGS_CHECKTYPES 0
#endif
#ifndef Py_TPFLAGS_HAVE_INDEX
  #define Py_TPFLAGS_HAVE_INDEX 0
#endif
#ifndef Py_TPFLAGS_HAVE_NEWBUFFER
  #define Py_TPFLAGS_HAVE_NEWBUFFER 0
#endif
#ifndef Py_TPFLAGS_HAVE_FINALIZE
  #define Py_TPFLAGS_HAVE_FINALIZE 0
#endif
#ifndef METH_STACKLESS
  #define METH_STACKLESS 0
#endif
#if PY_VERSION_HEX <= 0x030700A3 || !defined(METH_FASTCALL)
  #ifndef METH_FASTCALL
     #define METH_FASTCALL 0x80
  #endif
  typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *self, PyObject *const *args, Py_ssize_t nargs);
  typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args,
                                                          Py_ssize_t nargs, PyObject *kwnames);
#else
  #define __Pyx_PyCFunctionFast _PyCFunctionFast
  #define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
#endif
#if CYTHON_FAST_PYCCALL
#define __Pyx_PyFastCFunction_Check(func)\
    ((PyCFunction_Check(func) && (METH_FASTCALL == (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_KEYWORDS | METH_STACKLESS)))))
#else
#define __Pyx_PyFastCFunction_Check(func) 0
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc)
  #define PyObject_Malloc(s)   PyMem_Malloc(s)
  #define PyObject_Free(p)     PyMem_Free(p)
  #define PyObject_Realloc(p)  PyMem_Realloc(p)
#endif
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030400A1
  #define PyMem_RawMalloc(n)           PyMem_Malloc(n)
  #define PyMem_RawRealloc(p, n)       PyMem_Realloc(p, n)
  #define PyMem_RawFree(p)             PyMem_Free(p)
#endif
#if CYTHON_COMPILING_IN_PYSTON
  #define __Pyx_PyCode_HasFreeVars(co)  PyCode_HasFreeVars(co)
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno) PyFrame_SetLineNumber(frame, lineno)
#else
  #define __Pyx_PyCode_HasFreeVars(co)  (PyCode_GetNumFree(co) > 0)
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
#endif
#if !CYTHON_FAST_THREAD_STATE || PY_VERSION_HEX < 0x02070000
  #define __Pyx_PyThreadState_Current PyThreadState_GET()
#elif PY_VERSION_HEX >= 0x03060000
  #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
#elif PY_VERSION_HEX >= 0x03000000
  #define __Pyx_PyThreadState_Current PyThreadState_GET()
#else
  #define __Pyx_PyThreadState_Current _PyThreadState_Current
#endif
#if PY_VERSION_HEX < 0x030700A2 && !defined(PyThread_tss_create) && !defined(Py_tss_NEEDS_INIT)
#include "pythread.h"
#define Py_tss_NEEDS_INIT 0
typedef int Py_tss_t;
static CYTHON_INLINE int PyThread_tss_create(Py_tss_t *key) {
  *key = PyThread_create_key();
  return 0;
}
static CYTHON_INLINE Py_tss_t * PyThread_tss_alloc(void) {
  Py_tss_t *key = (Py_tss_t *)PyObject_Malloc(sizeof(Py_tss_t));
  *key = Py_tss_NEEDS_INIT;
  return key;
}
static CYTHON_INLINE void PyThread_tss_free(Py_tss_t *key) {
  PyObject_Free(key);
}
static CYTHON_INLINE int PyThread_tss_is_created(Py_tss_t *key) {
  return *key != Py_tss_NEEDS_INIT;
}
static CYTHON_INLINE void PyThread_tss_delete(Py_tss_t *key) {
  PyThread_delete_key(*key);
  *key = Py_tss_NEEDS_INIT;
}
static CYTHON_INLINE int PyThread_tss_set(Py_tss_t *key, void *value) {
  return PyThread_set_key_value(*key, value);
}
static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
  return PyThread_get_key_value(*key);
}
#endif
#if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
#define __Pyx_PyDict_NewPresized(n)  ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
#else
#define __Pyx_PyDict_NewPresized(n)  PyDict_New()
#endif
#if PY_MAJOR_VERSION >= 3 || CYTHON_FUTURE_DIVISION
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
#else
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
#endif
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && CYTHON_USE_UNICODE_INTERNALS
#define __Pyx_PyDict_GetItemStr(dict, name)  _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
#else
#define __Pyx_PyDict_GetItemStr(dict, name)  PyDict_GetItem(dict, name)
#endif
#if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND)
  #define CYTHON_PEP393_ENABLED 1
  #define __Pyx_PyUnicode_READY(op)       (likely(PyUnicode_IS_READY(op)) ?\
                                              0 : _PyUnicode_Ready((PyObject *)(op)))
  #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_LENGTH(u)
  #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i)
  #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u)   PyUnicode_MAX_CHAR_VALUE(u)
  #define __Pyx_PyUnicode_KIND(u)         PyUnicode_KIND(u)
  #define __Pyx_PyUnicode_DATA(u)         PyUnicode_DATA(u)
  #define __Pyx_PyUnicode_READ(k, d, i)   PyUnicode_READ(k, d, i)
  #define __Pyx_PyUnicode_WRITE(k, d, i, ch)  PyUnicode_WRITE(k, d, i, ch)
  #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u)))
#else
  #define CYTHON_PEP393_ENABLED 0
  #define PyUnicode_1BYTE_KIND  1
  #define PyUnicode_2BYTE_KIND  2
  #define PyUnicode_4BYTE_KIND  4
  #define __Pyx_PyUnicode_READY(op)       (0)
  #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_SIZE(u)
  #define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i]))
  #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u)   ((sizeof(Py_UNICODE) == 2) ? 65535 : 1114111)
  #define __Pyx_PyUnicode_KIND(u)         (sizeof(Py_UNICODE))
  #define __Pyx_PyUnicode_DATA(u)         ((void*)PyUnicode_AS_UNICODE(u))
  #define __Pyx_PyUnicode_READ(k, d, i)   ((void)(k), (Py_UCS4)(((Py_UNICODE*)d)[i]))
  #define __Pyx_PyUnicode_WRITE(k, d, i, ch)  (((void)(k)), ((Py_UNICODE*)d)[i] = ch)
  #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != PyUnicode_GET_SIZE(u))
#endif
#if CYTHON_COMPILING_IN_PYPY
  #define __Pyx_PyUnicode_Concat(a, b)      PyNumber_Add(a, b)
  #define __Pyx_PyUnicode_ConcatSafe(a, b)  PyNumber_Add(a, b)
#else
  #define __Pyx_PyUnicode_Concat(a, b)      PyUnicode_Concat(a, b)
  #define __Pyx_PyUnicode_ConcatSafe(a, b)  ((unlikely((a) == Py_None) || unlikely((b) == Py_None)) ?\
      PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b))
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_Contains)
  #define PyUnicode_Contains(u, s)  PySequence_Contains(u, s)
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyByteArray_Check)
  #define PyByteArray_Check(obj)  PyObject_TypeCheck(obj, &PyByteArray_Type)
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Format)
  #define PyObject_Format(obj, fmt)  PyObject_CallMethod(obj, "__format__", "O", fmt)
#endif
#define __Pyx_PyString_FormatSafe(a, b)   ((unlikely((a) == Py_None || (PyString_Check(b) && !PyString_CheckExact(b)))) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
#define __Pyx_PyUnicode_FormatSafe(a, b)  ((unlikely((a) == Py_None || (PyUnicode_Check(b) && !PyUnicode_CheckExact(b)))) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyString_Format(a, b)  PyUnicode_Format(a, b)
#else
  #define __Pyx_PyString_Format(a, b)  PyString_Format(a, b)
#endif
#if PY_MAJOR_VERSION < 3 && !defined(PyObject_ASCII)
  #define PyObject_ASCII(o)            PyObject_Repr(o)
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyBaseString_Type            PyUnicode_Type
  #define PyStringObject               PyUnicodeObject
  #define PyString_Type                PyUnicode_Type
  #define PyString_Check               PyUnicode_Check
  #define PyString_CheckExact          PyUnicode_CheckExact
#ifndef PyObject_Unicode
  #define PyObject_Unicode             PyObject_Str
#endif
#endif
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyBaseString_Check(obj) PyUnicode_Check(obj)
  #define __Pyx_PyBaseString_CheckExact(obj) PyUnicode_CheckExact(obj)
#else
  #define __Pyx_PyBaseString_Check(obj) (PyString_Check(obj) || PyUnicode_Check(obj))
  #define __Pyx_PyBaseString_CheckExact(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj))
#endif
#ifndef PySet_CheckExact
  #define PySet_CheckExact(obj)        (Py_TYPE(obj) == &PySet_Type)
#endif
#if PY_VERSION_HEX >= 0x030900A4
  #define __Pyx_SET_REFCNT(obj, refcnt) Py_SET_REFCNT(obj, refcnt)
  #define __Pyx_SET_SIZE(obj, size) Py_SET_SIZE(obj, size)
#else
  #define __Pyx_SET_REFCNT(obj, refcnt) Py_REFCNT(obj) = (refcnt)
  #define __Pyx_SET_SIZE(obj, size) Py_SIZE(obj) = (size)
#endif
#if CYTHON_ASSUME_SAFE_MACROS
  #define __Pyx_PySequence_SIZE(seq)  Py_SIZE(seq)
#else
  #define __Pyx_PySequence_SIZE(seq)  PySequence_Size(seq)
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyIntObject                  PyLongObject
  #define PyInt_Type                   PyLong_Type
  #define PyInt_Check(op)              PyLong_Check(op)
  #define PyInt_CheckExact(op)         PyLong_CheckExact(op)
  #define PyInt_FromString             PyLong_FromString
  #define PyInt_FromUnicode            PyLong_FromUnicode
  #define PyInt_FromLong               PyLong_FromLong
  #define PyInt_FromSize_t             PyLong_FromSize_t
  #define PyInt_FromSsize_t            PyLong_FromSsize_t
  #define PyInt_AsLong                 PyLong_AsLong
  #define PyInt_AS_LONG                PyLong_AS_LONG
  #define PyInt_AsSsize_t              PyLong_AsSsize_t
  #define PyInt_AsUnsignedLongMask     PyLong_AsUnsignedLongMask
  #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
  #define PyNumber_Int                 PyNumber_Long
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyBoolObject                 PyLongObject
#endif
#if PY_MAJOR_VERSION >= 3 && CYTHON_COMPILING_IN_PYPY
  #ifndef PyUnicode_InternFromString
    #define PyUnicode_InternFromString(s) PyUnicode_FromString(s)
  #endif
#endif
#if PY_VERSION_HEX < 0x030200A4
  typedef long Py_hash_t;
  #define __Pyx_PyInt_FromHash_t PyInt_FromLong
  #define __Pyx_PyInt_AsHash_t   PyInt_AsLong
#else
  #define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
  #define __Pyx_PyInt_AsHash_t   PyInt_AsSsize_t
#endif
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : (Py_INCREF(func), func))
#else
  #define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
#endif
#if CYTHON_USE_ASYNC_SLOTS
  #if PY_VERSION_HEX >= 0x030500B1
    #define __Pyx_PyAsyncMethodsStruct PyAsyncMethods
    #define __Pyx_PyType_AsAsync(obj) (Py_TYPE(obj)->tp_as_async)
  #else
    #define __Pyx_PyType_AsAsync(obj) ((__Pyx_PyAsyncMethodsStruct*) (Py_TYPE(obj)->tp_reserved))
  #endif
#else
  #define __Pyx_PyType_AsAsync(obj) NULL
#endif
#ifndef __Pyx_PyAsyncMethodsStruct
    typedef struct {
        unaryfunc am_await;
        unaryfunc am_aiter;
        unaryfunc am_anext;
    } __Pyx_PyAsyncMethodsStruct;
#endif

#if defined(WIN32) || defined(MS_WINDOWS)
  #define _USE_MATH_DEFINES
#endif
#include <math.h>
#ifdef NAN
#define __PYX_NAN() ((float) NAN)
#else
static CYTHON_INLINE float __PYX_NAN() {
  float value;
  memset(&value, 0xFF, sizeof(value));
  return value;
}
#endif
#if defined(__CYGWIN__) && defined(_LDBL_EQ_DBL)
#define __Pyx_truncl trunc
#else
#define __Pyx_truncl truncl
#endif

#define __PYX_MARK_ERR_POS(f_index, lineno) \
    { __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__; (void)__pyx_clineno; }
#define __PYX_ERR(f_index, lineno, Ln_error) \
    { __PYX_MARK_ERR_POS(f_index, lineno) goto Ln_error; }

#ifndef __PYX_EXTERN_C
  #ifdef __cplusplus
    #define __PYX_EXTERN_C extern "C"
  #else
    #define __PYX_EXTERN_C extern
  #endif
#endif

#define __PYX_HAVE__renpy__uguu__uguu
#define __PYX_HAVE_API__renpy__uguu__uguu
/* Early includes */
#include <stdint.h>
#include <stddef.h>
#include "renpygl.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef _OPENMP
#include <omp.h>
#endif /* _OPENMP */

#if defined(PYREX_WITHOUT_ASSERTIONS) && !defined(CYTHON_WITHOUT_ASSERTIONS)
#define CYTHON_WITHOUT_ASSERTIONS
#endif

typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const char* encoding;
                const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry;

#define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0
#define __PYX_DEFAULT_STRING_ENCODING_IS_UTF8 0
#define __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT (PY_MAJOR_VERSION >= 3 && __PYX_DEFAULT_STRING_ENCODING_IS_UTF8)
#define __PYX_DEFAULT_STRING_ENCODING ""
#define __Pyx_PyObject_FromString __Pyx_PyBytes_FromString
#define __Pyx_PyObject_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#define __Pyx_uchar_cast(c) ((unsigned char)c)
#define __Pyx_long_cast(x) ((long)x)
#define __Pyx_fits_Py_ssize_t(v, type, is_signed)  (\
    (sizeof(type) < sizeof(Py_ssize_t))  ||\
    (sizeof(type) > sizeof(Py_ssize_t) &&\
          likely(v < (type)PY_SSIZE_T_MAX ||\
                 v == (type)PY_SSIZE_T_MAX)  &&\
          (!is_signed || likely(v > (type)PY_SSIZE_T_MIN ||\
                                v == (type)PY_SSIZE_T_MIN)))  ||\
    (sizeof(type) == sizeof(Py_ssize_t) &&\
          (is_signed || likely(v < (type)PY_SSIZE_T_MAX ||\
                               v == (type)PY_SSIZE_T_MAX)))  )
static CYTHON_INLINE int __Pyx_is_valid_index(Py_ssize_t i, Py_ssize_t limit) {
    return (size_t) i < (size_t) limit;
}
#if defined (__cplusplus) && __cplusplus >= 201103L
    #include <cstdlib>
    #define __Pyx_sst_abs(value) std::abs(value)
#elif SIZEOF_INT >= SIZEOF_SIZE_T
    #define __Pyx_sst_abs(value) abs(value)
#elif SIZEOF_LONG >= SIZEOF_SIZE_T
    #define __Pyx_sst_abs(value) labs(value)
#elif defined (_MSC_VER)
    #define __Pyx_sst_abs(value) ((Py_ssize_t)_abs64(value))
#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define __Pyx_sst_abs(value) llabs(value)
#elif defined (__GNUC__)
    #define __Pyx_sst_abs(value) __builtin_llabs(value)
#else
    #define __Pyx_sst_abs(value) ((value<0) ? -value : value)
#endif
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*);
static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
#define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
#define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
#define __Pyx_PyBytes_FromString        PyBytes_FromString
#define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*);
#if PY_MAJOR_VERSION < 3
    #define __Pyx_PyStr_FromString        __Pyx_PyBytes_FromString
    #define __Pyx_PyStr_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#else
    #define __Pyx_PyStr_FromString        __Pyx_PyUnicode_FromString
    #define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize
#endif
#define __Pyx_PyBytes_AsWritableString(s)     ((char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsWritableSString(s)    ((signed char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsWritableUString(s)    ((unsigned char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsString(s)     ((const char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsSString(s)    ((const signed char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsUString(s)    ((const unsigned char*) PyBytes_AS_STRING(s))
#define __Pyx_PyObject_AsWritableString(s)    ((char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsWritableSString(s)    ((signed char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsWritableUString(s)    ((unsigned char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsSString(s)    ((const signed char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsUString(s)    ((const unsigned char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_FromCString(s)  __Pyx_PyObject_FromString((const char*)s)
#define __Pyx_PyBytes_FromCString(s)   __Pyx_PyBytes_FromString((const char*)s)
#define __Pyx_PyByteArray_FromCString(s)   __Pyx_PyByteArray_FromString((const char*)s)
#define __Pyx_PyStr_FromCString(s)     __Pyx_PyStr_FromString((const char*)s)
#define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) {
    const Py_UNICODE *u_end = u;
    while (*u_end++) ;
    return (size_t)(u_end - u - 1);
}
#define __Pyx_PyUnicode_FromUnicode(u)       PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
#define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
#define __Pyx_PyUnicode_AsUnicode            PyUnicode_AsUnicode
#define __Pyx_NewRef(obj) (Py_INCREF(obj), obj)
#define __Pyx_Owned_Py_None(b) __Pyx_NewRef(Py_None)
static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b);
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*);
static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject*);
static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x);
#define __Pyx_PySequence_Tuple(obj)\
    (likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj))
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
#if CYTHON_ASSUME_SAFE_MACROS
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
#else
#define __pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x)
#endif
#define __pyx_PyFloat_AsFloat(x) ((float) __pyx_PyFloat_AsDouble(x))
#if PY_MAJOR_VERSION >= 3
#define __Pyx_PyNumber_Int(x) (PyLong_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Long(x))
#else
#define __Pyx_PyNumber_Int(x) (PyInt_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Int(x))
#endif
#define __Pyx_PyNumber_Float(x) (PyFloat_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Float(x))
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
static int __Pyx_sys_getdefaultencoding_not_ascii;
static int __Pyx_init_sys_getdefaultencoding_params(void) {
    PyObject* sys;
    PyObject* default_encoding = NULL;
    PyObject* ascii_chars_u = NULL;
    PyObject* ascii_chars_b = NULL;
    const char* default_encoding_c;
    sys = PyImport_ImportModule("sys");
    if (!sys) goto bad;
    default_encoding = PyObject_CallMethod(sys, (char*) "getdefaultencoding", NULL);
    Py_DECREF(sys);
    if (!default_encoding) goto bad;
    default_encoding_c = PyBytes_AsString(default_encoding);
    if (!default_encoding_c) goto bad;
    if (strcmp(default_encoding_c, "ascii") == 0) {
        __Pyx_sys_getdefaultencoding_not_ascii = 0;
    } else {
        char ascii_chars[128];
        int c;
        for (c = 0; c < 128; c++) {
            ascii_chars[c] = c;
        }
        __Pyx_sys_getdefaultencoding_not_ascii = 1;
        ascii_chars_u = PyUnicode_DecodeASCII(ascii_chars, 128, NULL);
        if (!ascii_chars_u) goto bad;
        ascii_chars_b = PyUnicode_AsEncodedString(ascii_chars_u, default_encoding_c, NULL);
        if (!ascii_chars_b || !PyBytes_Check(ascii_chars_b) || memcmp(ascii_chars, PyBytes_AS_STRING(ascii_chars_b), 128) != 0) {
            PyErr_Format(
                PyExc_ValueError,
                "This module compiled with c_string_encoding=ascii, but default encoding '%.200s' is not a superset of ascii.",
                default_encoding_c);
            goto bad;
        }
        Py_DECREF(ascii_chars_u);
        Py_DECREF(ascii_chars_b);
    }
    Py_DECREF(default_encoding);
    return 0;
bad:
    Py_XDECREF(default_encoding);
    Py_XDECREF(ascii_chars_u);
    Py_XDECREF(ascii_chars_b);
    return -1;
}
#endif
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT && PY_MAJOR_VERSION >= 3
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL)
#else
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
static char* __PYX_DEFAULT_STRING_ENCODING;
static int __Pyx_init_sys_getdefaultencoding_params(void) {
    PyObject* sys;
    PyObject* default_encoding = NULL;
    char* default_encoding_c;
    sys = PyImport_ImportModule("sys");
    if (!sys) goto bad;
    default_encoding = PyObject_CallMethod(sys, (char*) (const char*) "getdefaultencoding", NULL);
    Py_DECREF(sys);
    if (!default_encoding) goto bad;
    default_encoding_c = PyBytes_AsString(default_encoding);
    if (!default_encoding_c) goto bad;
    __PYX_DEFAULT_STRING_ENCODING = (char*) malloc(strlen(default_encoding_c) + 1);
    if (!__PYX_DEFAULT_STRING_ENCODING) goto bad;
    strcpy(__PYX_DEFAULT_STRING_ENCODING, default_encoding_c);
    Py_DECREF(default_encoding);
    return 0;
bad:
    Py_XDECREF(default_encoding);
    return -1;
}
#endif
#endif


/* Test for GCC > 2.95 */
#if defined(__GNUC__)     && (__GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95)))
  #define likely(x)   __builtin_expect(!!(x), 1)
  #define unlikely(x) __builtin_expect(!!(x), 0)
#else /* !__GNUC__ or GCC < 2.95 */
  #define likely(x)   (x)
  #define unlikely(x) (x)
#endif /* __GNUC__ */
static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void)ptr; }

static PyObject *__pyx_m = NULL;
static PyObject *__pyx_d;
static PyObject *__pyx_b;
static PyObject *__pyx_cython_runtime = NULL;
static PyObject *__pyx_empty_tuple;
static PyObject *__pyx_empty_bytes;
static PyObject *__pyx_empty_unicode;
static int __pyx_lineno;
static int __pyx_clineno = 0;
static const char * __pyx_cfilenm= __FILE__;
static const char *__pyx_filename;


static const char *__pyx_f[] = {
  "stringsource",
  "uguu.pyx",
};

/*--- Type declarations ---*/
struct __pyx_obj_5renpy_4uguu_4uguu_ptr;
struct __pyx_obj_5renpy_4uguu_4uguu_Buffer;
struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer;
struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer;
struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer;
struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer;

/* "renpy/uguu/gl.pxd":556
 *     GLenum GL_BUFFER_MAP_OFFSET
 * 
 * ctypedef void (__stdcall *glActiveTexture_type)(GLenum  texture) nogil             # <<<<<<<<<<<<<<
 * cdef glActiveTexture_type glActiveTexture
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glActiveTexture_type)(GLenum);

/* "renpy/uguu/gl.pxd":559
 * cdef glActiveTexture_type glActiveTexture
 * 
 * ctypedef void (__stdcall *glAttachShader_type)(GLuint  program, GLuint  shader) nogil             # <<<<<<<<<<<<<<
 * cdef glAttachShader_type glAttachShader
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glAttachShader_type)(GLuint, GLuint);

/* "renpy/uguu/gl.pxd":562
 * cdef glAttachShader_type glAttachShader
 * 
 * ctypedef void (__stdcall *glBeginQuery_type)(GLenum  target, GLuint  id) nogil             # <<<<<<<<<<<<<<
 * cdef glBeginQuery_type glBeginQuery
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBeginQuery_type)(GLenum, GLuint);

/* "renpy/uguu/gl.pxd":565
 * cdef glBeginQuery_type glBeginQuery
 * 
 * ctypedef void (__stdcall *glBeginTransformFeedback_type)(GLenum  primitiveMode) nogil             # <<<<<<<<<<<<<<
 * cdef glBeginTransformFeedback_type glBeginTransformFeedback
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBeginTransformFeedback_type)(GLenum);

/* "renpy/uguu/gl.pxd":568
 * cdef glBeginTransformFeedback_type glBeginTransformFeedback
 * 
 * ctypedef void (__stdcall *glBindAttribLocation_type)(GLuint  program, GLuint  index, const GLchar * name) nogil             # <<<<<<<<<<<<<<
 * cdef glBindAttribLocation_type glBindAttribLocation
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBindAttribLocation_type)(GLuint, GLuint, GLchar const *);

/* "renpy/uguu/gl.pxd":571
 * cdef glBindAttribLocation_type glBindAttribLocation
 * 
 * ctypedef void (__stdcall *glBindBuffer_type)(GLenum  target, GLuint  buffer) nogil             # <<<<<<<<<<<<<<
 * cdef glBindBuffer_type glBindBuffer
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBindBuffer_type)(GLenum, GLuint);

/* "renpy/uguu/gl.pxd":574
 * cdef glBindBuffer_type glBindBuffer
 * 
 * ctypedef void (__stdcall *glBindBufferBase_type)(GLenum  target, GLuint  index, GLuint  buffer) nogil             # <<<<<<<<<<<<<<
 * cdef glBindBufferBase_type glBindBufferBase
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBindBufferBase_type)(GLenum, GLuint, GLuint);

/* "renpy/uguu/gl.pxd":577
 * cdef glBindBufferBase_type glBindBufferBase
 * 
 * ctypedef void (__stdcall *glBindBufferRange_type)(GLenum  target, GLuint  index, GLuint  buffer, GLintptr  offset, GLsizeiptr  size) nogil             # <<<<<<<<<<<<<<
 * cdef glBindBufferRange_type glBindBufferRange
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBindBufferRange_type)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);

/* "renpy/uguu/gl.pxd":580
 * cdef glBindBufferRange_type glBindBufferRange
 * 
 * ctypedef void (__stdcall *glBindFramebuffer_type)(GLenum  target, GLuint  framebuffer) nogil             # <<<<<<<<<<<<<<
 * cdef glBindFramebuffer_type glBindFramebuffer
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBindFramebuffer_type)(GLenum, GLuint);

/* "renpy/uguu/gl.pxd":583
 * cdef glBindFramebuffer_type glBindFramebuffer
 * 
 * ctypedef void (__stdcall *glBindRenderbuffer_type)(GLenum  target, GLuint  renderbuffer) nogil             # <<<<<<<<<<<<<<
 * cdef glBindRenderbuffer_type glBindRenderbuffer
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBindRenderbuffer_type)(GLenum, GLuint);

/* "renpy/uguu/gl.pxd":586
 * cdef glBindRenderbuffer_type glBindRenderbuffer
 * 
 * ctypedef void (__stdcall *glBindTexture_type)(GLenum  target, GLuint  texture) nogil             # <<<<<<<<<<<<<<
 * cdef glBindTexture_type glBindTexture
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBindTexture_type)(GLenum, GLuint);

/* "renpy/uguu/gl.pxd":589
 * cdef glBindTexture_type glBindTexture
 * 
 * ctypedef void (__stdcall *glBindVertexArray_type)(GLuint  array) nogil             # <<<<<<<<<<<<<<
 * cdef glBindVertexArray_type glBindVertexArray
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBindVertexArray_type)(GLuint);

/* "renpy/uguu/gl.pxd":592
 * cdef glBindVertexArray_type glBindVertexArray
 * 
 * ctypedef void (__stdcall *glBlendColor_type)(GLfloat  red, GLfloat  green, GLfloat  blue, GLfloat  alpha) nogil             # <<<<<<<<<<<<<<
 * cdef glBlendColor_type glBlendColor
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBlendColor_type)(GLfloat, GLfloat, GLfloat, GLfloat);

/* "renpy/uguu/gl.pxd":595
 * cdef glBlendColor_type glBlendColor
 * 
 * ctypedef void (__stdcall *glBlendEquation_type)(GLenum  mode) nogil             # <<<<<<<<<<<<<<
 * cdef glBlendEquation_type glBlendEquation
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBlendEquation_type)(GLenum);

/* "renpy/uguu/gl.pxd":598
 * cdef glBlendEquation_type glBlendEquation
 * 
 * ctypedef void (__stdcall *glBlendEquationSeparate_type)(GLenum  modeRGB, GLenum  modeAlpha) nogil             # <<<<<<<<<<<<<<
 * cdef glBlendEquationSeparate_type glBlendEquationSeparate
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBlendEquationSeparate_type)(GLenum, GLenum);

/* "renpy/uguu/gl.pxd":601
 * cdef glBlendEquationSeparate_type glBlendEquationSeparate
 * 
 * ctypedef void (__stdcall *glBlendFunc_type)(GLenum  sfactor, GLenum  dfactor) nogil             # <<<<<<<<<<<<<<
 * cdef glBlendFunc_type glBlendFunc
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBlendFunc_type)(GLenum, GLenum);

/* "renpy/uguu/gl.pxd":604
 * cdef glBlendFunc_type glBlendFunc
 * 
 * ctypedef void (__stdcall *glBlendFuncSeparate_type)(GLenum  sfactorRGB, GLenum  dfactorRGB, GLenum  sfactorAlpha, GLenum  dfactorAlpha) nogil             # <<<<<<<<<<<<<<
 * cdef glBlendFuncSeparate_type glBlendFuncSeparate
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBlendFuncSeparate_type)(GLenum, GLenum, GLenum, GLenum);

/* "renpy/uguu/gl.pxd":607
 * cdef glBlendFuncSeparate_type glBlendFuncSeparate
 * 
 * ctypedef void (__stdcall *glBlitFramebuffer_type)(GLint  srcX0, GLint  srcY0, GLint  srcX1, GLint  srcY1, GLint  dstX0, GLint  dstY0, GLint  dstX1, GLint  dstY1, GLbitfield  mask, GLenum  filter) nogil             # <<<<<<<<<<<<<<
 * cdef glBlitFramebuffer_type glBlitFramebuffer
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBlitFramebuffer_type)(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum);

/* "renpy/uguu/gl.pxd":610
 * cdef glBlitFramebuffer_type glBlitFramebuffer
 * 
 * ctypedef void (__stdcall *glBufferData_type)(GLenum  target, GLsizeiptr  size, const void * data, GLenum  usage) nogil             # <<<<<<<<<<<<<<
 * cdef glBufferData_type glBufferData
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBufferData_type)(GLenum, GLsizeiptr, void const *, GLenum);

/* "renpy/uguu/gl.pxd":613
 * cdef glBufferData_type glBufferData
 * 
 * ctypedef void (__stdcall *glBufferSubData_type)(GLenum  target, GLintptr  offset, GLsizeiptr  size, const void * data) nogil             # <<<<<<<<<<<<<<
 * cdef glBufferSubData_type glBufferSubData
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glBufferSubData_type)(GLenum, GLintptr, GLsizeiptr, void const *);

/* "renpy/uguu/gl.pxd":616
 * cdef glBufferSubData_type glBufferSubData
 * 
 * ctypedef GLenum (__stdcall *glCheckFramebufferStatus_type)(GLenum  target) nogil             # <<<<<<<<<<<<<<
 * cdef glCheckFramebufferStatus_type glCheckFramebufferStatus
 * 
 */
typedef GLenum (__stdcall *__pyx_t_5renpy_4uguu_2gl_glCheckFramebufferStatus_type)(GLenum);

/* "renpy/uguu/gl.pxd":619
 * cdef glCheckFramebufferStatus_type glCheckFramebufferStatus
 * 
 * ctypedef void (__stdcall *glClear_type)(GLbitfield  mask) nogil             # <<<<<<<<<<<<<<
 * cdef glClear_type glClear
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glClear_type)(GLbitfield);

/* "renpy/uguu/gl.pxd":622
 * cdef glClear_type glClear
 * 
 * ctypedef void (__stdcall *glClearBufferfi_type)(GLenum  buffer, GLint  drawbuffer, GLfloat  depth, GLint  stencil) nogil             # <<<<<<<<<<<<<<
 * cdef glClearBufferfi_type glClearBufferfi
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glClearBufferfi_type)(GLenum, GLint, GLfloat, GLint);

/* "renpy/uguu/gl.pxd":625
 * cdef glClearBufferfi_type glClearBufferfi
 * 
 * ctypedef void (__stdcall *glClearBufferfv_type)(GLenum  buffer, GLint  drawbuffer, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glClearBufferfv_type glClearBufferfv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glClearBufferfv_type)(GLenum, GLint, GLfloat const *);

/* "renpy/uguu/gl.pxd":628
 * cdef glClearBufferfv_type glClearBufferfv
 * 
 * ctypedef void (__stdcall *glClearBufferiv_type)(GLenum  buffer, GLint  drawbuffer, const GLint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glClearBufferiv_type glClearBufferiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glClearBufferiv_type)(GLenum, GLint, GLint const *);

/* "renpy/uguu/gl.pxd":631
 * cdef glClearBufferiv_type glClearBufferiv
 * 
 * ctypedef void (__stdcall *glClearBufferuiv_type)(GLenum  buffer, GLint  drawbuffer, const GLuint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glClearBufferuiv_type glClearBufferuiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glClearBufferuiv_type)(GLenum, GLint, GLuint const *);

/* "renpy/uguu/gl.pxd":634
 * cdef glClearBufferuiv_type glClearBufferuiv
 * 
 * ctypedef void (__stdcall *glClearColor_type)(GLfloat  red, GLfloat  green, GLfloat  blue, GLfloat  alpha) nogil             # <<<<<<<<<<<<<<
 * cdef glClearColor_type glClearColor
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glClearColor_type)(GLfloat, GLfloat, GLfloat, GLfloat);

/* "renpy/uguu/gl.pxd":637
 * cdef glClearColor_type glClearColor
 * 
 * ctypedef void (__stdcall *glClearStencil_type)(GLint  s) nogil             # <<<<<<<<<<<<<<
 * cdef glClearStencil_type glClearStencil
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glClearStencil_type)(GLint);

/* "renpy/uguu/gl.pxd":640
 * cdef glClearStencil_type glClearStencil
 * 
 * ctypedef void (__stdcall *glColorMask_type)(GLboolean  red, GLboolean  green, GLboolean  blue, GLboolean  alpha) nogil             # <<<<<<<<<<<<<<
 * cdef glColorMask_type glColorMask
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glColorMask_type)(GLboolean, GLboolean, GLboolean, GLboolean);

/* "renpy/uguu/gl.pxd":643
 * cdef glColorMask_type glColorMask
 * 
 * ctypedef void (__stdcall *glCompileShader_type)(GLuint  shader) nogil             # <<<<<<<<<<<<<<
 * cdef glCompileShader_type glCompileShader
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glCompileShader_type)(GLuint);

/* "renpy/uguu/gl.pxd":646
 * cdef glCompileShader_type glCompileShader
 * 
 * ctypedef void (__stdcall *glCompressedTexImage2D_type)(GLenum  target, GLint  level, GLenum  internalformat, GLsizei  width, GLsizei  height, GLint  border, GLsizei  imageSize, const void * data) nogil             # <<<<<<<<<<<<<<
 * cdef glCompressedTexImage2D_type glCompressedTexImage2D
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glCompressedTexImage2D_type)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, void const *);

/* "renpy/uguu/gl.pxd":649
 * cdef glCompressedTexImage2D_type glCompressedTexImage2D
 * 
 * ctypedef void (__stdcall *glCompressedTexImage3D_type)(GLenum  target, GLint  level, GLenum  internalformat, GLsizei  width, GLsizei  height, GLsizei  depth, GLint  border, GLsizei  imageSize, const void * data) nogil             # <<<<<<<<<<<<<<
 * cdef glCompressedTexImage3D_type glCompressedTexImage3D
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glCompressedTexImage3D_type)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, void const *);

/* "renpy/uguu/gl.pxd":652
 * cdef glCompressedTexImage3D_type glCompressedTexImage3D
 * 
 * ctypedef void (__stdcall *glCompressedTexSubImage2D_type)(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLsizei  width, GLsizei  height, GLenum  format, GLsizei  imageSize, const void * data) nogil             # <<<<<<<<<<<<<<
 * cdef glCompressedTexSubImage2D_type glCompressedTexSubImage2D
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glCompressedTexSubImage2D_type)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, void const *);

/* "renpy/uguu/gl.pxd":655
 * cdef glCompressedTexSubImage2D_type glCompressedTexSubImage2D
 * 
 * ctypedef void (__stdcall *glCompressedTexSubImage3D_type)(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLint  zoffset, GLsizei  width, GLsizei  height, GLsizei  depth, GLenum  format, GLsizei  imageSize, const void * data) nogil             # <<<<<<<<<<<<<<
 * cdef glCompressedTexSubImage3D_type glCompressedTexSubImage3D
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glCompressedTexSubImage3D_type)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, void const *);

/* "renpy/uguu/gl.pxd":658
 * cdef glCompressedTexSubImage3D_type glCompressedTexSubImage3D
 * 
 * ctypedef void (__stdcall *glCopyTexImage2D_type)(GLenum  target, GLint  level, GLenum  internalformat, GLint  x, GLint  y, GLsizei  width, GLsizei  height, GLint  border) nogil             # <<<<<<<<<<<<<<
 * cdef glCopyTexImage2D_type glCopyTexImage2D
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glCopyTexImage2D_type)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);

/* "renpy/uguu/gl.pxd":661
 * cdef glCopyTexImage2D_type glCopyTexImage2D
 * 
 * ctypedef void (__stdcall *glCopyTexSubImage2D_type)(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil             # <<<<<<<<<<<<<<
 * cdef glCopyTexSubImage2D_type glCopyTexSubImage2D
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glCopyTexSubImage2D_type)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);

/* "renpy/uguu/gl.pxd":664
 * cdef glCopyTexSubImage2D_type glCopyTexSubImage2D
 * 
 * ctypedef void (__stdcall *glCopyTexSubImage3D_type)(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLint  zoffset, GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil             # <<<<<<<<<<<<<<
 * cdef glCopyTexSubImage3D_type glCopyTexSubImage3D
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glCopyTexSubImage3D_type)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);

/* "renpy/uguu/gl.pxd":667
 * cdef glCopyTexSubImage3D_type glCopyTexSubImage3D
 * 
 * ctypedef GLuint (__stdcall *glCreateProgram_type)() nogil             # <<<<<<<<<<<<<<
 * cdef glCreateProgram_type glCreateProgram
 * 
 */
typedef GLuint (__stdcall *__pyx_t_5renpy_4uguu_2gl_glCreateProgram_type)(void);

/* "renpy/uguu/gl.pxd":670
 * cdef glCreateProgram_type glCreateProgram
 * 
 * ctypedef GLuint (__stdcall *glCreateShader_type)(GLenum  type) nogil             # <<<<<<<<<<<<<<
 * cdef glCreateShader_type glCreateShader
 * 
 */
typedef GLuint (__stdcall *__pyx_t_5renpy_4uguu_2gl_glCreateShader_type)(GLenum);

/* "renpy/uguu/gl.pxd":673
 * cdef glCreateShader_type glCreateShader
 * 
 * ctypedef void (__stdcall *glCullFace_type)(GLenum  mode) nogil             # <<<<<<<<<<<<<<
 * cdef glCullFace_type glCullFace
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glCullFace_type)(GLenum);

/* "renpy/uguu/gl.pxd":676
 * cdef glCullFace_type glCullFace
 * 
 * ctypedef void (__stdcall *glDeleteBuffers_type)(GLsizei  n, const GLuint * buffers) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteBuffers_type glDeleteBuffers
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDeleteBuffers_type)(GLsizei, GLuint const *);

/* "renpy/uguu/gl.pxd":679
 * cdef glDeleteBuffers_type glDeleteBuffers
 * 
 * ctypedef void (__stdcall *glDeleteFramebuffers_type)(GLsizei  n, const GLuint * framebuffers) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteFramebuffers_type glDeleteFramebuffers
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDeleteFramebuffers_type)(GLsizei, GLuint const *);

/* "renpy/uguu/gl.pxd":682
 * cdef glDeleteFramebuffers_type glDeleteFramebuffers
 * 
 * ctypedef void (__stdcall *glDeleteProgram_type)(GLuint  program) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteProgram_type glDeleteProgram
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDeleteProgram_type)(GLuint);

/* "renpy/uguu/gl.pxd":685
 * cdef glDeleteProgram_type glDeleteProgram
 * 
 * ctypedef void (__stdcall *glDeleteQueries_type)(GLsizei  n, const GLuint * ids) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteQueries_type glDeleteQueries
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDeleteQueries_type)(GLsizei, GLuint const *);

/* "renpy/uguu/gl.pxd":688
 * cdef glDeleteQueries_type glDeleteQueries
 * 
 * ctypedef void (__stdcall *glDeleteRenderbuffers_type)(GLsizei  n, const GLuint * renderbuffers) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteRenderbuffers_type glDeleteRenderbuffers
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDeleteRenderbuffers_type)(GLsizei, GLuint const *);

/* "renpy/uguu/gl.pxd":691
 * cdef glDeleteRenderbuffers_type glDeleteRenderbuffers
 * 
 * ctypedef void (__stdcall *glDeleteShader_type)(GLuint  shader) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteShader_type glDeleteShader
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDeleteShader_type)(GLuint);

/* "renpy/uguu/gl.pxd":694
 * cdef glDeleteShader_type glDeleteShader
 * 
 * ctypedef void (__stdcall *glDeleteTextures_type)(GLsizei  n, const GLuint * textures) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteTextures_type glDeleteTextures
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDeleteTextures_type)(GLsizei, GLuint const *);

/* "renpy/uguu/gl.pxd":697
 * cdef glDeleteTextures_type glDeleteTextures
 * 
 * ctypedef void (__stdcall *glDeleteVertexArrays_type)(GLsizei  n, const GLuint * arrays) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteVertexArrays_type glDeleteVertexArrays
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDeleteVertexArrays_type)(GLsizei, GLuint const *);

/* "renpy/uguu/gl.pxd":700
 * cdef glDeleteVertexArrays_type glDeleteVertexArrays
 * 
 * ctypedef void (__stdcall *glDepthFunc_type)(GLenum  func) nogil             # <<<<<<<<<<<<<<
 * cdef glDepthFunc_type glDepthFunc
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDepthFunc_type)(GLenum);

/* "renpy/uguu/gl.pxd":703
 * cdef glDepthFunc_type glDepthFunc
 * 
 * ctypedef void (__stdcall *glDepthMask_type)(GLboolean  flag) nogil             # <<<<<<<<<<<<<<
 * cdef glDepthMask_type glDepthMask
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDepthMask_type)(GLboolean);

/* "renpy/uguu/gl.pxd":706
 * cdef glDepthMask_type glDepthMask
 * 
 * ctypedef void (__stdcall *glDetachShader_type)(GLuint  program, GLuint  shader) nogil             # <<<<<<<<<<<<<<
 * cdef glDetachShader_type glDetachShader
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDetachShader_type)(GLuint, GLuint);

/* "renpy/uguu/gl.pxd":709
 * cdef glDetachShader_type glDetachShader
 * 
 * ctypedef void (__stdcall *glDisable_type)(GLenum  cap) nogil             # <<<<<<<<<<<<<<
 * cdef glDisable_type glDisable
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDisable_type)(GLenum);

/* "renpy/uguu/gl.pxd":712
 * cdef glDisable_type glDisable
 * 
 * ctypedef void (__stdcall *glDisableVertexAttribArray_type)(GLuint  index) nogil             # <<<<<<<<<<<<<<
 * cdef glDisableVertexAttribArray_type glDisableVertexAttribArray
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDisableVertexAttribArray_type)(GLuint);

/* "renpy/uguu/gl.pxd":715
 * cdef glDisableVertexAttribArray_type glDisableVertexAttribArray
 * 
 * ctypedef void (__stdcall *glDrawArrays_type)(GLenum  mode, GLint  first, GLsizei  count) nogil             # <<<<<<<<<<<<<<
 * cdef glDrawArrays_type glDrawArrays
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDrawArrays_type)(GLenum, GLint, GLsizei);

/* "renpy/uguu/gl.pxd":718
 * cdef glDrawArrays_type glDrawArrays
 * 
 * ctypedef void (__stdcall *glDrawBuffers_type)(GLsizei  n, const GLenum * bufs) nogil             # <<<<<<<<<<<<<<
 * cdef glDrawBuffers_type glDrawBuffers
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDrawBuffers_type)(GLsizei, GLenum const *);

/* "renpy/uguu/gl.pxd":721
 * cdef glDrawBuffers_type glDrawBuffers
 * 
 * ctypedef void (__stdcall *glDrawElements_type)(GLenum  mode, GLsizei  count, GLenum  type, const void * indices) nogil             # <<<<<<<<<<<<<<
 * cdef glDrawElements_type glDrawElements
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDrawElements_type)(GLenum, GLsizei, GLenum, void const *);

/* "renpy/uguu/gl.pxd":724
 * cdef glDrawElements_type glDrawElements
 * 
 * ctypedef void (__stdcall *glDrawRangeElements_type)(GLenum  mode, GLuint  start, GLuint  end, GLsizei  count, GLenum  type, const void * indices) nogil             # <<<<<<<<<<<<<<
 * cdef glDrawRangeElements_type glDrawRangeElements
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glDrawRangeElements_type)(GLenum, GLuint, GLuint, GLsizei, GLenum, void const *);

/* "renpy/uguu/gl.pxd":727
 * cdef glDrawRangeElements_type glDrawRangeElements
 * 
 * ctypedef void (__stdcall *glEnable_type)(GLenum  cap) nogil             # <<<<<<<<<<<<<<
 * cdef glEnable_type glEnable
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glEnable_type)(GLenum);

/* "renpy/uguu/gl.pxd":730
 * cdef glEnable_type glEnable
 * 
 * ctypedef void (__stdcall *glEnableVertexAttribArray_type)(GLuint  index) nogil             # <<<<<<<<<<<<<<
 * cdef glEnableVertexAttribArray_type glEnableVertexAttribArray
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glEnableVertexAttribArray_type)(GLuint);

/* "renpy/uguu/gl.pxd":733
 * cdef glEnableVertexAttribArray_type glEnableVertexAttribArray
 * 
 * ctypedef void (__stdcall *glEndQuery_type)(GLenum  target) nogil             # <<<<<<<<<<<<<<
 * cdef glEndQuery_type glEndQuery
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glEndQuery_type)(GLenum);

/* "renpy/uguu/gl.pxd":736
 * cdef glEndQuery_type glEndQuery
 * 
 * ctypedef void (__stdcall *glEndTransformFeedback_type)() nogil             # <<<<<<<<<<<<<<
 * cdef glEndTransformFeedback_type glEndTransformFeedback
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glEndTransformFeedback_type)(void);

/* "renpy/uguu/gl.pxd":739
 * cdef glEndTransformFeedback_type glEndTransformFeedback
 * 
 * ctypedef void (__stdcall *glFinish_type)() nogil             # <<<<<<<<<<<<<<
 * cdef glFinish_type glFinish
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glFinish_type)(void);

/* "renpy/uguu/gl.pxd":742
 * cdef glFinish_type glFinish
 * 
 * ctypedef void (__stdcall *glFlush_type)() nogil             # <<<<<<<<<<<<<<
 * cdef glFlush_type glFlush
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glFlush_type)(void);

/* "renpy/uguu/gl.pxd":745
 * cdef glFlush_type glFlush
 * 
 * ctypedef void (__stdcall *glFlushMappedBufferRange_type)(GLenum  target, GLintptr  offset, GLsizeiptr  length) nogil             # <<<<<<<<<<<<<<
 * cdef glFlushMappedBufferRange_type glFlushMappedBufferRange
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glFlushMappedBufferRange_type)(GLenum, GLintptr, GLsizeiptr);

/* "renpy/uguu/gl.pxd":748
 * cdef glFlushMappedBufferRange_type glFlushMappedBufferRange
 * 
 * ctypedef void (__stdcall *glFramebufferRenderbuffer_type)(GLenum  target, GLenum  attachment, GLenum  renderbuffertarget, GLuint  renderbuffer) nogil             # <<<<<<<<<<<<<<
 * cdef glFramebufferRenderbuffer_type glFramebufferRenderbuffer
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glFramebufferRenderbuffer_type)(GLenum, GLenum, GLenum, GLuint);

/* "renpy/uguu/gl.pxd":751
 * cdef glFramebufferRenderbuffer_type glFramebufferRenderbuffer
 * 
 * ctypedef void (__stdcall *glFramebufferTexture2D_type)(GLenum  target, GLenum  attachment, GLenum  textarget, GLuint  texture, GLint  level) nogil             # <<<<<<<<<<<<<<
 * cdef glFramebufferTexture2D_type glFramebufferTexture2D
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glFramebufferTexture2D_type)(GLenum, GLenum, GLenum, GLuint, GLint);

/* "renpy/uguu/gl.pxd":754
 * cdef glFramebufferTexture2D_type glFramebufferTexture2D
 * 
 * ctypedef void (__stdcall *glFramebufferTextureLayer_type)(GLenum  target, GLenum  attachment, GLuint  texture, GLint  level, GLint  layer) nogil             # <<<<<<<<<<<<<<
 * cdef glFramebufferTextureLayer_type glFramebufferTextureLayer
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glFramebufferTextureLayer_type)(GLenum, GLenum, GLuint, GLint, GLint);

/* "renpy/uguu/gl.pxd":757
 * cdef glFramebufferTextureLayer_type glFramebufferTextureLayer
 * 
 * ctypedef void (__stdcall *glFrontFace_type)(GLenum  mode) nogil             # <<<<<<<<<<<<<<
 * cdef glFrontFace_type glFrontFace
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glFrontFace_type)(GLenum);

/* "renpy/uguu/gl.pxd":760
 * cdef glFrontFace_type glFrontFace
 * 
 * ctypedef void (__stdcall *glGenBuffers_type)(GLsizei  n, GLuint * buffers) nogil             # <<<<<<<<<<<<<<
 * cdef glGenBuffers_type glGenBuffers
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGenBuffers_type)(GLsizei, GLuint *);

/* "renpy/uguu/gl.pxd":763
 * cdef glGenBuffers_type glGenBuffers
 * 
 * ctypedef void (__stdcall *glGenFramebuffers_type)(GLsizei  n, GLuint * framebuffers) nogil             # <<<<<<<<<<<<<<
 * cdef glGenFramebuffers_type glGenFramebuffers
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGenFramebuffers_type)(GLsizei, GLuint *);

/* "renpy/uguu/gl.pxd":766
 * cdef glGenFramebuffers_type glGenFramebuffers
 * 
 * ctypedef void (__stdcall *glGenQueries_type)(GLsizei  n, GLuint * ids) nogil             # <<<<<<<<<<<<<<
 * cdef glGenQueries_type glGenQueries
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGenQueries_type)(GLsizei, GLuint *);

/* "renpy/uguu/gl.pxd":769
 * cdef glGenQueries_type glGenQueries
 * 
 * ctypedef void (__stdcall *glGenRenderbuffers_type)(GLsizei  n, GLuint * renderbuffers) nogil             # <<<<<<<<<<<<<<
 * cdef glGenRenderbuffers_type glGenRenderbuffers
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGenRenderbuffers_type)(GLsizei, GLuint *);

/* "renpy/uguu/gl.pxd":772
 * cdef glGenRenderbuffers_type glGenRenderbuffers
 * 
 * ctypedef void (__stdcall *glGenTextures_type)(GLsizei  n, GLuint * textures) nogil             # <<<<<<<<<<<<<<
 * cdef glGenTextures_type glGenTextures
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGenTextures_type)(GLsizei, GLuint *);

/* "renpy/uguu/gl.pxd":775
 * cdef glGenTextures_type glGenTextures
 * 
 * ctypedef void (__stdcall *glGenVertexArrays_type)(GLsizei  n, GLuint * arrays) nogil             # <<<<<<<<<<<<<<
 * cdef glGenVertexArrays_type glGenVertexArrays
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGenVertexArrays_type)(GLsizei, GLuint *);

/* "renpy/uguu/gl.pxd":778
 * cdef glGenVertexArrays_type glGenVertexArrays
 * 
 * ctypedef void (__stdcall *glGenerateMipmap_type)(GLenum  target) nogil             # <<<<<<<<<<<<<<
 * cdef glGenerateMipmap_type glGenerateMipmap
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGenerateMipmap_type)(GLenum);

/* "renpy/uguu/gl.pxd":781
 * cdef glGenerateMipmap_type glGenerateMipmap
 * 
 * ctypedef void (__stdcall *glGetActiveAttrib_type)(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil             # <<<<<<<<<<<<<<
 * cdef glGetActiveAttrib_type glGetActiveAttrib
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetActiveAttrib_type)(GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);

/* "renpy/uguu/gl.pxd":784
 * cdef glGetActiveAttrib_type glGetActiveAttrib
 * 
 * ctypedef void (__stdcall *glGetActiveUniform_type)(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil             # <<<<<<<<<<<<<<
 * cdef glGetActiveUniform_type glGetActiveUniform
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetActiveUniform_type)(GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);

/* "renpy/uguu/gl.pxd":787
 * cdef glGetActiveUniform_type glGetActiveUniform
 * 
 * ctypedef void (__stdcall *glGetAttachedShaders_type)(GLuint  program, GLsizei  maxCount, GLsizei * count, GLuint * shaders) nogil             # <<<<<<<<<<<<<<
 * cdef glGetAttachedShaders_type glGetAttachedShaders
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetAttachedShaders_type)(GLuint, GLsizei, GLsizei *, GLuint *);

/* "renpy/uguu/gl.pxd":790
 * cdef glGetAttachedShaders_type glGetAttachedShaders
 * 
 * ctypedef GLint (__stdcall *glGetAttribLocation_type)(GLuint  program, const GLchar * name) nogil             # <<<<<<<<<<<<<<
 * cdef glGetAttribLocation_type glGetAttribLocation
 * 
 */
typedef GLint (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetAttribLocation_type)(GLuint, GLchar const *);

/* "renpy/uguu/gl.pxd":793
 * cdef glGetAttribLocation_type glGetAttribLocation
 * 
 * ctypedef void (__stdcall *glGetBooleanv_type)(GLenum  pname, GLboolean * data) nogil             # <<<<<<<<<<<<<<
 * cdef glGetBooleanv_type glGetBooleanv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetBooleanv_type)(GLenum, GLboolean *);

/* "renpy/uguu/gl.pxd":796
 * cdef glGetBooleanv_type glGetBooleanv
 * 
 * ctypedef void (__stdcall *glGetBufferParameteriv_type)(GLenum  target, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetBufferParameteriv_type glGetBufferParameteriv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetBufferParameteriv_type)(GLenum, GLenum, GLint *);

/* "renpy/uguu/gl.pxd":799
 * cdef glGetBufferParameteriv_type glGetBufferParameteriv
 * 
 * ctypedef void (__stdcall *glGetBufferPointerv_type)(GLenum  target, GLenum  pname, void ** params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetBufferPointerv_type glGetBufferPointerv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetBufferPointerv_type)(GLenum, GLenum, void **);

/* "renpy/uguu/gl.pxd":802
 * cdef glGetBufferPointerv_type glGetBufferPointerv
 * 
 * ctypedef GLenum (__stdcall *glGetError_type)() nogil             # <<<<<<<<<<<<<<
 * cdef glGetError_type glGetError
 * 
 */
typedef GLenum (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetError_type)(void);

/* "renpy/uguu/gl.pxd":805
 * cdef glGetError_type glGetError
 * 
 * ctypedef void (__stdcall *glGetFloatv_type)(GLenum  pname, GLfloat * data) nogil             # <<<<<<<<<<<<<<
 * cdef glGetFloatv_type glGetFloatv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetFloatv_type)(GLenum, GLfloat *);

/* "renpy/uguu/gl.pxd":808
 * cdef glGetFloatv_type glGetFloatv
 * 
 * ctypedef GLint (__stdcall *glGetFragDataLocation_type)(GLuint  program, const GLchar * name) nogil             # <<<<<<<<<<<<<<
 * cdef glGetFragDataLocation_type glGetFragDataLocation
 * 
 */
typedef GLint (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetFragDataLocation_type)(GLuint, GLchar const *);

/* "renpy/uguu/gl.pxd":811
 * cdef glGetFragDataLocation_type glGetFragDataLocation
 * 
 * ctypedef void (__stdcall *glGetFramebufferAttachmentParameteriv_type)(GLenum  target, GLenum  attachment, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetFramebufferAttachmentParameteriv_type glGetFramebufferAttachmentParameteriv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetFramebufferAttachmentParameteriv_type)(GLenum, GLenum, GLenum, GLint *);

/* "renpy/uguu/gl.pxd":814
 * cdef glGetFramebufferAttachmentParameteriv_type glGetFramebufferAttachmentParameteriv
 * 
 * ctypedef void (__stdcall *glGetIntegeri_v_type)(GLenum  target, GLuint  index, GLint * data) nogil             # <<<<<<<<<<<<<<
 * cdef glGetIntegeri_v_type glGetIntegeri_v
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetIntegeri_v_type)(GLenum, GLuint, GLint *);

/* "renpy/uguu/gl.pxd":817
 * cdef glGetIntegeri_v_type glGetIntegeri_v
 * 
 * ctypedef void (__stdcall *glGetIntegerv_type)(GLenum  pname, GLint * data) nogil             # <<<<<<<<<<<<<<
 * cdef glGetIntegerv_type glGetIntegerv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetIntegerv_type)(GLenum, GLint *);

/* "renpy/uguu/gl.pxd":820
 * cdef glGetIntegerv_type glGetIntegerv
 * 
 * ctypedef void (__stdcall *glGetProgramInfoLog_type)(GLuint  program, GLsizei  bufSize, GLsizei * length, GLchar * infoLog) nogil             # <<<<<<<<<<<<<<
 * cdef glGetProgramInfoLog_type glGetProgramInfoLog
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetProgramInfoLog_type)(GLuint, GLsizei, GLsizei *, GLchar *);

/* "renpy/uguu/gl.pxd":823
 * cdef glGetProgramInfoLog_type glGetProgramInfoLog
 * 
 * ctypedef void (__stdcall *glGetProgramiv_type)(GLuint  program, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetProgramiv_type glGetProgramiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetProgramiv_type)(GLuint, GLenum, GLint *);

/* "renpy/uguu/gl.pxd":826
 * cdef glGetProgramiv_type glGetProgramiv
 * 
 * ctypedef void (__stdcall *glGetQueryObjectuiv_type)(GLuint  id, GLenum  pname, GLuint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetQueryObjectuiv_type glGetQueryObjectuiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetQueryObjectuiv_type)(GLuint, GLenum, GLuint *);

/* "renpy/uguu/gl.pxd":829
 * cdef glGetQueryObjectuiv_type glGetQueryObjectuiv
 * 
 * ctypedef void (__stdcall *glGetQueryiv_type)(GLenum  target, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetQueryiv_type glGetQueryiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetQueryiv_type)(GLenum, GLenum, GLint *);

/* "renpy/uguu/gl.pxd":832
 * cdef glGetQueryiv_type glGetQueryiv
 * 
 * ctypedef void (__stdcall *glGetRenderbufferParameteriv_type)(GLenum  target, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetRenderbufferParameteriv_type glGetRenderbufferParameteriv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetRenderbufferParameteriv_type)(GLenum, GLenum, GLint *);

/* "renpy/uguu/gl.pxd":835
 * cdef glGetRenderbufferParameteriv_type glGetRenderbufferParameteriv
 * 
 * ctypedef void (__stdcall *glGetShaderInfoLog_type)(GLuint  shader, GLsizei  bufSize, GLsizei * length, GLchar * infoLog) nogil             # <<<<<<<<<<<<<<
 * cdef glGetShaderInfoLog_type glGetShaderInfoLog
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetShaderInfoLog_type)(GLuint, GLsizei, GLsizei *, GLchar *);

/* "renpy/uguu/gl.pxd":838
 * cdef glGetShaderInfoLog_type glGetShaderInfoLog
 * 
 * ctypedef void (__stdcall *glGetShaderSource_type)(GLuint  shader, GLsizei  bufSize, GLsizei * length, GLchar * source) nogil             # <<<<<<<<<<<<<<
 * cdef glGetShaderSource_type glGetShaderSource
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetShaderSource_type)(GLuint, GLsizei, GLsizei *, GLchar *);

/* "renpy/uguu/gl.pxd":841
 * cdef glGetShaderSource_type glGetShaderSource
 * 
 * ctypedef void (__stdcall *glGetShaderiv_type)(GLuint  shader, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetShaderiv_type glGetShaderiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetShaderiv_type)(GLuint, GLenum, GLint *);

/* "renpy/uguu/gl.pxd":844
 * cdef glGetShaderiv_type glGetShaderiv
 * 
 * ctypedef const GLubyte * (__stdcall *glGetString_type)(GLenum  name) nogil             # <<<<<<<<<<<<<<
 * cdef glGetString_type glGetString
 * 
 */
typedef GLubyte const *(__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetString_type)(GLenum);

/* "renpy/uguu/gl.pxd":847
 * cdef glGetString_type glGetString
 * 
 * ctypedef const GLubyte * (__stdcall *glGetStringi_type)(GLenum  name, GLuint  index) nogil             # <<<<<<<<<<<<<<
 * cdef glGetStringi_type glGetStringi
 * 
 */
typedef GLubyte const *(__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetStringi_type)(GLenum, GLuint);

/* "renpy/uguu/gl.pxd":850
 * cdef glGetStringi_type glGetStringi
 * 
 * ctypedef void (__stdcall *glGetTexParameterfv_type)(GLenum  target, GLenum  pname, GLfloat * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetTexParameterfv_type glGetTexParameterfv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetTexParameterfv_type)(GLenum, GLenum, GLfloat *);

/* "renpy/uguu/gl.pxd":853
 * cdef glGetTexParameterfv_type glGetTexParameterfv
 * 
 * ctypedef void (__stdcall *glGetTexParameteriv_type)(GLenum  target, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetTexParameteriv_type glGetTexParameteriv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetTexParameteriv_type)(GLenum, GLenum, GLint *);

/* "renpy/uguu/gl.pxd":856
 * cdef glGetTexParameteriv_type glGetTexParameteriv
 * 
 * ctypedef void (__stdcall *glGetTransformFeedbackVarying_type)(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name) nogil             # <<<<<<<<<<<<<<
 * cdef glGetTransformFeedbackVarying_type glGetTransformFeedbackVarying
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetTransformFeedbackVarying_type)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *);

/* "renpy/uguu/gl.pxd":859
 * cdef glGetTransformFeedbackVarying_type glGetTransformFeedbackVarying
 * 
 * ctypedef GLint (__stdcall *glGetUniformLocation_type)(GLuint  program, const GLchar * name) nogil             # <<<<<<<<<<<<<<
 * cdef glGetUniformLocation_type glGetUniformLocation
 * 
 */
typedef GLint (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetUniformLocation_type)(GLuint, GLchar const *);

/* "renpy/uguu/gl.pxd":862
 * cdef glGetUniformLocation_type glGetUniformLocation
 * 
 * ctypedef void (__stdcall *glGetUniformfv_type)(GLuint  program, GLint  location, GLfloat * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetUniformfv_type glGetUniformfv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetUniformfv_type)(GLuint, GLint, GLfloat *);

/* "renpy/uguu/gl.pxd":865
 * cdef glGetUniformfv_type glGetUniformfv
 * 
 * ctypedef void (__stdcall *glGetUniformiv_type)(GLuint  program, GLint  location, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetUniformiv_type glGetUniformiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetUniformiv_type)(GLuint, GLint, GLint *);

/* "renpy/uguu/gl.pxd":868
 * cdef glGetUniformiv_type glGetUniformiv
 * 
 * ctypedef void (__stdcall *glGetUniformuiv_type)(GLuint  program, GLint  location, GLuint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetUniformuiv_type glGetUniformuiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetUniformuiv_type)(GLuint, GLint, GLuint *);

/* "renpy/uguu/gl.pxd":871
 * cdef glGetUniformuiv_type glGetUniformuiv
 * 
 * ctypedef void (__stdcall *glGetVertexAttribIiv_type)(GLuint  index, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetVertexAttribIiv_type glGetVertexAttribIiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetVertexAttribIiv_type)(GLuint, GLenum, GLint *);

/* "renpy/uguu/gl.pxd":874
 * cdef glGetVertexAttribIiv_type glGetVertexAttribIiv
 * 
 * ctypedef void (__stdcall *glGetVertexAttribIuiv_type)(GLuint  index, GLenum  pname, GLuint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetVertexAttribIuiv_type glGetVertexAttribIuiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetVertexAttribIuiv_type)(GLuint, GLenum, GLuint *);

/* "renpy/uguu/gl.pxd":877
 * cdef glGetVertexAttribIuiv_type glGetVertexAttribIuiv
 * 
 * ctypedef void (__stdcall *glGetVertexAttribPointerv_type)(GLuint  index, GLenum  pname, void ** pointer) nogil             # <<<<<<<<<<<<<<
 * cdef glGetVertexAttribPointerv_type glGetVertexAttribPointerv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetVertexAttribPointerv_type)(GLuint, GLenum, void **);

/* "renpy/uguu/gl.pxd":880
 * cdef glGetVertexAttribPointerv_type glGetVertexAttribPointerv
 * 
 * ctypedef void (__stdcall *glGetVertexAttribfv_type)(GLuint  index, GLenum  pname, GLfloat * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetVertexAttribfv_type glGetVertexAttribfv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetVertexAttribfv_type)(GLuint, GLenum, GLfloat *);

/* "renpy/uguu/gl.pxd":883
 * cdef glGetVertexAttribfv_type glGetVertexAttribfv
 * 
 * ctypedef void (__stdcall *glGetVertexAttribiv_type)(GLuint  index, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetVertexAttribiv_type glGetVertexAttribiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glGetVertexAttribiv_type)(GLuint, GLenum, GLint *);

/* "renpy/uguu/gl.pxd":886
 * cdef glGetVertexAttribiv_type glGetVertexAttribiv
 * 
 * ctypedef void (__stdcall *glHint_type)(GLenum  target, GLenum  mode) nogil             # <<<<<<<<<<<<<<
 * cdef glHint_type glHint
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glHint_type)(GLenum, GLenum);

/* "renpy/uguu/gl.pxd":889
 * cdef glHint_type glHint
 * 
 * ctypedef GLboolean (__stdcall *glIsBuffer_type)(GLuint  buffer) nogil             # <<<<<<<<<<<<<<
 * cdef glIsBuffer_type glIsBuffer
 * 
 */
typedef GLboolean (__stdcall *__pyx_t_5renpy_4uguu_2gl_glIsBuffer_type)(GLuint);

/* "renpy/uguu/gl.pxd":892
 * cdef glIsBuffer_type glIsBuffer
 * 
 * ctypedef GLboolean (__stdcall *glIsEnabled_type)(GLenum  cap) nogil             # <<<<<<<<<<<<<<
 * cdef glIsEnabled_type glIsEnabled
 * 
 */
typedef GLboolean (__stdcall *__pyx_t_5renpy_4uguu_2gl_glIsEnabled_type)(GLenum);

/* "renpy/uguu/gl.pxd":895
 * cdef glIsEnabled_type glIsEnabled
 * 
 * ctypedef GLboolean (__stdcall *glIsFramebuffer_type)(GLuint  framebuffer) nogil             # <<<<<<<<<<<<<<
 * cdef glIsFramebuffer_type glIsFramebuffer
 * 
 */
typedef GLboolean (__stdcall *__pyx_t_5renpy_4uguu_2gl_glIsFramebuffer_type)(GLuint);

/* "renpy/uguu/gl.pxd":898
 * cdef glIsFramebuffer_type glIsFramebuffer
 * 
 * ctypedef GLboolean (__stdcall *glIsProgram_type)(GLuint  program) nogil             # <<<<<<<<<<<<<<
 * cdef glIsProgram_type glIsProgram
 * 
 */
typedef GLboolean (__stdcall *__pyx_t_5renpy_4uguu_2gl_glIsProgram_type)(GLuint);

/* "renpy/uguu/gl.pxd":901
 * cdef glIsProgram_type glIsProgram
 * 
 * ctypedef GLboolean (__stdcall *glIsQuery_type)(GLuint  id) nogil             # <<<<<<<<<<<<<<
 * cdef glIsQuery_type glIsQuery
 * 
 */
typedef GLboolean (__stdcall *__pyx_t_5renpy_4uguu_2gl_glIsQuery_type)(GLuint);

/* "renpy/uguu/gl.pxd":904
 * cdef glIsQuery_type glIsQuery
 * 
 * ctypedef GLboolean (__stdcall *glIsRenderbuffer_type)(GLuint  renderbuffer) nogil             # <<<<<<<<<<<<<<
 * cdef glIsRenderbuffer_type glIsRenderbuffer
 * 
 */
typedef GLboolean (__stdcall *__pyx_t_5renpy_4uguu_2gl_glIsRenderbuffer_type)(GLuint);

/* "renpy/uguu/gl.pxd":907
 * cdef glIsRenderbuffer_type glIsRenderbuffer
 * 
 * ctypedef GLboolean (__stdcall *glIsShader_type)(GLuint  shader) nogil             # <<<<<<<<<<<<<<
 * cdef glIsShader_type glIsShader
 * 
 */
typedef GLboolean (__stdcall *__pyx_t_5renpy_4uguu_2gl_glIsShader_type)(GLuint);

/* "renpy/uguu/gl.pxd":910
 * cdef glIsShader_type glIsShader
 * 
 * ctypedef GLboolean (__stdcall *glIsTexture_type)(GLuint  texture) nogil             # <<<<<<<<<<<<<<
 * cdef glIsTexture_type glIsTexture
 * 
 */
typedef GLboolean (__stdcall *__pyx_t_5renpy_4uguu_2gl_glIsTexture_type)(GLuint);

/* "renpy/uguu/gl.pxd":913
 * cdef glIsTexture_type glIsTexture
 * 
 * ctypedef GLboolean (__stdcall *glIsVertexArray_type)(GLuint  array) nogil             # <<<<<<<<<<<<<<
 * cdef glIsVertexArray_type glIsVertexArray
 * 
 */
typedef GLboolean (__stdcall *__pyx_t_5renpy_4uguu_2gl_glIsVertexArray_type)(GLuint);

/* "renpy/uguu/gl.pxd":916
 * cdef glIsVertexArray_type glIsVertexArray
 * 
 * ctypedef void (__stdcall *glLineWidth_type)(GLfloat  width) nogil             # <<<<<<<<<<<<<<
 * cdef glLineWidth_type glLineWidth
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glLineWidth_type)(GLfloat);

/* "renpy/uguu/gl.pxd":919
 * cdef glLineWidth_type glLineWidth
 * 
 * ctypedef void (__stdcall *glLinkProgram_type)(GLuint  program) nogil             # <<<<<<<<<<<<<<
 * cdef glLinkProgram_type glLinkProgram
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glLinkProgram_type)(GLuint);

/* "renpy/uguu/gl.pxd":922
 * cdef glLinkProgram_type glLinkProgram
 * 
 * ctypedef void * (__stdcall *glMapBufferRange_type)(GLenum  target, GLintptr  offset, GLsizeiptr  length, GLbitfield  access) nogil             # <<<<<<<<<<<<<<
 * cdef glMapBufferRange_type glMapBufferRange
 * 
 */
typedef void *(__stdcall *__pyx_t_5renpy_4uguu_2gl_glMapBufferRange_type)(GLenum, GLintptr, GLsizeiptr, GLbitfield);

/* "renpy/uguu/gl.pxd":925
 * cdef glMapBufferRange_type glMapBufferRange
 * 
 * ctypedef void (__stdcall *glPixelStorei_type)(GLenum  pname, GLint  param) nogil             # <<<<<<<<<<<<<<
 * cdef glPixelStorei_type glPixelStorei
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glPixelStorei_type)(GLenum, GLint);

/* "renpy/uguu/gl.pxd":928
 * cdef glPixelStorei_type glPixelStorei
 * 
 * ctypedef void (__stdcall *glPolygonOffset_type)(GLfloat  factor, GLfloat  units) nogil             # <<<<<<<<<<<<<<
 * cdef glPolygonOffset_type glPolygonOffset
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glPolygonOffset_type)(GLfloat, GLfloat);

/* "renpy/uguu/gl.pxd":931
 * cdef glPolygonOffset_type glPolygonOffset
 * 
 * ctypedef void (__stdcall *glReadBuffer_type)(GLenum  src) nogil             # <<<<<<<<<<<<<<
 * cdef glReadBuffer_type glReadBuffer
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glReadBuffer_type)(GLenum);

/* "renpy/uguu/gl.pxd":934
 * cdef glReadBuffer_type glReadBuffer
 * 
 * ctypedef void (__stdcall *glReadPixels_type)(GLint  x, GLint  y, GLsizei  width, GLsizei  height, GLenum  format, GLenum  type, void * pixels) nogil             # <<<<<<<<<<<<<<
 * cdef glReadPixels_type glReadPixels
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glReadPixels_type)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, void *);

/* "renpy/uguu/gl.pxd":937
 * cdef glReadPixels_type glReadPixels
 * 
 * ctypedef void (__stdcall *glRenderbufferStorage_type)(GLenum  target, GLenum  internalformat, GLsizei  width, GLsizei  height) nogil             # <<<<<<<<<<<<<<
 * cdef glRenderbufferStorage_type glRenderbufferStorage
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glRenderbufferStorage_type)(GLenum, GLenum, GLsizei, GLsizei);

/* "renpy/uguu/gl.pxd":940
 * cdef glRenderbufferStorage_type glRenderbufferStorage
 * 
 * ctypedef void (__stdcall *glRenderbufferStorageMultisample_type)(GLenum  target, GLsizei  samples, GLenum  internalformat, GLsizei  width, GLsizei  height) nogil             # <<<<<<<<<<<<<<
 * cdef glRenderbufferStorageMultisample_type glRenderbufferStorageMultisample
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glRenderbufferStorageMultisample_type)(GLenum, GLsizei, GLenum, GLsizei, GLsizei);

/* "renpy/uguu/gl.pxd":943
 * cdef glRenderbufferStorageMultisample_type glRenderbufferStorageMultisample
 * 
 * ctypedef void (__stdcall *glSampleCoverage_type)(GLfloat  value, GLboolean  invert) nogil             # <<<<<<<<<<<<<<
 * cdef glSampleCoverage_type glSampleCoverage
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glSampleCoverage_type)(GLfloat, GLboolean);

/* "renpy/uguu/gl.pxd":946
 * cdef glSampleCoverage_type glSampleCoverage
 * 
 * ctypedef void (__stdcall *glScissor_type)(GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil             # <<<<<<<<<<<<<<
 * cdef glScissor_type glScissor
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glScissor_type)(GLint, GLint, GLsizei, GLsizei);

/* "renpy/uguu/gl.pxd":949
 * cdef glScissor_type glScissor
 * 
 * ctypedef void (__stdcall *glShaderSource_type)(GLuint  shader, GLsizei  count, const GLchar *const* string, const GLint * length) nogil             # <<<<<<<<<<<<<<
 * cdef glShaderSource_type glShaderSource
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glShaderSource_type)(GLuint, GLsizei, GLchar const *const *, GLint const *);

/* "renpy/uguu/gl.pxd":952
 * cdef glShaderSource_type glShaderSource
 * 
 * ctypedef void (__stdcall *glStencilFunc_type)(GLenum  func, GLint  ref, GLuint  mask) nogil             # <<<<<<<<<<<<<<
 * cdef glStencilFunc_type glStencilFunc
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glStencilFunc_type)(GLenum, GLint, GLuint);

/* "renpy/uguu/gl.pxd":955
 * cdef glStencilFunc_type glStencilFunc
 * 
 * ctypedef void (__stdcall *glStencilFuncSeparate_type)(GLenum  face, GLenum  func, GLint  ref, GLuint  mask) nogil             # <<<<<<<<<<<<<<
 * cdef glStencilFuncSeparate_type glStencilFuncSeparate
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glStencilFuncSeparate_type)(GLenum, GLenum, GLint, GLuint);

/* "renpy/uguu/gl.pxd":958
 * cdef glStencilFuncSeparate_type glStencilFuncSeparate
 * 
 * ctypedef void (__stdcall *glStencilMask_type)(GLuint  mask) nogil             # <<<<<<<<<<<<<<
 * cdef glStencilMask_type glStencilMask
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glStencilMask_type)(GLuint);

/* "renpy/uguu/gl.pxd":961
 * cdef glStencilMask_type glStencilMask
 * 
 * ctypedef void (__stdcall *glStencilMaskSeparate_type)(GLenum  face, GLuint  mask) nogil             # <<<<<<<<<<<<<<
 * cdef glStencilMaskSeparate_type glStencilMaskSeparate
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glStencilMaskSeparate_type)(GLenum, GLuint);

/* "renpy/uguu/gl.pxd":964
 * cdef glStencilMaskSeparate_type glStencilMaskSeparate
 * 
 * ctypedef void (__stdcall *glStencilOp_type)(GLenum  fail, GLenum  zfail, GLenum  zpass) nogil             # <<<<<<<<<<<<<<
 * cdef glStencilOp_type glStencilOp
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glStencilOp_type)(GLenum, GLenum, GLenum);

/* "renpy/uguu/gl.pxd":967
 * cdef glStencilOp_type glStencilOp
 * 
 * ctypedef void (__stdcall *glStencilOpSeparate_type)(GLenum  face, GLenum  sfail, GLenum  dpfail, GLenum  dppass) nogil             # <<<<<<<<<<<<<<
 * cdef glStencilOpSeparate_type glStencilOpSeparate
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glStencilOpSeparate_type)(GLenum, GLenum, GLenum, GLenum);

/* "renpy/uguu/gl.pxd":970
 * cdef glStencilOpSeparate_type glStencilOpSeparate
 * 
 * ctypedef void (__stdcall *glTexImage2D_type)(GLenum  target, GLint  level, GLint  internalformat, GLsizei  width, GLsizei  height, GLint  border, GLenum  format, GLenum  type, const void * pixels) nogil             # <<<<<<<<<<<<<<
 * cdef glTexImage2D_type glTexImage2D
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glTexImage2D_type)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, void const *);

/* "renpy/uguu/gl.pxd":973
 * cdef glTexImage2D_type glTexImage2D
 * 
 * ctypedef void (__stdcall *glTexImage3D_type)(GLenum  target, GLint  level, GLint  internalformat, GLsizei  width, GLsizei  height, GLsizei  depth, GLint  border, GLenum  format, GLenum  type, const void * pixels) nogil             # <<<<<<<<<<<<<<
 * cdef glTexImage3D_type glTexImage3D
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glTexImage3D_type)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, void const *);

/* "renpy/uguu/gl.pxd":976
 * cdef glTexImage3D_type glTexImage3D
 * 
 * ctypedef void (__stdcall *glTexParameterf_type)(GLenum  target, GLenum  pname, GLfloat  param) nogil             # <<<<<<<<<<<<<<
 * cdef glTexParameterf_type glTexParameterf
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glTexParameterf_type)(GLenum, GLenum, GLfloat);

/* "renpy/uguu/gl.pxd":979
 * cdef glTexParameterf_type glTexParameterf
 * 
 * ctypedef void (__stdcall *glTexParameterfv_type)(GLenum  target, GLenum  pname, const GLfloat * params) nogil             # <<<<<<<<<<<<<<
 * cdef glTexParameterfv_type glTexParameterfv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glTexParameterfv_type)(GLenum, GLenum, GLfloat const *);

/* "renpy/uguu/gl.pxd":982
 * cdef glTexParameterfv_type glTexParameterfv
 * 
 * ctypedef void (__stdcall *glTexParameteri_type)(GLenum  target, GLenum  pname, GLint  param) nogil             # <<<<<<<<<<<<<<
 * cdef glTexParameteri_type glTexParameteri
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glTexParameteri_type)(GLenum, GLenum, GLint);

/* "renpy/uguu/gl.pxd":985
 * cdef glTexParameteri_type glTexParameteri
 * 
 * ctypedef void (__stdcall *glTexParameteriv_type)(GLenum  target, GLenum  pname, const GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glTexParameteriv_type glTexParameteriv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glTexParameteriv_type)(GLenum, GLenum, GLint const *);

/* "renpy/uguu/gl.pxd":988
 * cdef glTexParameteriv_type glTexParameteriv
 * 
 * ctypedef void (__stdcall *glTexSubImage2D_type)(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLsizei  width, GLsizei  height, GLenum  format, GLenum  type, const void * pixels) nogil             # <<<<<<<<<<<<<<
 * cdef glTexSubImage2D_type glTexSubImage2D
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glTexSubImage2D_type)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, void const *);

/* "renpy/uguu/gl.pxd":991
 * cdef glTexSubImage2D_type glTexSubImage2D
 * 
 * ctypedef void (__stdcall *glTexSubImage3D_type)(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLint  zoffset, GLsizei  width, GLsizei  height, GLsizei  depth, GLenum  format, GLenum  type, const void * pixels) nogil             # <<<<<<<<<<<<<<
 * cdef glTexSubImage3D_type glTexSubImage3D
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glTexSubImage3D_type)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, void const *);

/* "renpy/uguu/gl.pxd":994
 * cdef glTexSubImage3D_type glTexSubImage3D
 * 
 * ctypedef void (__stdcall *glTransformFeedbackVaryings_type)(GLuint  program, GLsizei  count, const GLchar *const* varyings, GLenum  bufferMode) nogil             # <<<<<<<<<<<<<<
 * cdef glTransformFeedbackVaryings_type glTransformFeedbackVaryings
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glTransformFeedbackVaryings_type)(GLuint, GLsizei, GLchar const *const *, GLenum);

/* "renpy/uguu/gl.pxd":997
 * cdef glTransformFeedbackVaryings_type glTransformFeedbackVaryings
 * 
 * ctypedef void (__stdcall *glUniform1f_type)(GLint  location, GLfloat  v0) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform1f_type glUniform1f
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform1f_type)(GLint, GLfloat);

/* "renpy/uguu/gl.pxd":1000
 * cdef glUniform1f_type glUniform1f
 * 
 * ctypedef void (__stdcall *glUniform1fv_type)(GLint  location, GLsizei  count, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform1fv_type glUniform1fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform1fv_type)(GLint, GLsizei, GLfloat const *);

/* "renpy/uguu/gl.pxd":1003
 * cdef glUniform1fv_type glUniform1fv
 * 
 * ctypedef void (__stdcall *glUniform1i_type)(GLint  location, GLint  v0) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform1i_type glUniform1i
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform1i_type)(GLint, GLint);

/* "renpy/uguu/gl.pxd":1006
 * cdef glUniform1i_type glUniform1i
 * 
 * ctypedef void (__stdcall *glUniform1iv_type)(GLint  location, GLsizei  count, const GLint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform1iv_type glUniform1iv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform1iv_type)(GLint, GLsizei, GLint const *);

/* "renpy/uguu/gl.pxd":1009
 * cdef glUniform1iv_type glUniform1iv
 * 
 * ctypedef void (__stdcall *glUniform1ui_type)(GLint  location, GLuint  v0) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform1ui_type glUniform1ui
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform1ui_type)(GLint, GLuint);

/* "renpy/uguu/gl.pxd":1012
 * cdef glUniform1ui_type glUniform1ui
 * 
 * ctypedef void (__stdcall *glUniform1uiv_type)(GLint  location, GLsizei  count, const GLuint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform1uiv_type glUniform1uiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform1uiv_type)(GLint, GLsizei, GLuint const *);

/* "renpy/uguu/gl.pxd":1015
 * cdef glUniform1uiv_type glUniform1uiv
 * 
 * ctypedef void (__stdcall *glUniform2f_type)(GLint  location, GLfloat  v0, GLfloat  v1) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform2f_type glUniform2f
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform2f_type)(GLint, GLfloat, GLfloat);

/* "renpy/uguu/gl.pxd":1018
 * cdef glUniform2f_type glUniform2f
 * 
 * ctypedef void (__stdcall *glUniform2fv_type)(GLint  location, GLsizei  count, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform2fv_type glUniform2fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform2fv_type)(GLint, GLsizei, GLfloat const *);

/* "renpy/uguu/gl.pxd":1021
 * cdef glUniform2fv_type glUniform2fv
 * 
 * ctypedef void (__stdcall *glUniform2i_type)(GLint  location, GLint  v0, GLint  v1) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform2i_type glUniform2i
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform2i_type)(GLint, GLint, GLint);

/* "renpy/uguu/gl.pxd":1024
 * cdef glUniform2i_type glUniform2i
 * 
 * ctypedef void (__stdcall *glUniform2iv_type)(GLint  location, GLsizei  count, const GLint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform2iv_type glUniform2iv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform2iv_type)(GLint, GLsizei, GLint const *);

/* "renpy/uguu/gl.pxd":1027
 * cdef glUniform2iv_type glUniform2iv
 * 
 * ctypedef void (__stdcall *glUniform2ui_type)(GLint  location, GLuint  v0, GLuint  v1) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform2ui_type glUniform2ui
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform2ui_type)(GLint, GLuint, GLuint);

/* "renpy/uguu/gl.pxd":1030
 * cdef glUniform2ui_type glUniform2ui
 * 
 * ctypedef void (__stdcall *glUniform2uiv_type)(GLint  location, GLsizei  count, const GLuint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform2uiv_type glUniform2uiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform2uiv_type)(GLint, GLsizei, GLuint const *);

/* "renpy/uguu/gl.pxd":1033
 * cdef glUniform2uiv_type glUniform2uiv
 * 
 * ctypedef void (__stdcall *glUniform3f_type)(GLint  location, GLfloat  v0, GLfloat  v1, GLfloat  v2) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform3f_type glUniform3f
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform3f_type)(GLint, GLfloat, GLfloat, GLfloat);

/* "renpy/uguu/gl.pxd":1036
 * cdef glUniform3f_type glUniform3f
 * 
 * ctypedef void (__stdcall *glUniform3fv_type)(GLint  location, GLsizei  count, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform3fv_type glUniform3fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform3fv_type)(GLint, GLsizei, GLfloat const *);

/* "renpy/uguu/gl.pxd":1039
 * cdef glUniform3fv_type glUniform3fv
 * 
 * ctypedef void (__stdcall *glUniform3i_type)(GLint  location, GLint  v0, GLint  v1, GLint  v2) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform3i_type glUniform3i
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform3i_type)(GLint, GLint, GLint, GLint);

/* "renpy/uguu/gl.pxd":1042
 * cdef glUniform3i_type glUniform3i
 * 
 * ctypedef void (__stdcall *glUniform3iv_type)(GLint  location, GLsizei  count, const GLint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform3iv_type glUniform3iv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform3iv_type)(GLint, GLsizei, GLint const *);

/* "renpy/uguu/gl.pxd":1045
 * cdef glUniform3iv_type glUniform3iv
 * 
 * ctypedef void (__stdcall *glUniform3ui_type)(GLint  location, GLuint  v0, GLuint  v1, GLuint  v2) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform3ui_type glUniform3ui
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform3ui_type)(GLint, GLuint, GLuint, GLuint);

/* "renpy/uguu/gl.pxd":1048
 * cdef glUniform3ui_type glUniform3ui
 * 
 * ctypedef void (__stdcall *glUniform3uiv_type)(GLint  location, GLsizei  count, const GLuint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform3uiv_type glUniform3uiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform3uiv_type)(GLint, GLsizei, GLuint const *);

/* "renpy/uguu/gl.pxd":1051
 * cdef glUniform3uiv_type glUniform3uiv
 * 
 * ctypedef void (__stdcall *glUniform4f_type)(GLint  location, GLfloat  v0, GLfloat  v1, GLfloat  v2, GLfloat  v3) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform4f_type glUniform4f
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform4f_type)(GLint, GLfloat, GLfloat, GLfloat, GLfloat);

/* "renpy/uguu/gl.pxd":1054
 * cdef glUniform4f_type glUniform4f
 * 
 * ctypedef void (__stdcall *glUniform4fv_type)(GLint  location, GLsizei  count, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform4fv_type glUniform4fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform4fv_type)(GLint, GLsizei, GLfloat const *);

/* "renpy/uguu/gl.pxd":1057
 * cdef glUniform4fv_type glUniform4fv
 * 
 * ctypedef void (__stdcall *glUniform4i_type)(GLint  location, GLint  v0, GLint  v1, GLint  v2, GLint  v3) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform4i_type glUniform4i
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform4i_type)(GLint, GLint, GLint, GLint, GLint);

/* "renpy/uguu/gl.pxd":1060
 * cdef glUniform4i_type glUniform4i
 * 
 * ctypedef void (__stdcall *glUniform4iv_type)(GLint  location, GLsizei  count, const GLint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform4iv_type glUniform4iv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform4iv_type)(GLint, GLsizei, GLint const *);

/* "renpy/uguu/gl.pxd":1063
 * cdef glUniform4iv_type glUniform4iv
 * 
 * ctypedef void (__stdcall *glUniform4ui_type)(GLint  location, GLuint  v0, GLuint  v1, GLuint  v2, GLuint  v3) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform4ui_type glUniform4ui
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform4ui_type)(GLint, GLuint, GLuint, GLuint, GLuint);

/* "renpy/uguu/gl.pxd":1066
 * cdef glUniform4ui_type glUniform4ui
 * 
 * ctypedef void (__stdcall *glUniform4uiv_type)(GLint  location, GLsizei  count, const GLuint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform4uiv_type glUniform4uiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniform4uiv_type)(GLint, GLsizei, GLuint const *);

/* "renpy/uguu/gl.pxd":1069
 * cdef glUniform4uiv_type glUniform4uiv
 * 
 * ctypedef void (__stdcall *glUniformMatrix2fv_type)(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniformMatrix2fv_type glUniformMatrix2fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniformMatrix2fv_type)(GLint, GLsizei, GLboolean, GLfloat const *);

/* "renpy/uguu/gl.pxd":1072
 * cdef glUniformMatrix2fv_type glUniformMatrix2fv
 * 
 * ctypedef void (__stdcall *glUniformMatrix2x3fv_type)(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniformMatrix2x3fv_type glUniformMatrix2x3fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniformMatrix2x3fv_type)(GLint, GLsizei, GLboolean, GLfloat const *);

/* "renpy/uguu/gl.pxd":1075
 * cdef glUniformMatrix2x3fv_type glUniformMatrix2x3fv
 * 
 * ctypedef void (__stdcall *glUniformMatrix2x4fv_type)(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniformMatrix2x4fv_type glUniformMatrix2x4fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniformMatrix2x4fv_type)(GLint, GLsizei, GLboolean, GLfloat const *);

/* "renpy/uguu/gl.pxd":1078
 * cdef glUniformMatrix2x4fv_type glUniformMatrix2x4fv
 * 
 * ctypedef void (__stdcall *glUniformMatrix3fv_type)(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniformMatrix3fv_type glUniformMatrix3fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniformMatrix3fv_type)(GLint, GLsizei, GLboolean, GLfloat const *);

/* "renpy/uguu/gl.pxd":1081
 * cdef glUniformMatrix3fv_type glUniformMatrix3fv
 * 
 * ctypedef void (__stdcall *glUniformMatrix3x2fv_type)(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniformMatrix3x2fv_type glUniformMatrix3x2fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniformMatrix3x2fv_type)(GLint, GLsizei, GLboolean, GLfloat const *);

/* "renpy/uguu/gl.pxd":1084
 * cdef glUniformMatrix3x2fv_type glUniformMatrix3x2fv
 * 
 * ctypedef void (__stdcall *glUniformMatrix3x4fv_type)(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniformMatrix3x4fv_type glUniformMatrix3x4fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniformMatrix3x4fv_type)(GLint, GLsizei, GLboolean, GLfloat const *);

/* "renpy/uguu/gl.pxd":1087
 * cdef glUniformMatrix3x4fv_type glUniformMatrix3x4fv
 * 
 * ctypedef void (__stdcall *glUniformMatrix4fv_type)(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniformMatrix4fv_type glUniformMatrix4fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniformMatrix4fv_type)(GLint, GLsizei, GLboolean, GLfloat const *);

/* "renpy/uguu/gl.pxd":1090
 * cdef glUniformMatrix4fv_type glUniformMatrix4fv
 * 
 * ctypedef void (__stdcall *glUniformMatrix4x2fv_type)(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniformMatrix4x2fv_type glUniformMatrix4x2fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniformMatrix4x2fv_type)(GLint, GLsizei, GLboolean, GLfloat const *);

/* "renpy/uguu/gl.pxd":1093
 * cdef glUniformMatrix4x2fv_type glUniformMatrix4x2fv
 * 
 * ctypedef void (__stdcall *glUniformMatrix4x3fv_type)(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniformMatrix4x3fv_type glUniformMatrix4x3fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUniformMatrix4x3fv_type)(GLint, GLsizei, GLboolean, GLfloat const *);

/* "renpy/uguu/gl.pxd":1096
 * cdef glUniformMatrix4x3fv_type glUniformMatrix4x3fv
 * 
 * ctypedef GLboolean (__stdcall *glUnmapBuffer_type)(GLenum  target) nogil             # <<<<<<<<<<<<<<
 * cdef glUnmapBuffer_type glUnmapBuffer
 * 
 */
typedef GLboolean (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUnmapBuffer_type)(GLenum);

/* "renpy/uguu/gl.pxd":1099
 * cdef glUnmapBuffer_type glUnmapBuffer
 * 
 * ctypedef void (__stdcall *glUseProgram_type)(GLuint  program) nogil             # <<<<<<<<<<<<<<
 * cdef glUseProgram_type glUseProgram
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glUseProgram_type)(GLuint);

/* "renpy/uguu/gl.pxd":1102
 * cdef glUseProgram_type glUseProgram
 * 
 * ctypedef void (__stdcall *glValidateProgram_type)(GLuint  program) nogil             # <<<<<<<<<<<<<<
 * cdef glValidateProgram_type glValidateProgram
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glValidateProgram_type)(GLuint);

/* "renpy/uguu/gl.pxd":1105
 * cdef glValidateProgram_type glValidateProgram
 * 
 * ctypedef void (__stdcall *glVertexAttrib1f_type)(GLuint  index, GLfloat  x) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib1f_type glVertexAttrib1f
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttrib1f_type)(GLuint, GLfloat);

/* "renpy/uguu/gl.pxd":1108
 * cdef glVertexAttrib1f_type glVertexAttrib1f
 * 
 * ctypedef void (__stdcall *glVertexAttrib1fv_type)(GLuint  index, const GLfloat * v) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib1fv_type glVertexAttrib1fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttrib1fv_type)(GLuint, GLfloat const *);

/* "renpy/uguu/gl.pxd":1111
 * cdef glVertexAttrib1fv_type glVertexAttrib1fv
 * 
 * ctypedef void (__stdcall *glVertexAttrib2f_type)(GLuint  index, GLfloat  x, GLfloat  y) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib2f_type glVertexAttrib2f
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttrib2f_type)(GLuint, GLfloat, GLfloat);

/* "renpy/uguu/gl.pxd":1114
 * cdef glVertexAttrib2f_type glVertexAttrib2f
 * 
 * ctypedef void (__stdcall *glVertexAttrib2fv_type)(GLuint  index, const GLfloat * v) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib2fv_type glVertexAttrib2fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttrib2fv_type)(GLuint, GLfloat const *);

/* "renpy/uguu/gl.pxd":1117
 * cdef glVertexAttrib2fv_type glVertexAttrib2fv
 * 
 * ctypedef void (__stdcall *glVertexAttrib3f_type)(GLuint  index, GLfloat  x, GLfloat  y, GLfloat  z) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib3f_type glVertexAttrib3f
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttrib3f_type)(GLuint, GLfloat, GLfloat, GLfloat);

/* "renpy/uguu/gl.pxd":1120
 * cdef glVertexAttrib3f_type glVertexAttrib3f
 * 
 * ctypedef void (__stdcall *glVertexAttrib3fv_type)(GLuint  index, const GLfloat * v) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib3fv_type glVertexAttrib3fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttrib3fv_type)(GLuint, GLfloat const *);

/* "renpy/uguu/gl.pxd":1123
 * cdef glVertexAttrib3fv_type glVertexAttrib3fv
 * 
 * ctypedef void (__stdcall *glVertexAttrib4f_type)(GLuint  index, GLfloat  x, GLfloat  y, GLfloat  z, GLfloat  w) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib4f_type glVertexAttrib4f
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttrib4f_type)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat);

/* "renpy/uguu/gl.pxd":1126
 * cdef glVertexAttrib4f_type glVertexAttrib4f
 * 
 * ctypedef void (__stdcall *glVertexAttrib4fv_type)(GLuint  index, const GLfloat * v) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib4fv_type glVertexAttrib4fv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttrib4fv_type)(GLuint, GLfloat const *);

/* "renpy/uguu/gl.pxd":1129
 * cdef glVertexAttrib4fv_type glVertexAttrib4fv
 * 
 * ctypedef void (__stdcall *glVertexAttribI4i_type)(GLuint  index, GLint  x, GLint  y, GLint  z, GLint  w) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttribI4i_type glVertexAttribI4i
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttribI4i_type)(GLuint, GLint, GLint, GLint, GLint);

/* "renpy/uguu/gl.pxd":1132
 * cdef glVertexAttribI4i_type glVertexAttribI4i
 * 
 * ctypedef void (__stdcall *glVertexAttribI4iv_type)(GLuint  index, const GLint * v) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttribI4iv_type glVertexAttribI4iv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttribI4iv_type)(GLuint, GLint const *);

/* "renpy/uguu/gl.pxd":1135
 * cdef glVertexAttribI4iv_type glVertexAttribI4iv
 * 
 * ctypedef void (__stdcall *glVertexAttribI4ui_type)(GLuint  index, GLuint  x, GLuint  y, GLuint  z, GLuint  w) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttribI4ui_type glVertexAttribI4ui
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttribI4ui_type)(GLuint, GLuint, GLuint, GLuint, GLuint);

/* "renpy/uguu/gl.pxd":1138
 * cdef glVertexAttribI4ui_type glVertexAttribI4ui
 * 
 * ctypedef void (__stdcall *glVertexAttribI4uiv_type)(GLuint  index, const GLuint * v) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttribI4uiv_type glVertexAttribI4uiv
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttribI4uiv_type)(GLuint, GLuint const *);

/* "renpy/uguu/gl.pxd":1141
 * cdef glVertexAttribI4uiv_type glVertexAttribI4uiv
 * 
 * ctypedef void (__stdcall *glVertexAttribIPointer_type)(GLuint  index, GLint  size, GLenum  type, GLsizei  stride, const void * pointer) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttribIPointer_type glVertexAttribIPointer
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttribIPointer_type)(GLuint, GLint, GLenum, GLsizei, void const *);

/* "renpy/uguu/gl.pxd":1144
 * cdef glVertexAttribIPointer_type glVertexAttribIPointer
 * 
 * ctypedef void (__stdcall *glVertexAttribPointer_type)(GLuint  index, GLint  size, GLenum  type, GLboolean  normalized, GLsizei  stride, const void * pointer) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttribPointer_type glVertexAttribPointer
 * 
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glVertexAttribPointer_type)(GLuint, GLint, GLenum, GLboolean, GLsizei, void const *);

/* "renpy/uguu/gl.pxd":1147
 * cdef glVertexAttribPointer_type glVertexAttribPointer
 * 
 * ctypedef void (__stdcall *glViewport_type)(GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil             # <<<<<<<<<<<<<<
 * cdef glViewport_type glViewport
 */
typedef void (__stdcall *__pyx_t_5renpy_4uguu_2gl_glViewport_type)(GLint, GLint, GLsizei, GLsizei);

/* "renpy/uguu/uguu.pyx":57
 * 
 * 
 * cdef class ptr:             # <<<<<<<<<<<<<<
 *     """
 *     This is a class that wraps a generic contiguous Python buffer, and
 */
struct __pyx_obj_5renpy_4uguu_4uguu_ptr {
  PyObject_HEAD
  void *ptr;
  Py_buffer view;
};


/* "renpy/uguu/uguu.pyx":90
 *         return ptr(o)
 * 
 * cdef class Buffer:             # <<<<<<<<<<<<<<
 *     """
 *     The base class for all buffers.
 */
struct __pyx_obj_5renpy_4uguu_4uguu_Buffer {
  PyObject_HEAD
  struct __pyx_vtabstruct_5renpy_4uguu_4uguu_Buffer *__pyx_vtab;
  Py_ssize_t length;
  Py_ssize_t itemsize;
  char const *format;
  void *data;
  int readonly;
};


/* "renpy/uguu/uguu.pyx":144
 *             self.data = NULL
 * 
 * cdef class BytesBuffer(Buffer):             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, length):
 */
struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer {
  struct __pyx_obj_5renpy_4uguu_4uguu_Buffer __pyx_base;
};


/* "renpy/uguu/uguu.pyx":153
 *         return bytes(<char *> self.data)
 * 
 * cdef class BytesListBuffer(Buffer):             # <<<<<<<<<<<<<<
 *     cdef object value
 * 
 */
struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer {
  struct __pyx_obj_5renpy_4uguu_4uguu_Buffer __pyx_base;
  PyObject *value;
};


/* "renpy/uguu/uguu.pyx":165
 *             (<const char **> self.data)[i] = <const char *> (<ptr> self.value[i]).ptr
 * 
 * cdef class IntBuffer(Buffer):             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, value):
 */
struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer {
  struct __pyx_obj_5renpy_4uguu_4uguu_Buffer __pyx_base;
};


/* "renpy/uguu/uguu.pyx":182
 *         return (<int*> self.data)[index]
 * 
 * cdef class FloatBuffer(Buffer):             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, value):
 */
struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer {
  struct __pyx_obj_5renpy_4uguu_4uguu_Buffer __pyx_base;
};



/* "renpy/uguu/uguu.pyx":90
 *         return ptr(o)
 * 
 * cdef class Buffer:             # <<<<<<<<<<<<<<
 *     """
 *     The base class for all buffers.
 */

struct __pyx_vtabstruct_5renpy_4uguu_4uguu_Buffer {
  PyObject *(*setup_buffer)(struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *, Py_ssize_t, Py_ssize_t, char const *, int);
};
static struct __pyx_vtabstruct_5renpy_4uguu_4uguu_Buffer *__pyx_vtabptr_5renpy_4uguu_4uguu_Buffer;


/* "renpy/uguu/uguu.pyx":144
 *             self.data = NULL
 * 
 * cdef class BytesBuffer(Buffer):             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, length):
 */

struct __pyx_vtabstruct_5renpy_4uguu_4uguu_BytesBuffer {
  struct __pyx_vtabstruct_5renpy_4uguu_4uguu_Buffer __pyx_base;
};
static struct __pyx_vtabstruct_5renpy_4uguu_4uguu_BytesBuffer *__pyx_vtabptr_5renpy_4uguu_4uguu_BytesBuffer;


/* "renpy/uguu/uguu.pyx":153
 *         return bytes(<char *> self.data)
 * 
 * cdef class BytesListBuffer(Buffer):             # <<<<<<<<<<<<<<
 *     cdef object value
 * 
 */

struct __pyx_vtabstruct_5renpy_4uguu_4uguu_BytesListBuffer {
  struct __pyx_vtabstruct_5renpy_4uguu_4uguu_Buffer __pyx_base;
};
static struct __pyx_vtabstruct_5renpy_4uguu_4uguu_BytesListBuffer *__pyx_vtabptr_5renpy_4uguu_4uguu_BytesListBuffer;


/* "renpy/uguu/uguu.pyx":165
 *             (<const char **> self.data)[i] = <const char *> (<ptr> self.value[i]).ptr
 * 
 * cdef class IntBuffer(Buffer):             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, value):
 */

struct __pyx_vtabstruct_5renpy_4uguu_4uguu_IntBuffer {
  struct __pyx_vtabstruct_5renpy_4uguu_4uguu_Buffer __pyx_base;
};
static struct __pyx_vtabstruct_5renpy_4uguu_4uguu_IntBuffer *__pyx_vtabptr_5renpy_4uguu_4uguu_IntBuffer;


/* "renpy/uguu/uguu.pyx":182
 *         return (<int*> self.data)[index]
 * 
 * cdef class FloatBuffer(Buffer):             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, value):
 */

struct __pyx_vtabstruct_5renpy_4uguu_4uguu_FloatBuffer {
  struct __pyx_vtabstruct_5renpy_4uguu_4uguu_Buffer __pyx_base;
};
static struct __pyx_vtabstruct_5renpy_4uguu_4uguu_FloatBuffer *__pyx_vtabptr_5renpy_4uguu_4uguu_FloatBuffer;

/* --- Runtime support code (head) --- */
/* Refnanny.proto */
#ifndef CYTHON_REFNANNY
  #define CYTHON_REFNANNY 0
#endif
#if CYTHON_REFNANNY
  typedef struct {
    void (*INCREF)(void*, PyObject*, int);
    void (*DECREF)(void*, PyObject*, int);
    void (*GOTREF)(void*, PyObject*, int);
    void (*GIVEREF)(void*, PyObject*, int);
    void* (*SetupContext)(const char*, int, const char*);
    void (*FinishContext)(void**);
  } __Pyx_RefNannyAPIStruct;
  static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL;
  static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname);
  #define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL;
#ifdef WITH_THREAD
  #define __Pyx_RefNannySetupContext(name, acquire_gil)\
          if (acquire_gil) {\
              PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();\
              __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__);\
              PyGILState_Release(__pyx_gilstate_save);\
          } else {\
              __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__);\
          }
#else
  #define __Pyx_RefNannySetupContext(name, acquire_gil)\
          __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__)
#endif
  #define __Pyx_RefNannyFinishContext()\
          __Pyx_RefNanny->FinishContext(&__pyx_refnanny)
  #define __Pyx_INCREF(r)  __Pyx_RefNanny->INCREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_DECREF(r)  __Pyx_RefNanny->DECREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_GOTREF(r)  __Pyx_RefNanny->GOTREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_GIVEREF(r) __Pyx_RefNanny->GIVEREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_XINCREF(r)  do { if((r) != NULL) {__Pyx_INCREF(r); }} while(0)
  #define __Pyx_XDECREF(r)  do { if((r) != NULL) {__Pyx_DECREF(r); }} while(0)
  #define __Pyx_XGOTREF(r)  do { if((r) != NULL) {__Pyx_GOTREF(r); }} while(0)
  #define __Pyx_XGIVEREF(r) do { if((r) != NULL) {__Pyx_GIVEREF(r);}} while(0)
#else
  #define __Pyx_RefNannyDeclarations
  #define __Pyx_RefNannySetupContext(name, acquire_gil)
  #define __Pyx_RefNannyFinishContext()
  #define __Pyx_INCREF(r) Py_INCREF(r)
  #define __Pyx_DECREF(r) Py_DECREF(r)
  #define __Pyx_GOTREF(r)
  #define __Pyx_GIVEREF(r)
  #define __Pyx_XINCREF(r) Py_XINCREF(r)
  #define __Pyx_XDECREF(r) Py_XDECREF(r)
  #define __Pyx_XGOTREF(r)
  #define __Pyx_XGIVEREF(r)
#endif
#define __Pyx_XDECREF_SET(r, v) do {\
        PyObject *tmp = (PyObject *) r;\
        r = v; __Pyx_XDECREF(tmp);\
    } while (0)
#define __Pyx_DECREF_SET(r, v) do {\
        PyObject *tmp = (PyObject *) r;\
        r = v; __Pyx_DECREF(tmp);\
    } while (0)
#define __Pyx_CLEAR(r)    do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0)
#define __Pyx_XCLEAR(r)   do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0)

/* PyObjectGetAttrStr.proto */
#if CYTHON_USE_TYPE_SLOTS
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name);
#else
#define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
#endif

/* GetBuiltinName.proto */
static PyObject *__Pyx_GetBuiltinName(PyObject *name);

/* RaiseDoubleKeywords.proto */
static void __Pyx_RaiseDoubleKeywordsError(const char* func_name, PyObject* kw_name);

/* ParseKeywords.proto */
static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[],\
    PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args,\
    const char* function_name);

/* RaiseArgTupleInvalid.proto */
static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
    Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found);

/* PyObjectCall.proto */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw);
#else
#define __Pyx_PyObject_Call(func, arg, kw) PyObject_Call(func, arg, kw)
#endif

/* PyThreadStateGet.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_PyThreadState_declare  PyThreadState *__pyx_tstate;
#define __Pyx_PyThreadState_assign  __pyx_tstate = __Pyx_PyThreadState_Current;
#define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
#else
#define __Pyx_PyThreadState_declare
#define __Pyx_PyThreadState_assign
#define __Pyx_PyErr_Occurred()  PyErr_Occurred()
#endif

/* PyErrFetchRestore.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_PyErr_Clear() __Pyx_ErrRestore(NULL, NULL, NULL)
#define __Pyx_ErrRestoreWithState(type, value, tb)  __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb)
#define __Pyx_ErrFetchWithState(type, value, tb)    __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb)
#define __Pyx_ErrRestore(type, value, tb)  __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb)
#define __Pyx_ErrFetch(type, value, tb)    __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb)
static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
#if CYTHON_COMPILING_IN_CPYTHON
#define __Pyx_PyErr_SetNone(exc) (Py_INCREF(exc), __Pyx_ErrRestore((exc), NULL, NULL))
#else
#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
#endif
#else
#define __Pyx_PyErr_Clear() PyErr_Clear()
#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
#define __Pyx_ErrRestoreWithState(type, value, tb)  PyErr_Restore(type, value, tb)
#define __Pyx_ErrFetchWithState(type, value, tb)  PyErr_Fetch(type, value, tb)
#define __Pyx_ErrRestoreInState(tstate, type, value, tb)  PyErr_Restore(type, value, tb)
#define __Pyx_ErrFetchInState(tstate, type, value, tb)  PyErr_Fetch(type, value, tb)
#define __Pyx_ErrRestore(type, value, tb)  PyErr_Restore(type, value, tb)
#define __Pyx_ErrFetch(type, value, tb)  PyErr_Fetch(type, value, tb)
#endif

/* RaiseException.proto */
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause);

/* ExtTypeTest.proto */
static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type);

/* PyCFunctionFastCall.proto */
#if CYTHON_FAST_PYCCALL
static CYTHON_INLINE PyObject *__Pyx_PyCFunction_FastCall(PyObject *func, PyObject **args, Py_ssize_t nargs);
#else
#define __Pyx_PyCFunction_FastCall(func, args, nargs)  (assert(0), NULL)
#endif

/* PyFunctionFastCall.proto */
#if CYTHON_FAST_PYCALL
#define __Pyx_PyFunction_FastCall(func, args, nargs)\
    __Pyx_PyFunction_FastCallDict((func), (args), (nargs), NULL)
#if 1 || PY_VERSION_HEX < 0x030600B1
static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs, PyObject *kwargs);
#else
#define __Pyx_PyFunction_FastCallDict(func, args, nargs, kwargs) _PyFunction_FastCallDict(func, args, nargs, kwargs)
#endif
#define __Pyx_BUILD_ASSERT_EXPR(cond)\
    (sizeof(char [1 - 2*!(cond)]) - 1)
#ifndef Py_MEMBER_SIZE
#define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member)
#endif
  static size_t __pyx_pyframe_localsplus_offset = 0;
  #include "frameobject.h"
  #define __Pxy_PyFrame_Initialize_Offsets()\
    ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
     (void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
  #define __Pyx_PyFrame_GetLocalsplus(frame)\
    (assert(__pyx_pyframe_localsplus_offset), (PyObject **)(((char *)(frame)) + __pyx_pyframe_localsplus_offset))
#endif

/* PyObjectCallMethO.proto */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
#endif

/* PyObjectCallOneArg.proto */
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg);

/* ListCompAppend.proto */
#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS
static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
    PyListObject* L = (PyListObject*) list;
    Py_ssize_t len = Py_SIZE(list);
    if (likely(L->allocated > len)) {
        Py_INCREF(x);
        PyList_SET_ITEM(list, len, x);
        __Pyx_SET_SIZE(list, len + 1);
        return 0;
    }
    return PyList_Append(list, x);
}
#else
#define __Pyx_ListComp_Append(L,x) PyList_Append(L,x)
#endif

/* GetItemInt.proto */
#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
    __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck) :\
    (is_list ? (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL) :\
               __Pyx_GetItemInt_Generic(o, to_py_func(i))))
#define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
    __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
    (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL))
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
                                                              int wraparound, int boundscheck);
#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
    __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
    (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL))
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
                                                              int wraparound, int boundscheck);
static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j);
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
                                                     int is_list, int wraparound, int boundscheck);

/* CallNextTpTraverse.proto */
static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, traverseproc current_tp_traverse);

/* CallNextTpClear.proto */
static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_dealloc);

/* PyObject_GenericGetAttrNoDict.proto */
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObject* obj, PyObject* attr_name);
#else
#define __Pyx_PyObject_GenericGetAttrNoDict PyObject_GenericGetAttr
#endif

/* PyObject_GenericGetAttr.proto */
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_name);
#else
#define __Pyx_PyObject_GenericGetAttr PyObject_GenericGetAttr
#endif

/* PyErrExceptionMatches.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err)
static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err);
#else
#define __Pyx_PyErr_ExceptionMatches(err)  PyErr_ExceptionMatches(err)
#endif

/* PyObjectGetAttrStrNoError.proto */
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name);

/* SetupReduce.proto */
static int __Pyx_setup_reduce(PyObject* type_obj);

/* SetVTable.proto */
static int __Pyx_SetVtable(PyObject *dict, void *vtable);

/* Import.proto */
static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level);

/* PyDictVersioning.proto */
#if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS
#define __PYX_DICT_VERSION_INIT  ((PY_UINT64_T) -1)
#define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
#define __PYX_UPDATE_DICT_CACHE(dict, value, cache_var, version_var)\
    (version_var) = __PYX_GET_DICT_VERSION(dict);\
    (cache_var) = (value);
#define __PYX_PY_DICT_LOOKUP_IF_MODIFIED(VAR, DICT, LOOKUP) {\
    static PY_UINT64_T __pyx_dict_version = 0;\
    static PyObject *__pyx_dict_cached_value = NULL;\
    if (likely(__PYX_GET_DICT_VERSION(DICT) == __pyx_dict_version)) {\
        (VAR) = __pyx_dict_cached_value;\
    } else {\
        (VAR) = __pyx_dict_cached_value = (LOOKUP);\
        __pyx_dict_version = __PYX_GET_DICT_VERSION(DICT);\
    }\
}
static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj);
static CYTHON_INLINE PY_UINT64_T __Pyx_get_object_dict_version(PyObject *obj);
static CYTHON_INLINE int __Pyx_object_dict_version_matches(PyObject* obj, PY_UINT64_T tp_dict_version, PY_UINT64_T obj_dict_version);
#else
#define __PYX_GET_DICT_VERSION(dict)  (0)
#define __PYX_UPDATE_DICT_CACHE(dict, value, cache_var, version_var)
#define __PYX_PY_DICT_LOOKUP_IF_MODIFIED(VAR, DICT, LOOKUP)  (VAR) = (LOOKUP);
#endif

/* CLineInTraceback.proto */
#ifdef CYTHON_CLINE_IN_TRACEBACK
#define __Pyx_CLineForTraceback(tstate, c_line)  (((CYTHON_CLINE_IN_TRACEBACK)) ? c_line : 0)
#else
static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line);
#endif

/* CodeObjectCache.proto */
typedef struct {
    PyCodeObject* code_object;
    int code_line;
} __Pyx_CodeObjectCacheEntry;
struct __Pyx_CodeObjectCache {
    int count;
    int max_count;
    __Pyx_CodeObjectCacheEntry* entries;
};
static struct __Pyx_CodeObjectCache __pyx_code_cache = {0,0,NULL};
static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line);
static PyCodeObject *__pyx_find_code_object(int code_line);
static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object);

/* AddTraceback.proto */
static void __Pyx_AddTraceback(const char *funcname, int c_line,
                               int py_line, const char *filename);

/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_GLenum(GLenum value);

/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value);

/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_GLuint(GLuint value);

/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_GLint(GLint value);

/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_GLboolean(GLboolean value);

/* CIntFromPy.proto */
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *);

/* CIntFromPy.proto */
static CYTHON_INLINE GLenum __Pyx_PyInt_As_GLenum(PyObject *);

/* CIntFromPy.proto */
static CYTHON_INLINE GLuint __Pyx_PyInt_As_GLuint(PyObject *);

/* CIntFromPy.proto */
static CYTHON_INLINE ptrdiff_t __Pyx_PyInt_As_ptrdiff_t(PyObject *);

/* CIntFromPy.proto */
static CYTHON_INLINE GLint __Pyx_PyInt_As_GLint(PyObject *);

/* CIntFromPy.proto */
static CYTHON_INLINE GLbitfield __Pyx_PyInt_As_GLbitfield(PyObject *);

/* CIntFromPy.proto */
static CYTHON_INLINE GLboolean __Pyx_PyInt_As_GLboolean(PyObject *);

/* CIntFromPy.proto */
static CYTHON_INLINE GLsizei __Pyx_PyInt_As_GLsizei(PyObject *);

/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value);

/* CIntFromPy.proto */
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *);

/* FastTypeChecks.proto */
#if CYTHON_COMPILING_IN_CPYTHON
#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b);
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type);
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2);
#else
#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
#define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type)
#define __Pyx_PyErr_GivenExceptionMatches2(err, type1, type2) (PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2))
#endif
#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception)

/* CheckBinaryVersion.proto */
static int __Pyx_check_binary_version(void);

/* VoidPtrImport.proto */
static int __Pyx_ImportVoidPtr(PyObject *module, const char *name, void **p, const char *sig);

/* InitStrings.proto */
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);

static PyObject *__pyx_f_5renpy_4uguu_4uguu_6Buffer_setup_buffer(struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *__pyx_v_self, Py_ssize_t __pyx_v_length, Py_ssize_t __pyx_v_itemsize, char const *__pyx_v_format, int __pyx_v_readonly); /* proto*/

/* Module declarations from 'libc.stdint' */

/* Module declarations from 'libc.stddef' */

/* Module declarations from 'renpy.uguu.gl' */
static __pyx_t_5renpy_4uguu_2gl_glActiveTexture_type *__pyx_vp_5renpy_4uguu_2gl_glActiveTexture = 0;
#define __pyx_v_5renpy_4uguu_2gl_glActiveTexture (*__pyx_vp_5renpy_4uguu_2gl_glActiveTexture)
static __pyx_t_5renpy_4uguu_2gl_glAttachShader_type *__pyx_vp_5renpy_4uguu_2gl_glAttachShader = 0;
#define __pyx_v_5renpy_4uguu_2gl_glAttachShader (*__pyx_vp_5renpy_4uguu_2gl_glAttachShader)
static __pyx_t_5renpy_4uguu_2gl_glBeginQuery_type *__pyx_vp_5renpy_4uguu_2gl_glBeginQuery = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBeginQuery (*__pyx_vp_5renpy_4uguu_2gl_glBeginQuery)
static __pyx_t_5renpy_4uguu_2gl_glBeginTransformFeedback_type *__pyx_vp_5renpy_4uguu_2gl_glBeginTransformFeedback = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBeginTransformFeedback (*__pyx_vp_5renpy_4uguu_2gl_glBeginTransformFeedback)
static __pyx_t_5renpy_4uguu_2gl_glBindAttribLocation_type *__pyx_vp_5renpy_4uguu_2gl_glBindAttribLocation = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBindAttribLocation (*__pyx_vp_5renpy_4uguu_2gl_glBindAttribLocation)
static __pyx_t_5renpy_4uguu_2gl_glBindBuffer_type *__pyx_vp_5renpy_4uguu_2gl_glBindBuffer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBindBuffer (*__pyx_vp_5renpy_4uguu_2gl_glBindBuffer)
static __pyx_t_5renpy_4uguu_2gl_glBindBufferBase_type *__pyx_vp_5renpy_4uguu_2gl_glBindBufferBase = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBindBufferBase (*__pyx_vp_5renpy_4uguu_2gl_glBindBufferBase)
static __pyx_t_5renpy_4uguu_2gl_glBindBufferRange_type *__pyx_vp_5renpy_4uguu_2gl_glBindBufferRange = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBindBufferRange (*__pyx_vp_5renpy_4uguu_2gl_glBindBufferRange)
static __pyx_t_5renpy_4uguu_2gl_glBindFramebuffer_type *__pyx_vp_5renpy_4uguu_2gl_glBindFramebuffer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBindFramebuffer (*__pyx_vp_5renpy_4uguu_2gl_glBindFramebuffer)
static __pyx_t_5renpy_4uguu_2gl_glBindRenderbuffer_type *__pyx_vp_5renpy_4uguu_2gl_glBindRenderbuffer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBindRenderbuffer (*__pyx_vp_5renpy_4uguu_2gl_glBindRenderbuffer)
static __pyx_t_5renpy_4uguu_2gl_glBindTexture_type *__pyx_vp_5renpy_4uguu_2gl_glBindTexture = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBindTexture (*__pyx_vp_5renpy_4uguu_2gl_glBindTexture)
static __pyx_t_5renpy_4uguu_2gl_glBindVertexArray_type *__pyx_vp_5renpy_4uguu_2gl_glBindVertexArray = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBindVertexArray (*__pyx_vp_5renpy_4uguu_2gl_glBindVertexArray)
static __pyx_t_5renpy_4uguu_2gl_glBlendColor_type *__pyx_vp_5renpy_4uguu_2gl_glBlendColor = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBlendColor (*__pyx_vp_5renpy_4uguu_2gl_glBlendColor)
static __pyx_t_5renpy_4uguu_2gl_glBlendEquation_type *__pyx_vp_5renpy_4uguu_2gl_glBlendEquation = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBlendEquation (*__pyx_vp_5renpy_4uguu_2gl_glBlendEquation)
static __pyx_t_5renpy_4uguu_2gl_glBlendEquationSeparate_type *__pyx_vp_5renpy_4uguu_2gl_glBlendEquationSeparate = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBlendEquationSeparate (*__pyx_vp_5renpy_4uguu_2gl_glBlendEquationSeparate)
static __pyx_t_5renpy_4uguu_2gl_glBlendFunc_type *__pyx_vp_5renpy_4uguu_2gl_glBlendFunc = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBlendFunc (*__pyx_vp_5renpy_4uguu_2gl_glBlendFunc)
static __pyx_t_5renpy_4uguu_2gl_glBlendFuncSeparate_type *__pyx_vp_5renpy_4uguu_2gl_glBlendFuncSeparate = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBlendFuncSeparate (*__pyx_vp_5renpy_4uguu_2gl_glBlendFuncSeparate)
static __pyx_t_5renpy_4uguu_2gl_glBlitFramebuffer_type *__pyx_vp_5renpy_4uguu_2gl_glBlitFramebuffer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBlitFramebuffer (*__pyx_vp_5renpy_4uguu_2gl_glBlitFramebuffer)
static __pyx_t_5renpy_4uguu_2gl_glBufferData_type *__pyx_vp_5renpy_4uguu_2gl_glBufferData = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBufferData (*__pyx_vp_5renpy_4uguu_2gl_glBufferData)
static __pyx_t_5renpy_4uguu_2gl_glBufferSubData_type *__pyx_vp_5renpy_4uguu_2gl_glBufferSubData = 0;
#define __pyx_v_5renpy_4uguu_2gl_glBufferSubData (*__pyx_vp_5renpy_4uguu_2gl_glBufferSubData)
static __pyx_t_5renpy_4uguu_2gl_glCheckFramebufferStatus_type *__pyx_vp_5renpy_4uguu_2gl_glCheckFramebufferStatus = 0;
#define __pyx_v_5renpy_4uguu_2gl_glCheckFramebufferStatus (*__pyx_vp_5renpy_4uguu_2gl_glCheckFramebufferStatus)
static __pyx_t_5renpy_4uguu_2gl_glClear_type *__pyx_vp_5renpy_4uguu_2gl_glClear = 0;
#define __pyx_v_5renpy_4uguu_2gl_glClear (*__pyx_vp_5renpy_4uguu_2gl_glClear)
static __pyx_t_5renpy_4uguu_2gl_glClearBufferfi_type *__pyx_vp_5renpy_4uguu_2gl_glClearBufferfi = 0;
#define __pyx_v_5renpy_4uguu_2gl_glClearBufferfi (*__pyx_vp_5renpy_4uguu_2gl_glClearBufferfi)
static __pyx_t_5renpy_4uguu_2gl_glClearBufferfv_type *__pyx_vp_5renpy_4uguu_2gl_glClearBufferfv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glClearBufferfv (*__pyx_vp_5renpy_4uguu_2gl_glClearBufferfv)
static __pyx_t_5renpy_4uguu_2gl_glClearBufferiv_type *__pyx_vp_5renpy_4uguu_2gl_glClearBufferiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glClearBufferiv (*__pyx_vp_5renpy_4uguu_2gl_glClearBufferiv)
static __pyx_t_5renpy_4uguu_2gl_glClearBufferuiv_type *__pyx_vp_5renpy_4uguu_2gl_glClearBufferuiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glClearBufferuiv (*__pyx_vp_5renpy_4uguu_2gl_glClearBufferuiv)
static __pyx_t_5renpy_4uguu_2gl_glClearColor_type *__pyx_vp_5renpy_4uguu_2gl_glClearColor = 0;
#define __pyx_v_5renpy_4uguu_2gl_glClearColor (*__pyx_vp_5renpy_4uguu_2gl_glClearColor)
static __pyx_t_5renpy_4uguu_2gl_glClearStencil_type *__pyx_vp_5renpy_4uguu_2gl_glClearStencil = 0;
#define __pyx_v_5renpy_4uguu_2gl_glClearStencil (*__pyx_vp_5renpy_4uguu_2gl_glClearStencil)
static __pyx_t_5renpy_4uguu_2gl_glColorMask_type *__pyx_vp_5renpy_4uguu_2gl_glColorMask = 0;
#define __pyx_v_5renpy_4uguu_2gl_glColorMask (*__pyx_vp_5renpy_4uguu_2gl_glColorMask)
static __pyx_t_5renpy_4uguu_2gl_glCompileShader_type *__pyx_vp_5renpy_4uguu_2gl_glCompileShader = 0;
#define __pyx_v_5renpy_4uguu_2gl_glCompileShader (*__pyx_vp_5renpy_4uguu_2gl_glCompileShader)
static __pyx_t_5renpy_4uguu_2gl_glCompressedTexImage2D_type *__pyx_vp_5renpy_4uguu_2gl_glCompressedTexImage2D = 0;
#define __pyx_v_5renpy_4uguu_2gl_glCompressedTexImage2D (*__pyx_vp_5renpy_4uguu_2gl_glCompressedTexImage2D)
static __pyx_t_5renpy_4uguu_2gl_glCompressedTexImage3D_type *__pyx_vp_5renpy_4uguu_2gl_glCompressedTexImage3D = 0;
#define __pyx_v_5renpy_4uguu_2gl_glCompressedTexImage3D (*__pyx_vp_5renpy_4uguu_2gl_glCompressedTexImage3D)
static __pyx_t_5renpy_4uguu_2gl_glCompressedTexSubImage2D_type *__pyx_vp_5renpy_4uguu_2gl_glCompressedTexSubImage2D = 0;
#define __pyx_v_5renpy_4uguu_2gl_glCompressedTexSubImage2D (*__pyx_vp_5renpy_4uguu_2gl_glCompressedTexSubImage2D)
static __pyx_t_5renpy_4uguu_2gl_glCompressedTexSubImage3D_type *__pyx_vp_5renpy_4uguu_2gl_glCompressedTexSubImage3D = 0;
#define __pyx_v_5renpy_4uguu_2gl_glCompressedTexSubImage3D (*__pyx_vp_5renpy_4uguu_2gl_glCompressedTexSubImage3D)
static __pyx_t_5renpy_4uguu_2gl_glCopyTexImage2D_type *__pyx_vp_5renpy_4uguu_2gl_glCopyTexImage2D = 0;
#define __pyx_v_5renpy_4uguu_2gl_glCopyTexImage2D (*__pyx_vp_5renpy_4uguu_2gl_glCopyTexImage2D)
static __pyx_t_5renpy_4uguu_2gl_glCopyTexSubImage2D_type *__pyx_vp_5renpy_4uguu_2gl_glCopyTexSubImage2D = 0;
#define __pyx_v_5renpy_4uguu_2gl_glCopyTexSubImage2D (*__pyx_vp_5renpy_4uguu_2gl_glCopyTexSubImage2D)
static __pyx_t_5renpy_4uguu_2gl_glCopyTexSubImage3D_type *__pyx_vp_5renpy_4uguu_2gl_glCopyTexSubImage3D = 0;
#define __pyx_v_5renpy_4uguu_2gl_glCopyTexSubImage3D (*__pyx_vp_5renpy_4uguu_2gl_glCopyTexSubImage3D)
static __pyx_t_5renpy_4uguu_2gl_glCreateProgram_type *__pyx_vp_5renpy_4uguu_2gl_glCreateProgram = 0;
#define __pyx_v_5renpy_4uguu_2gl_glCreateProgram (*__pyx_vp_5renpy_4uguu_2gl_glCreateProgram)
static __pyx_t_5renpy_4uguu_2gl_glCreateShader_type *__pyx_vp_5renpy_4uguu_2gl_glCreateShader = 0;
#define __pyx_v_5renpy_4uguu_2gl_glCreateShader (*__pyx_vp_5renpy_4uguu_2gl_glCreateShader)
static __pyx_t_5renpy_4uguu_2gl_glCullFace_type *__pyx_vp_5renpy_4uguu_2gl_glCullFace = 0;
#define __pyx_v_5renpy_4uguu_2gl_glCullFace (*__pyx_vp_5renpy_4uguu_2gl_glCullFace)
static __pyx_t_5renpy_4uguu_2gl_glDeleteBuffers_type *__pyx_vp_5renpy_4uguu_2gl_glDeleteBuffers = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDeleteBuffers (*__pyx_vp_5renpy_4uguu_2gl_glDeleteBuffers)
static __pyx_t_5renpy_4uguu_2gl_glDeleteFramebuffers_type *__pyx_vp_5renpy_4uguu_2gl_glDeleteFramebuffers = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDeleteFramebuffers (*__pyx_vp_5renpy_4uguu_2gl_glDeleteFramebuffers)
static __pyx_t_5renpy_4uguu_2gl_glDeleteProgram_type *__pyx_vp_5renpy_4uguu_2gl_glDeleteProgram = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDeleteProgram (*__pyx_vp_5renpy_4uguu_2gl_glDeleteProgram)
static __pyx_t_5renpy_4uguu_2gl_glDeleteQueries_type *__pyx_vp_5renpy_4uguu_2gl_glDeleteQueries = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDeleteQueries (*__pyx_vp_5renpy_4uguu_2gl_glDeleteQueries)
static __pyx_t_5renpy_4uguu_2gl_glDeleteRenderbuffers_type *__pyx_vp_5renpy_4uguu_2gl_glDeleteRenderbuffers = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDeleteRenderbuffers (*__pyx_vp_5renpy_4uguu_2gl_glDeleteRenderbuffers)
static __pyx_t_5renpy_4uguu_2gl_glDeleteShader_type *__pyx_vp_5renpy_4uguu_2gl_glDeleteShader = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDeleteShader (*__pyx_vp_5renpy_4uguu_2gl_glDeleteShader)
static __pyx_t_5renpy_4uguu_2gl_glDeleteTextures_type *__pyx_vp_5renpy_4uguu_2gl_glDeleteTextures = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDeleteTextures (*__pyx_vp_5renpy_4uguu_2gl_glDeleteTextures)
static __pyx_t_5renpy_4uguu_2gl_glDeleteVertexArrays_type *__pyx_vp_5renpy_4uguu_2gl_glDeleteVertexArrays = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDeleteVertexArrays (*__pyx_vp_5renpy_4uguu_2gl_glDeleteVertexArrays)
static __pyx_t_5renpy_4uguu_2gl_glDepthFunc_type *__pyx_vp_5renpy_4uguu_2gl_glDepthFunc = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDepthFunc (*__pyx_vp_5renpy_4uguu_2gl_glDepthFunc)
static __pyx_t_5renpy_4uguu_2gl_glDepthMask_type *__pyx_vp_5renpy_4uguu_2gl_glDepthMask = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDepthMask (*__pyx_vp_5renpy_4uguu_2gl_glDepthMask)
static __pyx_t_5renpy_4uguu_2gl_glDetachShader_type *__pyx_vp_5renpy_4uguu_2gl_glDetachShader = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDetachShader (*__pyx_vp_5renpy_4uguu_2gl_glDetachShader)
static __pyx_t_5renpy_4uguu_2gl_glDisable_type *__pyx_vp_5renpy_4uguu_2gl_glDisable = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDisable (*__pyx_vp_5renpy_4uguu_2gl_glDisable)
static __pyx_t_5renpy_4uguu_2gl_glDisableVertexAttribArray_type *__pyx_vp_5renpy_4uguu_2gl_glDisableVertexAttribArray = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDisableVertexAttribArray (*__pyx_vp_5renpy_4uguu_2gl_glDisableVertexAttribArray)
static __pyx_t_5renpy_4uguu_2gl_glDrawArrays_type *__pyx_vp_5renpy_4uguu_2gl_glDrawArrays = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDrawArrays (*__pyx_vp_5renpy_4uguu_2gl_glDrawArrays)
static __pyx_t_5renpy_4uguu_2gl_glDrawBuffers_type *__pyx_vp_5renpy_4uguu_2gl_glDrawBuffers = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDrawBuffers (*__pyx_vp_5renpy_4uguu_2gl_glDrawBuffers)
static __pyx_t_5renpy_4uguu_2gl_glDrawElements_type *__pyx_vp_5renpy_4uguu_2gl_glDrawElements = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDrawElements (*__pyx_vp_5renpy_4uguu_2gl_glDrawElements)
static __pyx_t_5renpy_4uguu_2gl_glDrawRangeElements_type *__pyx_vp_5renpy_4uguu_2gl_glDrawRangeElements = 0;
#define __pyx_v_5renpy_4uguu_2gl_glDrawRangeElements (*__pyx_vp_5renpy_4uguu_2gl_glDrawRangeElements)
static __pyx_t_5renpy_4uguu_2gl_glEnable_type *__pyx_vp_5renpy_4uguu_2gl_glEnable = 0;
#define __pyx_v_5renpy_4uguu_2gl_glEnable (*__pyx_vp_5renpy_4uguu_2gl_glEnable)
static __pyx_t_5renpy_4uguu_2gl_glEnableVertexAttribArray_type *__pyx_vp_5renpy_4uguu_2gl_glEnableVertexAttribArray = 0;
#define __pyx_v_5renpy_4uguu_2gl_glEnableVertexAttribArray (*__pyx_vp_5renpy_4uguu_2gl_glEnableVertexAttribArray)
static __pyx_t_5renpy_4uguu_2gl_glEndQuery_type *__pyx_vp_5renpy_4uguu_2gl_glEndQuery = 0;
#define __pyx_v_5renpy_4uguu_2gl_glEndQuery (*__pyx_vp_5renpy_4uguu_2gl_glEndQuery)
static __pyx_t_5renpy_4uguu_2gl_glEndTransformFeedback_type *__pyx_vp_5renpy_4uguu_2gl_glEndTransformFeedback = 0;
#define __pyx_v_5renpy_4uguu_2gl_glEndTransformFeedback (*__pyx_vp_5renpy_4uguu_2gl_glEndTransformFeedback)
static __pyx_t_5renpy_4uguu_2gl_glFinish_type *__pyx_vp_5renpy_4uguu_2gl_glFinish = 0;
#define __pyx_v_5renpy_4uguu_2gl_glFinish (*__pyx_vp_5renpy_4uguu_2gl_glFinish)
static __pyx_t_5renpy_4uguu_2gl_glFlush_type *__pyx_vp_5renpy_4uguu_2gl_glFlush = 0;
#define __pyx_v_5renpy_4uguu_2gl_glFlush (*__pyx_vp_5renpy_4uguu_2gl_glFlush)
static __pyx_t_5renpy_4uguu_2gl_glFlushMappedBufferRange_type *__pyx_vp_5renpy_4uguu_2gl_glFlushMappedBufferRange = 0;
#define __pyx_v_5renpy_4uguu_2gl_glFlushMappedBufferRange (*__pyx_vp_5renpy_4uguu_2gl_glFlushMappedBufferRange)
static __pyx_t_5renpy_4uguu_2gl_glFramebufferRenderbuffer_type *__pyx_vp_5renpy_4uguu_2gl_glFramebufferRenderbuffer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glFramebufferRenderbuffer (*__pyx_vp_5renpy_4uguu_2gl_glFramebufferRenderbuffer)
static __pyx_t_5renpy_4uguu_2gl_glFramebufferTexture2D_type *__pyx_vp_5renpy_4uguu_2gl_glFramebufferTexture2D = 0;
#define __pyx_v_5renpy_4uguu_2gl_glFramebufferTexture2D (*__pyx_vp_5renpy_4uguu_2gl_glFramebufferTexture2D)
static __pyx_t_5renpy_4uguu_2gl_glFramebufferTextureLayer_type *__pyx_vp_5renpy_4uguu_2gl_glFramebufferTextureLayer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glFramebufferTextureLayer (*__pyx_vp_5renpy_4uguu_2gl_glFramebufferTextureLayer)
static __pyx_t_5renpy_4uguu_2gl_glFrontFace_type *__pyx_vp_5renpy_4uguu_2gl_glFrontFace = 0;
#define __pyx_v_5renpy_4uguu_2gl_glFrontFace (*__pyx_vp_5renpy_4uguu_2gl_glFrontFace)
static __pyx_t_5renpy_4uguu_2gl_glGenBuffers_type *__pyx_vp_5renpy_4uguu_2gl_glGenBuffers = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGenBuffers (*__pyx_vp_5renpy_4uguu_2gl_glGenBuffers)
static __pyx_t_5renpy_4uguu_2gl_glGenFramebuffers_type *__pyx_vp_5renpy_4uguu_2gl_glGenFramebuffers = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGenFramebuffers (*__pyx_vp_5renpy_4uguu_2gl_glGenFramebuffers)
static __pyx_t_5renpy_4uguu_2gl_glGenQueries_type *__pyx_vp_5renpy_4uguu_2gl_glGenQueries = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGenQueries (*__pyx_vp_5renpy_4uguu_2gl_glGenQueries)
static __pyx_t_5renpy_4uguu_2gl_glGenRenderbuffers_type *__pyx_vp_5renpy_4uguu_2gl_glGenRenderbuffers = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGenRenderbuffers (*__pyx_vp_5renpy_4uguu_2gl_glGenRenderbuffers)
static __pyx_t_5renpy_4uguu_2gl_glGenTextures_type *__pyx_vp_5renpy_4uguu_2gl_glGenTextures = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGenTextures (*__pyx_vp_5renpy_4uguu_2gl_glGenTextures)
static __pyx_t_5renpy_4uguu_2gl_glGenVertexArrays_type *__pyx_vp_5renpy_4uguu_2gl_glGenVertexArrays = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGenVertexArrays (*__pyx_vp_5renpy_4uguu_2gl_glGenVertexArrays)
static __pyx_t_5renpy_4uguu_2gl_glGenerateMipmap_type *__pyx_vp_5renpy_4uguu_2gl_glGenerateMipmap = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGenerateMipmap (*__pyx_vp_5renpy_4uguu_2gl_glGenerateMipmap)
static __pyx_t_5renpy_4uguu_2gl_glGetActiveAttrib_type *__pyx_vp_5renpy_4uguu_2gl_glGetActiveAttrib = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetActiveAttrib (*__pyx_vp_5renpy_4uguu_2gl_glGetActiveAttrib)
static __pyx_t_5renpy_4uguu_2gl_glGetActiveUniform_type *__pyx_vp_5renpy_4uguu_2gl_glGetActiveUniform = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetActiveUniform (*__pyx_vp_5renpy_4uguu_2gl_glGetActiveUniform)
static __pyx_t_5renpy_4uguu_2gl_glGetAttachedShaders_type *__pyx_vp_5renpy_4uguu_2gl_glGetAttachedShaders = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetAttachedShaders (*__pyx_vp_5renpy_4uguu_2gl_glGetAttachedShaders)
static __pyx_t_5renpy_4uguu_2gl_glGetAttribLocation_type *__pyx_vp_5renpy_4uguu_2gl_glGetAttribLocation = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetAttribLocation (*__pyx_vp_5renpy_4uguu_2gl_glGetAttribLocation)
static __pyx_t_5renpy_4uguu_2gl_glGetBooleanv_type *__pyx_vp_5renpy_4uguu_2gl_glGetBooleanv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetBooleanv (*__pyx_vp_5renpy_4uguu_2gl_glGetBooleanv)
static __pyx_t_5renpy_4uguu_2gl_glGetBufferParameteriv_type *__pyx_vp_5renpy_4uguu_2gl_glGetBufferParameteriv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetBufferParameteriv (*__pyx_vp_5renpy_4uguu_2gl_glGetBufferParameteriv)
static __pyx_t_5renpy_4uguu_2gl_glGetBufferPointerv_type *__pyx_vp_5renpy_4uguu_2gl_glGetBufferPointerv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetBufferPointerv (*__pyx_vp_5renpy_4uguu_2gl_glGetBufferPointerv)
static __pyx_t_5renpy_4uguu_2gl_glGetError_type *__pyx_vp_5renpy_4uguu_2gl_glGetError = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetError (*__pyx_vp_5renpy_4uguu_2gl_glGetError)
static __pyx_t_5renpy_4uguu_2gl_glGetFloatv_type *__pyx_vp_5renpy_4uguu_2gl_glGetFloatv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetFloatv (*__pyx_vp_5renpy_4uguu_2gl_glGetFloatv)
static __pyx_t_5renpy_4uguu_2gl_glGetFragDataLocation_type *__pyx_vp_5renpy_4uguu_2gl_glGetFragDataLocation = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetFragDataLocation (*__pyx_vp_5renpy_4uguu_2gl_glGetFragDataLocation)
static __pyx_t_5renpy_4uguu_2gl_glGetFramebufferAttachmentParameteriv_type *__pyx_vp_5renpy_4uguu_2gl_glGetFramebufferAttachmentParameteriv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetFramebufferAttachmentParameteriv (*__pyx_vp_5renpy_4uguu_2gl_glGetFramebufferAttachmentParameteriv)
static __pyx_t_5renpy_4uguu_2gl_glGetIntegeri_v_type *__pyx_vp_5renpy_4uguu_2gl_glGetIntegeri_v = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetIntegeri_v (*__pyx_vp_5renpy_4uguu_2gl_glGetIntegeri_v)
static __pyx_t_5renpy_4uguu_2gl_glGetIntegerv_type *__pyx_vp_5renpy_4uguu_2gl_glGetIntegerv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetIntegerv (*__pyx_vp_5renpy_4uguu_2gl_glGetIntegerv)
static __pyx_t_5renpy_4uguu_2gl_glGetProgramInfoLog_type *__pyx_vp_5renpy_4uguu_2gl_glGetProgramInfoLog = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetProgramInfoLog (*__pyx_vp_5renpy_4uguu_2gl_glGetProgramInfoLog)
static __pyx_t_5renpy_4uguu_2gl_glGetProgramiv_type *__pyx_vp_5renpy_4uguu_2gl_glGetProgramiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetProgramiv (*__pyx_vp_5renpy_4uguu_2gl_glGetProgramiv)
static __pyx_t_5renpy_4uguu_2gl_glGetQueryObjectuiv_type *__pyx_vp_5renpy_4uguu_2gl_glGetQueryObjectuiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetQueryObjectuiv (*__pyx_vp_5renpy_4uguu_2gl_glGetQueryObjectuiv)
static __pyx_t_5renpy_4uguu_2gl_glGetQueryiv_type *__pyx_vp_5renpy_4uguu_2gl_glGetQueryiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetQueryiv (*__pyx_vp_5renpy_4uguu_2gl_glGetQueryiv)
static __pyx_t_5renpy_4uguu_2gl_glGetRenderbufferParameteriv_type *__pyx_vp_5renpy_4uguu_2gl_glGetRenderbufferParameteriv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetRenderbufferParameteriv (*__pyx_vp_5renpy_4uguu_2gl_glGetRenderbufferParameteriv)
static __pyx_t_5renpy_4uguu_2gl_glGetShaderInfoLog_type *__pyx_vp_5renpy_4uguu_2gl_glGetShaderInfoLog = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetShaderInfoLog (*__pyx_vp_5renpy_4uguu_2gl_glGetShaderInfoLog)
static __pyx_t_5renpy_4uguu_2gl_glGetShaderSource_type *__pyx_vp_5renpy_4uguu_2gl_glGetShaderSource = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetShaderSource (*__pyx_vp_5renpy_4uguu_2gl_glGetShaderSource)
static __pyx_t_5renpy_4uguu_2gl_glGetShaderiv_type *__pyx_vp_5renpy_4uguu_2gl_glGetShaderiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetShaderiv (*__pyx_vp_5renpy_4uguu_2gl_glGetShaderiv)
static __pyx_t_5renpy_4uguu_2gl_glGetString_type *__pyx_vp_5renpy_4uguu_2gl_glGetString = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetString (*__pyx_vp_5renpy_4uguu_2gl_glGetString)
static __pyx_t_5renpy_4uguu_2gl_glGetStringi_type *__pyx_vp_5renpy_4uguu_2gl_glGetStringi = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetStringi (*__pyx_vp_5renpy_4uguu_2gl_glGetStringi)
static __pyx_t_5renpy_4uguu_2gl_glGetTexParameterfv_type *__pyx_vp_5renpy_4uguu_2gl_glGetTexParameterfv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetTexParameterfv (*__pyx_vp_5renpy_4uguu_2gl_glGetTexParameterfv)
static __pyx_t_5renpy_4uguu_2gl_glGetTexParameteriv_type *__pyx_vp_5renpy_4uguu_2gl_glGetTexParameteriv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetTexParameteriv (*__pyx_vp_5renpy_4uguu_2gl_glGetTexParameteriv)
static __pyx_t_5renpy_4uguu_2gl_glGetTransformFeedbackVarying_type *__pyx_vp_5renpy_4uguu_2gl_glGetTransformFeedbackVarying = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetTransformFeedbackVarying (*__pyx_vp_5renpy_4uguu_2gl_glGetTransformFeedbackVarying)
static __pyx_t_5renpy_4uguu_2gl_glGetUniformLocation_type *__pyx_vp_5renpy_4uguu_2gl_glGetUniformLocation = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetUniformLocation (*__pyx_vp_5renpy_4uguu_2gl_glGetUniformLocation)
static __pyx_t_5renpy_4uguu_2gl_glGetUniformfv_type *__pyx_vp_5renpy_4uguu_2gl_glGetUniformfv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetUniformfv (*__pyx_vp_5renpy_4uguu_2gl_glGetUniformfv)
static __pyx_t_5renpy_4uguu_2gl_glGetUniformiv_type *__pyx_vp_5renpy_4uguu_2gl_glGetUniformiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetUniformiv (*__pyx_vp_5renpy_4uguu_2gl_glGetUniformiv)
static __pyx_t_5renpy_4uguu_2gl_glGetUniformuiv_type *__pyx_vp_5renpy_4uguu_2gl_glGetUniformuiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetUniformuiv (*__pyx_vp_5renpy_4uguu_2gl_glGetUniformuiv)
static __pyx_t_5renpy_4uguu_2gl_glGetVertexAttribIiv_type *__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribIiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetVertexAttribIiv (*__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribIiv)
static __pyx_t_5renpy_4uguu_2gl_glGetVertexAttribIuiv_type *__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribIuiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetVertexAttribIuiv (*__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribIuiv)
static __pyx_t_5renpy_4uguu_2gl_glGetVertexAttribPointerv_type *__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribPointerv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetVertexAttribPointerv (*__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribPointerv)
static __pyx_t_5renpy_4uguu_2gl_glGetVertexAttribfv_type *__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribfv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetVertexAttribfv (*__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribfv)
static __pyx_t_5renpy_4uguu_2gl_glGetVertexAttribiv_type *__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glGetVertexAttribiv (*__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribiv)
static __pyx_t_5renpy_4uguu_2gl_glHint_type *__pyx_vp_5renpy_4uguu_2gl_glHint = 0;
#define __pyx_v_5renpy_4uguu_2gl_glHint (*__pyx_vp_5renpy_4uguu_2gl_glHint)
static __pyx_t_5renpy_4uguu_2gl_glIsBuffer_type *__pyx_vp_5renpy_4uguu_2gl_glIsBuffer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glIsBuffer (*__pyx_vp_5renpy_4uguu_2gl_glIsBuffer)
static __pyx_t_5renpy_4uguu_2gl_glIsEnabled_type *__pyx_vp_5renpy_4uguu_2gl_glIsEnabled = 0;
#define __pyx_v_5renpy_4uguu_2gl_glIsEnabled (*__pyx_vp_5renpy_4uguu_2gl_glIsEnabled)
static __pyx_t_5renpy_4uguu_2gl_glIsFramebuffer_type *__pyx_vp_5renpy_4uguu_2gl_glIsFramebuffer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glIsFramebuffer (*__pyx_vp_5renpy_4uguu_2gl_glIsFramebuffer)
static __pyx_t_5renpy_4uguu_2gl_glIsProgram_type *__pyx_vp_5renpy_4uguu_2gl_glIsProgram = 0;
#define __pyx_v_5renpy_4uguu_2gl_glIsProgram (*__pyx_vp_5renpy_4uguu_2gl_glIsProgram)
static __pyx_t_5renpy_4uguu_2gl_glIsQuery_type *__pyx_vp_5renpy_4uguu_2gl_glIsQuery = 0;
#define __pyx_v_5renpy_4uguu_2gl_glIsQuery (*__pyx_vp_5renpy_4uguu_2gl_glIsQuery)
static __pyx_t_5renpy_4uguu_2gl_glIsRenderbuffer_type *__pyx_vp_5renpy_4uguu_2gl_glIsRenderbuffer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glIsRenderbuffer (*__pyx_vp_5renpy_4uguu_2gl_glIsRenderbuffer)
static __pyx_t_5renpy_4uguu_2gl_glIsShader_type *__pyx_vp_5renpy_4uguu_2gl_glIsShader = 0;
#define __pyx_v_5renpy_4uguu_2gl_glIsShader (*__pyx_vp_5renpy_4uguu_2gl_glIsShader)
static __pyx_t_5renpy_4uguu_2gl_glIsTexture_type *__pyx_vp_5renpy_4uguu_2gl_glIsTexture = 0;
#define __pyx_v_5renpy_4uguu_2gl_glIsTexture (*__pyx_vp_5renpy_4uguu_2gl_glIsTexture)
static __pyx_t_5renpy_4uguu_2gl_glIsVertexArray_type *__pyx_vp_5renpy_4uguu_2gl_glIsVertexArray = 0;
#define __pyx_v_5renpy_4uguu_2gl_glIsVertexArray (*__pyx_vp_5renpy_4uguu_2gl_glIsVertexArray)
static __pyx_t_5renpy_4uguu_2gl_glLineWidth_type *__pyx_vp_5renpy_4uguu_2gl_glLineWidth = 0;
#define __pyx_v_5renpy_4uguu_2gl_glLineWidth (*__pyx_vp_5renpy_4uguu_2gl_glLineWidth)
static __pyx_t_5renpy_4uguu_2gl_glLinkProgram_type *__pyx_vp_5renpy_4uguu_2gl_glLinkProgram = 0;
#define __pyx_v_5renpy_4uguu_2gl_glLinkProgram (*__pyx_vp_5renpy_4uguu_2gl_glLinkProgram)
static __pyx_t_5renpy_4uguu_2gl_glMapBufferRange_type *__pyx_vp_5renpy_4uguu_2gl_glMapBufferRange = 0;
#define __pyx_v_5renpy_4uguu_2gl_glMapBufferRange (*__pyx_vp_5renpy_4uguu_2gl_glMapBufferRange)
static __pyx_t_5renpy_4uguu_2gl_glPixelStorei_type *__pyx_vp_5renpy_4uguu_2gl_glPixelStorei = 0;
#define __pyx_v_5renpy_4uguu_2gl_glPixelStorei (*__pyx_vp_5renpy_4uguu_2gl_glPixelStorei)
static __pyx_t_5renpy_4uguu_2gl_glPolygonOffset_type *__pyx_vp_5renpy_4uguu_2gl_glPolygonOffset = 0;
#define __pyx_v_5renpy_4uguu_2gl_glPolygonOffset (*__pyx_vp_5renpy_4uguu_2gl_glPolygonOffset)
static __pyx_t_5renpy_4uguu_2gl_glReadBuffer_type *__pyx_vp_5renpy_4uguu_2gl_glReadBuffer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glReadBuffer (*__pyx_vp_5renpy_4uguu_2gl_glReadBuffer)
static __pyx_t_5renpy_4uguu_2gl_glReadPixels_type *__pyx_vp_5renpy_4uguu_2gl_glReadPixels = 0;
#define __pyx_v_5renpy_4uguu_2gl_glReadPixels (*__pyx_vp_5renpy_4uguu_2gl_glReadPixels)
static __pyx_t_5renpy_4uguu_2gl_glRenderbufferStorage_type *__pyx_vp_5renpy_4uguu_2gl_glRenderbufferStorage = 0;
#define __pyx_v_5renpy_4uguu_2gl_glRenderbufferStorage (*__pyx_vp_5renpy_4uguu_2gl_glRenderbufferStorage)
static __pyx_t_5renpy_4uguu_2gl_glRenderbufferStorageMultisample_type *__pyx_vp_5renpy_4uguu_2gl_glRenderbufferStorageMultisample = 0;
#define __pyx_v_5renpy_4uguu_2gl_glRenderbufferStorageMultisample (*__pyx_vp_5renpy_4uguu_2gl_glRenderbufferStorageMultisample)
static __pyx_t_5renpy_4uguu_2gl_glSampleCoverage_type *__pyx_vp_5renpy_4uguu_2gl_glSampleCoverage = 0;
#define __pyx_v_5renpy_4uguu_2gl_glSampleCoverage (*__pyx_vp_5renpy_4uguu_2gl_glSampleCoverage)
static __pyx_t_5renpy_4uguu_2gl_glScissor_type *__pyx_vp_5renpy_4uguu_2gl_glScissor = 0;
#define __pyx_v_5renpy_4uguu_2gl_glScissor (*__pyx_vp_5renpy_4uguu_2gl_glScissor)
static __pyx_t_5renpy_4uguu_2gl_glShaderSource_type *__pyx_vp_5renpy_4uguu_2gl_glShaderSource = 0;
#define __pyx_v_5renpy_4uguu_2gl_glShaderSource (*__pyx_vp_5renpy_4uguu_2gl_glShaderSource)
static __pyx_t_5renpy_4uguu_2gl_glStencilFunc_type *__pyx_vp_5renpy_4uguu_2gl_glStencilFunc = 0;
#define __pyx_v_5renpy_4uguu_2gl_glStencilFunc (*__pyx_vp_5renpy_4uguu_2gl_glStencilFunc)
static __pyx_t_5renpy_4uguu_2gl_glStencilFuncSeparate_type *__pyx_vp_5renpy_4uguu_2gl_glStencilFuncSeparate = 0;
#define __pyx_v_5renpy_4uguu_2gl_glStencilFuncSeparate (*__pyx_vp_5renpy_4uguu_2gl_glStencilFuncSeparate)
static __pyx_t_5renpy_4uguu_2gl_glStencilMask_type *__pyx_vp_5renpy_4uguu_2gl_glStencilMask = 0;
#define __pyx_v_5renpy_4uguu_2gl_glStencilMask (*__pyx_vp_5renpy_4uguu_2gl_glStencilMask)
static __pyx_t_5renpy_4uguu_2gl_glStencilMaskSeparate_type *__pyx_vp_5renpy_4uguu_2gl_glStencilMaskSeparate = 0;
#define __pyx_v_5renpy_4uguu_2gl_glStencilMaskSeparate (*__pyx_vp_5renpy_4uguu_2gl_glStencilMaskSeparate)
static __pyx_t_5renpy_4uguu_2gl_glStencilOp_type *__pyx_vp_5renpy_4uguu_2gl_glStencilOp = 0;
#define __pyx_v_5renpy_4uguu_2gl_glStencilOp (*__pyx_vp_5renpy_4uguu_2gl_glStencilOp)
static __pyx_t_5renpy_4uguu_2gl_glStencilOpSeparate_type *__pyx_vp_5renpy_4uguu_2gl_glStencilOpSeparate = 0;
#define __pyx_v_5renpy_4uguu_2gl_glStencilOpSeparate (*__pyx_vp_5renpy_4uguu_2gl_glStencilOpSeparate)
static __pyx_t_5renpy_4uguu_2gl_glTexImage2D_type *__pyx_vp_5renpy_4uguu_2gl_glTexImage2D = 0;
#define __pyx_v_5renpy_4uguu_2gl_glTexImage2D (*__pyx_vp_5renpy_4uguu_2gl_glTexImage2D)
static __pyx_t_5renpy_4uguu_2gl_glTexImage3D_type *__pyx_vp_5renpy_4uguu_2gl_glTexImage3D = 0;
#define __pyx_v_5renpy_4uguu_2gl_glTexImage3D (*__pyx_vp_5renpy_4uguu_2gl_glTexImage3D)
static __pyx_t_5renpy_4uguu_2gl_glTexParameterf_type *__pyx_vp_5renpy_4uguu_2gl_glTexParameterf = 0;
#define __pyx_v_5renpy_4uguu_2gl_glTexParameterf (*__pyx_vp_5renpy_4uguu_2gl_glTexParameterf)
static __pyx_t_5renpy_4uguu_2gl_glTexParameterfv_type *__pyx_vp_5renpy_4uguu_2gl_glTexParameterfv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glTexParameterfv (*__pyx_vp_5renpy_4uguu_2gl_glTexParameterfv)
static __pyx_t_5renpy_4uguu_2gl_glTexParameteri_type *__pyx_vp_5renpy_4uguu_2gl_glTexParameteri = 0;
#define __pyx_v_5renpy_4uguu_2gl_glTexParameteri (*__pyx_vp_5renpy_4uguu_2gl_glTexParameteri)
static __pyx_t_5renpy_4uguu_2gl_glTexParameteriv_type *__pyx_vp_5renpy_4uguu_2gl_glTexParameteriv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glTexParameteriv (*__pyx_vp_5renpy_4uguu_2gl_glTexParameteriv)
static __pyx_t_5renpy_4uguu_2gl_glTexSubImage2D_type *__pyx_vp_5renpy_4uguu_2gl_glTexSubImage2D = 0;
#define __pyx_v_5renpy_4uguu_2gl_glTexSubImage2D (*__pyx_vp_5renpy_4uguu_2gl_glTexSubImage2D)
static __pyx_t_5renpy_4uguu_2gl_glTexSubImage3D_type *__pyx_vp_5renpy_4uguu_2gl_glTexSubImage3D = 0;
#define __pyx_v_5renpy_4uguu_2gl_glTexSubImage3D (*__pyx_vp_5renpy_4uguu_2gl_glTexSubImage3D)
static __pyx_t_5renpy_4uguu_2gl_glTransformFeedbackVaryings_type *__pyx_vp_5renpy_4uguu_2gl_glTransformFeedbackVaryings = 0;
#define __pyx_v_5renpy_4uguu_2gl_glTransformFeedbackVaryings (*__pyx_vp_5renpy_4uguu_2gl_glTransformFeedbackVaryings)
static __pyx_t_5renpy_4uguu_2gl_glUniform1f_type *__pyx_vp_5renpy_4uguu_2gl_glUniform1f = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform1f (*__pyx_vp_5renpy_4uguu_2gl_glUniform1f)
static __pyx_t_5renpy_4uguu_2gl_glUniform1fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniform1fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform1fv (*__pyx_vp_5renpy_4uguu_2gl_glUniform1fv)
static __pyx_t_5renpy_4uguu_2gl_glUniform1i_type *__pyx_vp_5renpy_4uguu_2gl_glUniform1i = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform1i (*__pyx_vp_5renpy_4uguu_2gl_glUniform1i)
static __pyx_t_5renpy_4uguu_2gl_glUniform1iv_type *__pyx_vp_5renpy_4uguu_2gl_glUniform1iv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform1iv (*__pyx_vp_5renpy_4uguu_2gl_glUniform1iv)
static __pyx_t_5renpy_4uguu_2gl_glUniform1ui_type *__pyx_vp_5renpy_4uguu_2gl_glUniform1ui = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform1ui (*__pyx_vp_5renpy_4uguu_2gl_glUniform1ui)
static __pyx_t_5renpy_4uguu_2gl_glUniform1uiv_type *__pyx_vp_5renpy_4uguu_2gl_glUniform1uiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform1uiv (*__pyx_vp_5renpy_4uguu_2gl_glUniform1uiv)
static __pyx_t_5renpy_4uguu_2gl_glUniform2f_type *__pyx_vp_5renpy_4uguu_2gl_glUniform2f = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform2f (*__pyx_vp_5renpy_4uguu_2gl_glUniform2f)
static __pyx_t_5renpy_4uguu_2gl_glUniform2fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniform2fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform2fv (*__pyx_vp_5renpy_4uguu_2gl_glUniform2fv)
static __pyx_t_5renpy_4uguu_2gl_glUniform2i_type *__pyx_vp_5renpy_4uguu_2gl_glUniform2i = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform2i (*__pyx_vp_5renpy_4uguu_2gl_glUniform2i)
static __pyx_t_5renpy_4uguu_2gl_glUniform2iv_type *__pyx_vp_5renpy_4uguu_2gl_glUniform2iv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform2iv (*__pyx_vp_5renpy_4uguu_2gl_glUniform2iv)
static __pyx_t_5renpy_4uguu_2gl_glUniform2ui_type *__pyx_vp_5renpy_4uguu_2gl_glUniform2ui = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform2ui (*__pyx_vp_5renpy_4uguu_2gl_glUniform2ui)
static __pyx_t_5renpy_4uguu_2gl_glUniform2uiv_type *__pyx_vp_5renpy_4uguu_2gl_glUniform2uiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform2uiv (*__pyx_vp_5renpy_4uguu_2gl_glUniform2uiv)
static __pyx_t_5renpy_4uguu_2gl_glUniform3f_type *__pyx_vp_5renpy_4uguu_2gl_glUniform3f = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform3f (*__pyx_vp_5renpy_4uguu_2gl_glUniform3f)
static __pyx_t_5renpy_4uguu_2gl_glUniform3fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniform3fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform3fv (*__pyx_vp_5renpy_4uguu_2gl_glUniform3fv)
static __pyx_t_5renpy_4uguu_2gl_glUniform3i_type *__pyx_vp_5renpy_4uguu_2gl_glUniform3i = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform3i (*__pyx_vp_5renpy_4uguu_2gl_glUniform3i)
static __pyx_t_5renpy_4uguu_2gl_glUniform3iv_type *__pyx_vp_5renpy_4uguu_2gl_glUniform3iv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform3iv (*__pyx_vp_5renpy_4uguu_2gl_glUniform3iv)
static __pyx_t_5renpy_4uguu_2gl_glUniform3ui_type *__pyx_vp_5renpy_4uguu_2gl_glUniform3ui = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform3ui (*__pyx_vp_5renpy_4uguu_2gl_glUniform3ui)
static __pyx_t_5renpy_4uguu_2gl_glUniform3uiv_type *__pyx_vp_5renpy_4uguu_2gl_glUniform3uiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform3uiv (*__pyx_vp_5renpy_4uguu_2gl_glUniform3uiv)
static __pyx_t_5renpy_4uguu_2gl_glUniform4f_type *__pyx_vp_5renpy_4uguu_2gl_glUniform4f = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform4f (*__pyx_vp_5renpy_4uguu_2gl_glUniform4f)
static __pyx_t_5renpy_4uguu_2gl_glUniform4fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniform4fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform4fv (*__pyx_vp_5renpy_4uguu_2gl_glUniform4fv)
static __pyx_t_5renpy_4uguu_2gl_glUniform4i_type *__pyx_vp_5renpy_4uguu_2gl_glUniform4i = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform4i (*__pyx_vp_5renpy_4uguu_2gl_glUniform4i)
static __pyx_t_5renpy_4uguu_2gl_glUniform4iv_type *__pyx_vp_5renpy_4uguu_2gl_glUniform4iv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform4iv (*__pyx_vp_5renpy_4uguu_2gl_glUniform4iv)
static __pyx_t_5renpy_4uguu_2gl_glUniform4ui_type *__pyx_vp_5renpy_4uguu_2gl_glUniform4ui = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform4ui (*__pyx_vp_5renpy_4uguu_2gl_glUniform4ui)
static __pyx_t_5renpy_4uguu_2gl_glUniform4uiv_type *__pyx_vp_5renpy_4uguu_2gl_glUniform4uiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniform4uiv (*__pyx_vp_5renpy_4uguu_2gl_glUniform4uiv)
static __pyx_t_5renpy_4uguu_2gl_glUniformMatrix2fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix2fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniformMatrix2fv (*__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix2fv)
static __pyx_t_5renpy_4uguu_2gl_glUniformMatrix2x3fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix2x3fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniformMatrix2x3fv (*__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix2x3fv)
static __pyx_t_5renpy_4uguu_2gl_glUniformMatrix2x4fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix2x4fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniformMatrix2x4fv (*__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix2x4fv)
static __pyx_t_5renpy_4uguu_2gl_glUniformMatrix3fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix3fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniformMatrix3fv (*__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix3fv)
static __pyx_t_5renpy_4uguu_2gl_glUniformMatrix3x2fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix3x2fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniformMatrix3x2fv (*__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix3x2fv)
static __pyx_t_5renpy_4uguu_2gl_glUniformMatrix3x4fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix3x4fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniformMatrix3x4fv (*__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix3x4fv)
static __pyx_t_5renpy_4uguu_2gl_glUniformMatrix4fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix4fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniformMatrix4fv (*__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix4fv)
static __pyx_t_5renpy_4uguu_2gl_glUniformMatrix4x2fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix4x2fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniformMatrix4x2fv (*__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix4x2fv)
static __pyx_t_5renpy_4uguu_2gl_glUniformMatrix4x3fv_type *__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix4x3fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUniformMatrix4x3fv (*__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix4x3fv)
static __pyx_t_5renpy_4uguu_2gl_glUnmapBuffer_type *__pyx_vp_5renpy_4uguu_2gl_glUnmapBuffer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUnmapBuffer (*__pyx_vp_5renpy_4uguu_2gl_glUnmapBuffer)
static __pyx_t_5renpy_4uguu_2gl_glUseProgram_type *__pyx_vp_5renpy_4uguu_2gl_glUseProgram = 0;
#define __pyx_v_5renpy_4uguu_2gl_glUseProgram (*__pyx_vp_5renpy_4uguu_2gl_glUseProgram)
static __pyx_t_5renpy_4uguu_2gl_glValidateProgram_type *__pyx_vp_5renpy_4uguu_2gl_glValidateProgram = 0;
#define __pyx_v_5renpy_4uguu_2gl_glValidateProgram (*__pyx_vp_5renpy_4uguu_2gl_glValidateProgram)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttrib1f_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib1f = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttrib1f (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib1f)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttrib1fv_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib1fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttrib1fv (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib1fv)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttrib2f_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib2f = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttrib2f (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib2f)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttrib2fv_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib2fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttrib2fv (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib2fv)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttrib3f_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib3f = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttrib3f (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib3f)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttrib3fv_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib3fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttrib3fv (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib3fv)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttrib4f_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib4f = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttrib4f (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib4f)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttrib4fv_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib4fv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttrib4fv (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib4fv)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttribI4i_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttribI4i = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttribI4i (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttribI4i)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttribI4iv_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttribI4iv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttribI4iv (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttribI4iv)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttribI4ui_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttribI4ui = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttribI4ui (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttribI4ui)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttribI4uiv_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttribI4uiv = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttribI4uiv (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttribI4uiv)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttribIPointer_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttribIPointer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttribIPointer (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttribIPointer)
static __pyx_t_5renpy_4uguu_2gl_glVertexAttribPointer_type *__pyx_vp_5renpy_4uguu_2gl_glVertexAttribPointer = 0;
#define __pyx_v_5renpy_4uguu_2gl_glVertexAttribPointer (*__pyx_vp_5renpy_4uguu_2gl_glVertexAttribPointer)
static __pyx_t_5renpy_4uguu_2gl_glViewport_type *__pyx_vp_5renpy_4uguu_2gl_glViewport = 0;
#define __pyx_v_5renpy_4uguu_2gl_glViewport (*__pyx_vp_5renpy_4uguu_2gl_glViewport)

/* Module declarations from 'libc.string' */

/* Module declarations from 'libc.stdio' */

/* Module declarations from 'libc.stdlib' */

/* Module declarations from 'cpython.buffer' */

/* Module declarations from 'renpy.uguu' */

/* Module declarations from 'renpy' */

/* Module declarations from 'renpy.uguu.uguu' */
static PyTypeObject *__pyx_ptype_5renpy_4uguu_4uguu_ptr = 0;
static PyTypeObject *__pyx_ptype_5renpy_4uguu_4uguu_Buffer = 0;
static PyTypeObject *__pyx_ptype_5renpy_4uguu_4uguu_BytesBuffer = 0;
static PyTypeObject *__pyx_ptype_5renpy_4uguu_4uguu_BytesListBuffer = 0;
static PyTypeObject *__pyx_ptype_5renpy_4uguu_4uguu_IntBuffer = 0;
static PyTypeObject *__pyx_ptype_5renpy_4uguu_4uguu_FloatBuffer = 0;
static PyObject *__pyx_f_5renpy_4uguu_4uguu_proxy_return_string(GLubyte const *); /*proto*/
static struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_f_5renpy_4uguu_4uguu_get_ptr(PyObject *); /*proto*/
#define __Pyx_MODULE_NAME "renpy.uguu.uguu"
extern int __pyx_module_is_main_renpy__uguu__uguu;
int __pyx_module_is_main_renpy__uguu__uguu = 0;

/* Implementation of 'renpy.uguu.uguu' */
static PyObject *__pyx_builtin_TypeError;
static PyObject *__pyx_builtin_IndexError;
static const char __pyx_k_n[] = "n";
static const char __pyx_k_o[] = "o";
static const char __pyx_k_s[] = "s";
static const char __pyx_k_v[] = "v";
static const char __pyx_k_w[] = "w";
static const char __pyx_k_x[] = "x";
static const char __pyx_k_y[] = "y";
static const char __pyx_k_z[] = "z";
static const char __pyx_k_id[] = "id";
static const char __pyx_k_ro[] = "ro";
static const char __pyx_k_v0[] = "v0";
static const char __pyx_k_v1[] = "v1";
static const char __pyx_k_v2[] = "v2";
static const char __pyx_k_v3[] = "v3";
static const char __pyx_k_cap[] = "cap";
static const char __pyx_k_end[] = "end";
static const char __pyx_k_ids[] = "ids";
static const char __pyx_k_ptr[] = "ptr";
static const char __pyx_k_red[] = "red";
static const char __pyx_k_ref[] = "ref";
static const char __pyx_k_src[] = "src";
static const char __pyx_k_blue[] = "blue";
static const char __pyx_k_bufs[] = "bufs";
static const char __pyx_k_data[] = "data";
static const char __pyx_k_face[] = "face";
static const char __pyx_k_fail[] = "fail";
static const char __pyx_k_flag[] = "flag";
static const char __pyx_k_func[] = "func";
static const char __pyx_k_main[] = "__main__";
static const char __pyx_k_mask[] = "mask";
static const char __pyx_k_mode[] = "mode";
static const char __pyx_k_name[] = "name";
static const char __pyx_k_size[] = "size";
static const char __pyx_k_test[] = "__test__";
static const char __pyx_k_type[] = "type";
static const char __pyx_k_GL_CW[] = "GL_CW";
static const char __pyx_k_GL_R8[] = "GL_R8";
static const char __pyx_k_GL_RG[] = "GL_RG";
static const char __pyx_k_alpha[] = "alpha";
static const char __pyx_k_array[] = "array";
static const char __pyx_k_count[] = "count";
static const char __pyx_k_depth[] = "depth";
static const char __pyx_k_dstX0[] = "dstX0";
static const char __pyx_k_dstX1[] = "dstX1";
static const char __pyx_k_dstY0[] = "dstY0";
static const char __pyx_k_dstY1[] = "dstY1";
static const char __pyx_k_first[] = "first";
static const char __pyx_k_green[] = "green";
static const char __pyx_k_index[] = "index";
static const char __pyx_k_layer[] = "layer";
static const char __pyx_k_level[] = "level";
static const char __pyx_k_param[] = "param";
static const char __pyx_k_pname[] = "pname";
static const char __pyx_k_renpy[] = "renpy";
static const char __pyx_k_sfail[] = "sfail";
static const char __pyx_k_srcX0[] = "srcX0";
static const char __pyx_k_srcX1[] = "srcX1";
static const char __pyx_k_srcY0[] = "srcY0";
static const char __pyx_k_srcY1[] = "srcY1";
static const char __pyx_k_start[] = "start";
static const char __pyx_k_units[] = "units";
static const char __pyx_k_usage[] = "usage";
static const char __pyx_k_v_ptr[] = "v_ptr";
static const char __pyx_k_value[] = "value";
static const char __pyx_k_width[] = "width";
static const char __pyx_k_zfail[] = "zfail";
static const char __pyx_k_zpass[] = "zpass";
static const char __pyx_k_Buffer[] = "Buffer";
static const char __pyx_k_GL_CCW[] = "GL_CCW";
static const char __pyx_k_GL_INT[] = "GL_INT";
static const char __pyx_k_GL_MAX[] = "GL_MAX";
static const char __pyx_k_GL_MIN[] = "GL_MIN";
static const char __pyx_k_GL_ONE[] = "GL_ONE";
static const char __pyx_k_GL_R8I[] = "GL_R8I";
static const char __pyx_k_GL_RED[] = "GL_RED";
static const char __pyx_k_GL_RG8[] = "GL_RG8";
static const char __pyx_k_GL_RGB[] = "GL_RGB";
static const char __pyx_k_arrays[] = "arrays";
static const char __pyx_k_border[] = "border";
static const char __pyx_k_buffer[] = "buffer";
static const char __pyx_k_dpfail[] = "dpfail";
static const char __pyx_k_dppass[] = "dppass";
static const char __pyx_k_factor[] = "factor";
static const char __pyx_k_filter[] = "filter";
static const char __pyx_k_format[] = "format";
static const char __pyx_k_glHint[] = "glHint";
static const char __pyx_k_height[] = "height";
static const char __pyx_k_import[] = "__import__";
static const char __pyx_k_invert[] = "invert";
static const char __pyx_k_length[] = "length";
static const char __pyx_k_name_2[] = "__name__";
static const char __pyx_k_offset[] = "offset";
static const char __pyx_k_params[] = "params";
static const char __pyx_k_pixels[] = "pixels";
static const char __pyx_k_reduce[] = "__reduce__";
static const char __pyx_k_shader[] = "shader";
static const char __pyx_k_source[] = "source";
static const char __pyx_k_stride[] = "stride";
static const char __pyx_k_string[] = "string";
static const char __pyx_k_target[] = "target";
static const char __pyx_k_GL_BACK[] = "GL_BACK";
static const char __pyx_k_GL_BLUE[] = "GL_BLUE";
static const char __pyx_k_GL_BOOL[] = "GL_BOOL";
static const char __pyx_k_GL_BYTE[] = "GL_BYTE";
static const char __pyx_k_GL_DECR[] = "GL_DECR";
static const char __pyx_k_GL_INCR[] = "GL_INCR";
static const char __pyx_k_GL_KEEP[] = "GL_KEEP";
static const char __pyx_k_GL_LESS[] = "GL_LESS";
static const char __pyx_k_GL_NONE[] = "GL_NONE";
static const char __pyx_k_GL_R16F[] = "GL_R16F";
static const char __pyx_k_GL_R16I[] = "GL_R16I";
static const char __pyx_k_GL_R32F[] = "GL_R32F";
static const char __pyx_k_GL_R32I[] = "GL_R32I";
static const char __pyx_k_GL_R8UI[] = "GL_R8UI";
static const char __pyx_k_GL_RG8I[] = "GL_RG8I";
static const char __pyx_k_GL_RGB8[] = "GL_RGB8";
static const char __pyx_k_GL_RGBA[] = "GL_RGBA";
static const char __pyx_k_GL_SRGB[] = "GL_SRGB";
static const char __pyx_k_GL_TRUE[] = "GL_TRUE";
static const char __pyx_k_GL_ZERO[] = "GL_ZERO";
static const char __pyx_k_bufSize[] = "bufSize";
static const char __pyx_k_buffers[] = "buffers";
static const char __pyx_k_dfactor[] = "dfactor";
static const char __pyx_k_glClear[] = "glClear";
static const char __pyx_k_glFlush[] = "glFlush";
static const char __pyx_k_ids_ptr[] = "ids_ptr";
static const char __pyx_k_indices[] = "indices";
static const char __pyx_k_infoLog[] = "infoLog";
static const char __pyx_k_modeRGB[] = "modeRGB";
static const char __pyx_k_pointer[] = "pointer";
static const char __pyx_k_program[] = "program";
static const char __pyx_k_samples[] = "samples";
static const char __pyx_k_sfactor[] = "sfactor";
static const char __pyx_k_shaders[] = "shaders";
static const char __pyx_k_stencil[] = "stencil";
static const char __pyx_k_texture[] = "texture";
static const char __pyx_k_xoffset[] = "xoffset";
static const char __pyx_k_yoffset[] = "yoffset";
static const char __pyx_k_zoffset[] = "zoffset";
static const char __pyx_k_GL_ALPHA[] = "GL_ALPHA";
static const char __pyx_k_GL_BLEND[] = "GL_BLEND";
static const char __pyx_k_GL_COLOR[] = "GL_COLOR";
static const char __pyx_k_GL_DEPTH[] = "GL_DEPTH";
static const char __pyx_k_GL_EQUAL[] = "GL_EQUAL";
static const char __pyx_k_GL_FALSE[] = "GL_FALSE";
static const char __pyx_k_GL_FLOAT[] = "GL_FLOAT";
static const char __pyx_k_GL_FRONT[] = "GL_FRONT";
static const char __pyx_k_GL_GREEN[] = "GL_GREEN";
static const char __pyx_k_GL_LINES[] = "GL_LINES";
static const char __pyx_k_GL_NEVER[] = "GL_NEVER";
static const char __pyx_k_GL_R16UI[] = "GL_R16UI";
static const char __pyx_k_GL_R32UI[] = "GL_R32UI";
static const char __pyx_k_GL_RG16F[] = "GL_RG16F";
static const char __pyx_k_GL_RG16I[] = "GL_RG16I";
static const char __pyx_k_GL_RG32F[] = "GL_RG32F";
static const char __pyx_k_GL_RG32I[] = "GL_RG32I";
static const char __pyx_k_GL_RG8UI[] = "GL_RG8UI";
static const char __pyx_k_GL_RGB8I[] = "GL_RGB8I";
static const char __pyx_k_GL_RGBA4[] = "GL_RGBA4";
static const char __pyx_k_GL_RGBA8[] = "GL_RGBA8";
static const char __pyx_k_GL_SHORT[] = "GL_SHORT";
static const char __pyx_k_GL_SRGB8[] = "GL_SRGB8";
static const char __pyx_k_bufs_ptr[] = "bufs_ptr";
static const char __pyx_k_data_ptr[] = "data_ptr";
static const char __pyx_k_getstate[] = "__getstate__";
static const char __pyx_k_glEnable[] = "glEnable";
static const char __pyx_k_glFinish[] = "glFinish";
static const char __pyx_k_location[] = "location";
static const char __pyx_k_maxCount[] = "maxCount";
static const char __pyx_k_name_ptr[] = "name_ptr";
static const char __pyx_k_setstate[] = "__setstate__";
static const char __pyx_k_size_ptr[] = "size_ptr";
static const char __pyx_k_textures[] = "textures";
static const char __pyx_k_type_ptr[] = "type_ptr";
static const char __pyx_k_varyings[] = "varyings";
static const char __pyx_k_GL_ALWAYS[] = "GL_ALWAYS";
static const char __pyx_k_GL_DITHER[] = "GL_DITHER";
static const char __pyx_k_GL_GEQUAL[] = "GL_GEQUAL";
static const char __pyx_k_GL_INVERT[] = "GL_INVERT";
static const char __pyx_k_GL_LEQUAL[] = "GL_LEQUAL";
static const char __pyx_k_GL_LINEAR[] = "GL_LINEAR";
static const char __pyx_k_GL_NICEST[] = "GL_NICEST";
static const char __pyx_k_GL_POINTS[] = "GL_POINTS";
static const char __pyx_k_GL_REPEAT[] = "GL_REPEAT";
static const char __pyx_k_GL_RG16UI[] = "GL_RG16UI";
static const char __pyx_k_GL_RG32UI[] = "GL_RG32UI";
static const char __pyx_k_GL_RGB16F[] = "GL_RGB16F";
static const char __pyx_k_GL_RGB16I[] = "GL_RGB16I";
static const char __pyx_k_GL_RGB32F[] = "GL_RGB32F";
static const char __pyx_k_GL_RGB32I[] = "GL_RGB32I";
static const char __pyx_k_GL_RGB8UI[] = "GL_RGB8UI";
static const char __pyx_k_GL_RGBA8I[] = "GL_RGBA8I";
static const char __pyx_k_GL_VENDOR[] = "GL_VENDOR";
static const char __pyx_k_IntBuffer[] = "IntBuffer";
static const char __pyx_k_TypeError[] = "TypeError";
static const char __pyx_k_count_ptr[] = "count_ptr";
static const char __pyx_k_glDisable[] = "glDisable";
static const char __pyx_k_glIsQuery[] = "glIsQuery";
static const char __pyx_k_glScissor[] = "glScissor";
static const char __pyx_k_imageSize[] = "imageSize";
static const char __pyx_k_modeAlpha[] = "modeAlpha";
static const char __pyx_k_reduce_ex[] = "__reduce_ex__";
static const char __pyx_k_textarget[] = "textarget";
static const char __pyx_k_transpose[] = "transpose";
static const char __pyx_k_value_ptr[] = "value_ptr";
static const char __pyx_k_GL_FASTEST[] = "GL_FASTEST";
static const char __pyx_k_GL_GREATER[] = "GL_GREATER";
static const char __pyx_k_GL_NEAREST[] = "GL_NEAREST";
static const char __pyx_k_GL_REPLACE[] = "GL_REPLACE";
static const char __pyx_k_GL_RGB16UI[] = "GL_RGB16UI";
static const char __pyx_k_GL_RGB32UI[] = "GL_RGB32UI";
static const char __pyx_k_GL_RGB5_A1[] = "GL_RGB5_A1";
static const char __pyx_k_GL_RGB9_E5[] = "GL_RGB9_E5";
static const char __pyx_k_GL_RGBA16F[] = "GL_RGBA16F";
static const char __pyx_k_GL_RGBA16I[] = "GL_RGBA16I";
static const char __pyx_k_GL_RGBA32F[] = "GL_RGBA32F";
static const char __pyx_k_GL_RGBA32I[] = "GL_RGBA32I";
static const char __pyx_k_GL_RGBA8UI[] = "GL_RGBA8UI";
static const char __pyx_k_GL_SAMPLES[] = "GL_SAMPLES";
static const char __pyx_k_GL_STENCIL[] = "GL_STENCIL";
static const char __pyx_k_GL_TEXTURE[] = "GL_TEXTURE";
static const char __pyx_k_GL_VERSION[] = "GL_VERSION";
static const char __pyx_k_IndexError[] = "IndexError";
static const char __pyx_k_arrays_ptr[] = "arrays_ptr";
static const char __pyx_k_attachment[] = "attachment";
static const char __pyx_k_bufferMode[] = "bufferMode";
static const char __pyx_k_dfactorRGB[] = "dfactorRGB";
static const char __pyx_k_drawbuffer[] = "drawbuffer";
static const char __pyx_k_glCullFace[] = "glCullFace";
static const char __pyx_k_glEndQuery[] = "glEndQuery";
static const char __pyx_k_glGetError[] = "glGetError";
static const char __pyx_k_glIsBuffer[] = "glIsBuffer";
static const char __pyx_k_glIsShader[] = "glIsShader";
static const char __pyx_k_glViewport[] = "glViewport";
static const char __pyx_k_length_ptr[] = "length_ptr";
static const char __pyx_k_normalized[] = "normalized";
static const char __pyx_k_params_ptr[] = "params_ptr";
static const char __pyx_k_pixels_ptr[] = "pixels_ptr";
static const char __pyx_k_pyx_vtable[] = "__pyx_vtable__";
static const char __pyx_k_sfactorRGB[] = "sfactorRGB";
static const char __pyx_k_source_ptr[] = "source_ptr";
static const char __pyx_k_string_ptr[] = "string_ptr";
static const char __pyx_k_BytesBuffer[] = "BytesBuffer";
static const char __pyx_k_FloatBuffer[] = "FloatBuffer";
static const char __pyx_k_GL_FUNC_ADD[] = "GL_FUNC_ADD";
static const char __pyx_k_GL_INT_VEC2[] = "GL_INT_VEC2";
static const char __pyx_k_GL_INT_VEC3[] = "GL_INT_VEC3";
static const char __pyx_k_GL_INT_VEC4[] = "GL_INT_VEC4";
static const char __pyx_k_GL_NOTEQUAL[] = "GL_NOTEQUAL";
static const char __pyx_k_GL_NO_ERROR[] = "GL_NO_ERROR";
static const char __pyx_k_GL_RED_BITS[] = "GL_RED_BITS";
static const char __pyx_k_GL_RENDERER[] = "GL_RENDERER";
static const char __pyx_k_GL_RGB10_A2[] = "GL_RGB10_A2";
static const char __pyx_k_GL_RGBA16UI[] = "GL_RGBA16UI";
static const char __pyx_k_GL_RGBA32UI[] = "GL_RGBA32UI";
static const char __pyx_k_GL_TEXTURE0[] = "GL_TEXTURE0";
static const char __pyx_k_GL_TEXTURE1[] = "GL_TEXTURE1";
static const char __pyx_k_GL_TEXTURE2[] = "GL_TEXTURE2";
static const char __pyx_k_GL_TEXTURE3[] = "GL_TEXTURE3";
static const char __pyx_k_GL_TEXTURE4[] = "GL_TEXTURE4";
static const char __pyx_k_GL_TEXTURE5[] = "GL_TEXTURE5";
static const char __pyx_k_GL_TEXTURE6[] = "GL_TEXTURE6";
static const char __pyx_k_GL_TEXTURE7[] = "GL_TEXTURE7";
static const char __pyx_k_GL_TEXTURE8[] = "GL_TEXTURE8";
static const char __pyx_k_GL_TEXTURE9[] = "GL_TEXTURE9";
static const char __pyx_k_GL_VIEWPORT[] = "GL_VIEWPORT";
static const char __pyx_k_buffers_ptr[] = "buffers_ptr";
static const char __pyx_k_framebuffer[] = "framebuffer";
static const char __pyx_k_glBlendFunc[] = "glBlendFunc";
static const char __pyx_k_glColorMask[] = "glColorMask";
static const char __pyx_k_glDepthFunc[] = "glDepthFunc";
static const char __pyx_k_glDepthMask[] = "glDepthMask";
static const char __pyx_k_glFrontFace[] = "glFrontFace";
static const char __pyx_k_glGetFloatv[] = "glGetFloatv";
static const char __pyx_k_glGetString[] = "glGetString";
static const char __pyx_k_glIsEnabled[] = "glIsEnabled";
static const char __pyx_k_glIsProgram[] = "glIsProgram";
static const char __pyx_k_glIsTexture[] = "glIsTexture";
static const char __pyx_k_glLineWidth[] = "glLineWidth";
static const char __pyx_k_glStencilOp[] = "glStencilOp";
static const char __pyx_k_glUniform1f[] = "glUniform1f";
static const char __pyx_k_glUniform1i[] = "glUniform1i";
static const char __pyx_k_glUniform2f[] = "glUniform2f";
static const char __pyx_k_glUniform2i[] = "glUniform2i";
static const char __pyx_k_glUniform3f[] = "glUniform3f";
static const char __pyx_k_glUniform3i[] = "glUniform3i";
static const char __pyx_k_glUniform4f[] = "glUniform4f";
static const char __pyx_k_glUniform4i[] = "glUniform4i";
static const char __pyx_k_indices_ptr[] = "indices_ptr";
static const char __pyx_k_infoLog_ptr[] = "infoLog_ptr";
static const char __pyx_k_pointer_ptr[] = "pointer_ptr";
static const char __pyx_k_shaders_ptr[] = "shaders_ptr";
static const char __pyx_k_GL_BLUE_BITS[] = "GL_BLUE_BITS";
static const char __pyx_k_GL_BOOL_VEC2[] = "GL_BOOL_VEC2";
static const char __pyx_k_GL_BOOL_VEC3[] = "GL_BOOL_VEC3";
static const char __pyx_k_GL_BOOL_VEC4[] = "GL_BOOL_VEC4";
static const char __pyx_k_GL_CULL_FACE[] = "GL_CULL_FACE";
static const char __pyx_k_GL_DECR_WRAP[] = "GL_DECR_WRAP";
static const char __pyx_k_GL_DONT_CARE[] = "GL_DONT_CARE";
static const char __pyx_k_GL_DST_ALPHA[] = "GL_DST_ALPHA";
static const char __pyx_k_GL_DST_COLOR[] = "GL_DST_COLOR";
static const char __pyx_k_GL_INCR_WRAP[] = "GL_INCR_WRAP";
static const char __pyx_k_GL_LINE_LOOP[] = "GL_LINE_LOOP";
static const char __pyx_k_GL_LUMINANCE[] = "GL_LUMINANCE";
static const char __pyx_k_GL_SRC_ALPHA[] = "GL_SRC_ALPHA";
static const char __pyx_k_GL_SRC_COLOR[] = "GL_SRC_COLOR";
static const char __pyx_k_GL_TEXTURE10[] = "GL_TEXTURE10";
static const char __pyx_k_GL_TEXTURE11[] = "GL_TEXTURE11";
static const char __pyx_k_GL_TEXTURE12[] = "GL_TEXTURE12";
static const char __pyx_k_GL_TEXTURE13[] = "GL_TEXTURE13";
static const char __pyx_k_GL_TEXTURE14[] = "GL_TEXTURE14";
static const char __pyx_k_GL_TEXTURE15[] = "GL_TEXTURE15";
static const char __pyx_k_GL_TEXTURE16[] = "GL_TEXTURE16";
static const char __pyx_k_GL_TEXTURE17[] = "GL_TEXTURE17";
static const char __pyx_k_GL_TEXTURE18[] = "GL_TEXTURE18";
static const char __pyx_k_GL_TEXTURE19[] = "GL_TEXTURE19";
static const char __pyx_k_GL_TEXTURE20[] = "GL_TEXTURE20";
static const char __pyx_k_GL_TEXTURE21[] = "GL_TEXTURE21";
static const char __pyx_k_GL_TEXTURE22[] = "GL_TEXTURE22";
static const char __pyx_k_GL_TEXTURE23[] = "GL_TEXTURE23";
static const char __pyx_k_GL_TEXTURE24[] = "GL_TEXTURE24";
static const char __pyx_k_GL_TEXTURE25[] = "GL_TEXTURE25";
static const char __pyx_k_GL_TEXTURE26[] = "GL_TEXTURE26";
static const char __pyx_k_GL_TEXTURE27[] = "GL_TEXTURE27";
static const char __pyx_k_GL_TEXTURE28[] = "GL_TEXTURE28";
static const char __pyx_k_GL_TEXTURE29[] = "GL_TEXTURE29";
static const char __pyx_k_GL_TEXTURE30[] = "GL_TEXTURE30";
static const char __pyx_k_GL_TEXTURE31[] = "GL_TEXTURE31";
static const char __pyx_k_GL_TRIANGLES[] = "GL_TRIANGLES";
static const char __pyx_k_dfactorAlpha[] = "dfactorAlpha";
static const char __pyx_k_framebuffers[] = "framebuffers";
static const char __pyx_k_glBeginQuery[] = "glBeginQuery";
static const char __pyx_k_glBindBuffer[] = "glBindBuffer";
static const char __pyx_k_glBlendColor[] = "glBlendColor";
static const char __pyx_k_glBufferData[] = "glBufferData";
static const char __pyx_k_glClearColor[] = "glClearColor";
static const char __pyx_k_glDrawArrays[] = "glDrawArrays";
static const char __pyx_k_glGenBuffers[] = "glGenBuffers";
static const char __pyx_k_glGenQueries[] = "glGenQueries";
static const char __pyx_k_glGetQueryiv[] = "glGetQueryiv";
static const char __pyx_k_glGetStringi[] = "glGetStringi";
static const char __pyx_k_glReadBuffer[] = "glReadBuffer";
static const char __pyx_k_glReadPixels[] = "glReadPixels";
static const char __pyx_k_glTexImage2D[] = "glTexImage2D";
static const char __pyx_k_glTexImage3D[] = "glTexImage3D";
static const char __pyx_k_glUniform1fv[] = "glUniform1fv";
static const char __pyx_k_glUniform1iv[] = "glUniform1iv";
static const char __pyx_k_glUniform1ui[] = "glUniform1ui";
static const char __pyx_k_glUniform2fv[] = "glUniform2fv";
static const char __pyx_k_glUniform2iv[] = "glUniform2iv";
static const char __pyx_k_glUniform2ui[] = "glUniform2ui";
static const char __pyx_k_glUniform3fv[] = "glUniform3fv";
static const char __pyx_k_glUniform3iv[] = "glUniform3iv";
static const char __pyx_k_glUniform3ui[] = "glUniform3ui";
static const char __pyx_k_glUniform4fv[] = "glUniform4fv";
static const char __pyx_k_glUniform4iv[] = "glUniform4iv";
static const char __pyx_k_glUniform4ui[] = "glUniform4ui";
static const char __pyx_k_glUseProgram[] = "glUseProgram";
static const char __pyx_k_renderbuffer[] = "renderbuffer";
static const char __pyx_k_sfactorAlpha[] = "sfactorAlpha";
static const char __pyx_k_textures_ptr[] = "textures_ptr";
static const char __pyx_k_varyings_ptr[] = "varyings_ptr";
static const char __pyx_k_GL_ALPHA_BITS[] = "GL_ALPHA_BITS";
static const char __pyx_k_GL_DEPTH_BITS[] = "GL_DEPTH_BITS";
static const char __pyx_k_GL_DEPTH_FUNC[] = "GL_DEPTH_FUNC";
static const char __pyx_k_GL_DEPTH_TEST[] = "GL_DEPTH_TEST";
static const char __pyx_k_GL_EXTENSIONS[] = "GL_EXTENSIONS";
static const char __pyx_k_GL_FLOAT_MAT2[] = "GL_FLOAT_MAT2";
static const char __pyx_k_GL_FLOAT_MAT3[] = "GL_FLOAT_MAT3";
static const char __pyx_k_GL_FLOAT_MAT4[] = "GL_FLOAT_MAT4";
static const char __pyx_k_GL_FLOAT_VEC2[] = "GL_FLOAT_VEC2";
static const char __pyx_k_GL_FLOAT_VEC3[] = "GL_FLOAT_VEC3";
static const char __pyx_k_GL_FLOAT_VEC4[] = "GL_FLOAT_VEC4";
static const char __pyx_k_GL_FRONT_FACE[] = "GL_FRONT_FACE";
static const char __pyx_k_GL_GREEN_BITS[] = "GL_GREEN_BITS";
static const char __pyx_k_GL_HALF_FLOAT[] = "GL_HALF_FLOAT";
static const char __pyx_k_GL_LINE_STRIP[] = "GL_LINE_STRIP";
static const char __pyx_k_GL_LINE_WIDTH[] = "GL_LINE_WIDTH";
static const char __pyx_k_GL_RG_INTEGER[] = "GL_RG_INTEGER";
static const char __pyx_k_GL_SAMPLER_2D[] = "GL_SAMPLER_2D";
static const char __pyx_k_GL_SAMPLER_3D[] = "GL_SAMPLER_3D";
static const char __pyx_k_GL_TEXTURE_2D[] = "GL_TEXTURE_2D";
static const char __pyx_k_GL_TEXTURE_3D[] = "GL_TEXTURE_3D";
static const char __pyx_k_glBindTexture[] = "glBindTexture";
static const char __pyx_k_glDrawBuffers[] = "glDrawBuffers";
static const char __pyx_k_glGenTextures[] = "glGenTextures";
static const char __pyx_k_glGetBooleanv[] = "glGetBooleanv";
static const char __pyx_k_glGetIntegerv[] = "glGetIntegerv";
static const char __pyx_k_glGetShaderiv[] = "glGetShaderiv";
static const char __pyx_k_glLinkProgram[] = "glLinkProgram";
static const char __pyx_k_glPixelStorei[] = "glPixelStorei";
static const char __pyx_k_glStencilFunc[] = "glStencilFunc";
static const char __pyx_k_glStencilMask[] = "glStencilMask";
static const char __pyx_k_glUniform1uiv[] = "glUniform1uiv";
static const char __pyx_k_glUniform2uiv[] = "glUniform2uiv";
static const char __pyx_k_glUniform3uiv[] = "glUniform3uiv";
static const char __pyx_k_glUniform4uiv[] = "glUniform4uiv";
static const char __pyx_k_glUnmapBuffer[] = "glUnmapBuffer";
static const char __pyx_k_primitiveMode[] = "primitiveMode";
static const char __pyx_k_reduce_cython[] = "__reduce_cython__";
static const char __pyx_k_renderbuffers[] = "renderbuffers";
static const char __pyx_k_renpy_uguu_gl[] = "renpy.uguu.gl";
static const char __pyx_k_GL_BLEND_COLOR[] = "GL_BLEND_COLOR";
static const char __pyx_k_GL_BUFFER_SIZE[] = "GL_BUFFER_SIZE";
static const char __pyx_k_GL_DEPTH_RANGE[] = "GL_DEPTH_RANGE";
static const char __pyx_k_GL_FRAMEBUFFER[] = "GL_FRAMEBUFFER";
static const char __pyx_k_GL_LINK_STATUS[] = "GL_LINK_STATUS";
static const char __pyx_k_GL_MAX_SAMPLES[] = "GL_MAX_SAMPLES";
static const char __pyx_k_GL_READ_BUFFER[] = "GL_READ_BUFFER";
static const char __pyx_k_GL_RED_INTEGER[] = "GL_RED_INTEGER";
static const char __pyx_k_GL_RGB_INTEGER[] = "GL_RGB_INTEGER";
static const char __pyx_k_GL_SCISSOR_BOX[] = "GL_SCISSOR_BOX";
static const char __pyx_k_GL_SHADER_TYPE[] = "GL_SHADER_TYPE";
static const char __pyx_k_GL_STATIC_COPY[] = "GL_STATIC_COPY";
static const char __pyx_k_GL_STATIC_DRAW[] = "GL_STATIC_DRAW";
static const char __pyx_k_GL_STATIC_READ[] = "GL_STATIC_READ";
static const char __pyx_k_GL_STENCIL_REF[] = "GL_STENCIL_REF";
static const char __pyx_k_GL_STREAM_COPY[] = "GL_STREAM_COPY";
static const char __pyx_k_GL_STREAM_DRAW[] = "GL_STREAM_DRAW";
static const char __pyx_k_GL_STREAM_READ[] = "GL_STREAM_READ";
static const char __pyx_k_glAttachShader[] = "glAttachShader";
static const char __pyx_k_glClearStencil[] = "glClearStencil";
static const char __pyx_k_glCreateShader[] = "glCreateShader";
static const char __pyx_k_glDeleteShader[] = "glDeleteShader";
static const char __pyx_k_glDetachShader[] = "glDetachShader";
static const char __pyx_k_glDrawElements[] = "glDrawElements";
static const char __pyx_k_glGetProgramiv[] = "glGetProgramiv";
static const char __pyx_k_glGetUniformfv[] = "glGetUniformfv";
static const char __pyx_k_glGetUniformiv[] = "glGetUniformiv";
static const char __pyx_k_glShaderSource[] = "glShaderSource";
static const char __pyx_k_internalformat[] = "internalformat";
static const char __pyx_k_BytesListBuffer[] = "BytesListBuffer";
static const char __pyx_k_GL_ARRAY_BUFFER[] = "GL_ARRAY_BUFFER";
static const char __pyx_k_GL_BUFFER_USAGE[] = "GL_BUFFER_USAGE";
static const char __pyx_k_GL_DRAW_BUFFER0[] = "GL_DRAW_BUFFER0";
static const char __pyx_k_GL_DRAW_BUFFER1[] = "GL_DRAW_BUFFER1";
static const char __pyx_k_GL_DRAW_BUFFER2[] = "GL_DRAW_BUFFER2";
static const char __pyx_k_GL_DRAW_BUFFER3[] = "GL_DRAW_BUFFER3";
static const char __pyx_k_GL_DRAW_BUFFER4[] = "GL_DRAW_BUFFER4";
static const char __pyx_k_GL_DRAW_BUFFER5[] = "GL_DRAW_BUFFER5";
static const char __pyx_k_GL_DRAW_BUFFER6[] = "GL_DRAW_BUFFER6";
static const char __pyx_k_GL_DRAW_BUFFER7[] = "GL_DRAW_BUFFER7";
static const char __pyx_k_GL_DRAW_BUFFER8[] = "GL_DRAW_BUFFER8";
static const char __pyx_k_GL_DRAW_BUFFER9[] = "GL_DRAW_BUFFER9";
static const char __pyx_k_GL_DYNAMIC_COPY[] = "GL_DYNAMIC_COPY";
static const char __pyx_k_GL_DYNAMIC_DRAW[] = "GL_DYNAMIC_DRAW";
static const char __pyx_k_GL_DYNAMIC_READ[] = "GL_DYNAMIC_READ";
static const char __pyx_k_GL_FLOAT_MAT2x3[] = "GL_FLOAT_MAT2x3";
static const char __pyx_k_GL_FLOAT_MAT2x4[] = "GL_FLOAT_MAT2x4";
static const char __pyx_k_GL_FLOAT_MAT3x2[] = "GL_FLOAT_MAT3x2";
static const char __pyx_k_GL_FLOAT_MAT3x4[] = "GL_FLOAT_MAT3x4";
static const char __pyx_k_GL_FLOAT_MAT4x2[] = "GL_FLOAT_MAT4x2";
static const char __pyx_k_GL_FLOAT_MAT4x3[] = "GL_FLOAT_MAT4x3";
static const char __pyx_k_GL_INVALID_ENUM[] = "GL_INVALID_ENUM";
static const char __pyx_k_GL_MAP_READ_BIT[] = "GL_MAP_READ_BIT";
static const char __pyx_k_GL_QUERY_RESULT[] = "GL_QUERY_RESULT";
static const char __pyx_k_GL_RENDERBUFFER[] = "GL_RENDERBUFFER";
static const char __pyx_k_GL_RGBA_INTEGER[] = "GL_RGBA_INTEGER";
static const char __pyx_k_GL_SAMPLER_CUBE[] = "GL_SAMPLER_CUBE";
static const char __pyx_k_GL_SCISSOR_TEST[] = "GL_SCISSOR_TEST";
static const char __pyx_k_GL_SRGB8_ALPHA8[] = "GL_SRGB8_ALPHA8";
static const char __pyx_k_GL_STENCIL_BITS[] = "GL_STENCIL_BITS";
static const char __pyx_k_GL_STENCIL_FAIL[] = "GL_STENCIL_FAIL";
static const char __pyx_k_GL_STENCIL_FUNC[] = "GL_STENCIL_FUNC";
static const char __pyx_k_GL_STENCIL_TEST[] = "GL_STENCIL_TEST";
static const char __pyx_k_GL_TRIANGLE_FAN[] = "GL_TRIANGLE_FAN";
static const char __pyx_k_GL_UNSIGNED_INT[] = "GL_UNSIGNED_INT";
static const char __pyx_k_glActiveTexture[] = "glActiveTexture";
static const char __pyx_k_glBlendEquation[] = "glBlendEquation";
static const char __pyx_k_glBufferSubData[] = "glBufferSubData";
static const char __pyx_k_glClearBufferfi[] = "glClearBufferfi";
static const char __pyx_k_glClearBufferfv[] = "glClearBufferfv";
static const char __pyx_k_glClearBufferiv[] = "glClearBufferiv";
static const char __pyx_k_glCompileShader[] = "glCompileShader";
static const char __pyx_k_glCreateProgram[] = "glCreateProgram";
static const char __pyx_k_glDeleteBuffers[] = "glDeleteBuffers";
static const char __pyx_k_glDeleteProgram[] = "glDeleteProgram";
static const char __pyx_k_glDeleteQueries[] = "glDeleteQueries";
static const char __pyx_k_glGetIntegeri_v[] = "glGetIntegeri_v";
static const char __pyx_k_glGetUniformuiv[] = "glGetUniformuiv";
static const char __pyx_k_glIsFramebuffer[] = "glIsFramebuffer";
static const char __pyx_k_glIsVertexArray[] = "glIsVertexArray";
static const char __pyx_k_glPolygonOffset[] = "glPolygonOffset";
static const char __pyx_k_glTexParameterf[] = "glTexParameterf";
static const char __pyx_k_glTexParameteri[] = "glTexParameteri";
static const char __pyx_k_glTexSubImage2D[] = "glTexSubImage2D";
static const char __pyx_k_glTexSubImage3D[] = "glTexSubImage3D";
static const char __pyx_k_renpy_uguu_uguu[] = "renpy.uguu.uguu";
static const char __pyx_k_setstate_cython[] = "__setstate_cython__";
static const char __pyx_k_GL_BLEND_DST_RGB[] = "GL_BLEND_DST_RGB";
static const char __pyx_k_GL_BLEND_SRC_RGB[] = "GL_BLEND_SRC_RGB";
static const char __pyx_k_GL_BUFFER_MAPPED[] = "GL_BUFFER_MAPPED";
static const char __pyx_k_GL_CLAMP_TO_EDGE[] = "GL_CLAMP_TO_EDGE";
static const char __pyx_k_GL_CURRENT_QUERY[] = "GL_CURRENT_QUERY";
static const char __pyx_k_GL_DELETE_STATUS[] = "GL_DELETE_STATUS";
static const char __pyx_k_GL_DEPTH_STENCIL[] = "GL_DEPTH_STENCIL";
static const char __pyx_k_GL_DRAW_BUFFER10[] = "GL_DRAW_BUFFER10";
static const char __pyx_k_GL_DRAW_BUFFER11[] = "GL_DRAW_BUFFER11";
static const char __pyx_k_GL_DRAW_BUFFER12[] = "GL_DRAW_BUFFER12";
static const char __pyx_k_GL_DRAW_BUFFER13[] = "GL_DRAW_BUFFER13";
static const char __pyx_k_GL_DRAW_BUFFER14[] = "GL_DRAW_BUFFER14";
static const char __pyx_k_GL_DRAW_BUFFER15[] = "GL_DRAW_BUFFER15";
static const char __pyx_k_GL_FUNC_SUBTRACT[] = "GL_FUNC_SUBTRACT";
static const char __pyx_k_GL_INVALID_VALUE[] = "GL_INVALID_VALUE";
static const char __pyx_k_GL_MAJOR_VERSION[] = "GL_MAJOR_VERSION";
static const char __pyx_k_GL_MAP_WRITE_BIT[] = "GL_MAP_WRITE_BIT";
static const char __pyx_k_GL_MINOR_VERSION[] = "GL_MINOR_VERSION";
static const char __pyx_k_GL_OUT_OF_MEMORY[] = "GL_OUT_OF_MEMORY";
static const char __pyx_k_GL_SUBPIXEL_BITS[] = "GL_SUBPIXEL_BITS";
static const char __pyx_k_GL_UNSIGNED_BYTE[] = "GL_UNSIGNED_BYTE";
static const char __pyx_k_GL_VERTEX_SHADER[] = "GL_VERTEX_SHADER";
static const char __pyx_k_framebuffers_ptr[] = "framebuffers_ptr";
static const char __pyx_k_glBindBufferBase[] = "glBindBufferBase";
static const char __pyx_k_glClearBufferuiv[] = "glClearBufferuiv";
static const char __pyx_k_glCopyTexImage2D[] = "glCopyTexImage2D";
static const char __pyx_k_glDeleteTextures[] = "glDeleteTextures";
static const char __pyx_k_glGenerateMipmap[] = "glGenerateMipmap";
static const char __pyx_k_glIsRenderbuffer[] = "glIsRenderbuffer";
static const char __pyx_k_glSampleCoverage[] = "glSampleCoverage";
static const char __pyx_k_glTexParameterfv[] = "glTexParameterfv";
static const char __pyx_k_glTexParameteriv[] = "glTexParameteriv";
static const char __pyx_k_glVertexAttrib1f[] = "glVertexAttrib1f";
static const char __pyx_k_glVertexAttrib2f[] = "glVertexAttrib2f";
static const char __pyx_k_glVertexAttrib3f[] = "glVertexAttrib3f";
static const char __pyx_k_glVertexAttrib4f[] = "glVertexAttrib4f";
static const char __pyx_k_GL_ACTIVE_TEXTURE[] = "GL_ACTIVE_TEXTURE";
static const char __pyx_k_GL_BLEND_EQUATION[] = "GL_BLEND_EQUATION";
static const char __pyx_k_GL_COMPILE_STATUS[] = "GL_COMPILE_STATUS";
static const char __pyx_k_GL_CONSTANT_ALPHA[] = "GL_CONSTANT_ALPHA";
static const char __pyx_k_GL_CONSTANT_COLOR[] = "GL_CONSTANT_COLOR";
static const char __pyx_k_GL_CULL_FACE_MODE[] = "GL_CULL_FACE_MODE";
static const char __pyx_k_GL_FRONT_AND_BACK[] = "GL_FRONT_AND_BACK";
static const char __pyx_k_GL_INT_SAMPLER_2D[] = "GL_INT_SAMPLER_2D";
static const char __pyx_k_GL_INT_SAMPLER_3D[] = "GL_INT_SAMPLER_3D";
static const char __pyx_k_GL_NUM_EXTENSIONS[] = "GL_NUM_EXTENSIONS";
static const char __pyx_k_GL_PACK_ALIGNMENT[] = "GL_PACK_ALIGNMENT";
static const char __pyx_k_GL_PACK_SKIP_ROWS[] = "GL_PACK_SKIP_ROWS";
static const char __pyx_k_GL_R11F_G11F_B10F[] = "GL_R11F_G11F_B10F";
static const char __pyx_k_GL_SAMPLE_BUFFERS[] = "GL_SAMPLE_BUFFERS";
static const char __pyx_k_GL_STENCIL_INDEX8[] = "GL_STENCIL_INDEX8";
static const char __pyx_k_GL_TEXTURE_WRAP_R[] = "GL_TEXTURE_WRAP_R";
static const char __pyx_k_GL_TEXTURE_WRAP_S[] = "GL_TEXTURE_WRAP_S";
static const char __pyx_k_GL_TEXTURE_WRAP_T[] = "GL_TEXTURE_WRAP_T";
static const char __pyx_k_GL_TRIANGLE_STRIP[] = "GL_TRIANGLE_STRIP";
static const char __pyx_k_GL_UNSIGNED_SHORT[] = "GL_UNSIGNED_SHORT";
static const char __pyx_k_glBindBufferRange[] = "glBindBufferRange";
static const char __pyx_k_glBindFramebuffer[] = "glBindFramebuffer";
static const char __pyx_k_glBindVertexArray[] = "glBindVertexArray";
static const char __pyx_k_glBlitFramebuffer[] = "glBlitFramebuffer";
static const char __pyx_k_glGenFramebuffers[] = "glGenFramebuffers";
static const char __pyx_k_glGenVertexArrays[] = "glGenVertexArrays";
static const char __pyx_k_glGetActiveAttrib[] = "glGetActiveAttrib";
static const char __pyx_k_glGetShaderSource[] = "glGetShaderSource";
static const char __pyx_k_glValidateProgram[] = "glValidateProgram";
static const char __pyx_k_glVertexAttrib1fv[] = "glVertexAttrib1fv";
static const char __pyx_k_glVertexAttrib2fv[] = "glVertexAttrib2fv";
static const char __pyx_k_glVertexAttrib3fv[] = "glVertexAttrib3fv";
static const char __pyx_k_glVertexAttrib4fv[] = "glVertexAttrib4fv";
static const char __pyx_k_glVertexAttribI4i[] = "glVertexAttribI4i";
static const char __pyx_k_renderbuffers_ptr[] = "renderbuffers_ptr";
static const char __pyx_k_GL_ACTIVE_UNIFORMS[] = "GL_ACTIVE_UNIFORMS";
static const char __pyx_k_GL_BLEND_DST_ALPHA[] = "GL_BLEND_DST_ALPHA";
static const char __pyx_k_GL_BLEND_SRC_ALPHA[] = "GL_BLEND_SRC_ALPHA";
static const char __pyx_k_GL_COLOR_WRITEMASK[] = "GL_COLOR_WRITEMASK";
static const char __pyx_k_GL_CURRENT_PROGRAM[] = "GL_CURRENT_PROGRAM";
static const char __pyx_k_GL_DEPTH_COMPONENT[] = "GL_DEPTH_COMPONENT";
static const char __pyx_k_GL_DEPTH_WRITEMASK[] = "GL_DEPTH_WRITEMASK";
static const char __pyx_k_GL_FRAGMENT_SHADER[] = "GL_FRAGMENT_SHADER";
static const char __pyx_k_GL_INFO_LOG_LENGTH[] = "GL_INFO_LOG_LENGTH";
static const char __pyx_k_GL_LUMINANCE_ALPHA[] = "GL_LUMINANCE_ALPHA";
static const char __pyx_k_GL_MIRRORED_REPEAT[] = "GL_MIRRORED_REPEAT";
static const char __pyx_k_GL_PACK_ROW_LENGTH[] = "GL_PACK_ROW_LENGTH";
static const char __pyx_k_GL_SAMPLE_COVERAGE[] = "GL_SAMPLE_COVERAGE";
static const char __pyx_k_GL_TEXTURE_MAX_LOD[] = "GL_TEXTURE_MAX_LOD";
static const char __pyx_k_GL_TEXTURE_MIN_LOD[] = "GL_TEXTURE_MIN_LOD";
static const char __pyx_k_GL_VALIDATE_STATUS[] = "GL_VALIDATE_STATUS";
static const char __pyx_k_cline_in_traceback[] = "cline_in_traceback";
static const char __pyx_k_glBindRenderbuffer[] = "glBindRenderbuffer";
static const char __pyx_k_glGenRenderbuffers[] = "glGenRenderbuffers";
static const char __pyx_k_glGetActiveUniform[] = "glGetActiveUniform";
static const char __pyx_k_glGetShaderInfoLog[] = "glGetShaderInfoLog";
static const char __pyx_k_glUniformMatrix2fv[] = "glUniformMatrix2fv";
static const char __pyx_k_glUniformMatrix3fv[] = "glUniformMatrix3fv";
static const char __pyx_k_glUniformMatrix4fv[] = "glUniformMatrix4fv";
static const char __pyx_k_glVertexAttribI4iv[] = "glVertexAttribI4iv";
static const char __pyx_k_glVertexAttribI4ui[] = "glVertexAttribI4ui";
static const char __pyx_k_index_out_of_range[] = "index out of range";
static const char __pyx_k_renderbuffertarget[] = "renderbuffertarget";
static const char __pyx_k_GL_ATTACHED_SHADERS[] = "GL_ATTACHED_SHADERS";
static const char __pyx_k_GL_COLOR_BUFFER_BIT[] = "GL_COLOR_BUFFER_BIT";
static const char __pyx_k_GL_DEPTH24_STENCIL8[] = "GL_DEPTH24_STENCIL8";
static const char __pyx_k_GL_DEPTH_ATTACHMENT[] = "GL_DEPTH_ATTACHMENT";
static const char __pyx_k_GL_DEPTH_BUFFER_BIT[] = "GL_DEPTH_BUFFER_BIT";
static const char __pyx_k_GL_DRAW_FRAMEBUFFER[] = "GL_DRAW_FRAMEBUFFER";
static const char __pyx_k_GL_INT_SAMPLER_CUBE[] = "GL_INT_SAMPLER_CUBE";
static const char __pyx_k_GL_MAX_DRAW_BUFFERS[] = "GL_MAX_DRAW_BUFFERS";
static const char __pyx_k_GL_MAX_TEXTURE_SIZE[] = "GL_MAX_TEXTURE_SIZE";
static const char __pyx_k_GL_PACK_SKIP_PIXELS[] = "GL_PACK_SKIP_PIXELS";
static const char __pyx_k_GL_READ_FRAMEBUFFER[] = "GL_READ_FRAMEBUFFER";
static const char __pyx_k_GL_SAMPLER_2D_ARRAY[] = "GL_SAMPLER_2D_ARRAY";
static const char __pyx_k_GL_SEPARATE_ATTRIBS[] = "GL_SEPARATE_ATTRIBS";
static const char __pyx_k_GL_STENCIL_BACK_REF[] = "GL_STENCIL_BACK_REF";
static const char __pyx_k_GL_TEXTURE_2D_ARRAY[] = "GL_TEXTURE_2D_ARRAY";
static const char __pyx_k_GL_TEXTURE_CUBE_MAP[] = "GL_TEXTURE_CUBE_MAP";
static const char __pyx_k_GL_UNPACK_ALIGNMENT[] = "GL_UNPACK_ALIGNMENT";
static const char __pyx_k_GL_UNPACK_SKIP_ROWS[] = "GL_UNPACK_SKIP_ROWS";
static const char __pyx_k_glBlendFuncSeparate[] = "glBlendFuncSeparate";
static const char __pyx_k_glCopyTexSubImage2D[] = "glCopyTexSubImage2D";
static const char __pyx_k_glCopyTexSubImage3D[] = "glCopyTexSubImage3D";
static const char __pyx_k_glDrawRangeElements[] = "glDrawRangeElements";
static const char __pyx_k_glGetAttribLocation[] = "glGetAttribLocation";
static const char __pyx_k_glGetBufferPointerv[] = "glGetBufferPointerv";
static const char __pyx_k_glGetProgramInfoLog[] = "glGetProgramInfoLog";
static const char __pyx_k_glGetQueryObjectuiv[] = "glGetQueryObjectuiv";
static const char __pyx_k_glGetTexParameterfv[] = "glGetTexParameterfv";
static const char __pyx_k_glGetTexParameteriv[] = "glGetTexParameteriv";
static const char __pyx_k_glGetVertexAttribfv[] = "glGetVertexAttribfv";
static const char __pyx_k_glGetVertexAttribiv[] = "glGetVertexAttribiv";
static const char __pyx_k_glStencilOpSeparate[] = "glStencilOpSeparate";
static const char __pyx_k_glVertexAttribI4uiv[] = "glVertexAttribI4uiv";
static const char __pyx_k_GL_ACTIVE_ATTRIBUTES[] = "GL_ACTIVE_ATTRIBUTES";
static const char __pyx_k_GL_BUFFER_MAP_LENGTH[] = "GL_BUFFER_MAP_LENGTH";
static const char __pyx_k_GL_BUFFER_MAP_OFFSET[] = "GL_BUFFER_MAP_OFFSET";
static const char __pyx_k_GL_COLOR_ATTACHMENT0[] = "GL_COLOR_ATTACHMENT0";
static const char __pyx_k_GL_COLOR_ATTACHMENT1[] = "GL_COLOR_ATTACHMENT1";
static const char __pyx_k_GL_COLOR_ATTACHMENT2[] = "GL_COLOR_ATTACHMENT2";
static const char __pyx_k_GL_COLOR_ATTACHMENT3[] = "GL_COLOR_ATTACHMENT3";
static const char __pyx_k_GL_COLOR_ATTACHMENT4[] = "GL_COLOR_ATTACHMENT4";
static const char __pyx_k_GL_COLOR_ATTACHMENT5[] = "GL_COLOR_ATTACHMENT5";
static const char __pyx_k_GL_COLOR_ATTACHMENT6[] = "GL_COLOR_ATTACHMENT6";
static const char __pyx_k_GL_COLOR_ATTACHMENT7[] = "GL_COLOR_ATTACHMENT7";
static const char __pyx_k_GL_COLOR_ATTACHMENT8[] = "GL_COLOR_ATTACHMENT8";
static const char __pyx_k_GL_COLOR_ATTACHMENT9[] = "GL_COLOR_ATTACHMENT9";
static const char __pyx_k_GL_COLOR_CLEAR_VALUE[] = "GL_COLOR_CLEAR_VALUE";
static const char __pyx_k_GL_DEPTH32F_STENCIL8[] = "GL_DEPTH32F_STENCIL8";
static const char __pyx_k_GL_DEPTH_CLEAR_VALUE[] = "GL_DEPTH_CLEAR_VALUE";
static const char __pyx_k_GL_DEPTH_COMPONENT16[] = "GL_DEPTH_COMPONENT16";
static const char __pyx_k_GL_DEPTH_COMPONENT24[] = "GL_DEPTH_COMPONENT24";
static const char __pyx_k_GL_INVALID_OPERATION[] = "GL_INVALID_OPERATION";
static const char __pyx_k_GL_MAX_VIEWPORT_DIMS[] = "GL_MAX_VIEWPORT_DIMS";
static const char __pyx_k_GL_PIXEL_PACK_BUFFER[] = "GL_PIXEL_PACK_BUFFER";
static const char __pyx_k_GL_SAMPLER_2D_SHADOW[] = "GL_SAMPLER_2D_SHADOW";
static const char __pyx_k_GL_STENCIL_BACK_FAIL[] = "GL_STENCIL_BACK_FAIL";
static const char __pyx_k_GL_STENCIL_BACK_FUNC[] = "GL_STENCIL_BACK_FUNC";
static const char __pyx_k_GL_STENCIL_WRITEMASK[] = "GL_STENCIL_WRITEMASK";
static const char __pyx_k_GL_TEXTURE_MAX_LEVEL[] = "GL_TEXTURE_MAX_LEVEL";
static const char __pyx_k_GL_UNPACK_ROW_LENGTH[] = "GL_UNPACK_ROW_LENGTH";
static const char __pyx_k_GL_UNSIGNED_INT_24_8[] = "GL_UNSIGNED_INT_24_8";
static const char __pyx_k_GL_UNSIGNED_INT_VEC2[] = "GL_UNSIGNED_INT_VEC2";
static const char __pyx_k_GL_UNSIGNED_INT_VEC3[] = "GL_UNSIGNED_INT_VEC3";
static const char __pyx_k_GL_UNSIGNED_INT_VEC4[] = "GL_UNSIGNED_INT_VEC4";
static const char __pyx_k_glBindAttribLocation[] = "glBindAttribLocation";
static const char __pyx_k_glDeleteFramebuffers[] = "glDeleteFramebuffers";
static const char __pyx_k_glDeleteVertexArrays[] = "glDeleteVertexArrays";
static const char __pyx_k_glGetAttachedShaders[] = "glGetAttachedShaders";
static const char __pyx_k_glGetUniformLocation[] = "glGetUniformLocation";
static const char __pyx_k_glGetVertexAttribIiv[] = "glGetVertexAttribIiv";
static const char __pyx_k_glUniformMatrix2x3fv[] = "glUniformMatrix2x3fv";
static const char __pyx_k_glUniformMatrix2x4fv[] = "glUniformMatrix2x4fv";
static const char __pyx_k_glUniformMatrix3x2fv[] = "glUniformMatrix3x2fv";
static const char __pyx_k_glUniformMatrix3x4fv[] = "glUniformMatrix3x4fv";
static const char __pyx_k_glUniformMatrix4x2fv[] = "glUniformMatrix4x2fv";
static const char __pyx_k_glUniformMatrix4x3fv[] = "glUniformMatrix4x3fv";
static const char __pyx_k_GL_BLEND_EQUATION_RGB[] = "GL_BLEND_EQUATION_RGB";
static const char __pyx_k_GL_BUFFER_MAP_POINTER[] = "GL_BUFFER_MAP_POINTER";
static const char __pyx_k_GL_COLOR_ATTACHMENT10[] = "GL_COLOR_ATTACHMENT10";
static const char __pyx_k_GL_COLOR_ATTACHMENT11[] = "GL_COLOR_ATTACHMENT11";
static const char __pyx_k_GL_COLOR_ATTACHMENT12[] = "GL_COLOR_ATTACHMENT12";
static const char __pyx_k_GL_COLOR_ATTACHMENT13[] = "GL_COLOR_ATTACHMENT13";
static const char __pyx_k_GL_COLOR_ATTACHMENT14[] = "GL_COLOR_ATTACHMENT14";
static const char __pyx_k_GL_COLOR_ATTACHMENT15[] = "GL_COLOR_ATTACHMENT15";
static const char __pyx_k_GL_COLOR_ATTACHMENT16[] = "GL_COLOR_ATTACHMENT16";
static const char __pyx_k_GL_COLOR_ATTACHMENT17[] = "GL_COLOR_ATTACHMENT17";
static const char __pyx_k_GL_COLOR_ATTACHMENT18[] = "GL_COLOR_ATTACHMENT18";
static const char __pyx_k_GL_COLOR_ATTACHMENT19[] = "GL_COLOR_ATTACHMENT19";
static const char __pyx_k_GL_COLOR_ATTACHMENT20[] = "GL_COLOR_ATTACHMENT20";
static const char __pyx_k_GL_COLOR_ATTACHMENT21[] = "GL_COLOR_ATTACHMENT21";
static const char __pyx_k_GL_COLOR_ATTACHMENT22[] = "GL_COLOR_ATTACHMENT22";
static const char __pyx_k_GL_COLOR_ATTACHMENT23[] = "GL_COLOR_ATTACHMENT23";
static const char __pyx_k_GL_COLOR_ATTACHMENT24[] = "GL_COLOR_ATTACHMENT24";
static const char __pyx_k_GL_COLOR_ATTACHMENT25[] = "GL_COLOR_ATTACHMENT25";
static const char __pyx_k_GL_COLOR_ATTACHMENT26[] = "GL_COLOR_ATTACHMENT26";
static const char __pyx_k_GL_COLOR_ATTACHMENT27[] = "GL_COLOR_ATTACHMENT27";
static const char __pyx_k_GL_COLOR_ATTACHMENT28[] = "GL_COLOR_ATTACHMENT28";
static const char __pyx_k_GL_COLOR_ATTACHMENT29[] = "GL_COLOR_ATTACHMENT29";
static const char __pyx_k_GL_COLOR_ATTACHMENT30[] = "GL_COLOR_ATTACHMENT30";
static const char __pyx_k_GL_COLOR_ATTACHMENT31[] = "GL_COLOR_ATTACHMENT31";
static const char __pyx_k_GL_DEPTH_COMPONENT32F[] = "GL_DEPTH_COMPONENT32F";
static const char __pyx_k_GL_MAX_VERTEX_ATTRIBS[] = "GL_MAX_VERTEX_ATTRIBS";
static const char __pyx_k_GL_RASTERIZER_DISCARD[] = "GL_RASTERIZER_DISCARD";
static const char __pyx_k_GL_RENDERBUFFER_WIDTH[] = "GL_RENDERBUFFER_WIDTH";
static const char __pyx_k_GL_SRC_ALPHA_SATURATE[] = "GL_SRC_ALPHA_SATURATE";
static const char __pyx_k_GL_STENCIL_ATTACHMENT[] = "GL_STENCIL_ATTACHMENT";
static const char __pyx_k_GL_STENCIL_BUFFER_BIT[] = "GL_STENCIL_BUFFER_BIT";
static const char __pyx_k_GL_STENCIL_VALUE_MASK[] = "GL_STENCIL_VALUE_MASK";
static const char __pyx_k_GL_TEXTURE_BASE_LEVEL[] = "GL_TEXTURE_BASE_LEVEL";
static const char __pyx_k_GL_TEXTURE_BINDING_2D[] = "GL_TEXTURE_BINDING_2D";
static const char __pyx_k_GL_TEXTURE_BINDING_3D[] = "GL_TEXTURE_BINDING_3D";
static const char __pyx_k_GL_TEXTURE_MAG_FILTER[] = "GL_TEXTURE_MAG_FILTER";
static const char __pyx_k_GL_TEXTURE_MIN_FILTER[] = "GL_TEXTURE_MIN_FILTER";
static const char __pyx_k_GL_UNPACK_SKIP_IMAGES[] = "GL_UNPACK_SKIP_IMAGES";
static const char __pyx_k_GL_UNPACK_SKIP_PIXELS[] = "GL_UNPACK_SKIP_PIXELS";
static const char __pyx_k_glDeleteRenderbuffers[] = "glDeleteRenderbuffers";
static const char __pyx_k_glGetFragDataLocation[] = "glGetFragDataLocation";
static const char __pyx_k_glGetVertexAttribIuiv[] = "glGetVertexAttribIuiv";
static const char __pyx_k_glRenderbufferStorage[] = "glRenderbufferStorage";
static const char __pyx_k_glStencilFuncSeparate[] = "glStencilFuncSeparate";
static const char __pyx_k_glStencilMaskSeparate[] = "glStencilMaskSeparate";
static const char __pyx_k_glVertexAttribPointer[] = "glVertexAttribPointer";
static const char __pyx_k_GL_BUFFER_ACCESS_FLAGS[] = "GL_BUFFER_ACCESS_FLAGS";
static const char __pyx_k_GL_FRAMEBUFFER_BINDING[] = "GL_FRAMEBUFFER_BINDING";
static const char __pyx_k_GL_FRAMEBUFFER_DEFAULT[] = "GL_FRAMEBUFFER_DEFAULT";
static const char __pyx_k_GL_INTERLEAVED_ATTRIBS[] = "GL_INTERLEAVED_ATTRIBS";
static const char __pyx_k_GL_MAX_3D_TEXTURE_SIZE[] = "GL_MAX_3D_TEXTURE_SIZE";
static const char __pyx_k_GL_ONE_MINUS_DST_ALPHA[] = "GL_ONE_MINUS_DST_ALPHA";
static const char __pyx_k_GL_ONE_MINUS_DST_COLOR[] = "GL_ONE_MINUS_DST_COLOR";
static const char __pyx_k_GL_ONE_MINUS_SRC_ALPHA[] = "GL_ONE_MINUS_SRC_ALPHA";
static const char __pyx_k_GL_ONE_MINUS_SRC_COLOR[] = "GL_ONE_MINUS_SRC_COLOR";
static const char __pyx_k_GL_PIXEL_UNPACK_BUFFER[] = "GL_PIXEL_UNPACK_BUFFER";
static const char __pyx_k_GL_POLYGON_OFFSET_FILL[] = "GL_POLYGON_OFFSET_FILL";
static const char __pyx_k_GL_RENDERBUFFER_HEIGHT[] = "GL_RENDERBUFFER_HEIGHT";
static const char __pyx_k_GL_SAMPLER_CUBE_SHADOW[] = "GL_SAMPLER_CUBE_SHADOW";
static const char __pyx_k_GL_STENCIL_CLEAR_VALUE[] = "GL_STENCIL_CLEAR_VALUE";
static const char __pyx_k_GL_UNPACK_IMAGE_HEIGHT[] = "GL_UNPACK_IMAGE_HEIGHT";
static const char __pyx_k_GL_UNSIGNED_NORMALIZED[] = "GL_UNSIGNED_NORMALIZED";
static const char __pyx_k_glCompressedTexImage2D[] = "glCompressedTexImage2D";
static const char __pyx_k_glCompressedTexImage3D[] = "glCompressedTexImage3D";
static const char __pyx_k_glEndTransformFeedback[] = "glEndTransformFeedback";
static const char __pyx_k_glFramebufferTexture2D[] = "glFramebufferTexture2D";
static const char __pyx_k_glGetBufferParameteriv[] = "glGetBufferParameteriv";
static const char __pyx_k_glVertexAttribIPointer[] = "glVertexAttribIPointer";
static const char __pyx_k_GL_ARRAY_BUFFER_BINDING[] = "GL_ARRAY_BUFFER_BINDING";
static const char __pyx_k_GL_BLEND_EQUATION_ALPHA[] = "GL_BLEND_EQUATION_ALPHA";
static const char __pyx_k_GL_ELEMENT_ARRAY_BUFFER[] = "GL_ELEMENT_ARRAY_BUFFER";
static const char __pyx_k_GL_FRAMEBUFFER_COMPLETE[] = "GL_FRAMEBUFFER_COMPLETE";
static const char __pyx_k_GL_GENERATE_MIPMAP_HINT[] = "GL_GENERATE_MIPMAP_HINT";
static const char __pyx_k_GL_INT_SAMPLER_2D_ARRAY[] = "GL_INT_SAMPLER_2D_ARRAY";
static const char __pyx_k_GL_LINEAR_MIPMAP_LINEAR[] = "GL_LINEAR_MIPMAP_LINEAR";
static const char __pyx_k_GL_MAX_ELEMENTS_INDICES[] = "GL_MAX_ELEMENTS_INDICES";
static const char __pyx_k_GL_MAX_TEXTURE_LOD_BIAS[] = "GL_MAX_TEXTURE_LOD_BIAS";
static const char __pyx_k_GL_POLYGON_OFFSET_UNITS[] = "GL_POLYGON_OFFSET_UNITS";
static const char __pyx_k_GL_RENDERBUFFER_BINDING[] = "GL_RENDERBUFFER_BINDING";
static const char __pyx_k_GL_RENDERBUFFER_SAMPLES[] = "GL_RENDERBUFFER_SAMPLES";
static const char __pyx_k_GL_SHADER_SOURCE_LENGTH[] = "GL_SHADER_SOURCE_LENGTH";
static const char __pyx_k_GL_TEXTURE_COMPARE_FUNC[] = "GL_TEXTURE_COMPARE_FUNC";
static const char __pyx_k_GL_TEXTURE_COMPARE_MODE[] = "GL_TEXTURE_COMPARE_MODE";
static const char __pyx_k_GL_UNSIGNED_SHORT_5_6_5[] = "GL_UNSIGNED_SHORT_5_6_5";
static const char __pyx_k_GL_VERTEX_ARRAY_BINDING[] = "GL_VERTEX_ARRAY_BINDING";
static const char __pyx_k_glBlendEquationSeparate[] = "glBlendEquationSeparate";
static const char __pyx_k_GL_CURRENT_VERTEX_ATTRIB[] = "GL_CURRENT_VERTEX_ATTRIB";
static const char __pyx_k_GL_FRAMEBUFFER_UNDEFINED[] = "GL_FRAMEBUFFER_UNDEFINED";
static const char __pyx_k_GL_FUNC_REVERSE_SUBTRACT[] = "GL_FUNC_REVERSE_SUBTRACT";
static const char __pyx_k_GL_LINEAR_MIPMAP_NEAREST[] = "GL_LINEAR_MIPMAP_NEAREST";
static const char __pyx_k_GL_MAX_COLOR_ATTACHMENTS[] = "GL_MAX_COLOR_ATTACHMENTS";
static const char __pyx_k_GL_MAX_ELEMENTS_VERTICES[] = "GL_MAX_ELEMENTS_VERTICES";
static const char __pyx_k_GL_MAX_RENDERBUFFER_SIZE[] = "GL_MAX_RENDERBUFFER_SIZE";
static const char __pyx_k_GL_NEAREST_MIPMAP_LINEAR[] = "GL_NEAREST_MIPMAP_LINEAR";
static const char __pyx_k_GL_POLYGON_OFFSET_FACTOR[] = "GL_POLYGON_OFFSET_FACTOR";
static const char __pyx_k_GL_RENDERBUFFER_RED_SIZE[] = "GL_RENDERBUFFER_RED_SIZE";
static const char __pyx_k_GL_SAMPLE_COVERAGE_VALUE[] = "GL_SAMPLE_COVERAGE_VALUE";
static const char __pyx_k_glBeginTransformFeedback[] = "glBeginTransformFeedback";
static const char __pyx_k_glCheckFramebufferStatus[] = "glCheckFramebufferStatus";
static const char __pyx_k_glFlushMappedBufferRange[] = "glFlushMappedBufferRange";
static const char __pyx_k_GL_COMPARE_REF_TO_TEXTURE[] = "GL_COMPARE_REF_TO_TEXTURE";
static const char __pyx_k_GL_MAP_FLUSH_EXPLICIT_BIT[] = "GL_MAP_FLUSH_EXPLICIT_BIT";
static const char __pyx_k_GL_MAP_UNSYNCHRONIZED_BIT[] = "GL_MAP_UNSYNCHRONIZED_BIT";
static const char __pyx_k_GL_MAX_VARYING_COMPONENTS[] = "GL_MAX_VARYING_COMPONENTS";
static const char __pyx_k_GL_NEAREST_MIPMAP_NEAREST[] = "GL_NEAREST_MIPMAP_NEAREST";
static const char __pyx_k_GL_QUERY_RESULT_AVAILABLE[] = "GL_QUERY_RESULT_AVAILABLE";
static const char __pyx_k_GL_RENDERBUFFER_BLUE_SIZE[] = "GL_RENDERBUFFER_BLUE_SIZE";
static const char __pyx_k_GL_SAMPLE_COVERAGE_INVERT[] = "GL_SAMPLE_COVERAGE_INVERT";
static const char __pyx_k_GL_STENCIL_BACK_WRITEMASK[] = "GL_STENCIL_BACK_WRITEMASK";
static const char __pyx_k_GL_UNSIGNED_SHORT_4_4_4_4[] = "GL_UNSIGNED_SHORT_4_4_4_4";
static const char __pyx_k_GL_UNSIGNED_SHORT_5_5_5_1[] = "GL_UNSIGNED_SHORT_5_5_5_1";
static const char __pyx_k_glCompressedTexSubImage2D[] = "glCompressedTexSubImage2D";
static const char __pyx_k_glCompressedTexSubImage3D[] = "glCompressedTexSubImage3D";
static const char __pyx_k_glEnableVertexAttribArray[] = "glEnableVertexAttribArray";
static const char __pyx_k_glFramebufferRenderbuffer[] = "glFramebufferRenderbuffer";
static const char __pyx_k_glFramebufferTextureLayer[] = "glFramebufferTextureLayer";
static const char __pyx_k_glGetVertexAttribPointerv[] = "glGetVertexAttribPointerv";
static const char __pyx_k_GL_FRAMEBUFFER_UNSUPPORTED[] = "GL_FRAMEBUFFER_UNSUPPORTED";
static const char __pyx_k_GL_MAX_TEXTURE_IMAGE_UNITS[] = "GL_MAX_TEXTURE_IMAGE_UNITS";
static const char __pyx_k_GL_RENDERBUFFER_ALPHA_SIZE[] = "GL_RENDERBUFFER_ALPHA_SIZE";
static const char __pyx_k_GL_RENDERBUFFER_DEPTH_SIZE[] = "GL_RENDERBUFFER_DEPTH_SIZE";
static const char __pyx_k_GL_RENDERBUFFER_GREEN_SIZE[] = "GL_RENDERBUFFER_GREEN_SIZE";
static const char __pyx_k_GL_SAMPLER_2D_ARRAY_SHADOW[] = "GL_SAMPLER_2D_ARRAY_SHADOW";
static const char __pyx_k_GL_STENCIL_BACK_VALUE_MASK[] = "GL_STENCIL_BACK_VALUE_MASK";
static const char __pyx_k_GL_STENCIL_PASS_DEPTH_FAIL[] = "GL_STENCIL_PASS_DEPTH_FAIL";
static const char __pyx_k_GL_STENCIL_PASS_DEPTH_PASS[] = "GL_STENCIL_PASS_DEPTH_PASS";
static const char __pyx_k_GL_UNSIGNED_INT_SAMPLER_2D[] = "GL_UNSIGNED_INT_SAMPLER_2D";
static const char __pyx_k_GL_UNSIGNED_INT_SAMPLER_3D[] = "GL_UNSIGNED_INT_SAMPLER_3D";
static const char __pyx_k_glDisableVertexAttribArray[] = "glDisableVertexAttribArray";
static const char __pyx_k_GL_ALIASED_LINE_WIDTH_RANGE[] = "GL_ALIASED_LINE_WIDTH_RANGE";
static const char __pyx_k_GL_ALIASED_POINT_SIZE_RANGE[] = "GL_ALIASED_POINT_SIZE_RANGE";
static const char __pyx_k_GL_DEPTH_STENCIL_ATTACHMENT[] = "GL_DEPTH_STENCIL_ATTACHMENT";
static const char __pyx_k_GL_DRAW_FRAMEBUFFER_BINDING[] = "GL_DRAW_FRAMEBUFFER_BINDING";
static const char __pyx_k_GL_MAP_INVALIDATE_RANGE_BIT[] = "GL_MAP_INVALIDATE_RANGE_BIT";
static const char __pyx_k_GL_MAX_ARRAY_TEXTURE_LAYERS[] = "GL_MAX_ARRAY_TEXTURE_LAYERS";
static const char __pyx_k_GL_MAX_PROGRAM_TEXEL_OFFSET[] = "GL_MAX_PROGRAM_TEXEL_OFFSET";
static const char __pyx_k_GL_MIN_PROGRAM_TEXEL_OFFSET[] = "GL_MIN_PROGRAM_TEXEL_OFFSET";
static const char __pyx_k_GL_ONE_MINUS_CONSTANT_ALPHA[] = "GL_ONE_MINUS_CONSTANT_ALPHA";
static const char __pyx_k_GL_ONE_MINUS_CONSTANT_COLOR[] = "GL_ONE_MINUS_CONSTANT_COLOR";
static const char __pyx_k_GL_READ_FRAMEBUFFER_BINDING[] = "GL_READ_FRAMEBUFFER_BINDING";
static const char __pyx_k_GL_SAMPLE_ALPHA_TO_COVERAGE[] = "GL_SAMPLE_ALPHA_TO_COVERAGE";
static const char __pyx_k_GL_SHADING_LANGUAGE_VERSION[] = "GL_SHADING_LANGUAGE_VERSION";
static const char __pyx_k_GL_TEXTURE_BINDING_2D_ARRAY[] = "GL_TEXTURE_BINDING_2D_ARRAY";
static const char __pyx_k_GL_TEXTURE_BINDING_CUBE_MAP[] = "GL_TEXTURE_BINDING_CUBE_MAP";
static const char __pyx_k_GL_UNSIGNED_INT_5_9_9_9_REV[] = "GL_UNSIGNED_INT_5_9_9_9_REV";
static const char __pyx_k_GL_VERTEX_ATTRIB_ARRAY_SIZE[] = "GL_VERTEX_ATTRIB_ARRAY_SIZE";
static const char __pyx_k_GL_VERTEX_ATTRIB_ARRAY_TYPE[] = "GL_VERTEX_ATTRIB_ARRAY_TYPE";
static const char __pyx_k_glTransformFeedbackVaryings[] = "glTransformFeedbackVaryings";
static const char __pyx_k_GL_ACTIVE_UNIFORM_MAX_LENGTH[] = "GL_ACTIVE_UNIFORM_MAX_LENGTH";
static const char __pyx_k_GL_MAP_INVALIDATE_BUFFER_BIT[] = "GL_MAP_INVALIDATE_BUFFER_BIT";
static const char __pyx_k_GL_MAX_CUBE_MAP_TEXTURE_SIZE[] = "GL_MAX_CUBE_MAP_TEXTURE_SIZE";
static const char __pyx_k_GL_PIXEL_PACK_BUFFER_BINDING[] = "GL_PIXEL_PACK_BUFFER_BINDING";
static const char __pyx_k_GL_RENDERBUFFER_STENCIL_SIZE[] = "GL_RENDERBUFFER_STENCIL_SIZE";
static const char __pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER[] = "GL_TRANSFORM_FEEDBACK_BUFFER";
static const char __pyx_k_GL_UNSIGNED_INT_SAMPLER_CUBE[] = "GL_UNSIGNED_INT_SAMPLER_CUBE";
static const char __pyx_k_glGetRenderbufferParameteriv[] = "glGetRenderbufferParameteriv";
static const char __pyx_k_GL_COMPRESSED_TEXTURE_FORMATS[] = "GL_COMPRESSED_TEXTURE_FORMATS";
static const char __pyx_k_GL_VERTEX_ATTRIB_ARRAY_STRIDE[] = "GL_VERTEX_ATTRIB_ARRAY_STRIDE";
static const char __pyx_k_glGetTransformFeedbackVarying[] = "glGetTransformFeedbackVarying";
static const char __pyx_k_GL_ACTIVE_ATTRIBUTE_MAX_LENGTH[] = "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH";
static const char __pyx_k_GL_PIXEL_UNPACK_BUFFER_BINDING[] = "GL_PIXEL_UNPACK_BUFFER_BINDING";
static const char __pyx_k_GL_TEXTURE_CUBE_MAP_NEGATIVE_X[] = "GL_TEXTURE_CUBE_MAP_NEGATIVE_X";
static const char __pyx_k_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y[] = "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y";
static const char __pyx_k_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z[] = "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z";
static const char __pyx_k_GL_TEXTURE_CUBE_MAP_POSITIVE_X[] = "GL_TEXTURE_CUBE_MAP_POSITIVE_X";
static const char __pyx_k_GL_TEXTURE_CUBE_MAP_POSITIVE_Y[] = "GL_TEXTURE_CUBE_MAP_POSITIVE_Y";
static const char __pyx_k_GL_TEXTURE_CUBE_MAP_POSITIVE_Z[] = "GL_TEXTURE_CUBE_MAP_POSITIVE_Z";
static const char __pyx_k_GL_TRANSFORM_FEEDBACK_VARYINGS[] = "GL_TRANSFORM_FEEDBACK_VARYINGS";
static const char __pyx_k_GL_UNSIGNED_INT_2_10_10_10_REV[] = "GL_UNSIGNED_INT_2_10_10_10_REV";
static const char __pyx_k_GL_VERTEX_ATTRIB_ARRAY_ENABLED[] = "GL_VERTEX_ATTRIB_ARRAY_ENABLED";
static const char __pyx_k_GL_VERTEX_ATTRIB_ARRAY_INTEGER[] = "GL_VERTEX_ATTRIB_ARRAY_INTEGER";
static const char __pyx_k_GL_VERTEX_ATTRIB_ARRAY_POINTER[] = "GL_VERTEX_ATTRIB_ARRAY_POINTER";
static const char __pyx_k_GL_ELEMENT_ARRAY_BUFFER_BINDING[] = "GL_ELEMENT_ARRAY_BUFFER_BINDING";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_ALPHA[] = "GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_COLOR[] = "GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_DEPTH[] = "GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_GREEN[] = "GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE";
static const char __pyx_k_GL_RENDERBUFFER_INTERNAL_FORMAT[] = "GL_RENDERBUFFER_INTERNAL_FORMAT";
static const char __pyx_k_GL_STENCIL_BACK_PASS_DEPTH_FAIL[] = "GL_STENCIL_BACK_PASS_DEPTH_FAIL";
static const char __pyx_k_GL_STENCIL_BACK_PASS_DEPTH_PASS[] = "GL_STENCIL_BACK_PASS_DEPTH_PASS";
static const char __pyx_k_GL_UNSIGNED_INT_10F_11F_11F_REV[] = "GL_UNSIGNED_INT_10F_11F_11F_REV";
static const char __pyx_k_home_tom_ab_renpy_renpy_uguu_ug[] = "/home/tom/ab/renpy/renpy/uguu/uguu.pyx";
static const char __pyx_k_GL_FLOAT_32_UNSIGNED_INT_24_8_RE[] = "GL_FLOAT_32_UNSIGNED_INT_24_8_REV";
static const char __pyx_k_GL_FRAGMENT_SHADER_DERIVATIVE_HI[] = "GL_FRAGMENT_SHADER_DERIVATIVE_HINT";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_BLUE_S[] = "GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_COMPON[] = "GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_OBJECT[] = "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_RED_SI[] = "GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_STENCI[] = "GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR[] = "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL";
static const char __pyx_k_GL_FRAMEBUFFER_INCOMPLETE_ATTACH[] = "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT";
static const char __pyx_k_GL_FRAMEBUFFER_INCOMPLETE_MISSIN[] = "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT";
static const char __pyx_k_GL_FRAMEBUFFER_INCOMPLETE_MULTIS[] = "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE";
static const char __pyx_k_GL_INVALID_FRAMEBUFFER_OPERATION[] = "GL_INVALID_FRAMEBUFFER_OPERATION";
static const char __pyx_k_GL_MAX_COMBINED_TEXTURE_IMAGE_UN[] = "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS";
static const char __pyx_k_GL_MAX_FRAGMENT_UNIFORM_COMPONEN[] = "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS";
static const char __pyx_k_GL_MAX_TRANSFORM_FEEDBACK_INTERL[] = "GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS";
static const char __pyx_k_GL_MAX_TRANSFORM_FEEDBACK_SEPARA[] = "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS";
static const char __pyx_k_GL_MAX_VERTEX_TEXTURE_IMAGE_UNIT[] = "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS";
static const char __pyx_k_GL_MAX_VERTEX_UNIFORM_COMPONENTS[] = "GL_MAX_VERTEX_UNIFORM_COMPONENTS";
static const char __pyx_k_GL_NUM_COMPRESSED_TEXTURE_FORMAT[] = "GL_NUM_COMPRESSED_TEXTURE_FORMATS";
static const char __pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER_BIN[] = "GL_TRANSFORM_FEEDBACK_BUFFER_BINDING";
static const char __pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER_MOD[] = "GL_TRANSFORM_FEEDBACK_BUFFER_MODE";
static const char __pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER_SIZ[] = "GL_TRANSFORM_FEEDBACK_BUFFER_SIZE";
static const char __pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER_STA[] = "GL_TRANSFORM_FEEDBACK_BUFFER_START";
static const char __pyx_k_GL_TRANSFORM_FEEDBACK_PRIMITIVES[] = "GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN";
static const char __pyx_k_GL_TRANSFORM_FEEDBACK_VARYING_MA[] = "GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH";
static const char __pyx_k_GL_UNSIGNED_INT_SAMPLER_2D_ARRAY[] = "GL_UNSIGNED_INT_SAMPLER_2D_ARRAY";
static const char __pyx_k_GL_VERTEX_ATTRIB_ARRAY_BUFFER_BI[] = "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING";
static const char __pyx_k_GL_VERTEX_ATTRIB_ARRAY_NORMALIZE[] = "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED";
static const char __pyx_k_glGetFramebufferAttachmentParame[] = "glGetFramebufferAttachmentParameteriv";
static const char __pyx_k_glRenderbufferStorageMultisample[] = "glRenderbufferStorageMultisample";
static const char __pyx_k_self_data_cannot_be_converted_to[] = "self.data cannot be converted to a Python object for pickling";
static const char __pyx_k_self_ptr_self_view_cannot_be_con[] = "self.ptr,self.view cannot be converted to a Python object for pickling";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_OBJECT_2[] = "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR_2[] = "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE";
static const char __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR_3[] = "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER";
static const char __pyx_k_GL_MAX_TRANSFORM_FEEDBACK_SEPARA_2[] = "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS";
static PyObject *__pyx_n_s_Buffer;
static PyObject *__pyx_n_s_BytesBuffer;
static PyObject *__pyx_n_s_BytesListBuffer;
static PyObject *__pyx_n_s_FloatBuffer;
static PyObject *__pyx_n_s_GL_ACTIVE_ATTRIBUTES;
static PyObject *__pyx_n_s_GL_ACTIVE_ATTRIBUTE_MAX_LENGTH;
static PyObject *__pyx_n_s_GL_ACTIVE_TEXTURE;
static PyObject *__pyx_n_s_GL_ACTIVE_UNIFORMS;
static PyObject *__pyx_n_s_GL_ACTIVE_UNIFORM_MAX_LENGTH;
static PyObject *__pyx_n_s_GL_ALIASED_LINE_WIDTH_RANGE;
static PyObject *__pyx_n_s_GL_ALIASED_POINT_SIZE_RANGE;
static PyObject *__pyx_n_s_GL_ALPHA;
static PyObject *__pyx_n_s_GL_ALPHA_BITS;
static PyObject *__pyx_n_s_GL_ALWAYS;
static PyObject *__pyx_n_s_GL_ARRAY_BUFFER;
static PyObject *__pyx_n_s_GL_ARRAY_BUFFER_BINDING;
static PyObject *__pyx_n_s_GL_ATTACHED_SHADERS;
static PyObject *__pyx_n_s_GL_BACK;
static PyObject *__pyx_n_s_GL_BLEND;
static PyObject *__pyx_n_s_GL_BLEND_COLOR;
static PyObject *__pyx_n_s_GL_BLEND_DST_ALPHA;
static PyObject *__pyx_n_s_GL_BLEND_DST_RGB;
static PyObject *__pyx_n_s_GL_BLEND_EQUATION;
static PyObject *__pyx_n_s_GL_BLEND_EQUATION_ALPHA;
static PyObject *__pyx_n_s_GL_BLEND_EQUATION_RGB;
static PyObject *__pyx_n_s_GL_BLEND_SRC_ALPHA;
static PyObject *__pyx_n_s_GL_BLEND_SRC_RGB;
static PyObject *__pyx_n_s_GL_BLUE;
static PyObject *__pyx_n_s_GL_BLUE_BITS;
static PyObject *__pyx_n_s_GL_BOOL;
static PyObject *__pyx_n_s_GL_BOOL_VEC2;
static PyObject *__pyx_n_s_GL_BOOL_VEC3;
static PyObject *__pyx_n_s_GL_BOOL_VEC4;
static PyObject *__pyx_n_s_GL_BUFFER_ACCESS_FLAGS;
static PyObject *__pyx_n_s_GL_BUFFER_MAPPED;
static PyObject *__pyx_n_s_GL_BUFFER_MAP_LENGTH;
static PyObject *__pyx_n_s_GL_BUFFER_MAP_OFFSET;
static PyObject *__pyx_n_s_GL_BUFFER_MAP_POINTER;
static PyObject *__pyx_n_s_GL_BUFFER_SIZE;
static PyObject *__pyx_n_s_GL_BUFFER_USAGE;
static PyObject *__pyx_n_s_GL_BYTE;
static PyObject *__pyx_n_s_GL_CCW;
static PyObject *__pyx_n_s_GL_CLAMP_TO_EDGE;
static PyObject *__pyx_n_s_GL_COLOR;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT0;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT1;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT10;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT11;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT12;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT13;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT14;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT15;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT16;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT17;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT18;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT19;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT2;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT20;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT21;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT22;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT23;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT24;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT25;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT26;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT27;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT28;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT29;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT3;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT30;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT31;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT4;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT5;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT6;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT7;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT8;
static PyObject *__pyx_n_s_GL_COLOR_ATTACHMENT9;
static PyObject *__pyx_n_s_GL_COLOR_BUFFER_BIT;
static PyObject *__pyx_n_s_GL_COLOR_CLEAR_VALUE;
static PyObject *__pyx_n_s_GL_COLOR_WRITEMASK;
static PyObject *__pyx_n_s_GL_COMPARE_REF_TO_TEXTURE;
static PyObject *__pyx_n_s_GL_COMPILE_STATUS;
static PyObject *__pyx_n_s_GL_COMPRESSED_TEXTURE_FORMATS;
static PyObject *__pyx_n_s_GL_CONSTANT_ALPHA;
static PyObject *__pyx_n_s_GL_CONSTANT_COLOR;
static PyObject *__pyx_n_s_GL_CULL_FACE;
static PyObject *__pyx_n_s_GL_CULL_FACE_MODE;
static PyObject *__pyx_n_s_GL_CURRENT_PROGRAM;
static PyObject *__pyx_n_s_GL_CURRENT_QUERY;
static PyObject *__pyx_n_s_GL_CURRENT_VERTEX_ATTRIB;
static PyObject *__pyx_n_s_GL_CW;
static PyObject *__pyx_n_s_GL_DECR;
static PyObject *__pyx_n_s_GL_DECR_WRAP;
static PyObject *__pyx_n_s_GL_DELETE_STATUS;
static PyObject *__pyx_n_s_GL_DEPTH;
static PyObject *__pyx_n_s_GL_DEPTH24_STENCIL8;
static PyObject *__pyx_n_s_GL_DEPTH32F_STENCIL8;
static PyObject *__pyx_n_s_GL_DEPTH_ATTACHMENT;
static PyObject *__pyx_n_s_GL_DEPTH_BITS;
static PyObject *__pyx_n_s_GL_DEPTH_BUFFER_BIT;
static PyObject *__pyx_n_s_GL_DEPTH_CLEAR_VALUE;
static PyObject *__pyx_n_s_GL_DEPTH_COMPONENT;
static PyObject *__pyx_n_s_GL_DEPTH_COMPONENT16;
static PyObject *__pyx_n_s_GL_DEPTH_COMPONENT24;
static PyObject *__pyx_n_s_GL_DEPTH_COMPONENT32F;
static PyObject *__pyx_n_s_GL_DEPTH_FUNC;
static PyObject *__pyx_n_s_GL_DEPTH_RANGE;
static PyObject *__pyx_n_s_GL_DEPTH_STENCIL;
static PyObject *__pyx_n_s_GL_DEPTH_STENCIL_ATTACHMENT;
static PyObject *__pyx_n_s_GL_DEPTH_TEST;
static PyObject *__pyx_n_s_GL_DEPTH_WRITEMASK;
static PyObject *__pyx_n_s_GL_DITHER;
static PyObject *__pyx_n_s_GL_DONT_CARE;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER0;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER1;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER10;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER11;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER12;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER13;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER14;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER15;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER2;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER3;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER4;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER5;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER6;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER7;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER8;
static PyObject *__pyx_n_s_GL_DRAW_BUFFER9;
static PyObject *__pyx_n_s_GL_DRAW_FRAMEBUFFER;
static PyObject *__pyx_n_s_GL_DRAW_FRAMEBUFFER_BINDING;
static PyObject *__pyx_n_s_GL_DST_ALPHA;
static PyObject *__pyx_n_s_GL_DST_COLOR;
static PyObject *__pyx_n_s_GL_DYNAMIC_COPY;
static PyObject *__pyx_n_s_GL_DYNAMIC_DRAW;
static PyObject *__pyx_n_s_GL_DYNAMIC_READ;
static PyObject *__pyx_n_s_GL_ELEMENT_ARRAY_BUFFER;
static PyObject *__pyx_n_s_GL_ELEMENT_ARRAY_BUFFER_BINDING;
static PyObject *__pyx_n_s_GL_EQUAL;
static PyObject *__pyx_n_s_GL_EXTENSIONS;
static PyObject *__pyx_n_s_GL_FALSE;
static PyObject *__pyx_n_s_GL_FASTEST;
static PyObject *__pyx_n_s_GL_FLOAT;
static PyObject *__pyx_n_s_GL_FLOAT_32_UNSIGNED_INT_24_8_RE;
static PyObject *__pyx_n_s_GL_FLOAT_MAT2;
static PyObject *__pyx_n_s_GL_FLOAT_MAT2x3;
static PyObject *__pyx_n_s_GL_FLOAT_MAT2x4;
static PyObject *__pyx_n_s_GL_FLOAT_MAT3;
static PyObject *__pyx_n_s_GL_FLOAT_MAT3x2;
static PyObject *__pyx_n_s_GL_FLOAT_MAT3x4;
static PyObject *__pyx_n_s_GL_FLOAT_MAT4;
static PyObject *__pyx_n_s_GL_FLOAT_MAT4x2;
static PyObject *__pyx_n_s_GL_FLOAT_MAT4x3;
static PyObject *__pyx_n_s_GL_FLOAT_VEC2;
static PyObject *__pyx_n_s_GL_FLOAT_VEC3;
static PyObject *__pyx_n_s_GL_FLOAT_VEC4;
static PyObject *__pyx_n_s_GL_FRAGMENT_SHADER;
static PyObject *__pyx_n_s_GL_FRAGMENT_SHADER_DERIVATIVE_HI;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_ALPHA;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_BLUE_S;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_COLOR;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_COMPON;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_DEPTH;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_GREEN;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_OBJECT;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_OBJECT_2;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_RED_SI;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_STENCI;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR_2;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR_3;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_BINDING;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_COMPLETE;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_DEFAULT;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_INCOMPLETE_ATTACH;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_INCOMPLETE_MISSIN;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_INCOMPLETE_MULTIS;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_UNDEFINED;
static PyObject *__pyx_n_s_GL_FRAMEBUFFER_UNSUPPORTED;
static PyObject *__pyx_n_s_GL_FRONT;
static PyObject *__pyx_n_s_GL_FRONT_AND_BACK;
static PyObject *__pyx_n_s_GL_FRONT_FACE;
static PyObject *__pyx_n_s_GL_FUNC_ADD;
static PyObject *__pyx_n_s_GL_FUNC_REVERSE_SUBTRACT;
static PyObject *__pyx_n_s_GL_FUNC_SUBTRACT;
static PyObject *__pyx_n_s_GL_GENERATE_MIPMAP_HINT;
static PyObject *__pyx_n_s_GL_GEQUAL;
static PyObject *__pyx_n_s_GL_GREATER;
static PyObject *__pyx_n_s_GL_GREEN;
static PyObject *__pyx_n_s_GL_GREEN_BITS;
static PyObject *__pyx_n_s_GL_HALF_FLOAT;
static PyObject *__pyx_n_s_GL_INCR;
static PyObject *__pyx_n_s_GL_INCR_WRAP;
static PyObject *__pyx_n_s_GL_INFO_LOG_LENGTH;
static PyObject *__pyx_n_s_GL_INT;
static PyObject *__pyx_n_s_GL_INTERLEAVED_ATTRIBS;
static PyObject *__pyx_n_s_GL_INT_SAMPLER_2D;
static PyObject *__pyx_n_s_GL_INT_SAMPLER_2D_ARRAY;
static PyObject *__pyx_n_s_GL_INT_SAMPLER_3D;
static PyObject *__pyx_n_s_GL_INT_SAMPLER_CUBE;
static PyObject *__pyx_n_s_GL_INT_VEC2;
static PyObject *__pyx_n_s_GL_INT_VEC3;
static PyObject *__pyx_n_s_GL_INT_VEC4;
static PyObject *__pyx_n_s_GL_INVALID_ENUM;
static PyObject *__pyx_n_s_GL_INVALID_FRAMEBUFFER_OPERATION;
static PyObject *__pyx_n_s_GL_INVALID_OPERATION;
static PyObject *__pyx_n_s_GL_INVALID_VALUE;
static PyObject *__pyx_n_s_GL_INVERT;
static PyObject *__pyx_n_s_GL_KEEP;
static PyObject *__pyx_n_s_GL_LEQUAL;
static PyObject *__pyx_n_s_GL_LESS;
static PyObject *__pyx_n_s_GL_LINEAR;
static PyObject *__pyx_n_s_GL_LINEAR_MIPMAP_LINEAR;
static PyObject *__pyx_n_s_GL_LINEAR_MIPMAP_NEAREST;
static PyObject *__pyx_n_s_GL_LINES;
static PyObject *__pyx_n_s_GL_LINE_LOOP;
static PyObject *__pyx_n_s_GL_LINE_STRIP;
static PyObject *__pyx_n_s_GL_LINE_WIDTH;
static PyObject *__pyx_n_s_GL_LINK_STATUS;
static PyObject *__pyx_n_s_GL_LUMINANCE;
static PyObject *__pyx_n_s_GL_LUMINANCE_ALPHA;
static PyObject *__pyx_n_s_GL_MAJOR_VERSION;
static PyObject *__pyx_n_s_GL_MAP_FLUSH_EXPLICIT_BIT;
static PyObject *__pyx_n_s_GL_MAP_INVALIDATE_BUFFER_BIT;
static PyObject *__pyx_n_s_GL_MAP_INVALIDATE_RANGE_BIT;
static PyObject *__pyx_n_s_GL_MAP_READ_BIT;
static PyObject *__pyx_n_s_GL_MAP_UNSYNCHRONIZED_BIT;
static PyObject *__pyx_n_s_GL_MAP_WRITE_BIT;
static PyObject *__pyx_n_s_GL_MAX;
static PyObject *__pyx_n_s_GL_MAX_3D_TEXTURE_SIZE;
static PyObject *__pyx_n_s_GL_MAX_ARRAY_TEXTURE_LAYERS;
static PyObject *__pyx_n_s_GL_MAX_COLOR_ATTACHMENTS;
static PyObject *__pyx_n_s_GL_MAX_COMBINED_TEXTURE_IMAGE_UN;
static PyObject *__pyx_n_s_GL_MAX_CUBE_MAP_TEXTURE_SIZE;
static PyObject *__pyx_n_s_GL_MAX_DRAW_BUFFERS;
static PyObject *__pyx_n_s_GL_MAX_ELEMENTS_INDICES;
static PyObject *__pyx_n_s_GL_MAX_ELEMENTS_VERTICES;
static PyObject *__pyx_n_s_GL_MAX_FRAGMENT_UNIFORM_COMPONEN;
static PyObject *__pyx_n_s_GL_MAX_PROGRAM_TEXEL_OFFSET;
static PyObject *__pyx_n_s_GL_MAX_RENDERBUFFER_SIZE;
static PyObject *__pyx_n_s_GL_MAX_SAMPLES;
static PyObject *__pyx_n_s_GL_MAX_TEXTURE_IMAGE_UNITS;
static PyObject *__pyx_n_s_GL_MAX_TEXTURE_LOD_BIAS;
static PyObject *__pyx_n_s_GL_MAX_TEXTURE_SIZE;
static PyObject *__pyx_n_s_GL_MAX_TRANSFORM_FEEDBACK_INTERL;
static PyObject *__pyx_n_s_GL_MAX_TRANSFORM_FEEDBACK_SEPARA;
static PyObject *__pyx_n_s_GL_MAX_TRANSFORM_FEEDBACK_SEPARA_2;
static PyObject *__pyx_n_s_GL_MAX_VARYING_COMPONENTS;
static PyObject *__pyx_n_s_GL_MAX_VERTEX_ATTRIBS;
static PyObject *__pyx_n_s_GL_MAX_VERTEX_TEXTURE_IMAGE_UNIT;
static PyObject *__pyx_n_s_GL_MAX_VERTEX_UNIFORM_COMPONENTS;
static PyObject *__pyx_n_s_GL_MAX_VIEWPORT_DIMS;
static PyObject *__pyx_n_s_GL_MIN;
static PyObject *__pyx_n_s_GL_MINOR_VERSION;
static PyObject *__pyx_n_s_GL_MIN_PROGRAM_TEXEL_OFFSET;
static PyObject *__pyx_n_s_GL_MIRRORED_REPEAT;
static PyObject *__pyx_n_s_GL_NEAREST;
static PyObject *__pyx_n_s_GL_NEAREST_MIPMAP_LINEAR;
static PyObject *__pyx_n_s_GL_NEAREST_MIPMAP_NEAREST;
static PyObject *__pyx_n_s_GL_NEVER;
static PyObject *__pyx_n_s_GL_NICEST;
static PyObject *__pyx_n_s_GL_NONE;
static PyObject *__pyx_n_s_GL_NOTEQUAL;
static PyObject *__pyx_n_s_GL_NO_ERROR;
static PyObject *__pyx_n_s_GL_NUM_COMPRESSED_TEXTURE_FORMAT;
static PyObject *__pyx_n_s_GL_NUM_EXTENSIONS;
static PyObject *__pyx_n_s_GL_ONE;
static PyObject *__pyx_n_s_GL_ONE_MINUS_CONSTANT_ALPHA;
static PyObject *__pyx_n_s_GL_ONE_MINUS_CONSTANT_COLOR;
static PyObject *__pyx_n_s_GL_ONE_MINUS_DST_ALPHA;
static PyObject *__pyx_n_s_GL_ONE_MINUS_DST_COLOR;
static PyObject *__pyx_n_s_GL_ONE_MINUS_SRC_ALPHA;
static PyObject *__pyx_n_s_GL_ONE_MINUS_SRC_COLOR;
static PyObject *__pyx_n_s_GL_OUT_OF_MEMORY;
static PyObject *__pyx_n_s_GL_PACK_ALIGNMENT;
static PyObject *__pyx_n_s_GL_PACK_ROW_LENGTH;
static PyObject *__pyx_n_s_GL_PACK_SKIP_PIXELS;
static PyObject *__pyx_n_s_GL_PACK_SKIP_ROWS;
static PyObject *__pyx_n_s_GL_PIXEL_PACK_BUFFER;
static PyObject *__pyx_n_s_GL_PIXEL_PACK_BUFFER_BINDING;
static PyObject *__pyx_n_s_GL_PIXEL_UNPACK_BUFFER;
static PyObject *__pyx_n_s_GL_PIXEL_UNPACK_BUFFER_BINDING;
static PyObject *__pyx_n_s_GL_POINTS;
static PyObject *__pyx_n_s_GL_POLYGON_OFFSET_FACTOR;
static PyObject *__pyx_n_s_GL_POLYGON_OFFSET_FILL;
static PyObject *__pyx_n_s_GL_POLYGON_OFFSET_UNITS;
static PyObject *__pyx_n_s_GL_QUERY_RESULT;
static PyObject *__pyx_n_s_GL_QUERY_RESULT_AVAILABLE;
static PyObject *__pyx_n_s_GL_R11F_G11F_B10F;
static PyObject *__pyx_n_s_GL_R16F;
static PyObject *__pyx_n_s_GL_R16I;
static PyObject *__pyx_n_s_GL_R16UI;
static PyObject *__pyx_n_s_GL_R32F;
static PyObject *__pyx_n_s_GL_R32I;
static PyObject *__pyx_n_s_GL_R32UI;
static PyObject *__pyx_n_s_GL_R8;
static PyObject *__pyx_n_s_GL_R8I;
static PyObject *__pyx_n_s_GL_R8UI;
static PyObject *__pyx_n_s_GL_RASTERIZER_DISCARD;
static PyObject *__pyx_n_s_GL_READ_BUFFER;
static PyObject *__pyx_n_s_GL_READ_FRAMEBUFFER;
static PyObject *__pyx_n_s_GL_READ_FRAMEBUFFER_BINDING;
static PyObject *__pyx_n_s_GL_RED;
static PyObject *__pyx_n_s_GL_RED_BITS;
static PyObject *__pyx_n_s_GL_RED_INTEGER;
static PyObject *__pyx_n_s_GL_RENDERBUFFER;
static PyObject *__pyx_n_s_GL_RENDERBUFFER_ALPHA_SIZE;
static PyObject *__pyx_n_s_GL_RENDERBUFFER_BINDING;
static PyObject *__pyx_n_s_GL_RENDERBUFFER_BLUE_SIZE;
static PyObject *__pyx_n_s_GL_RENDERBUFFER_DEPTH_SIZE;
static PyObject *__pyx_n_s_GL_RENDERBUFFER_GREEN_SIZE;
static PyObject *__pyx_n_s_GL_RENDERBUFFER_HEIGHT;
static PyObject *__pyx_n_s_GL_RENDERBUFFER_INTERNAL_FORMAT;
static PyObject *__pyx_n_s_GL_RENDERBUFFER_RED_SIZE;
static PyObject *__pyx_n_s_GL_RENDERBUFFER_SAMPLES;
static PyObject *__pyx_n_s_GL_RENDERBUFFER_STENCIL_SIZE;
static PyObject *__pyx_n_s_GL_RENDERBUFFER_WIDTH;
static PyObject *__pyx_n_s_GL_RENDERER;
static PyObject *__pyx_n_s_GL_REPEAT;
static PyObject *__pyx_n_s_GL_REPLACE;
static PyObject *__pyx_n_s_GL_RG;
static PyObject *__pyx_n_s_GL_RG16F;
static PyObject *__pyx_n_s_GL_RG16I;
static PyObject *__pyx_n_s_GL_RG16UI;
static PyObject *__pyx_n_s_GL_RG32F;
static PyObject *__pyx_n_s_GL_RG32I;
static PyObject *__pyx_n_s_GL_RG32UI;
static PyObject *__pyx_n_s_GL_RG8;
static PyObject *__pyx_n_s_GL_RG8I;
static PyObject *__pyx_n_s_GL_RG8UI;
static PyObject *__pyx_n_s_GL_RGB;
static PyObject *__pyx_n_s_GL_RGB10_A2;
static PyObject *__pyx_n_s_GL_RGB16F;
static PyObject *__pyx_n_s_GL_RGB16I;
static PyObject *__pyx_n_s_GL_RGB16UI;
static PyObject *__pyx_n_s_GL_RGB32F;
static PyObject *__pyx_n_s_GL_RGB32I;
static PyObject *__pyx_n_s_GL_RGB32UI;
static PyObject *__pyx_n_s_GL_RGB5_A1;
static PyObject *__pyx_n_s_GL_RGB8;
static PyObject *__pyx_n_s_GL_RGB8I;
static PyObject *__pyx_n_s_GL_RGB8UI;
static PyObject *__pyx_n_s_GL_RGB9_E5;
static PyObject *__pyx_n_s_GL_RGBA;
static PyObject *__pyx_n_s_GL_RGBA16F;
static PyObject *__pyx_n_s_GL_RGBA16I;
static PyObject *__pyx_n_s_GL_RGBA16UI;
static PyObject *__pyx_n_s_GL_RGBA32F;
static PyObject *__pyx_n_s_GL_RGBA32I;
static PyObject *__pyx_n_s_GL_RGBA32UI;
static PyObject *__pyx_n_s_GL_RGBA4;
static PyObject *__pyx_n_s_GL_RGBA8;
static PyObject *__pyx_n_s_GL_RGBA8I;
static PyObject *__pyx_n_s_GL_RGBA8UI;
static PyObject *__pyx_n_s_GL_RGBA_INTEGER;
static PyObject *__pyx_n_s_GL_RGB_INTEGER;
static PyObject *__pyx_n_s_GL_RG_INTEGER;
static PyObject *__pyx_n_s_GL_SAMPLER_2D;
static PyObject *__pyx_n_s_GL_SAMPLER_2D_ARRAY;
static PyObject *__pyx_n_s_GL_SAMPLER_2D_ARRAY_SHADOW;
static PyObject *__pyx_n_s_GL_SAMPLER_2D_SHADOW;
static PyObject *__pyx_n_s_GL_SAMPLER_3D;
static PyObject *__pyx_n_s_GL_SAMPLER_CUBE;
static PyObject *__pyx_n_s_GL_SAMPLER_CUBE_SHADOW;
static PyObject *__pyx_n_s_GL_SAMPLES;
static PyObject *__pyx_n_s_GL_SAMPLE_ALPHA_TO_COVERAGE;
static PyObject *__pyx_n_s_GL_SAMPLE_BUFFERS;
static PyObject *__pyx_n_s_GL_SAMPLE_COVERAGE;
static PyObject *__pyx_n_s_GL_SAMPLE_COVERAGE_INVERT;
static PyObject *__pyx_n_s_GL_SAMPLE_COVERAGE_VALUE;
static PyObject *__pyx_n_s_GL_SCISSOR_BOX;
static PyObject *__pyx_n_s_GL_SCISSOR_TEST;
static PyObject *__pyx_n_s_GL_SEPARATE_ATTRIBS;
static PyObject *__pyx_n_s_GL_SHADER_SOURCE_LENGTH;
static PyObject *__pyx_n_s_GL_SHADER_TYPE;
static PyObject *__pyx_n_s_GL_SHADING_LANGUAGE_VERSION;
static PyObject *__pyx_n_s_GL_SHORT;
static PyObject *__pyx_n_s_GL_SRC_ALPHA;
static PyObject *__pyx_n_s_GL_SRC_ALPHA_SATURATE;
static PyObject *__pyx_n_s_GL_SRC_COLOR;
static PyObject *__pyx_n_s_GL_SRGB;
static PyObject *__pyx_n_s_GL_SRGB8;
static PyObject *__pyx_n_s_GL_SRGB8_ALPHA8;
static PyObject *__pyx_n_s_GL_STATIC_COPY;
static PyObject *__pyx_n_s_GL_STATIC_DRAW;
static PyObject *__pyx_n_s_GL_STATIC_READ;
static PyObject *__pyx_n_s_GL_STENCIL;
static PyObject *__pyx_n_s_GL_STENCIL_ATTACHMENT;
static PyObject *__pyx_n_s_GL_STENCIL_BACK_FAIL;
static PyObject *__pyx_n_s_GL_STENCIL_BACK_FUNC;
static PyObject *__pyx_n_s_GL_STENCIL_BACK_PASS_DEPTH_FAIL;
static PyObject *__pyx_n_s_GL_STENCIL_BACK_PASS_DEPTH_PASS;
static PyObject *__pyx_n_s_GL_STENCIL_BACK_REF;
static PyObject *__pyx_n_s_GL_STENCIL_BACK_VALUE_MASK;
static PyObject *__pyx_n_s_GL_STENCIL_BACK_WRITEMASK;
static PyObject *__pyx_n_s_GL_STENCIL_BITS;
static PyObject *__pyx_n_s_GL_STENCIL_BUFFER_BIT;
static PyObject *__pyx_n_s_GL_STENCIL_CLEAR_VALUE;
static PyObject *__pyx_n_s_GL_STENCIL_FAIL;
static PyObject *__pyx_n_s_GL_STENCIL_FUNC;
static PyObject *__pyx_n_s_GL_STENCIL_INDEX8;
static PyObject *__pyx_n_s_GL_STENCIL_PASS_DEPTH_FAIL;
static PyObject *__pyx_n_s_GL_STENCIL_PASS_DEPTH_PASS;
static PyObject *__pyx_n_s_GL_STENCIL_REF;
static PyObject *__pyx_n_s_GL_STENCIL_TEST;
static PyObject *__pyx_n_s_GL_STENCIL_VALUE_MASK;
static PyObject *__pyx_n_s_GL_STENCIL_WRITEMASK;
static PyObject *__pyx_n_s_GL_STREAM_COPY;
static PyObject *__pyx_n_s_GL_STREAM_DRAW;
static PyObject *__pyx_n_s_GL_STREAM_READ;
static PyObject *__pyx_n_s_GL_SUBPIXEL_BITS;
static PyObject *__pyx_n_s_GL_TEXTURE;
static PyObject *__pyx_n_s_GL_TEXTURE0;
static PyObject *__pyx_n_s_GL_TEXTURE1;
static PyObject *__pyx_n_s_GL_TEXTURE10;
static PyObject *__pyx_n_s_GL_TEXTURE11;
static PyObject *__pyx_n_s_GL_TEXTURE12;
static PyObject *__pyx_n_s_GL_TEXTURE13;
static PyObject *__pyx_n_s_GL_TEXTURE14;
static PyObject *__pyx_n_s_GL_TEXTURE15;
static PyObject *__pyx_n_s_GL_TEXTURE16;
static PyObject *__pyx_n_s_GL_TEXTURE17;
static PyObject *__pyx_n_s_GL_TEXTURE18;
static PyObject *__pyx_n_s_GL_TEXTURE19;
static PyObject *__pyx_n_s_GL_TEXTURE2;
static PyObject *__pyx_n_s_GL_TEXTURE20;
static PyObject *__pyx_n_s_GL_TEXTURE21;
static PyObject *__pyx_n_s_GL_TEXTURE22;
static PyObject *__pyx_n_s_GL_TEXTURE23;
static PyObject *__pyx_n_s_GL_TEXTURE24;
static PyObject *__pyx_n_s_GL_TEXTURE25;
static PyObject *__pyx_n_s_GL_TEXTURE26;
static PyObject *__pyx_n_s_GL_TEXTURE27;
static PyObject *__pyx_n_s_GL_TEXTURE28;
static PyObject *__pyx_n_s_GL_TEXTURE29;
static PyObject *__pyx_n_s_GL_TEXTURE3;
static PyObject *__pyx_n_s_GL_TEXTURE30;
static PyObject *__pyx_n_s_GL_TEXTURE31;
static PyObject *__pyx_n_s_GL_TEXTURE4;
static PyObject *__pyx_n_s_GL_TEXTURE5;
static PyObject *__pyx_n_s_GL_TEXTURE6;
static PyObject *__pyx_n_s_GL_TEXTURE7;
static PyObject *__pyx_n_s_GL_TEXTURE8;
static PyObject *__pyx_n_s_GL_TEXTURE9;
static PyObject *__pyx_n_s_GL_TEXTURE_2D;
static PyObject *__pyx_n_s_GL_TEXTURE_2D_ARRAY;
static PyObject *__pyx_n_s_GL_TEXTURE_3D;
static PyObject *__pyx_n_s_GL_TEXTURE_BASE_LEVEL;
static PyObject *__pyx_n_s_GL_TEXTURE_BINDING_2D;
static PyObject *__pyx_n_s_GL_TEXTURE_BINDING_2D_ARRAY;
static PyObject *__pyx_n_s_GL_TEXTURE_BINDING_3D;
static PyObject *__pyx_n_s_GL_TEXTURE_BINDING_CUBE_MAP;
static PyObject *__pyx_n_s_GL_TEXTURE_COMPARE_FUNC;
static PyObject *__pyx_n_s_GL_TEXTURE_COMPARE_MODE;
static PyObject *__pyx_n_s_GL_TEXTURE_CUBE_MAP;
static PyObject *__pyx_n_s_GL_TEXTURE_CUBE_MAP_NEGATIVE_X;
static PyObject *__pyx_n_s_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y;
static PyObject *__pyx_n_s_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z;
static PyObject *__pyx_n_s_GL_TEXTURE_CUBE_MAP_POSITIVE_X;
static PyObject *__pyx_n_s_GL_TEXTURE_CUBE_MAP_POSITIVE_Y;
static PyObject *__pyx_n_s_GL_TEXTURE_CUBE_MAP_POSITIVE_Z;
static PyObject *__pyx_n_s_GL_TEXTURE_MAG_FILTER;
static PyObject *__pyx_n_s_GL_TEXTURE_MAX_LEVEL;
static PyObject *__pyx_n_s_GL_TEXTURE_MAX_LOD;
static PyObject *__pyx_n_s_GL_TEXTURE_MIN_FILTER;
static PyObject *__pyx_n_s_GL_TEXTURE_MIN_LOD;
static PyObject *__pyx_n_s_GL_TEXTURE_WRAP_R;
static PyObject *__pyx_n_s_GL_TEXTURE_WRAP_S;
static PyObject *__pyx_n_s_GL_TEXTURE_WRAP_T;
static PyObject *__pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER;
static PyObject *__pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER_BIN;
static PyObject *__pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER_MOD;
static PyObject *__pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER_SIZ;
static PyObject *__pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER_STA;
static PyObject *__pyx_n_s_GL_TRANSFORM_FEEDBACK_PRIMITIVES;
static PyObject *__pyx_n_s_GL_TRANSFORM_FEEDBACK_VARYINGS;
static PyObject *__pyx_n_s_GL_TRANSFORM_FEEDBACK_VARYING_MA;
static PyObject *__pyx_n_s_GL_TRIANGLES;
static PyObject *__pyx_n_s_GL_TRIANGLE_FAN;
static PyObject *__pyx_n_s_GL_TRIANGLE_STRIP;
static PyObject *__pyx_n_s_GL_TRUE;
static PyObject *__pyx_n_s_GL_UNPACK_ALIGNMENT;
static PyObject *__pyx_n_s_GL_UNPACK_IMAGE_HEIGHT;
static PyObject *__pyx_n_s_GL_UNPACK_ROW_LENGTH;
static PyObject *__pyx_n_s_GL_UNPACK_SKIP_IMAGES;
static PyObject *__pyx_n_s_GL_UNPACK_SKIP_PIXELS;
static PyObject *__pyx_n_s_GL_UNPACK_SKIP_ROWS;
static PyObject *__pyx_n_s_GL_UNSIGNED_BYTE;
static PyObject *__pyx_n_s_GL_UNSIGNED_INT;
static PyObject *__pyx_n_s_GL_UNSIGNED_INT_10F_11F_11F_REV;
static PyObject *__pyx_n_s_GL_UNSIGNED_INT_24_8;
static PyObject *__pyx_n_s_GL_UNSIGNED_INT_2_10_10_10_REV;
static PyObject *__pyx_n_s_GL_UNSIGNED_INT_5_9_9_9_REV;
static PyObject *__pyx_n_s_GL_UNSIGNED_INT_SAMPLER_2D;
static PyObject *__pyx_n_s_GL_UNSIGNED_INT_SAMPLER_2D_ARRAY;
static PyObject *__pyx_n_s_GL_UNSIGNED_INT_SAMPLER_3D;
static PyObject *__pyx_n_s_GL_UNSIGNED_INT_SAMPLER_CUBE;
static PyObject *__pyx_n_s_GL_UNSIGNED_INT_VEC2;
static PyObject *__pyx_n_s_GL_UNSIGNED_INT_VEC3;
static PyObject *__pyx_n_s_GL_UNSIGNED_INT_VEC4;
static PyObject *__pyx_n_s_GL_UNSIGNED_NORMALIZED;
static PyObject *__pyx_n_s_GL_UNSIGNED_SHORT;
static PyObject *__pyx_n_s_GL_UNSIGNED_SHORT_4_4_4_4;
static PyObject *__pyx_n_s_GL_UNSIGNED_SHORT_5_5_5_1;
static PyObject *__pyx_n_s_GL_UNSIGNED_SHORT_5_6_5;
static PyObject *__pyx_n_s_GL_VALIDATE_STATUS;
static PyObject *__pyx_n_s_GL_VENDOR;
static PyObject *__pyx_n_s_GL_VERSION;
static PyObject *__pyx_n_s_GL_VERTEX_ARRAY_BINDING;
static PyObject *__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_BUFFER_BI;
static PyObject *__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_ENABLED;
static PyObject *__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_INTEGER;
static PyObject *__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_NORMALIZE;
static PyObject *__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_POINTER;
static PyObject *__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_SIZE;
static PyObject *__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_STRIDE;
static PyObject *__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_TYPE;
static PyObject *__pyx_n_s_GL_VERTEX_SHADER;
static PyObject *__pyx_n_s_GL_VIEWPORT;
static PyObject *__pyx_n_s_GL_ZERO;
static PyObject *__pyx_n_s_IndexError;
static PyObject *__pyx_n_s_IntBuffer;
static PyObject *__pyx_n_s_TypeError;
static PyObject *__pyx_n_s_alpha;
static PyObject *__pyx_n_s_array;
static PyObject *__pyx_n_s_arrays;
static PyObject *__pyx_n_s_arrays_ptr;
static PyObject *__pyx_n_s_attachment;
static PyObject *__pyx_n_s_blue;
static PyObject *__pyx_n_s_border;
static PyObject *__pyx_n_s_bufSize;
static PyObject *__pyx_n_s_buffer;
static PyObject *__pyx_n_s_bufferMode;
static PyObject *__pyx_n_s_buffers;
static PyObject *__pyx_n_s_buffers_ptr;
static PyObject *__pyx_n_s_bufs;
static PyObject *__pyx_n_s_bufs_ptr;
static PyObject *__pyx_n_s_cap;
static PyObject *__pyx_n_s_cline_in_traceback;
static PyObject *__pyx_n_s_count;
static PyObject *__pyx_n_s_count_ptr;
static PyObject *__pyx_n_s_data;
static PyObject *__pyx_n_s_data_ptr;
static PyObject *__pyx_n_s_depth;
static PyObject *__pyx_n_s_dfactor;
static PyObject *__pyx_n_s_dfactorAlpha;
static PyObject *__pyx_n_s_dfactorRGB;
static PyObject *__pyx_n_s_dpfail;
static PyObject *__pyx_n_s_dppass;
static PyObject *__pyx_n_s_drawbuffer;
static PyObject *__pyx_n_s_dstX0;
static PyObject *__pyx_n_s_dstX1;
static PyObject *__pyx_n_s_dstY0;
static PyObject *__pyx_n_s_dstY1;
static PyObject *__pyx_n_s_end;
static PyObject *__pyx_n_s_face;
static PyObject *__pyx_n_s_factor;
static PyObject *__pyx_n_s_fail;
static PyObject *__pyx_n_s_filter;
static PyObject *__pyx_n_s_first;
static PyObject *__pyx_n_s_flag;
static PyObject *__pyx_n_s_format;
static PyObject *__pyx_n_s_framebuffer;
static PyObject *__pyx_n_s_framebuffers;
static PyObject *__pyx_n_s_framebuffers_ptr;
static PyObject *__pyx_n_s_func;
static PyObject *__pyx_n_s_getstate;
static PyObject *__pyx_n_s_glActiveTexture;
static PyObject *__pyx_n_s_glAttachShader;
static PyObject *__pyx_n_s_glBeginQuery;
static PyObject *__pyx_n_s_glBeginTransformFeedback;
static PyObject *__pyx_n_s_glBindAttribLocation;
static PyObject *__pyx_n_s_glBindBuffer;
static PyObject *__pyx_n_s_glBindBufferBase;
static PyObject *__pyx_n_s_glBindBufferRange;
static PyObject *__pyx_n_s_glBindFramebuffer;
static PyObject *__pyx_n_s_glBindRenderbuffer;
static PyObject *__pyx_n_s_glBindTexture;
static PyObject *__pyx_n_s_glBindVertexArray;
static PyObject *__pyx_n_s_glBlendColor;
static PyObject *__pyx_n_s_glBlendEquation;
static PyObject *__pyx_n_s_glBlendEquationSeparate;
static PyObject *__pyx_n_s_glBlendFunc;
static PyObject *__pyx_n_s_glBlendFuncSeparate;
static PyObject *__pyx_n_s_glBlitFramebuffer;
static PyObject *__pyx_n_s_glBufferData;
static PyObject *__pyx_n_s_glBufferSubData;
static PyObject *__pyx_n_s_glCheckFramebufferStatus;
static PyObject *__pyx_n_s_glClear;
static PyObject *__pyx_n_s_glClearBufferfi;
static PyObject *__pyx_n_s_glClearBufferfv;
static PyObject *__pyx_n_s_glClearBufferiv;
static PyObject *__pyx_n_s_glClearBufferuiv;
static PyObject *__pyx_n_s_glClearColor;
static PyObject *__pyx_n_s_glClearStencil;
static PyObject *__pyx_n_s_glColorMask;
static PyObject *__pyx_n_s_glCompileShader;
static PyObject *__pyx_n_s_glCompressedTexImage2D;
static PyObject *__pyx_n_s_glCompressedTexImage3D;
static PyObject *__pyx_n_s_glCompressedTexSubImage2D;
static PyObject *__pyx_n_s_glCompressedTexSubImage3D;
static PyObject *__pyx_n_s_glCopyTexImage2D;
static PyObject *__pyx_n_s_glCopyTexSubImage2D;
static PyObject *__pyx_n_s_glCopyTexSubImage3D;
static PyObject *__pyx_n_s_glCreateProgram;
static PyObject *__pyx_n_s_glCreateShader;
static PyObject *__pyx_n_s_glCullFace;
static PyObject *__pyx_n_s_glDeleteBuffers;
static PyObject *__pyx_n_s_glDeleteFramebuffers;
static PyObject *__pyx_n_s_glDeleteProgram;
static PyObject *__pyx_n_s_glDeleteQueries;
static PyObject *__pyx_n_s_glDeleteRenderbuffers;
static PyObject *__pyx_n_s_glDeleteShader;
static PyObject *__pyx_n_s_glDeleteTextures;
static PyObject *__pyx_n_s_glDeleteVertexArrays;
static PyObject *__pyx_n_s_glDepthFunc;
static PyObject *__pyx_n_s_glDepthMask;
static PyObject *__pyx_n_s_glDetachShader;
static PyObject *__pyx_n_s_glDisable;
static PyObject *__pyx_n_s_glDisableVertexAttribArray;
static PyObject *__pyx_n_s_glDrawArrays;
static PyObject *__pyx_n_s_glDrawBuffers;
static PyObject *__pyx_n_s_glDrawElements;
static PyObject *__pyx_n_s_glDrawRangeElements;
static PyObject *__pyx_n_s_glEnable;
static PyObject *__pyx_n_s_glEnableVertexAttribArray;
static PyObject *__pyx_n_s_glEndQuery;
static PyObject *__pyx_n_s_glEndTransformFeedback;
static PyObject *__pyx_n_s_glFinish;
static PyObject *__pyx_n_s_glFlush;
static PyObject *__pyx_n_s_glFlushMappedBufferRange;
static PyObject *__pyx_n_s_glFramebufferRenderbuffer;
static PyObject *__pyx_n_s_glFramebufferTexture2D;
static PyObject *__pyx_n_s_glFramebufferTextureLayer;
static PyObject *__pyx_n_s_glFrontFace;
static PyObject *__pyx_n_s_glGenBuffers;
static PyObject *__pyx_n_s_glGenFramebuffers;
static PyObject *__pyx_n_s_glGenQueries;
static PyObject *__pyx_n_s_glGenRenderbuffers;
static PyObject *__pyx_n_s_glGenTextures;
static PyObject *__pyx_n_s_glGenVertexArrays;
static PyObject *__pyx_n_s_glGenerateMipmap;
static PyObject *__pyx_n_s_glGetActiveAttrib;
static PyObject *__pyx_n_s_glGetActiveUniform;
static PyObject *__pyx_n_s_glGetAttachedShaders;
static PyObject *__pyx_n_s_glGetAttribLocation;
static PyObject *__pyx_n_s_glGetBooleanv;
static PyObject *__pyx_n_s_glGetBufferParameteriv;
static PyObject *__pyx_n_s_glGetBufferPointerv;
static PyObject *__pyx_n_s_glGetError;
static PyObject *__pyx_n_s_glGetFloatv;
static PyObject *__pyx_n_s_glGetFragDataLocation;
static PyObject *__pyx_n_s_glGetFramebufferAttachmentParame;
static PyObject *__pyx_n_s_glGetIntegeri_v;
static PyObject *__pyx_n_s_glGetIntegerv;
static PyObject *__pyx_n_s_glGetProgramInfoLog;
static PyObject *__pyx_n_s_glGetProgramiv;
static PyObject *__pyx_n_s_glGetQueryObjectuiv;
static PyObject *__pyx_n_s_glGetQueryiv;
static PyObject *__pyx_n_s_glGetRenderbufferParameteriv;
static PyObject *__pyx_n_s_glGetShaderInfoLog;
static PyObject *__pyx_n_s_glGetShaderSource;
static PyObject *__pyx_n_s_glGetShaderiv;
static PyObject *__pyx_n_s_glGetString;
static PyObject *__pyx_n_s_glGetStringi;
static PyObject *__pyx_n_s_glGetTexParameterfv;
static PyObject *__pyx_n_s_glGetTexParameteriv;
static PyObject *__pyx_n_s_glGetTransformFeedbackVarying;
static PyObject *__pyx_n_s_glGetUniformLocation;
static PyObject *__pyx_n_s_glGetUniformfv;
static PyObject *__pyx_n_s_glGetUniformiv;
static PyObject *__pyx_n_s_glGetUniformuiv;
static PyObject *__pyx_n_s_glGetVertexAttribIiv;
static PyObject *__pyx_n_s_glGetVertexAttribIuiv;
static PyObject *__pyx_n_s_glGetVertexAttribPointerv;
static PyObject *__pyx_n_s_glGetVertexAttribfv;
static PyObject *__pyx_n_s_glGetVertexAttribiv;
static PyObject *__pyx_n_s_glHint;
static PyObject *__pyx_n_s_glIsBuffer;
static PyObject *__pyx_n_s_glIsEnabled;
static PyObject *__pyx_n_s_glIsFramebuffer;
static PyObject *__pyx_n_s_glIsProgram;
static PyObject *__pyx_n_s_glIsQuery;
static PyObject *__pyx_n_s_glIsRenderbuffer;
static PyObject *__pyx_n_s_glIsShader;
static PyObject *__pyx_n_s_glIsTexture;
static PyObject *__pyx_n_s_glIsVertexArray;
static PyObject *__pyx_n_s_glLineWidth;
static PyObject *__pyx_n_s_glLinkProgram;
static PyObject *__pyx_n_s_glPixelStorei;
static PyObject *__pyx_n_s_glPolygonOffset;
static PyObject *__pyx_n_s_glReadBuffer;
static PyObject *__pyx_n_s_glReadPixels;
static PyObject *__pyx_n_s_glRenderbufferStorage;
static PyObject *__pyx_n_s_glRenderbufferStorageMultisample;
static PyObject *__pyx_n_s_glSampleCoverage;
static PyObject *__pyx_n_s_glScissor;
static PyObject *__pyx_n_s_glShaderSource;
static PyObject *__pyx_n_s_glStencilFunc;
static PyObject *__pyx_n_s_glStencilFuncSeparate;
static PyObject *__pyx_n_s_glStencilMask;
static PyObject *__pyx_n_s_glStencilMaskSeparate;
static PyObject *__pyx_n_s_glStencilOp;
static PyObject *__pyx_n_s_glStencilOpSeparate;
static PyObject *__pyx_n_s_glTexImage2D;
static PyObject *__pyx_n_s_glTexImage3D;
static PyObject *__pyx_n_s_glTexParameterf;
static PyObject *__pyx_n_s_glTexParameterfv;
static PyObject *__pyx_n_s_glTexParameteri;
static PyObject *__pyx_n_s_glTexParameteriv;
static PyObject *__pyx_n_s_glTexSubImage2D;
static PyObject *__pyx_n_s_glTexSubImage3D;
static PyObject *__pyx_n_s_glTransformFeedbackVaryings;
static PyObject *__pyx_n_s_glUniform1f;
static PyObject *__pyx_n_s_glUniform1fv;
static PyObject *__pyx_n_s_glUniform1i;
static PyObject *__pyx_n_s_glUniform1iv;
static PyObject *__pyx_n_s_glUniform1ui;
static PyObject *__pyx_n_s_glUniform1uiv;
static PyObject *__pyx_n_s_glUniform2f;
static PyObject *__pyx_n_s_glUniform2fv;
static PyObject *__pyx_n_s_glUniform2i;
static PyObject *__pyx_n_s_glUniform2iv;
static PyObject *__pyx_n_s_glUniform2ui;
static PyObject *__pyx_n_s_glUniform2uiv;
static PyObject *__pyx_n_s_glUniform3f;
static PyObject *__pyx_n_s_glUniform3fv;
static PyObject *__pyx_n_s_glUniform3i;
static PyObject *__pyx_n_s_glUniform3iv;
static PyObject *__pyx_n_s_glUniform3ui;
static PyObject *__pyx_n_s_glUniform3uiv;
static PyObject *__pyx_n_s_glUniform4f;
static PyObject *__pyx_n_s_glUniform4fv;
static PyObject *__pyx_n_s_glUniform4i;
static PyObject *__pyx_n_s_glUniform4iv;
static PyObject *__pyx_n_s_glUniform4ui;
static PyObject *__pyx_n_s_glUniform4uiv;
static PyObject *__pyx_n_s_glUniformMatrix2fv;
static PyObject *__pyx_n_s_glUniformMatrix2x3fv;
static PyObject *__pyx_n_s_glUniformMatrix2x4fv;
static PyObject *__pyx_n_s_glUniformMatrix3fv;
static PyObject *__pyx_n_s_glUniformMatrix3x2fv;
static PyObject *__pyx_n_s_glUniformMatrix3x4fv;
static PyObject *__pyx_n_s_glUniformMatrix4fv;
static PyObject *__pyx_n_s_glUniformMatrix4x2fv;
static PyObject *__pyx_n_s_glUniformMatrix4x3fv;
static PyObject *__pyx_n_s_glUnmapBuffer;
static PyObject *__pyx_n_s_glUseProgram;
static PyObject *__pyx_n_s_glValidateProgram;
static PyObject *__pyx_n_s_glVertexAttrib1f;
static PyObject *__pyx_n_s_glVertexAttrib1fv;
static PyObject *__pyx_n_s_glVertexAttrib2f;
static PyObject *__pyx_n_s_glVertexAttrib2fv;
static PyObject *__pyx_n_s_glVertexAttrib3f;
static PyObject *__pyx_n_s_glVertexAttrib3fv;
static PyObject *__pyx_n_s_glVertexAttrib4f;
static PyObject *__pyx_n_s_glVertexAttrib4fv;
static PyObject *__pyx_n_s_glVertexAttribI4i;
static PyObject *__pyx_n_s_glVertexAttribI4iv;
static PyObject *__pyx_n_s_glVertexAttribI4ui;
static PyObject *__pyx_n_s_glVertexAttribI4uiv;
static PyObject *__pyx_n_s_glVertexAttribIPointer;
static PyObject *__pyx_n_s_glVertexAttribPointer;
static PyObject *__pyx_n_s_glViewport;
static PyObject *__pyx_n_s_green;
static PyObject *__pyx_n_s_height;
static PyObject *__pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug;
static PyObject *__pyx_n_s_id;
static PyObject *__pyx_n_s_ids;
static PyObject *__pyx_n_s_ids_ptr;
static PyObject *__pyx_n_s_imageSize;
static PyObject *__pyx_n_s_import;
static PyObject *__pyx_n_s_index;
static PyObject *__pyx_kp_s_index_out_of_range;
static PyObject *__pyx_n_s_indices;
static PyObject *__pyx_n_s_indices_ptr;
static PyObject *__pyx_n_s_infoLog;
static PyObject *__pyx_n_s_infoLog_ptr;
static PyObject *__pyx_n_s_internalformat;
static PyObject *__pyx_n_s_invert;
static PyObject *__pyx_n_s_layer;
static PyObject *__pyx_n_s_length;
static PyObject *__pyx_n_s_length_ptr;
static PyObject *__pyx_n_s_level;
static PyObject *__pyx_n_s_location;
static PyObject *__pyx_n_s_main;
static PyObject *__pyx_n_s_mask;
static PyObject *__pyx_n_s_maxCount;
static PyObject *__pyx_n_s_mode;
static PyObject *__pyx_n_s_modeAlpha;
static PyObject *__pyx_n_s_modeRGB;
static PyObject *__pyx_n_s_n;
static PyObject *__pyx_n_s_name;
static PyObject *__pyx_n_s_name_2;
static PyObject *__pyx_n_s_name_ptr;
static PyObject *__pyx_n_s_normalized;
static PyObject *__pyx_n_s_o;
static PyObject *__pyx_n_s_offset;
static PyObject *__pyx_n_s_param;
static PyObject *__pyx_n_s_params;
static PyObject *__pyx_n_s_params_ptr;
static PyObject *__pyx_n_s_pixels;
static PyObject *__pyx_n_s_pixels_ptr;
static PyObject *__pyx_n_s_pname;
static PyObject *__pyx_n_s_pointer;
static PyObject *__pyx_n_s_pointer_ptr;
static PyObject *__pyx_n_s_primitiveMode;
static PyObject *__pyx_n_s_program;
static PyObject *__pyx_n_s_ptr;
static PyObject *__pyx_n_s_pyx_vtable;
static PyObject *__pyx_n_s_red;
static PyObject *__pyx_n_s_reduce;
static PyObject *__pyx_n_s_reduce_cython;
static PyObject *__pyx_n_s_reduce_ex;
static PyObject *__pyx_n_s_ref;
static PyObject *__pyx_n_s_renderbuffer;
static PyObject *__pyx_n_s_renderbuffers;
static PyObject *__pyx_n_s_renderbuffers_ptr;
static PyObject *__pyx_n_s_renderbuffertarget;
static PyObject *__pyx_n_s_renpy;
static PyObject *__pyx_n_s_renpy_uguu_gl;
static PyObject *__pyx_n_s_renpy_uguu_uguu;
static PyObject *__pyx_n_s_ro;
static PyObject *__pyx_n_s_s;
static PyObject *__pyx_n_s_samples;
static PyObject *__pyx_kp_s_self_data_cannot_be_converted_to;
static PyObject *__pyx_kp_s_self_ptr_self_view_cannot_be_con;
static PyObject *__pyx_n_s_setstate;
static PyObject *__pyx_n_s_setstate_cython;
static PyObject *__pyx_n_s_sfactor;
static PyObject *__pyx_n_s_sfactorAlpha;
static PyObject *__pyx_n_s_sfactorRGB;
static PyObject *__pyx_n_s_sfail;
static PyObject *__pyx_n_s_shader;
static PyObject *__pyx_n_s_shaders;
static PyObject *__pyx_n_s_shaders_ptr;
static PyObject *__pyx_n_s_size;
static PyObject *__pyx_n_s_size_ptr;
static PyObject *__pyx_n_s_source;
static PyObject *__pyx_n_s_source_ptr;
static PyObject *__pyx_n_s_src;
static PyObject *__pyx_n_s_srcX0;
static PyObject *__pyx_n_s_srcX1;
static PyObject *__pyx_n_s_srcY0;
static PyObject *__pyx_n_s_srcY1;
static PyObject *__pyx_n_s_start;
static PyObject *__pyx_n_s_stencil;
static PyObject *__pyx_n_s_stride;
static PyObject *__pyx_n_s_string;
static PyObject *__pyx_n_s_string_ptr;
static PyObject *__pyx_n_s_target;
static PyObject *__pyx_n_s_test;
static PyObject *__pyx_n_s_textarget;
static PyObject *__pyx_n_s_texture;
static PyObject *__pyx_n_s_textures;
static PyObject *__pyx_n_s_textures_ptr;
static PyObject *__pyx_n_s_transpose;
static PyObject *__pyx_n_s_type;
static PyObject *__pyx_n_s_type_ptr;
static PyObject *__pyx_n_s_units;
static PyObject *__pyx_n_s_usage;
static PyObject *__pyx_n_s_v;
static PyObject *__pyx_n_s_v0;
static PyObject *__pyx_n_s_v1;
static PyObject *__pyx_n_s_v2;
static PyObject *__pyx_n_s_v3;
static PyObject *__pyx_n_s_v_ptr;
static PyObject *__pyx_n_s_value;
static PyObject *__pyx_n_s_value_ptr;
static PyObject *__pyx_n_s_varyings;
static PyObject *__pyx_n_s_varyings_ptr;
static PyObject *__pyx_n_s_w;
static PyObject *__pyx_n_s_width;
static PyObject *__pyx_n_s_x;
static PyObject *__pyx_n_s_xoffset;
static PyObject *__pyx_n_s_y;
static PyObject *__pyx_n_s_yoffset;
static PyObject *__pyx_n_s_z;
static PyObject *__pyx_n_s_zfail;
static PyObject *__pyx_n_s_zoffset;
static PyObject *__pyx_n_s_zpass;
static int __pyx_pf_5renpy_4uguu_4uguu_3ptr___init__(struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_self, PyObject *__pyx_v_o, PyObject *__pyx_v_ro); /* proto */
static void __pyx_pf_5renpy_4uguu_4uguu_3ptr_2__dealloc__(struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_3ptr_4__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_3ptr_6__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_5renpy_4uguu_4uguu_6Buffer___getbuffer__(struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *__pyx_v_self, Py_buffer *__pyx_v_buffer, CYTHON_UNUSED int __pyx_v_flags); /* proto */
static void __pyx_pf_5renpy_4uguu_4uguu_6Buffer_2__releasebuffer__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *__pyx_v_self, CYTHON_UNUSED Py_buffer *__pyx_v_buffer); /* proto */
static void __pyx_pf_5renpy_4uguu_4uguu_6Buffer_4__dealloc__(struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_6Buffer_6__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_6Buffer_8__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_5renpy_4uguu_4uguu_11BytesBuffer___init__(struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *__pyx_v_self, PyObject *__pyx_v_length); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_11BytesBuffer_2get(struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_11BytesBuffer_4__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_11BytesBuffer_6__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_5renpy_4uguu_4uguu_15BytesListBuffer___init__(struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_15BytesListBuffer_2__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_15BytesListBuffer_4__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_5renpy_4uguu_4uguu_9IntBuffer___init__(struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_9IntBuffer_2__getitem__(struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *__pyx_v_self, PyObject *__pyx_v_index); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_9IntBuffer_4__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_9IntBuffer_6__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_5renpy_4uguu_4uguu_11FloatBuffer___init__(struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_11FloatBuffer_2__getitem__(struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *__pyx_v_self, PyObject *__pyx_v_index); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_11FloatBuffer_4__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_11FloatBuffer_6__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_glActiveTexture(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_texture); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_2glAttachShader(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_shader); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_4glBeginQuery(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_id); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_6glBeginTransformFeedback(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_primitiveMode); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_8glBindAttribLocation(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_index, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_10glBindBuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_buffer); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_12glBindBufferBase(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_index, PyObject *__pyx_v_buffer); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_14glBindBufferRange(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_index, PyObject *__pyx_v_buffer, PyObject *__pyx_v_offset, PyObject *__pyx_v_size); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_16glBindFramebuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_framebuffer); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_18glBindRenderbuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_renderbuffer); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_20glBindTexture(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_texture); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_22glBindVertexArray(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_array); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_24glBlendColor(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_red, PyObject *__pyx_v_green, PyObject *__pyx_v_blue, PyObject *__pyx_v_alpha); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_26glBlendEquation(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mode); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_28glBlendEquationSeparate(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_modeRGB, PyObject *__pyx_v_modeAlpha); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_30glBlendFunc(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_sfactor, PyObject *__pyx_v_dfactor); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_32glBlendFuncSeparate(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_sfactorRGB, PyObject *__pyx_v_dfactorRGB, PyObject *__pyx_v_sfactorAlpha, PyObject *__pyx_v_dfactorAlpha); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_34glBlitFramebuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_srcX0, PyObject *__pyx_v_srcY0, PyObject *__pyx_v_srcX1, PyObject *__pyx_v_srcY1, PyObject *__pyx_v_dstX0, PyObject *__pyx_v_dstY0, PyObject *__pyx_v_dstX1, PyObject *__pyx_v_dstY1, PyObject *__pyx_v_mask, PyObject *__pyx_v_filter); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_36glBufferData(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_size, PyObject *__pyx_v_data, PyObject *__pyx_v_usage); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_38glBufferSubData(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_offset, PyObject *__pyx_v_size, PyObject *__pyx_v_data); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_40glCheckFramebufferStatus(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_42glClear(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mask); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_44glClearBufferfi(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_buffer, PyObject *__pyx_v_drawbuffer, PyObject *__pyx_v_depth, PyObject *__pyx_v_stencil); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_46glClearBufferfv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_buffer, PyObject *__pyx_v_drawbuffer, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_48glClearBufferiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_buffer, PyObject *__pyx_v_drawbuffer, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_50glClearBufferuiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_buffer, PyObject *__pyx_v_drawbuffer, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_52glClearColor(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_red, PyObject *__pyx_v_green, PyObject *__pyx_v_blue, PyObject *__pyx_v_alpha); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_54glClearStencil(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_s); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_56glColorMask(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_red, PyObject *__pyx_v_green, PyObject *__pyx_v_blue, PyObject *__pyx_v_alpha); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_58glCompileShader(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_60glCompressedTexImage2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_border, PyObject *__pyx_v_imageSize, PyObject *__pyx_v_data); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_62glCompressedTexImage3D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_depth, PyObject *__pyx_v_border, PyObject *__pyx_v_imageSize, PyObject *__pyx_v_data); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_64glCompressedTexSubImage2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_xoffset, PyObject *__pyx_v_yoffset, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_format, PyObject *__pyx_v_imageSize, PyObject *__pyx_v_data); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_66glCompressedTexSubImage3D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_xoffset, PyObject *__pyx_v_yoffset, PyObject *__pyx_v_zoffset, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_depth, PyObject *__pyx_v_format, PyObject *__pyx_v_imageSize, PyObject *__pyx_v_data); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_68glCopyTexImage2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_border); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_70glCopyTexSubImage2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_xoffset, PyObject *__pyx_v_yoffset, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_width, PyObject *__pyx_v_height); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_72glCopyTexSubImage3D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_xoffset, PyObject *__pyx_v_yoffset, PyObject *__pyx_v_zoffset, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_width, PyObject *__pyx_v_height); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_74glCreateProgram(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_76glCreateShader(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_type); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_78glCullFace(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mode); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_80glDeleteBuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_buffers); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_82glDeleteFramebuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_framebuffers); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_84glDeleteProgram(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_86glDeleteQueries(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_ids); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_88glDeleteRenderbuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_renderbuffers); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_90glDeleteShader(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_92glDeleteTextures(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_textures); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_94glDeleteVertexArrays(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_arrays); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_96glDepthFunc(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_func); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_98glDepthMask(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_flag); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_100glDetachShader(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_shader); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_102glDisable(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cap); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_104glDisableVertexAttribArray(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_106glDrawArrays(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mode, PyObject *__pyx_v_first, PyObject *__pyx_v_count); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_108glDrawBuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_bufs); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_110glDrawElements(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mode, PyObject *__pyx_v_count, PyObject *__pyx_v_type, PyObject *__pyx_v_indices); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_112glDrawRangeElements(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mode, PyObject *__pyx_v_start, PyObject *__pyx_v_end, PyObject *__pyx_v_count, PyObject *__pyx_v_type, PyObject *__pyx_v_indices); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_114glEnable(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cap); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_116glEnableVertexAttribArray(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_118glEndQuery(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_120glEndTransformFeedback(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_122glFinish(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_124glFlush(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_126glFlushMappedBufferRange(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_offset, PyObject *__pyx_v_length); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_128glFramebufferRenderbuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_attachment, PyObject *__pyx_v_renderbuffertarget, PyObject *__pyx_v_renderbuffer); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_130glFramebufferTexture2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_attachment, PyObject *__pyx_v_textarget, PyObject *__pyx_v_texture, PyObject *__pyx_v_level); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_132glFramebufferTextureLayer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_attachment, PyObject *__pyx_v_texture, PyObject *__pyx_v_level, PyObject *__pyx_v_layer); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_134glFrontFace(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mode); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_136glGenBuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_buffers); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_138glGenFramebuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_framebuffers); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_140glGenQueries(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_ids); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_142glGenRenderbuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_renderbuffers); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_144glGenTextures(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_textures); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_146glGenVertexArrays(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_arrays); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_148glGenerateMipmap(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_150glGetActiveAttrib(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_index, PyObject *__pyx_v_bufSize, PyObject *__pyx_v_length, PyObject *__pyx_v_size, PyObject *__pyx_v_type, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_152glGetActiveUniform(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_index, PyObject *__pyx_v_bufSize, PyObject *__pyx_v_length, PyObject *__pyx_v_size, PyObject *__pyx_v_type, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_154glGetAttachedShaders(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_maxCount, PyObject *__pyx_v_count, PyObject *__pyx_v_shaders); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_156glGetAttribLocation(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_158glGetBooleanv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_pname, PyObject *__pyx_v_data); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_160glGetBufferParameteriv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_162glGetBufferPointerv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_164glGetError(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_166glGetFloatv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_pname, PyObject *__pyx_v_data); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_168glGetFragDataLocation(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_170glGetFramebufferAttachmentParameteriv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_attachment, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_172glGetIntegeri_v(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_index, PyObject *__pyx_v_data); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_174glGetIntegerv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_pname, PyObject *__pyx_v_data); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_176glGetProgramInfoLog(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_bufSize, PyObject *__pyx_v_length, PyObject *__pyx_v_infoLog); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_178glGetProgramiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_180glGetQueryObjectuiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_id, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_182glGetQueryiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_184glGetRenderbufferParameteriv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_186glGetShaderInfoLog(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader, PyObject *__pyx_v_bufSize, PyObject *__pyx_v_length, PyObject *__pyx_v_infoLog); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_188glGetShaderSource(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader, PyObject *__pyx_v_bufSize, PyObject *__pyx_v_length, PyObject *__pyx_v_source); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_190glGetShaderiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_192glGetString(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_194glGetStringi(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_name, PyObject *__pyx_v_index); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_196glGetTexParameterfv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_198glGetTexParameteriv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_200glGetTransformFeedbackVarying(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_index, PyObject *__pyx_v_bufSize, PyObject *__pyx_v_length, PyObject *__pyx_v_size, PyObject *__pyx_v_type, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_202glGetUniformLocation(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_204glGetUniformfv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_location, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_206glGetUniformiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_location, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_208glGetUniformuiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_location, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_210glGetVertexAttribIiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_212glGetVertexAttribIuiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_214glGetVertexAttribPointerv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_pname, PyObject *__pyx_v_pointer); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_216glGetVertexAttribfv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_218glGetVertexAttribiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_220glHint(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_mode); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_222glIsBuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_buffer); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_224glIsEnabled(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cap); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_226glIsFramebuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_framebuffer); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_228glIsProgram(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_230glIsQuery(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_id); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_232glIsRenderbuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_renderbuffer); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_234glIsShader(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_236glIsTexture(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_texture); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_238glIsVertexArray(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_array); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_240glLineWidth(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_width); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_242glLinkProgram(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_244glPixelStorei(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_pname, PyObject *__pyx_v_param); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_246glPolygonOffset(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_factor, PyObject *__pyx_v_units); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_248glReadBuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_src); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_250glReadPixels(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_format, PyObject *__pyx_v_type, PyObject *__pyx_v_pixels); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_252glRenderbufferStorage(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_width, PyObject *__pyx_v_height); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_254glRenderbufferStorageMultisample(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_samples, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_width, PyObject *__pyx_v_height); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_256glSampleCoverage(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_value, PyObject *__pyx_v_invert); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_258glScissor(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_width, PyObject *__pyx_v_height); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_260glShaderSource(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader, PyObject *__pyx_v_count, PyObject *__pyx_v_string, PyObject *__pyx_v_length); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_262glStencilFunc(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_func, PyObject *__pyx_v_ref, PyObject *__pyx_v_mask); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_264glStencilFuncSeparate(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_face, PyObject *__pyx_v_func, PyObject *__pyx_v_ref, PyObject *__pyx_v_mask); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_266glStencilMask(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mask); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_268glStencilMaskSeparate(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_face, PyObject *__pyx_v_mask); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_270glStencilOp(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fail, PyObject *__pyx_v_zfail, PyObject *__pyx_v_zpass); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_272glStencilOpSeparate(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_face, PyObject *__pyx_v_sfail, PyObject *__pyx_v_dpfail, PyObject *__pyx_v_dppass); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_274glTexImage2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_border, PyObject *__pyx_v_format, PyObject *__pyx_v_type, PyObject *__pyx_v_pixels); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_276glTexImage3D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_depth, PyObject *__pyx_v_border, PyObject *__pyx_v_format, PyObject *__pyx_v_type, PyObject *__pyx_v_pixels); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_278glTexParameterf(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_param); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_280glTexParameterfv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_282glTexParameteri(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_param); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_284glTexParameteriv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_286glTexSubImage2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_xoffset, PyObject *__pyx_v_yoffset, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_format, PyObject *__pyx_v_type, PyObject *__pyx_v_pixels); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_288glTexSubImage3D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_xoffset, PyObject *__pyx_v_yoffset, PyObject *__pyx_v_zoffset, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_depth, PyObject *__pyx_v_format, PyObject *__pyx_v_type, PyObject *__pyx_v_pixels); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_290glTransformFeedbackVaryings(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_count, PyObject *__pyx_v_varyings, PyObject *__pyx_v_bufferMode); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_292glUniform1f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_294glUniform1fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_296glUniform1i(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_298glUniform1iv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_300glUniform1ui(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_302glUniform1uiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_304glUniform2f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_306glUniform2fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_308glUniform2i(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_310glUniform2iv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_312glUniform2ui(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_314glUniform2uiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_316glUniform3f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1, PyObject *__pyx_v_v2); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_318glUniform3fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_320glUniform3i(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1, PyObject *__pyx_v_v2); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_322glUniform3iv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_324glUniform3ui(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1, PyObject *__pyx_v_v2); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_326glUniform3uiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_328glUniform4f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1, PyObject *__pyx_v_v2, PyObject *__pyx_v_v3); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_330glUniform4fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_332glUniform4i(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1, PyObject *__pyx_v_v2, PyObject *__pyx_v_v3); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_334glUniform4iv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_336glUniform4ui(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1, PyObject *__pyx_v_v2, PyObject *__pyx_v_v3); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_338glUniform4uiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_340glUniformMatrix2fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_342glUniformMatrix2x3fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_344glUniformMatrix2x4fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_346glUniformMatrix3fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_348glUniformMatrix3x2fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_350glUniformMatrix3x4fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_352glUniformMatrix4fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_354glUniformMatrix4x2fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_356glUniformMatrix4x3fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_358glUnmapBuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_360glUseProgram(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_362glValidateProgram(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_364glVertexAttrib1f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_x); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_366glVertexAttrib1fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_v); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_368glVertexAttrib2f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_x, PyObject *__pyx_v_y); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_370glVertexAttrib2fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_v); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_372glVertexAttrib3f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_z); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_374glVertexAttrib3fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_v); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_376glVertexAttrib4f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_z, PyObject *__pyx_v_w); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_378glVertexAttrib4fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_v); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_380glVertexAttribI4i(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_z, PyObject *__pyx_v_w); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_382glVertexAttribI4iv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_v); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_384glVertexAttribI4ui(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_z, PyObject *__pyx_v_w); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_386glVertexAttribI4uiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_v); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_388glVertexAttribIPointer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_size, PyObject *__pyx_v_type, PyObject *__pyx_v_stride, PyObject *__pyx_v_pointer); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_390glVertexAttribPointer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_size, PyObject *__pyx_v_type, PyObject *__pyx_v_normalized, PyObject *__pyx_v_stride, PyObject *__pyx_v_pointer); /* proto */
static PyObject *__pyx_pf_5renpy_4uguu_4uguu_392glViewport(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_width, PyObject *__pyx_v_height); /* proto */
static PyObject *__pyx_tp_new_5renpy_4uguu_4uguu_ptr(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_5renpy_4uguu_4uguu_Buffer(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_5renpy_4uguu_4uguu_BytesBuffer(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_5renpy_4uguu_4uguu_BytesListBuffer(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_5renpy_4uguu_4uguu_IntBuffer(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_5renpy_4uguu_4uguu_FloatBuffer(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_int_0;
static PyObject *__pyx_tuple_;
static PyObject *__pyx_tuple__2;
static PyObject *__pyx_tuple__3;
static PyObject *__pyx_tuple__4;
static PyObject *__pyx_tuple__5;
static PyObject *__pyx_tuple__6;
static PyObject *__pyx_tuple__7;
static PyObject *__pyx_tuple__8;
static PyObject *__pyx_tuple__9;
static PyObject *__pyx_tuple__10;
static PyObject *__pyx_tuple__11;
static PyObject *__pyx_tuple__12;
static PyObject *__pyx_tuple__13;
static PyObject *__pyx_tuple__14;
static PyObject *__pyx_tuple__16;
static PyObject *__pyx_tuple__18;
static PyObject *__pyx_tuple__20;
static PyObject *__pyx_tuple__22;
static PyObject *__pyx_tuple__24;
static PyObject *__pyx_tuple__26;
static PyObject *__pyx_tuple__28;
static PyObject *__pyx_tuple__30;
static PyObject *__pyx_tuple__32;
static PyObject *__pyx_tuple__34;
static PyObject *__pyx_tuple__36;
static PyObject *__pyx_tuple__38;
static PyObject *__pyx_tuple__40;
static PyObject *__pyx_tuple__42;
static PyObject *__pyx_tuple__44;
static PyObject *__pyx_tuple__46;
static PyObject *__pyx_tuple__48;
static PyObject *__pyx_tuple__50;
static PyObject *__pyx_tuple__52;
static PyObject *__pyx_tuple__54;
static PyObject *__pyx_tuple__56;
static PyObject *__pyx_tuple__58;
static PyObject *__pyx_tuple__60;
static PyObject *__pyx_tuple__62;
static PyObject *__pyx_tuple__64;
static PyObject *__pyx_tuple__66;
static PyObject *__pyx_tuple__68;
static PyObject *__pyx_tuple__70;
static PyObject *__pyx_tuple__72;
static PyObject *__pyx_tuple__74;
static PyObject *__pyx_tuple__76;
static PyObject *__pyx_tuple__78;
static PyObject *__pyx_tuple__80;
static PyObject *__pyx_tuple__82;
static PyObject *__pyx_tuple__84;
static PyObject *__pyx_tuple__86;
static PyObject *__pyx_tuple__89;
static PyObject *__pyx_tuple__91;
static PyObject *__pyx_tuple__93;
static PyObject *__pyx_tuple__95;
static PyObject *__pyx_tuple__97;
static PyObject *__pyx_tuple__99;
static PyObject *__pyx_tuple__101;
static PyObject *__pyx_tuple__103;
static PyObject *__pyx_tuple__105;
static PyObject *__pyx_tuple__107;
static PyObject *__pyx_tuple__109;
static PyObject *__pyx_tuple__111;
static PyObject *__pyx_tuple__113;
static PyObject *__pyx_tuple__115;
static PyObject *__pyx_tuple__117;
static PyObject *__pyx_tuple__119;
static PyObject *__pyx_tuple__121;
static PyObject *__pyx_tuple__123;
static PyObject *__pyx_tuple__125;
static PyObject *__pyx_tuple__127;
static PyObject *__pyx_tuple__129;
static PyObject *__pyx_tuple__131;
static PyObject *__pyx_tuple__136;
static PyObject *__pyx_tuple__138;
static PyObject *__pyx_tuple__140;
static PyObject *__pyx_tuple__142;
static PyObject *__pyx_tuple__144;
static PyObject *__pyx_tuple__146;
static PyObject *__pyx_tuple__148;
static PyObject *__pyx_tuple__150;
static PyObject *__pyx_tuple__152;
static PyObject *__pyx_tuple__154;
static PyObject *__pyx_tuple__156;
static PyObject *__pyx_tuple__158;
static PyObject *__pyx_tuple__160;
static PyObject *__pyx_tuple__162;
static PyObject *__pyx_tuple__164;
static PyObject *__pyx_tuple__166;
static PyObject *__pyx_tuple__168;
static PyObject *__pyx_tuple__170;
static PyObject *__pyx_tuple__172;
static PyObject *__pyx_tuple__175;
static PyObject *__pyx_tuple__177;
static PyObject *__pyx_tuple__179;
static PyObject *__pyx_tuple__181;
static PyObject *__pyx_tuple__183;
static PyObject *__pyx_tuple__185;
static PyObject *__pyx_tuple__187;
static PyObject *__pyx_tuple__189;
static PyObject *__pyx_tuple__191;
static PyObject *__pyx_tuple__193;
static PyObject *__pyx_tuple__195;
static PyObject *__pyx_tuple__197;
static PyObject *__pyx_tuple__199;
static PyObject *__pyx_tuple__201;
static PyObject *__pyx_tuple__203;
static PyObject *__pyx_tuple__205;
static PyObject *__pyx_tuple__207;
static PyObject *__pyx_tuple__209;
static PyObject *__pyx_tuple__211;
static PyObject *__pyx_tuple__213;
static PyObject *__pyx_tuple__215;
static PyObject *__pyx_tuple__217;
static PyObject *__pyx_tuple__219;
static PyObject *__pyx_tuple__221;
static PyObject *__pyx_tuple__223;
static PyObject *__pyx_tuple__225;
static PyObject *__pyx_tuple__227;
static PyObject *__pyx_tuple__229;
static PyObject *__pyx_tuple__231;
static PyObject *__pyx_tuple__233;
static PyObject *__pyx_tuple__235;
static PyObject *__pyx_tuple__237;
static PyObject *__pyx_tuple__239;
static PyObject *__pyx_tuple__241;
static PyObject *__pyx_tuple__243;
static PyObject *__pyx_tuple__245;
static PyObject *__pyx_tuple__247;
static PyObject *__pyx_tuple__249;
static PyObject *__pyx_tuple__251;
static PyObject *__pyx_tuple__253;
static PyObject *__pyx_tuple__255;
static PyObject *__pyx_tuple__257;
static PyObject *__pyx_tuple__259;
static PyObject *__pyx_tuple__261;
static PyObject *__pyx_tuple__263;
static PyObject *__pyx_tuple__265;
static PyObject *__pyx_tuple__267;
static PyObject *__pyx_tuple__269;
static PyObject *__pyx_tuple__271;
static PyObject *__pyx_tuple__273;
static PyObject *__pyx_tuple__275;
static PyObject *__pyx_tuple__277;
static PyObject *__pyx_tuple__279;
static PyObject *__pyx_tuple__281;
static PyObject *__pyx_tuple__283;
static PyObject *__pyx_tuple__285;
static PyObject *__pyx_tuple__287;
static PyObject *__pyx_tuple__289;
static PyObject *__pyx_tuple__291;
static PyObject *__pyx_tuple__293;
static PyObject *__pyx_tuple__295;
static PyObject *__pyx_tuple__297;
static PyObject *__pyx_tuple__299;
static PyObject *__pyx_tuple__301;
static PyObject *__pyx_tuple__303;
static PyObject *__pyx_tuple__305;
static PyObject *__pyx_tuple__307;
static PyObject *__pyx_tuple__309;
static PyObject *__pyx_tuple__311;
static PyObject *__pyx_tuple__313;
static PyObject *__pyx_tuple__315;
static PyObject *__pyx_tuple__317;
static PyObject *__pyx_tuple__319;
static PyObject *__pyx_tuple__321;
static PyObject *__pyx_tuple__323;
static PyObject *__pyx_tuple__325;
static PyObject *__pyx_tuple__327;
static PyObject *__pyx_tuple__329;
static PyObject *__pyx_tuple__331;
static PyObject *__pyx_tuple__333;
static PyObject *__pyx_tuple__335;
static PyObject *__pyx_tuple__337;
static PyObject *__pyx_tuple__339;
static PyObject *__pyx_tuple__341;
static PyObject *__pyx_tuple__343;
static PyObject *__pyx_tuple__345;
static PyObject *__pyx_tuple__347;
static PyObject *__pyx_tuple__349;
static PyObject *__pyx_tuple__351;
static PyObject *__pyx_tuple__353;
static PyObject *__pyx_tuple__355;
static PyObject *__pyx_tuple__357;
static PyObject *__pyx_tuple__359;
static PyObject *__pyx_tuple__361;
static PyObject *__pyx_tuple__363;
static PyObject *__pyx_tuple__365;
static PyObject *__pyx_tuple__367;
static PyObject *__pyx_tuple__369;
static PyObject *__pyx_tuple__371;
static PyObject *__pyx_tuple__373;
static PyObject *__pyx_tuple__375;
static PyObject *__pyx_tuple__377;
static PyObject *__pyx_tuple__379;
static PyObject *__pyx_tuple__381;
static PyObject *__pyx_tuple__383;
static PyObject *__pyx_tuple__385;
static PyObject *__pyx_tuple__387;
static PyObject *__pyx_tuple__389;
static PyObject *__pyx_tuple__391;
static PyObject *__pyx_tuple__393;
static PyObject *__pyx_tuple__395;
static PyObject *__pyx_tuple__397;
static PyObject *__pyx_tuple__399;
static PyObject *__pyx_tuple__401;
static PyObject *__pyx_codeobj__15;
static PyObject *__pyx_codeobj__17;
static PyObject *__pyx_codeobj__19;
static PyObject *__pyx_codeobj__21;
static PyObject *__pyx_codeobj__23;
static PyObject *__pyx_codeobj__25;
static PyObject *__pyx_codeobj__27;
static PyObject *__pyx_codeobj__29;
static PyObject *__pyx_codeobj__31;
static PyObject *__pyx_codeobj__33;
static PyObject *__pyx_codeobj__35;
static PyObject *__pyx_codeobj__37;
static PyObject *__pyx_codeobj__39;
static PyObject *__pyx_codeobj__41;
static PyObject *__pyx_codeobj__43;
static PyObject *__pyx_codeobj__45;
static PyObject *__pyx_codeobj__47;
static PyObject *__pyx_codeobj__49;
static PyObject *__pyx_codeobj__51;
static PyObject *__pyx_codeobj__53;
static PyObject *__pyx_codeobj__55;
static PyObject *__pyx_codeobj__57;
static PyObject *__pyx_codeobj__59;
static PyObject *__pyx_codeobj__61;
static PyObject *__pyx_codeobj__63;
static PyObject *__pyx_codeobj__65;
static PyObject *__pyx_codeobj__67;
static PyObject *__pyx_codeobj__69;
static PyObject *__pyx_codeobj__71;
static PyObject *__pyx_codeobj__73;
static PyObject *__pyx_codeobj__75;
static PyObject *__pyx_codeobj__77;
static PyObject *__pyx_codeobj__79;
static PyObject *__pyx_codeobj__81;
static PyObject *__pyx_codeobj__83;
static PyObject *__pyx_codeobj__85;
static PyObject *__pyx_codeobj__87;
static PyObject *__pyx_codeobj__88;
static PyObject *__pyx_codeobj__90;
static PyObject *__pyx_codeobj__92;
static PyObject *__pyx_codeobj__94;
static PyObject *__pyx_codeobj__96;
static PyObject *__pyx_codeobj__98;
static PyObject *__pyx_codeobj__100;
static PyObject *__pyx_codeobj__102;
static PyObject *__pyx_codeobj__104;
static PyObject *__pyx_codeobj__106;
static PyObject *__pyx_codeobj__108;
static PyObject *__pyx_codeobj__110;
static PyObject *__pyx_codeobj__112;
static PyObject *__pyx_codeobj__114;
static PyObject *__pyx_codeobj__116;
static PyObject *__pyx_codeobj__118;
static PyObject *__pyx_codeobj__120;
static PyObject *__pyx_codeobj__122;
static PyObject *__pyx_codeobj__124;
static PyObject *__pyx_codeobj__126;
static PyObject *__pyx_codeobj__128;
static PyObject *__pyx_codeobj__130;
static PyObject *__pyx_codeobj__132;
static PyObject *__pyx_codeobj__133;
static PyObject *__pyx_codeobj__134;
static PyObject *__pyx_codeobj__135;
static PyObject *__pyx_codeobj__137;
static PyObject *__pyx_codeobj__139;
static PyObject *__pyx_codeobj__141;
static PyObject *__pyx_codeobj__143;
static PyObject *__pyx_codeobj__145;
static PyObject *__pyx_codeobj__147;
static PyObject *__pyx_codeobj__149;
static PyObject *__pyx_codeobj__151;
static PyObject *__pyx_codeobj__153;
static PyObject *__pyx_codeobj__155;
static PyObject *__pyx_codeobj__157;
static PyObject *__pyx_codeobj__159;
static PyObject *__pyx_codeobj__161;
static PyObject *__pyx_codeobj__163;
static PyObject *__pyx_codeobj__165;
static PyObject *__pyx_codeobj__167;
static PyObject *__pyx_codeobj__169;
static PyObject *__pyx_codeobj__171;
static PyObject *__pyx_codeobj__173;
static PyObject *__pyx_codeobj__174;
static PyObject *__pyx_codeobj__176;
static PyObject *__pyx_codeobj__178;
static PyObject *__pyx_codeobj__180;
static PyObject *__pyx_codeobj__182;
static PyObject *__pyx_codeobj__184;
static PyObject *__pyx_codeobj__186;
static PyObject *__pyx_codeobj__188;
static PyObject *__pyx_codeobj__190;
static PyObject *__pyx_codeobj__192;
static PyObject *__pyx_codeobj__194;
static PyObject *__pyx_codeobj__196;
static PyObject *__pyx_codeobj__198;
static PyObject *__pyx_codeobj__200;
static PyObject *__pyx_codeobj__202;
static PyObject *__pyx_codeobj__204;
static PyObject *__pyx_codeobj__206;
static PyObject *__pyx_codeobj__208;
static PyObject *__pyx_codeobj__210;
static PyObject *__pyx_codeobj__212;
static PyObject *__pyx_codeobj__214;
static PyObject *__pyx_codeobj__216;
static PyObject *__pyx_codeobj__218;
static PyObject *__pyx_codeobj__220;
static PyObject *__pyx_codeobj__222;
static PyObject *__pyx_codeobj__224;
static PyObject *__pyx_codeobj__226;
static PyObject *__pyx_codeobj__228;
static PyObject *__pyx_codeobj__230;
static PyObject *__pyx_codeobj__232;
static PyObject *__pyx_codeobj__234;
static PyObject *__pyx_codeobj__236;
static PyObject *__pyx_codeobj__238;
static PyObject *__pyx_codeobj__240;
static PyObject *__pyx_codeobj__242;
static PyObject *__pyx_codeobj__244;
static PyObject *__pyx_codeobj__246;
static PyObject *__pyx_codeobj__248;
static PyObject *__pyx_codeobj__250;
static PyObject *__pyx_codeobj__252;
static PyObject *__pyx_codeobj__254;
static PyObject *__pyx_codeobj__256;
static PyObject *__pyx_codeobj__258;
static PyObject *__pyx_codeobj__260;
static PyObject *__pyx_codeobj__262;
static PyObject *__pyx_codeobj__264;
static PyObject *__pyx_codeobj__266;
static PyObject *__pyx_codeobj__268;
static PyObject *__pyx_codeobj__270;
static PyObject *__pyx_codeobj__272;
static PyObject *__pyx_codeobj__274;
static PyObject *__pyx_codeobj__276;
static PyObject *__pyx_codeobj__278;
static PyObject *__pyx_codeobj__280;
static PyObject *__pyx_codeobj__282;
static PyObject *__pyx_codeobj__284;
static PyObject *__pyx_codeobj__286;
static PyObject *__pyx_codeobj__288;
static PyObject *__pyx_codeobj__290;
static PyObject *__pyx_codeobj__292;
static PyObject *__pyx_codeobj__294;
static PyObject *__pyx_codeobj__296;
static PyObject *__pyx_codeobj__298;
static PyObject *__pyx_codeobj__300;
static PyObject *__pyx_codeobj__302;
static PyObject *__pyx_codeobj__304;
static PyObject *__pyx_codeobj__306;
static PyObject *__pyx_codeobj__308;
static PyObject *__pyx_codeobj__310;
static PyObject *__pyx_codeobj__312;
static PyObject *__pyx_codeobj__314;
static PyObject *__pyx_codeobj__316;
static PyObject *__pyx_codeobj__318;
static PyObject *__pyx_codeobj__320;
static PyObject *__pyx_codeobj__322;
static PyObject *__pyx_codeobj__324;
static PyObject *__pyx_codeobj__326;
static PyObject *__pyx_codeobj__328;
static PyObject *__pyx_codeobj__330;
static PyObject *__pyx_codeobj__332;
static PyObject *__pyx_codeobj__334;
static PyObject *__pyx_codeobj__336;
static PyObject *__pyx_codeobj__338;
static PyObject *__pyx_codeobj__340;
static PyObject *__pyx_codeobj__342;
static PyObject *__pyx_codeobj__344;
static PyObject *__pyx_codeobj__346;
static PyObject *__pyx_codeobj__348;
static PyObject *__pyx_codeobj__350;
static PyObject *__pyx_codeobj__352;
static PyObject *__pyx_codeobj__354;
static PyObject *__pyx_codeobj__356;
static PyObject *__pyx_codeobj__358;
static PyObject *__pyx_codeobj__360;
static PyObject *__pyx_codeobj__362;
static PyObject *__pyx_codeobj__364;
static PyObject *__pyx_codeobj__366;
static PyObject *__pyx_codeobj__368;
static PyObject *__pyx_codeobj__370;
static PyObject *__pyx_codeobj__372;
static PyObject *__pyx_codeobj__374;
static PyObject *__pyx_codeobj__376;
static PyObject *__pyx_codeobj__378;
static PyObject *__pyx_codeobj__380;
static PyObject *__pyx_codeobj__382;
static PyObject *__pyx_codeobj__384;
static PyObject *__pyx_codeobj__386;
static PyObject *__pyx_codeobj__388;
static PyObject *__pyx_codeobj__390;
static PyObject *__pyx_codeobj__392;
static PyObject *__pyx_codeobj__394;
static PyObject *__pyx_codeobj__396;
static PyObject *__pyx_codeobj__398;
static PyObject *__pyx_codeobj__400;
static PyObject *__pyx_codeobj__402;
/* Late includes */

/* "renpy/uguu/uguu.pyx":44
 * 
 * 
 * cdef object proxy_return_string(const GLubyte *s):             # <<<<<<<<<<<<<<
 *     """
 *     This is used for string return values. It returns the return value as
 */

static PyObject *__pyx_f_5renpy_4uguu_4uguu_proxy_return_string(GLubyte const *__pyx_v_s) {
  char const *__pyx_v_ss;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("proxy_return_string", 0);

  /* "renpy/uguu/uguu.pyx":50
 *     """
 * 
 *     if s == NULL:             # <<<<<<<<<<<<<<
 *         return None
 * 
 */
  __pyx_t_1 = ((__pyx_v_s == NULL) != 0);
  if (__pyx_t_1) {

    /* "renpy/uguu/uguu.pyx":51
 * 
 *     if s == NULL:
 *         return None             # <<<<<<<<<<<<<<
 * 
 *     cdef const char *ss = <const char *> s
 */
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;

    /* "renpy/uguu/uguu.pyx":50
 *     """
 * 
 *     if s == NULL:             # <<<<<<<<<<<<<<
 *         return None
 * 
 */
  }

  /* "renpy/uguu/uguu.pyx":53
 *         return None
 * 
 *     cdef const char *ss = <const char *> s             # <<<<<<<<<<<<<<
 *     return ss
 * 
 */
  __pyx_v_ss = ((char const *)__pyx_v_s);

  /* "renpy/uguu/uguu.pyx":54
 * 
 *     cdef const char *ss = <const char *> s
 *     return ss             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_2 = __Pyx_PyBytes_FromString(__pyx_v_ss); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 54, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":44
 * 
 * 
 * cdef object proxy_return_string(const GLubyte *s):             # <<<<<<<<<<<<<<
 *     """
 *     This is used for string return values. It returns the return value as
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.proxy_return_string", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":66
 *     cdef Py_buffer view
 * 
 *     def __init__(self, o, ro=True):             # <<<<<<<<<<<<<<
 *         if o is None:
 *             self.ptr = NULL
 */

/* Python wrapper */
static int __pyx_pw_5renpy_4uguu_4uguu_3ptr_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_5renpy_4uguu_4uguu_3ptr_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_o = 0;
  PyObject *__pyx_v_ro = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_o,&__pyx_n_s_ro,0};
    PyObject* values[2] = {0,0};
    values[1] = ((PyObject *)Py_True);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_o)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_ro);
          if (value) { values[1] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(1, 66, __pyx_L3_error)
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_o = values[0];
    __pyx_v_ro = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 66, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.ptr.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_3ptr___init__(((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_v_self), __pyx_v_o, __pyx_v_ro);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_5renpy_4uguu_4uguu_3ptr___init__(struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_self, PyObject *__pyx_v_o, PyObject *__pyx_v_ro) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  int __pyx_t_3;
  int __pyx_t_4;
  void *__pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "renpy/uguu/uguu.pyx":67
 * 
 *     def __init__(self, o, ro=True):
 *         if o is None:             # <<<<<<<<<<<<<<
 *             self.ptr = NULL
 *             return
 */
  __pyx_t_1 = (__pyx_v_o == Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "renpy/uguu/uguu.pyx":68
 *     def __init__(self, o, ro=True):
 *         if o is None:
 *             self.ptr = NULL             # <<<<<<<<<<<<<<
 *             return
 * 
 */
    __pyx_v_self->ptr = NULL;

    /* "renpy/uguu/uguu.pyx":69
 *         if o is None:
 *             self.ptr = NULL
 *             return             # <<<<<<<<<<<<<<
 * 
 *         PyObject_GetBuffer(o, &self.view, PyBUF_CONTIG_RO if ro else PyBUF_CONTIG)
 */
    __pyx_r = 0;
    goto __pyx_L0;

    /* "renpy/uguu/uguu.pyx":67
 * 
 *     def __init__(self, o, ro=True):
 *         if o is None:             # <<<<<<<<<<<<<<
 *             self.ptr = NULL
 *             return
 */
  }

  /* "renpy/uguu/uguu.pyx":71
 *             return
 * 
 *         PyObject_GetBuffer(o, &self.view, PyBUF_CONTIG_RO if ro else PyBUF_CONTIG)             # <<<<<<<<<<<<<<
 *         self.ptr = self.view.buf
 * 
 */
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_ro); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(1, 71, __pyx_L1_error)
  if (__pyx_t_2) {
    __pyx_t_3 = PyBUF_CONTIG_RO;
  } else {
    __pyx_t_3 = PyBUF_CONTIG;
  }
  __pyx_t_4 = PyObject_GetBuffer(__pyx_v_o, (&__pyx_v_self->view), __pyx_t_3); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 71, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":72
 * 
 *         PyObject_GetBuffer(o, &self.view, PyBUF_CONTIG_RO if ro else PyBUF_CONTIG)
 *         self.ptr = self.view.buf             # <<<<<<<<<<<<<<
 * 
 *     def __dealloc__(self):
 */
  __pyx_t_5 = __pyx_v_self->view.buf;
  __pyx_v_self->ptr = __pyx_t_5;

  /* "renpy/uguu/uguu.pyx":66
 *     cdef Py_buffer view
 * 
 *     def __init__(self, o, ro=True):             # <<<<<<<<<<<<<<
 *         if o is None:
 *             self.ptr = NULL
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.ptr.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":74
 *         self.ptr = self.view.buf
 * 
 *     def __dealloc__(self):             # <<<<<<<<<<<<<<
 *         if self.ptr:
 *             PyBuffer_Release(&self.view)
 */

/* Python wrapper */
static void __pyx_pw_5renpy_4uguu_4uguu_3ptr_3__dealloc__(PyObject *__pyx_v_self); /*proto*/
static void __pyx_pw_5renpy_4uguu_4uguu_3ptr_3__dealloc__(PyObject *__pyx_v_self) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__dealloc__ (wrapper)", 0);
  __pyx_pf_5renpy_4uguu_4uguu_3ptr_2__dealloc__(((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
}

static void __pyx_pf_5renpy_4uguu_4uguu_3ptr_2__dealloc__(struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_self) {
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  __Pyx_RefNannySetupContext("__dealloc__", 0);

  /* "renpy/uguu/uguu.pyx":75
 * 
 *     def __dealloc__(self):
 *         if self.ptr:             # <<<<<<<<<<<<<<
 *             PyBuffer_Release(&self.view)
 *             self.ptr = NULL
 */
  __pyx_t_1 = (__pyx_v_self->ptr != 0);
  if (__pyx_t_1) {

    /* "renpy/uguu/uguu.pyx":76
 *     def __dealloc__(self):
 *         if self.ptr:
 *             PyBuffer_Release(&self.view)             # <<<<<<<<<<<<<<
 *             self.ptr = NULL
 * 
 */
    PyBuffer_Release((&__pyx_v_self->view));

    /* "renpy/uguu/uguu.pyx":77
 *         if self.ptr:
 *             PyBuffer_Release(&self.view)
 *             self.ptr = NULL             # <<<<<<<<<<<<<<
 * 
 * cdef ptr get_ptr(o):
 */
    __pyx_v_self->ptr = NULL;

    /* "renpy/uguu/uguu.pyx":75
 * 
 *     def __dealloc__(self):
 *         if self.ptr:             # <<<<<<<<<<<<<<
 *             PyBuffer_Release(&self.view)
 *             self.ptr = NULL
 */
  }

  /* "renpy/uguu/uguu.pyx":74
 *         self.ptr = self.view.buf
 * 
 *     def __dealloc__(self):             # <<<<<<<<<<<<<<
 *         if self.ptr:
 *             PyBuffer_Release(&self.view)
 */

  /* function exit code */
  __Pyx_RefNannyFinishContext();
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_3ptr_5__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_3ptr_5__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_3ptr_4__reduce_cython__(((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_3ptr_4__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")
 */
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple_, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.ptr.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_3ptr_7__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_3ptr_7__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_3ptr_6__setstate_cython__(((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_3ptr_6__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 */
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__2, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 4, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.ptr.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":79
 *             self.ptr = NULL
 * 
 * cdef ptr get_ptr(o):             # <<<<<<<<<<<<<<
 *     """
 *     If o is a ptr, return it. Otherwise, convert the buffer into a ptr, and
 */

static struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_f_5renpy_4uguu_4uguu_get_ptr(PyObject *__pyx_v_o) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_ptr", 0);

  /* "renpy/uguu/uguu.pyx":85
 *     """
 * 
 *     if isinstance(o, ptr):             # <<<<<<<<<<<<<<
 *         return o
 *     else:
 */
  __pyx_t_1 = __Pyx_TypeCheck(__pyx_v_o, __pyx_ptype_5renpy_4uguu_4uguu_ptr); 
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "renpy/uguu/uguu.pyx":86
 * 
 *     if isinstance(o, ptr):
 *         return o             # <<<<<<<<<<<<<<
 *     else:
 *         return ptr(o)
 */
    __Pyx_XDECREF(((PyObject *)__pyx_r));
    if (!(likely(((__pyx_v_o) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_o, __pyx_ptype_5renpy_4uguu_4uguu_ptr))))) __PYX_ERR(1, 86, __pyx_L1_error)
    __Pyx_INCREF(__pyx_v_o);
    __pyx_r = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_v_o);
    goto __pyx_L0;

    /* "renpy/uguu/uguu.pyx":85
 *     """
 * 
 *     if isinstance(o, ptr):             # <<<<<<<<<<<<<<
 *         return o
 *     else:
 */
  }

  /* "renpy/uguu/uguu.pyx":88
 *         return o
 *     else:
 *         return ptr(o)             # <<<<<<<<<<<<<<
 * 
 * cdef class Buffer:
 */
  /*else*/ {
    __Pyx_XDECREF(((PyObject *)__pyx_r));
    __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_5renpy_4uguu_4uguu_ptr), __pyx_v_o); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 88, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_r = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L0;
  }

  /* "renpy/uguu/uguu.pyx":79
 *             self.ptr = NULL
 * 
 * cdef ptr get_ptr(o):             # <<<<<<<<<<<<<<
 *     """
 *     If o is a ptr, return it. Otherwise, convert the buffer into a ptr, and
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("renpy.uguu.uguu.get_ptr", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":101
 *     cdef int readonly
 * 
 *     cdef setup_buffer(self, Py_ssize_t length, Py_ssize_t itemsize, const char *format, int readonly):             # <<<<<<<<<<<<<<
 *         """
 *         This is called by a specific buffer's init method to set up various fields, and especially
 */

static PyObject *__pyx_f_5renpy_4uguu_4uguu_6Buffer_setup_buffer(struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *__pyx_v_self, Py_ssize_t __pyx_v_length, Py_ssize_t __pyx_v_itemsize, char const *__pyx_v_format, int __pyx_v_readonly) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("setup_buffer", 0);

  /* "renpy/uguu/uguu.pyx":116
 *         """
 * 
 *         self.length = length             # <<<<<<<<<<<<<<
 *         self.itemsize = itemsize
 *         self.format = format
 */
  __pyx_v_self->length = __pyx_v_length;

  /* "renpy/uguu/uguu.pyx":117
 * 
 *         self.length = length
 *         self.itemsize = itemsize             # <<<<<<<<<<<<<<
 *         self.format = format
 *         self.readonly = readonly
 */
  __pyx_v_self->itemsize = __pyx_v_itemsize;

  /* "renpy/uguu/uguu.pyx":118
 *         self.length = length
 *         self.itemsize = itemsize
 *         self.format = format             # <<<<<<<<<<<<<<
 *         self.readonly = readonly
 *         self.data = calloc(self.length, self.itemsize)
 */
  __pyx_v_self->format = __pyx_v_format;

  /* "renpy/uguu/uguu.pyx":119
 *         self.itemsize = itemsize
 *         self.format = format
 *         self.readonly = readonly             # <<<<<<<<<<<<<<
 *         self.data = calloc(self.length, self.itemsize)
 * 
 */
  __pyx_v_self->readonly = __pyx_v_readonly;

  /* "renpy/uguu/uguu.pyx":120
 *         self.format = format
 *         self.readonly = readonly
 *         self.data = calloc(self.length, self.itemsize)             # <<<<<<<<<<<<<<
 * 
 *     def __getbuffer__(self, Py_buffer *buffer, int flags):
 */
  __pyx_v_self->data = calloc(__pyx_v_self->length, __pyx_v_self->itemsize);

  /* "renpy/uguu/uguu.pyx":101
 *     cdef int readonly
 * 
 *     cdef setup_buffer(self, Py_ssize_t length, Py_ssize_t itemsize, const char *format, int readonly):             # <<<<<<<<<<<<<<
 *         """
 *         This is called by a specific buffer's init method to set up various fields, and especially
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":122
 *         self.data = calloc(self.length, self.itemsize)
 * 
 *     def __getbuffer__(self, Py_buffer *buffer, int flags):             # <<<<<<<<<<<<<<
 * 
 *         buffer.buf = self.data
 */

/* Python wrapper */
static CYTHON_UNUSED int __pyx_pw_5renpy_4uguu_4uguu_6Buffer_1__getbuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_buffer, int __pyx_v_flags); /*proto*/
static CYTHON_UNUSED int __pyx_pw_5renpy_4uguu_4uguu_6Buffer_1__getbuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_buffer, int __pyx_v_flags) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__getbuffer__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_6Buffer___getbuffer__(((struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *)__pyx_v_self), ((Py_buffer *)__pyx_v_buffer), ((int)__pyx_v_flags));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_5renpy_4uguu_4uguu_6Buffer___getbuffer__(struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *__pyx_v_self, Py_buffer *__pyx_v_buffer, CYTHON_UNUSED int __pyx_v_flags) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  void *__pyx_t_1;
  char const *__pyx_t_2;
  Py_ssize_t __pyx_t_3;
  int __pyx_t_4;
  if (__pyx_v_buffer == NULL) {
    PyErr_SetString(PyExc_BufferError, "PyObject_GetBuffer: view==NULL argument is obsolete");
    return -1;
  }
  __Pyx_RefNannySetupContext("__getbuffer__", 0);
  __pyx_v_buffer->obj = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(__pyx_v_buffer->obj);

  /* "renpy/uguu/uguu.pyx":124
 *     def __getbuffer__(self, Py_buffer *buffer, int flags):
 * 
 *         buffer.buf = self.data             # <<<<<<<<<<<<<<
 *         buffer.format = self.format
 *         buffer.internal = NULL
 */
  __pyx_t_1 = __pyx_v_self->data;
  __pyx_v_buffer->buf = __pyx_t_1;

  /* "renpy/uguu/uguu.pyx":125
 * 
 *         buffer.buf = self.data
 *         buffer.format = self.format             # <<<<<<<<<<<<<<
 *         buffer.internal = NULL
 *         buffer.itemsize = self.itemsize
 */
  __pyx_t_2 = __pyx_v_self->format;
  __pyx_v_buffer->format = __pyx_t_2;

  /* "renpy/uguu/uguu.pyx":126
 *         buffer.buf = self.data
 *         buffer.format = self.format
 *         buffer.internal = NULL             # <<<<<<<<<<<<<<
 *         buffer.itemsize = self.itemsize
 *         buffer.len = self.length * self.itemsize
 */
  __pyx_v_buffer->internal = NULL;

  /* "renpy/uguu/uguu.pyx":127
 *         buffer.format = self.format
 *         buffer.internal = NULL
 *         buffer.itemsize = self.itemsize             # <<<<<<<<<<<<<<
 *         buffer.len = self.length * self.itemsize
 *         buffer.ndim = 1
 */
  __pyx_t_3 = __pyx_v_self->itemsize;
  __pyx_v_buffer->itemsize = __pyx_t_3;

  /* "renpy/uguu/uguu.pyx":128
 *         buffer.internal = NULL
 *         buffer.itemsize = self.itemsize
 *         buffer.len = self.length * self.itemsize             # <<<<<<<<<<<<<<
 *         buffer.ndim = 1
 *         buffer.obj = self
 */
  __pyx_v_buffer->len = (__pyx_v_self->length * __pyx_v_self->itemsize);

  /* "renpy/uguu/uguu.pyx":129
 *         buffer.itemsize = self.itemsize
 *         buffer.len = self.length * self.itemsize
 *         buffer.ndim = 1             # <<<<<<<<<<<<<<
 *         buffer.obj = self
 *         buffer.readonly = self.readonly
 */
  __pyx_v_buffer->ndim = 1;

  /* "renpy/uguu/uguu.pyx":130
 *         buffer.len = self.length * self.itemsize
 *         buffer.ndim = 1
 *         buffer.obj = self             # <<<<<<<<<<<<<<
 *         buffer.readonly = self.readonly
 *         buffer.shape = &self.length
 */
  __Pyx_INCREF(((PyObject *)__pyx_v_self));
  __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
  __Pyx_GOTREF(__pyx_v_buffer->obj);
  __Pyx_DECREF(__pyx_v_buffer->obj);
  __pyx_v_buffer->obj = ((PyObject *)__pyx_v_self);

  /* "renpy/uguu/uguu.pyx":131
 *         buffer.ndim = 1
 *         buffer.obj = self
 *         buffer.readonly = self.readonly             # <<<<<<<<<<<<<<
 *         buffer.shape = &self.length
 *         buffer.strides = &self.itemsize
 */
  __pyx_t_4 = __pyx_v_self->readonly;
  __pyx_v_buffer->readonly = __pyx_t_4;

  /* "renpy/uguu/uguu.pyx":132
 *         buffer.obj = self
 *         buffer.readonly = self.readonly
 *         buffer.shape = &self.length             # <<<<<<<<<<<<<<
 *         buffer.strides = &self.itemsize
 *         buffer.suboffsets = NULL
 */
  __pyx_v_buffer->shape = (&__pyx_v_self->length);

  /* "renpy/uguu/uguu.pyx":133
 *         buffer.readonly = self.readonly
 *         buffer.shape = &self.length
 *         buffer.strides = &self.itemsize             # <<<<<<<<<<<<<<
 *         buffer.suboffsets = NULL
 * 
 */
  __pyx_v_buffer->strides = (&__pyx_v_self->itemsize);

  /* "renpy/uguu/uguu.pyx":134
 *         buffer.shape = &self.length
 *         buffer.strides = &self.itemsize
 *         buffer.suboffsets = NULL             # <<<<<<<<<<<<<<
 * 
 *     def __releasebuffer__(self, Py_buffer *buffer):
 */
  __pyx_v_buffer->suboffsets = NULL;

  /* "renpy/uguu/uguu.pyx":122
 *         self.data = calloc(self.length, self.itemsize)
 * 
 *     def __getbuffer__(self, Py_buffer *buffer, int flags):             # <<<<<<<<<<<<<<
 * 
 *         buffer.buf = self.data
 */

  /* function exit code */
  __pyx_r = 0;
  if (__pyx_v_buffer->obj == Py_None) {
    __Pyx_GOTREF(__pyx_v_buffer->obj);
    __Pyx_DECREF(__pyx_v_buffer->obj); __pyx_v_buffer->obj = 0;
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":136
 *         buffer.suboffsets = NULL
 * 
 *     def __releasebuffer__(self, Py_buffer *buffer):             # <<<<<<<<<<<<<<
 *         pass
 * 
 */

/* Python wrapper */
static CYTHON_UNUSED void __pyx_pw_5renpy_4uguu_4uguu_6Buffer_3__releasebuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_buffer); /*proto*/
static CYTHON_UNUSED void __pyx_pw_5renpy_4uguu_4uguu_6Buffer_3__releasebuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_buffer) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__releasebuffer__ (wrapper)", 0);
  __pyx_pf_5renpy_4uguu_4uguu_6Buffer_2__releasebuffer__(((struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *)__pyx_v_self), ((Py_buffer *)__pyx_v_buffer));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
}

static void __pyx_pf_5renpy_4uguu_4uguu_6Buffer_2__releasebuffer__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *__pyx_v_self, CYTHON_UNUSED Py_buffer *__pyx_v_buffer) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__releasebuffer__", 0);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
}

/* "renpy/uguu/uguu.pyx":139
 *         pass
 * 
 *     def __dealloc__(self):             # <<<<<<<<<<<<<<
 *         if self.data:
 *             free(self.data)
 */

/* Python wrapper */
static void __pyx_pw_5renpy_4uguu_4uguu_6Buffer_5__dealloc__(PyObject *__pyx_v_self); /*proto*/
static void __pyx_pw_5renpy_4uguu_4uguu_6Buffer_5__dealloc__(PyObject *__pyx_v_self) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__dealloc__ (wrapper)", 0);
  __pyx_pf_5renpy_4uguu_4uguu_6Buffer_4__dealloc__(((struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
}

static void __pyx_pf_5renpy_4uguu_4uguu_6Buffer_4__dealloc__(struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *__pyx_v_self) {
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  __Pyx_RefNannySetupContext("__dealloc__", 0);

  /* "renpy/uguu/uguu.pyx":140
 * 
 *     def __dealloc__(self):
 *         if self.data:             # <<<<<<<<<<<<<<
 *             free(self.data)
 *             self.data = NULL
 */
  __pyx_t_1 = (__pyx_v_self->data != 0);
  if (__pyx_t_1) {

    /* "renpy/uguu/uguu.pyx":141
 *     def __dealloc__(self):
 *         if self.data:
 *             free(self.data)             # <<<<<<<<<<<<<<
 *             self.data = NULL
 * 
 */
    free(__pyx_v_self->data);

    /* "renpy/uguu/uguu.pyx":142
 *         if self.data:
 *             free(self.data)
 *             self.data = NULL             # <<<<<<<<<<<<<<
 * 
 * cdef class BytesBuffer(Buffer):
 */
    __pyx_v_self->data = NULL;

    /* "renpy/uguu/uguu.pyx":140
 * 
 *     def __dealloc__(self):
 *         if self.data:             # <<<<<<<<<<<<<<
 *             free(self.data)
 *             self.data = NULL
 */
  }

  /* "renpy/uguu/uguu.pyx":139
 *         pass
 * 
 *     def __dealloc__(self):             # <<<<<<<<<<<<<<
 *         if self.data:
 *             free(self.data)
 */

  /* function exit code */
  __Pyx_RefNannyFinishContext();
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_6Buffer_7__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_6Buffer_7__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_6Buffer_6__reduce_cython__(((struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_6Buffer_6__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__3, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.Buffer.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_6Buffer_9__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_6Buffer_9__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_6Buffer_8__setstate_cython__(((struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_6Buffer_8__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 */
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 4, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.Buffer.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":146
 * cdef class BytesBuffer(Buffer):
 * 
 *     def __init__(self, length):             # <<<<<<<<<<<<<<
 * 
 *         self.setup_buffer(length, 1, "B", 0)
 */

/* Python wrapper */
static int __pyx_pw_5renpy_4uguu_4uguu_11BytesBuffer_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_5renpy_4uguu_4uguu_11BytesBuffer_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_length = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_length,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_length)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(1, 146, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_length = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 146, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.BytesBuffer.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_11BytesBuffer___init__(((struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *)__pyx_v_self), __pyx_v_length);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_5renpy_4uguu_4uguu_11BytesBuffer___init__(struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *__pyx_v_self, PyObject *__pyx_v_length) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  Py_ssize_t __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "renpy/uguu/uguu.pyx":148
 *     def __init__(self, length):
 * 
 *         self.setup_buffer(length, 1, "B", 0)             # <<<<<<<<<<<<<<
 * 
 *     def get(self):
 */
  __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_v_length); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 148, __pyx_L1_error)
  __pyx_t_2 = ((struct __pyx_vtabstruct_5renpy_4uguu_4uguu_BytesBuffer *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.setup_buffer(((struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *)__pyx_v_self), __pyx_t_1, 1, ((char const *)"B"), 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 148, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "renpy/uguu/uguu.pyx":146
 * cdef class BytesBuffer(Buffer):
 * 
 *     def __init__(self, length):             # <<<<<<<<<<<<<<
 * 
 *         self.setup_buffer(length, 1, "B", 0)
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.BytesBuffer.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":150
 *         self.setup_buffer(length, 1, "B", 0)
 * 
 *     def get(self):             # <<<<<<<<<<<<<<
 *         return bytes(<char *> self.data)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11BytesBuffer_3get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11BytesBuffer_3get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_11BytesBuffer_2get(((struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_11BytesBuffer_2get(struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get", 0);

  /* "renpy/uguu/uguu.pyx":151
 * 
 *     def get(self):
 *         return bytes(<char *> self.data)             # <<<<<<<<<<<<<<
 * 
 * cdef class BytesListBuffer(Buffer):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyBytes_FromString(((char *)__pyx_v_self->__pyx_base.data)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 151, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyBytes_Type)), __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 151, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":150
 *         self.setup_buffer(length, 1, "B", 0)
 * 
 *     def get(self):             # <<<<<<<<<<<<<<
 *         return bytes(<char *> self.data)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.BytesBuffer.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11BytesBuffer_5__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11BytesBuffer_5__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_11BytesBuffer_4__reduce_cython__(((struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_11BytesBuffer_4__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__5, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.BytesBuffer.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11BytesBuffer_7__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11BytesBuffer_7__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_11BytesBuffer_6__setstate_cython__(((struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_11BytesBuffer_6__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 */
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__6, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 4, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.BytesBuffer.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":156
 *     cdef object value
 * 
 *     def __init__(self, value):             # <<<<<<<<<<<<<<
 *         self.value = [ ptr(v) for v in value ]
 *         self.setup_buffer(len(value), sizeof(const char *), "P", 1)
 */

/* Python wrapper */
static int __pyx_pw_5renpy_4uguu_4uguu_15BytesListBuffer_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_5renpy_4uguu_4uguu_15BytesListBuffer_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_value,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(1, 156, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_value = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 156, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.BytesListBuffer.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_15BytesListBuffer___init__(((struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *)__pyx_v_self), __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_5renpy_4uguu_4uguu_15BytesListBuffer___init__(struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_v_i;
  PyObject *__pyx_v_v = NULL;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  Py_ssize_t __pyx_t_3;
  PyObject *(*__pyx_t_4)(PyObject *);
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "renpy/uguu/uguu.pyx":157
 * 
 *     def __init__(self, value):
 *         self.value = [ ptr(v) for v in value ]             # <<<<<<<<<<<<<<
 *         self.setup_buffer(len(value), sizeof(const char *), "P", 1)
 * 
 */
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 157, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (likely(PyList_CheckExact(__pyx_v_value)) || PyTuple_CheckExact(__pyx_v_value)) {
    __pyx_t_2 = __pyx_v_value; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = 0;
    __pyx_t_4 = NULL;
  } else {
    __pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 157, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_4 = Py_TYPE(__pyx_t_2)->tp_iternext; if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 157, __pyx_L1_error)
  }
  for (;;) {
    if (likely(!__pyx_t_4)) {
      if (likely(PyList_CheckExact(__pyx_t_2))) {
        if (__pyx_t_3 >= PyList_GET_SIZE(__pyx_t_2)) break;
        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
        __pyx_t_5 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) __PYX_ERR(1, 157, __pyx_L1_error)
        #else
        __pyx_t_5 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 157, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_5);
        #endif
      } else {
        if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
        __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) __PYX_ERR(1, 157, __pyx_L1_error)
        #else
        __pyx_t_5 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 157, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_5);
        #endif
      }
    } else {
      __pyx_t_5 = __pyx_t_4(__pyx_t_2);
      if (unlikely(!__pyx_t_5)) {
        PyObject* exc_type = PyErr_Occurred();
        if (exc_type) {
          if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
          else __PYX_ERR(1, 157, __pyx_L1_error)
        }
        break;
      }
      __Pyx_GOTREF(__pyx_t_5);
    }
    __Pyx_XDECREF_SET(__pyx_v_v, __pyx_t_5);
    __pyx_t_5 = 0;
    __pyx_t_5 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_5renpy_4uguu_4uguu_ptr), __pyx_v_v); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 157, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_5))) __PYX_ERR(1, 157, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->value);
  __Pyx_DECREF(__pyx_v_self->value);
  __pyx_v_self->value = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":158
 *     def __init__(self, value):
 *         self.value = [ ptr(v) for v in value ]
 *         self.setup_buffer(len(value), sizeof(const char *), "P", 1)             # <<<<<<<<<<<<<<
 * 
 *         cdef int i
 */
  __pyx_t_3 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_3 == ((Py_ssize_t)-1))) __PYX_ERR(1, 158, __pyx_L1_error)
  __pyx_t_1 = ((struct __pyx_vtabstruct_5renpy_4uguu_4uguu_BytesListBuffer *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.setup_buffer(((struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *)__pyx_v_self), __pyx_t_3, (sizeof(char const *)), ((char const *)"P"), 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 158, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":162
 *         cdef int i
 * 
 *         for 0 <= i < self.length:             # <<<<<<<<<<<<<<
 *             (<const char **> self.data)[i] = <const char *> (<ptr> self.value[i]).ptr
 * 
 */
  __pyx_t_3 = __pyx_v_self->__pyx_base.length;
  for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_3; __pyx_v_i++) {

    /* "renpy/uguu/uguu.pyx":163
 * 
 *         for 0 <= i < self.length:
 *             (<const char **> self.data)[i] = <const char *> (<ptr> self.value[i]).ptr             # <<<<<<<<<<<<<<
 * 
 * cdef class IntBuffer(Buffer):
 */
    __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->value, __pyx_v_i, int, 1, __Pyx_PyInt_From_int, 0, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 163, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    (((char const **)__pyx_v_self->__pyx_base.data)[__pyx_v_i]) = ((char const *)((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1)->ptr);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  }

  /* "renpy/uguu/uguu.pyx":156
 *     cdef object value
 * 
 *     def __init__(self, value):             # <<<<<<<<<<<<<<
 *         self.value = [ ptr(v) for v in value ]
 *         self.setup_buffer(len(value), sizeof(const char *), "P", 1)
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_AddTraceback("renpy.uguu.uguu.BytesListBuffer.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_v);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_15BytesListBuffer_3__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_15BytesListBuffer_3__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_15BytesListBuffer_2__reduce_cython__(((struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_15BytesListBuffer_2__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__7, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.BytesListBuffer.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_15BytesListBuffer_5__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_15BytesListBuffer_5__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_15BytesListBuffer_4__setstate_cython__(((struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_15BytesListBuffer_4__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 */
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__8, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 4, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.BytesListBuffer.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":167
 * cdef class IntBuffer(Buffer):
 * 
 *     def __init__(self, value):             # <<<<<<<<<<<<<<
 * 
 *         self.setup_buffer(len(value), sizeof(int), "i", 0)
 */

/* Python wrapper */
static int __pyx_pw_5renpy_4uguu_4uguu_9IntBuffer_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_5renpy_4uguu_4uguu_9IntBuffer_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_value,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(1, 167, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_value = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 167, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.IntBuffer.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_9IntBuffer___init__(((struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *)__pyx_v_self), __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_5renpy_4uguu_4uguu_9IntBuffer___init__(struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_v_i;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  Py_ssize_t __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "renpy/uguu/uguu.pyx":169
 *     def __init__(self, value):
 * 
 *         self.setup_buffer(len(value), sizeof(int), "i", 0)             # <<<<<<<<<<<<<<
 * 
 *         cdef int i
 */
  __pyx_t_1 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(1, 169, __pyx_L1_error)
  __pyx_t_2 = ((struct __pyx_vtabstruct_5renpy_4uguu_4uguu_IntBuffer *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.setup_buffer(((struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *)__pyx_v_self), __pyx_t_1, (sizeof(int)), ((char const *)"i"), 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 169, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "renpy/uguu/uguu.pyx":173
 *         cdef int i
 * 
 *         for 0 <= i < self.length:             # <<<<<<<<<<<<<<
 *             (<int*> self.data)[i] = <int> value[i]
 * 
 */
  __pyx_t_1 = __pyx_v_self->__pyx_base.length;
  for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_1; __pyx_v_i++) {

    /* "renpy/uguu/uguu.pyx":174
 * 
 *         for 0 <= i < self.length:
 *             (<int*> self.data)[i] = <int> value[i]             # <<<<<<<<<<<<<<
 * 
 *     def __getitem__(self, index):
 */
    __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_value, __pyx_v_i, int, 1, __Pyx_PyInt_From_int, 0, 1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 174, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 174, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    (((int *)__pyx_v_self->__pyx_base.data)[__pyx_v_i]) = ((int)__pyx_t_3);
  }

  /* "renpy/uguu/uguu.pyx":167
 * cdef class IntBuffer(Buffer):
 * 
 *     def __init__(self, value):             # <<<<<<<<<<<<<<
 * 
 *         self.setup_buffer(len(value), sizeof(int), "i", 0)
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.IntBuffer.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":176
 *             (<int*> self.data)[i] = <int> value[i]
 * 
 *     def __getitem__(self, index):             # <<<<<<<<<<<<<<
 *         if index < 0 or index >= self.length:
 *             raise IndexError("index out of range")
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_9IntBuffer_3__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_9IntBuffer_3__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_9IntBuffer_2__getitem__(((struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *)__pyx_v_self), ((PyObject *)__pyx_v_index));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_9IntBuffer_2__getitem__(struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *__pyx_v_self, PyObject *__pyx_v_index) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  Py_ssize_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__getitem__", 0);

  /* "renpy/uguu/uguu.pyx":177
 * 
 *     def __getitem__(self, index):
 *         if index < 0 or index >= self.length:             # <<<<<<<<<<<<<<
 *             raise IndexError("index out of range")
 * 
 */
  __pyx_t_2 = PyObject_RichCompare(__pyx_v_index, __pyx_int_0, Py_LT); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 177, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(1, 177, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  if (!__pyx_t_3) {
  } else {
    __pyx_t_1 = __pyx_t_3;
    goto __pyx_L4_bool_binop_done;
  }
  __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_self->__pyx_base.length); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 177, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyObject_RichCompare(__pyx_v_index, __pyx_t_2, Py_GE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 177, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(1, 177, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_1 = __pyx_t_3;
  __pyx_L4_bool_binop_done:;
  if (unlikely(__pyx_t_1)) {

    /* "renpy/uguu/uguu.pyx":178
 *     def __getitem__(self, index):
 *         if index < 0 or index >= self.length:
 *             raise IndexError("index out of range")             # <<<<<<<<<<<<<<
 * 
 *         return (<int*> self.data)[index]
 */
    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_IndexError, __pyx_tuple__9, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 178, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_Raise(__pyx_t_4, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __PYX_ERR(1, 178, __pyx_L1_error)

    /* "renpy/uguu/uguu.pyx":177
 * 
 *     def __getitem__(self, index):
 *         if index < 0 or index >= self.length:             # <<<<<<<<<<<<<<
 *             raise IndexError("index out of range")
 * 
 */
  }

  /* "renpy/uguu/uguu.pyx":180
 *             raise IndexError("index out of range")
 * 
 *         return (<int*> self.data)[index]             # <<<<<<<<<<<<<<
 * 
 * cdef class FloatBuffer(Buffer):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_v_index); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 180, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_From_int((((int *)__pyx_v_self->__pyx_base.data)[__pyx_t_5])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 180, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_r = __pyx_t_4;
  __pyx_t_4 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":176
 *             (<int*> self.data)[i] = <int> value[i]
 * 
 *     def __getitem__(self, index):             # <<<<<<<<<<<<<<
 *         if index < 0 or index >= self.length:
 *             raise IndexError("index out of range")
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("renpy.uguu.uguu.IntBuffer.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_9IntBuffer_5__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_9IntBuffer_5__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_9IntBuffer_4__reduce_cython__(((struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_9IntBuffer_4__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__10, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.IntBuffer.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_9IntBuffer_7__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_9IntBuffer_7__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_9IntBuffer_6__setstate_cython__(((struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_9IntBuffer_6__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 */
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 4, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.IntBuffer.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":184
 * cdef class FloatBuffer(Buffer):
 * 
 *     def __init__(self, value):             # <<<<<<<<<<<<<<
 * 
 *         self.setup_buffer(len(value), sizeof(float), "f", 0)
 */

/* Python wrapper */
static int __pyx_pw_5renpy_4uguu_4uguu_11FloatBuffer_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_5renpy_4uguu_4uguu_11FloatBuffer_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_value,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(1, 184, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_value = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 184, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.FloatBuffer.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_11FloatBuffer___init__(((struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *)__pyx_v_self), __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_5renpy_4uguu_4uguu_11FloatBuffer___init__(struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_v_i;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  Py_ssize_t __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  float __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "renpy/uguu/uguu.pyx":186
 *     def __init__(self, value):
 * 
 *         self.setup_buffer(len(value), sizeof(float), "f", 0)             # <<<<<<<<<<<<<<
 * 
 *         cdef int i
 */
  __pyx_t_1 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(1, 186, __pyx_L1_error)
  __pyx_t_2 = ((struct __pyx_vtabstruct_5renpy_4uguu_4uguu_FloatBuffer *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.setup_buffer(((struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *)__pyx_v_self), __pyx_t_1, (sizeof(float)), ((char const *)"f"), 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 186, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "renpy/uguu/uguu.pyx":190
 *         cdef int i
 * 
 *         for 0 <= i < self.length:             # <<<<<<<<<<<<<<
 *             (<float *> self.data)[i] = <float> value[i]
 * 
 */
  __pyx_t_1 = __pyx_v_self->__pyx_base.length;
  for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_1; __pyx_v_i++) {

    /* "renpy/uguu/uguu.pyx":191
 * 
 *         for 0 <= i < self.length:
 *             (<float *> self.data)[i] = <float> value[i]             # <<<<<<<<<<<<<<
 * 
 *     def __getitem__(self, index):
 */
    __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_value, __pyx_v_i, int, 1, __Pyx_PyInt_From_int, 0, 1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 191, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_t_2); if (unlikely((__pyx_t_3 == (float)-1) && PyErr_Occurred())) __PYX_ERR(1, 191, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    (((float *)__pyx_v_self->__pyx_base.data)[__pyx_v_i]) = ((float)__pyx_t_3);
  }

  /* "renpy/uguu/uguu.pyx":184
 * cdef class FloatBuffer(Buffer):
 * 
 *     def __init__(self, value):             # <<<<<<<<<<<<<<
 * 
 *         self.setup_buffer(len(value), sizeof(float), "f", 0)
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.FloatBuffer.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":193
 *             (<float *> self.data)[i] = <float> value[i]
 * 
 *     def __getitem__(self, index):             # <<<<<<<<<<<<<<
 *         if index < 0 or index >= self.length:
 *             raise IndexError("index out of range")
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11FloatBuffer_3__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11FloatBuffer_3__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_11FloatBuffer_2__getitem__(((struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *)__pyx_v_self), ((PyObject *)__pyx_v_index));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_11FloatBuffer_2__getitem__(struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *__pyx_v_self, PyObject *__pyx_v_index) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  Py_ssize_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__getitem__", 0);

  /* "renpy/uguu/uguu.pyx":194
 * 
 *     def __getitem__(self, index):
 *         if index < 0 or index >= self.length:             # <<<<<<<<<<<<<<
 *             raise IndexError("index out of range")
 * 
 */
  __pyx_t_2 = PyObject_RichCompare(__pyx_v_index, __pyx_int_0, Py_LT); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 194, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(1, 194, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  if (!__pyx_t_3) {
  } else {
    __pyx_t_1 = __pyx_t_3;
    goto __pyx_L4_bool_binop_done;
  }
  __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_self->__pyx_base.length); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 194, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyObject_RichCompare(__pyx_v_index, __pyx_t_2, Py_GE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 194, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(1, 194, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_1 = __pyx_t_3;
  __pyx_L4_bool_binop_done:;
  if (unlikely(__pyx_t_1)) {

    /* "renpy/uguu/uguu.pyx":195
 *     def __getitem__(self, index):
 *         if index < 0 or index >= self.length:
 *             raise IndexError("index out of range")             # <<<<<<<<<<<<<<
 * 
 *         return (<float *> self.data)[index]
 */
    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_IndexError, __pyx_tuple__9, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 195, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_Raise(__pyx_t_4, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __PYX_ERR(1, 195, __pyx_L1_error)

    /* "renpy/uguu/uguu.pyx":194
 * 
 *     def __getitem__(self, index):
 *         if index < 0 or index >= self.length:             # <<<<<<<<<<<<<<
 *             raise IndexError("index out of range")
 * 
 */
  }

  /* "renpy/uguu/uguu.pyx":197
 *             raise IndexError("index out of range")
 * 
 *         return (<float *> self.data)[index]             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_v_index); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 197, __pyx_L1_error)
  __pyx_t_4 = PyFloat_FromDouble((((float *)__pyx_v_self->__pyx_base.data)[__pyx_t_5])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 197, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_r = __pyx_t_4;
  __pyx_t_4 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":193
 *             (<float *> self.data)[i] = <float> value[i]
 * 
 *     def __getitem__(self, index):             # <<<<<<<<<<<<<<
 *         if index < 0 or index >= self.length:
 *             raise IndexError("index out of range")
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("renpy.uguu.uguu.FloatBuffer.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11FloatBuffer_5__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11FloatBuffer_5__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_11FloatBuffer_4__reduce_cython__(((struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_11FloatBuffer_4__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__12, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.FloatBuffer.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11FloatBuffer_7__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11FloatBuffer_7__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_11FloatBuffer_6__setstate_cython__(((struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_11FloatBuffer_6__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 */
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__13, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 4, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.FloatBuffer.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":232
 * from renpy.uguu.gl cimport GLuint64EXT
 * 
 * def glActiveTexture(texture):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glActiveTexture(texture)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_1glActiveTexture(PyObject *__pyx_self, PyObject *__pyx_v_texture); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_1glActiveTexture = {"glActiveTexture", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_1glActiveTexture, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_1glActiveTexture(PyObject *__pyx_self, PyObject *__pyx_v_texture) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glActiveTexture (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_glActiveTexture(__pyx_self, ((PyObject *)__pyx_v_texture));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_glActiveTexture(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_texture) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glActiveTexture", 0);

  /* "renpy/uguu/uguu.pyx":233
 * 
 * def glActiveTexture(texture):
 *     renpy.uguu.gl.glActiveTexture(texture)             # <<<<<<<<<<<<<<
 * 
 * def glAttachShader(program, shader):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_texture); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 233, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glActiveTexture(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":232
 * from renpy.uguu.gl cimport GLuint64EXT
 * 
 * def glActiveTexture(texture):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glActiveTexture(texture)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glActiveTexture", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":235
 *     renpy.uguu.gl.glActiveTexture(texture)
 * 
 * def glAttachShader(program, shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glAttachShader(program, shader)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_3glAttachShader(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_3glAttachShader = {"glAttachShader", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_3glAttachShader, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_3glAttachShader(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_shader = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glAttachShader (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_shader,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_shader)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glAttachShader", 1, 2, 2, 1); __PYX_ERR(1, 235, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glAttachShader") < 0)) __PYX_ERR(1, 235, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_program = values[0];
    __pyx_v_shader = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glAttachShader", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 235, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glAttachShader", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_2glAttachShader(__pyx_self, __pyx_v_program, __pyx_v_shader);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_2glAttachShader(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_shader) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glAttachShader", 0);

  /* "renpy/uguu/uguu.pyx":236
 * 
 * def glAttachShader(program, shader):
 *     renpy.uguu.gl.glAttachShader(program, shader)             # <<<<<<<<<<<<<<
 * 
 * def glBeginQuery(target, id):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 236, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_shader); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 236, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glAttachShader(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":235
 *     renpy.uguu.gl.glActiveTexture(texture)
 * 
 * def glAttachShader(program, shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glAttachShader(program, shader)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glAttachShader", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":238
 *     renpy.uguu.gl.glAttachShader(program, shader)
 * 
 * def glBeginQuery(target, id):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBeginQuery(target, id)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_5glBeginQuery(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_5glBeginQuery = {"glBeginQuery", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_5glBeginQuery, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_5glBeginQuery(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_id = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBeginQuery (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_id,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_id)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBeginQuery", 1, 2, 2, 1); __PYX_ERR(1, 238, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBeginQuery") < 0)) __PYX_ERR(1, 238, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_target = values[0];
    __pyx_v_id = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBeginQuery", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 238, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBeginQuery", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_4glBeginQuery(__pyx_self, __pyx_v_target, __pyx_v_id);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_4glBeginQuery(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_id) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBeginQuery", 0);

  /* "renpy/uguu/uguu.pyx":239
 * 
 * def glBeginQuery(target, id):
 *     renpy.uguu.gl.glBeginQuery(target, id)             # <<<<<<<<<<<<<<
 * 
 * def glBeginTransformFeedback(primitiveMode):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 239, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_id); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 239, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBeginQuery(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":238
 *     renpy.uguu.gl.glAttachShader(program, shader)
 * 
 * def glBeginQuery(target, id):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBeginQuery(target, id)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBeginQuery", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":241
 *     renpy.uguu.gl.glBeginQuery(target, id)
 * 
 * def glBeginTransformFeedback(primitiveMode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBeginTransformFeedback(primitiveMode)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_7glBeginTransformFeedback(PyObject *__pyx_self, PyObject *__pyx_v_primitiveMode); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_7glBeginTransformFeedback = {"glBeginTransformFeedback", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_7glBeginTransformFeedback, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_7glBeginTransformFeedback(PyObject *__pyx_self, PyObject *__pyx_v_primitiveMode) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBeginTransformFeedback (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_6glBeginTransformFeedback(__pyx_self, ((PyObject *)__pyx_v_primitiveMode));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_6glBeginTransformFeedback(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_primitiveMode) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBeginTransformFeedback", 0);

  /* "renpy/uguu/uguu.pyx":242
 * 
 * def glBeginTransformFeedback(primitiveMode):
 *     renpy.uguu.gl.glBeginTransformFeedback(primitiveMode)             # <<<<<<<<<<<<<<
 * 
 * def glBindAttribLocation(program, index, name):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_primitiveMode); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 242, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBeginTransformFeedback(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":241
 *     renpy.uguu.gl.glBeginQuery(target, id)
 * 
 * def glBeginTransformFeedback(primitiveMode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBeginTransformFeedback(primitiveMode)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBeginTransformFeedback", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":244
 *     renpy.uguu.gl.glBeginTransformFeedback(primitiveMode)
 * 
 * def glBindAttribLocation(program, index, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     renpy.uguu.gl.glBindAttribLocation(program, index, <const GLchar *> name_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_9glBindAttribLocation(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_9glBindAttribLocation = {"glBindAttribLocation", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_9glBindAttribLocation, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_9glBindAttribLocation(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_name = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBindAttribLocation (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_index,&__pyx_n_s_name,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBindAttribLocation", 1, 3, 3, 1); __PYX_ERR(1, 244, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBindAttribLocation", 1, 3, 3, 2); __PYX_ERR(1, 244, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBindAttribLocation") < 0)) __PYX_ERR(1, 244, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_program = values[0];
    __pyx_v_index = values[1];
    __pyx_v_name = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBindAttribLocation", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 244, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindAttribLocation", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_8glBindAttribLocation(__pyx_self, __pyx_v_program, __pyx_v_index, __pyx_v_name);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_8glBindAttribLocation(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_index, PyObject *__pyx_v_name) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_name_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLuint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBindAttribLocation", 0);

  /* "renpy/uguu/uguu.pyx":245
 * 
 * def glBindAttribLocation(program, index, name):
 *     cdef ptr name_ptr = get_ptr(name)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindAttribLocation(program, index, <const GLchar *> name_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_name)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 245, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_name_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":246
 * def glBindAttribLocation(program, index, name):
 *     cdef ptr name_ptr = get_ptr(name)
 *     renpy.uguu.gl.glBindAttribLocation(program, index, <const GLchar *> name_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glBindBuffer(target, buffer):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 246, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 246, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBindAttribLocation(__pyx_t_2, __pyx_t_3, ((GLchar const *)__pyx_v_name_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":244
 *     renpy.uguu.gl.glBeginTransformFeedback(primitiveMode)
 * 
 * def glBindAttribLocation(program, index, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     renpy.uguu.gl.glBindAttribLocation(program, index, <const GLchar *> name_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindAttribLocation", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_name_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":248
 *     renpy.uguu.gl.glBindAttribLocation(program, index, <const GLchar *> name_ptr.ptr)
 * 
 * def glBindBuffer(target, buffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindBuffer(target, buffer)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11glBindBuffer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_11glBindBuffer = {"glBindBuffer", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_11glBindBuffer, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_11glBindBuffer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_buffer = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBindBuffer (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_buffer,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_buffer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBindBuffer", 1, 2, 2, 1); __PYX_ERR(1, 248, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBindBuffer") < 0)) __PYX_ERR(1, 248, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_target = values[0];
    __pyx_v_buffer = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBindBuffer", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 248, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindBuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_10glBindBuffer(__pyx_self, __pyx_v_target, __pyx_v_buffer);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_10glBindBuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_buffer) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBindBuffer", 0);

  /* "renpy/uguu/uguu.pyx":249
 * 
 * def glBindBuffer(target, buffer):
 *     renpy.uguu.gl.glBindBuffer(target, buffer)             # <<<<<<<<<<<<<<
 * 
 * def glBindBufferBase(target, index, buffer):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 249, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_buffer); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 249, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBindBuffer(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":248
 *     renpy.uguu.gl.glBindAttribLocation(program, index, <const GLchar *> name_ptr.ptr)
 * 
 * def glBindBuffer(target, buffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindBuffer(target, buffer)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindBuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":251
 *     renpy.uguu.gl.glBindBuffer(target, buffer)
 * 
 * def glBindBufferBase(target, index, buffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindBufferBase(target, index, buffer)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_13glBindBufferBase(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_13glBindBufferBase = {"glBindBufferBase", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_13glBindBufferBase, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_13glBindBufferBase(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_buffer = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBindBufferBase (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_index,&__pyx_n_s_buffer,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBindBufferBase", 1, 3, 3, 1); __PYX_ERR(1, 251, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_buffer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBindBufferBase", 1, 3, 3, 2); __PYX_ERR(1, 251, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBindBufferBase") < 0)) __PYX_ERR(1, 251, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_index = values[1];
    __pyx_v_buffer = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBindBufferBase", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 251, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindBufferBase", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_12glBindBufferBase(__pyx_self, __pyx_v_target, __pyx_v_index, __pyx_v_buffer);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_12glBindBufferBase(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_index, PyObject *__pyx_v_buffer) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLuint __pyx_t_2;
  GLuint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBindBufferBase", 0);

  /* "renpy/uguu/uguu.pyx":252
 * 
 * def glBindBufferBase(target, index, buffer):
 *     renpy.uguu.gl.glBindBufferBase(target, index, buffer)             # <<<<<<<<<<<<<<
 * 
 * def glBindBufferRange(target, index, buffer, offset, size):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 252, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 252, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_buffer); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 252, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBindBufferBase(__pyx_t_1, __pyx_t_2, __pyx_t_3);

  /* "renpy/uguu/uguu.pyx":251
 *     renpy.uguu.gl.glBindBuffer(target, buffer)
 * 
 * def glBindBufferBase(target, index, buffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindBufferBase(target, index, buffer)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindBufferBase", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":254
 *     renpy.uguu.gl.glBindBufferBase(target, index, buffer)
 * 
 * def glBindBufferRange(target, index, buffer, offset, size):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindBufferRange(target, index, buffer, offset, size)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_15glBindBufferRange(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_15glBindBufferRange = {"glBindBufferRange", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_15glBindBufferRange, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_15glBindBufferRange(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_buffer = 0;
  PyObject *__pyx_v_offset = 0;
  PyObject *__pyx_v_size = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBindBufferRange (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_index,&__pyx_n_s_buffer,&__pyx_n_s_offset,&__pyx_n_s_size,0};
    PyObject* values[5] = {0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBindBufferRange", 1, 5, 5, 1); __PYX_ERR(1, 254, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_buffer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBindBufferRange", 1, 5, 5, 2); __PYX_ERR(1, 254, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_offset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBindBufferRange", 1, 5, 5, 3); __PYX_ERR(1, 254, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_size)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBindBufferRange", 1, 5, 5, 4); __PYX_ERR(1, 254, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBindBufferRange") < 0)) __PYX_ERR(1, 254, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
    }
    __pyx_v_target = values[0];
    __pyx_v_index = values[1];
    __pyx_v_buffer = values[2];
    __pyx_v_offset = values[3];
    __pyx_v_size = values[4];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBindBufferRange", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 254, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindBufferRange", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_14glBindBufferRange(__pyx_self, __pyx_v_target, __pyx_v_index, __pyx_v_buffer, __pyx_v_offset, __pyx_v_size);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_14glBindBufferRange(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_index, PyObject *__pyx_v_buffer, PyObject *__pyx_v_offset, PyObject *__pyx_v_size) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLuint __pyx_t_2;
  GLuint __pyx_t_3;
  GLintptr __pyx_t_4;
  GLsizeiptr __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBindBufferRange", 0);

  /* "renpy/uguu/uguu.pyx":255
 * 
 * def glBindBufferRange(target, index, buffer, offset, size):
 *     renpy.uguu.gl.glBindBufferRange(target, index, buffer, offset, size)             # <<<<<<<<<<<<<<
 * 
 * def glBindFramebuffer(target, framebuffer):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 255, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 255, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_buffer); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 255, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_ptrdiff_t(__pyx_v_offset); if (unlikely((__pyx_t_4 == ((GLintptr)-1)) && PyErr_Occurred())) __PYX_ERR(1, 255, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_ptrdiff_t(__pyx_v_size); if (unlikely((__pyx_t_5 == ((GLsizeiptr)-1)) && PyErr_Occurred())) __PYX_ERR(1, 255, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBindBufferRange(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5);

  /* "renpy/uguu/uguu.pyx":254
 *     renpy.uguu.gl.glBindBufferBase(target, index, buffer)
 * 
 * def glBindBufferRange(target, index, buffer, offset, size):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindBufferRange(target, index, buffer, offset, size)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindBufferRange", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":257
 *     renpy.uguu.gl.glBindBufferRange(target, index, buffer, offset, size)
 * 
 * def glBindFramebuffer(target, framebuffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindFramebuffer(target, framebuffer)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_17glBindFramebuffer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_17glBindFramebuffer = {"glBindFramebuffer", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_17glBindFramebuffer, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_17glBindFramebuffer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_framebuffer = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBindFramebuffer (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_framebuffer,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_framebuffer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBindFramebuffer", 1, 2, 2, 1); __PYX_ERR(1, 257, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBindFramebuffer") < 0)) __PYX_ERR(1, 257, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_target = values[0];
    __pyx_v_framebuffer = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBindFramebuffer", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 257, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindFramebuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_16glBindFramebuffer(__pyx_self, __pyx_v_target, __pyx_v_framebuffer);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_16glBindFramebuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_framebuffer) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBindFramebuffer", 0);

  /* "renpy/uguu/uguu.pyx":258
 * 
 * def glBindFramebuffer(target, framebuffer):
 *     renpy.uguu.gl.glBindFramebuffer(target, framebuffer)             # <<<<<<<<<<<<<<
 * 
 * def glBindRenderbuffer(target, renderbuffer):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 258, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_framebuffer); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 258, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBindFramebuffer(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":257
 *     renpy.uguu.gl.glBindBufferRange(target, index, buffer, offset, size)
 * 
 * def glBindFramebuffer(target, framebuffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindFramebuffer(target, framebuffer)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindFramebuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":260
 *     renpy.uguu.gl.glBindFramebuffer(target, framebuffer)
 * 
 * def glBindRenderbuffer(target, renderbuffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindRenderbuffer(target, renderbuffer)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_19glBindRenderbuffer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_19glBindRenderbuffer = {"glBindRenderbuffer", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_19glBindRenderbuffer, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_19glBindRenderbuffer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_renderbuffer = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBindRenderbuffer (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_renderbuffer,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_renderbuffer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBindRenderbuffer", 1, 2, 2, 1); __PYX_ERR(1, 260, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBindRenderbuffer") < 0)) __PYX_ERR(1, 260, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_target = values[0];
    __pyx_v_renderbuffer = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBindRenderbuffer", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 260, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindRenderbuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_18glBindRenderbuffer(__pyx_self, __pyx_v_target, __pyx_v_renderbuffer);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_18glBindRenderbuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_renderbuffer) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBindRenderbuffer", 0);

  /* "renpy/uguu/uguu.pyx":261
 * 
 * def glBindRenderbuffer(target, renderbuffer):
 *     renpy.uguu.gl.glBindRenderbuffer(target, renderbuffer)             # <<<<<<<<<<<<<<
 * 
 * def glBindTexture(target, texture):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 261, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_renderbuffer); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 261, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBindRenderbuffer(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":260
 *     renpy.uguu.gl.glBindFramebuffer(target, framebuffer)
 * 
 * def glBindRenderbuffer(target, renderbuffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindRenderbuffer(target, renderbuffer)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindRenderbuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":263
 *     renpy.uguu.gl.glBindRenderbuffer(target, renderbuffer)
 * 
 * def glBindTexture(target, texture):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindTexture(target, texture)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_21glBindTexture(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_21glBindTexture = {"glBindTexture", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_21glBindTexture, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_21glBindTexture(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_texture = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBindTexture (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_texture,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_texture)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBindTexture", 1, 2, 2, 1); __PYX_ERR(1, 263, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBindTexture") < 0)) __PYX_ERR(1, 263, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_target = values[0];
    __pyx_v_texture = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBindTexture", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 263, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindTexture", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_20glBindTexture(__pyx_self, __pyx_v_target, __pyx_v_texture);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_20glBindTexture(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_texture) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBindTexture", 0);

  /* "renpy/uguu/uguu.pyx":264
 * 
 * def glBindTexture(target, texture):
 *     renpy.uguu.gl.glBindTexture(target, texture)             # <<<<<<<<<<<<<<
 * 
 * def glBindVertexArray(array):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 264, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_texture); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 264, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBindTexture(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":263
 *     renpy.uguu.gl.glBindRenderbuffer(target, renderbuffer)
 * 
 * def glBindTexture(target, texture):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindTexture(target, texture)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindTexture", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":266
 *     renpy.uguu.gl.glBindTexture(target, texture)
 * 
 * def glBindVertexArray(array):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindVertexArray(array)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_23glBindVertexArray(PyObject *__pyx_self, PyObject *__pyx_v_array); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_23glBindVertexArray = {"glBindVertexArray", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_23glBindVertexArray, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_23glBindVertexArray(PyObject *__pyx_self, PyObject *__pyx_v_array) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBindVertexArray (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_22glBindVertexArray(__pyx_self, ((PyObject *)__pyx_v_array));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_22glBindVertexArray(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_array) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBindVertexArray", 0);

  /* "renpy/uguu/uguu.pyx":267
 * 
 * def glBindVertexArray(array):
 *     renpy.uguu.gl.glBindVertexArray(array)             # <<<<<<<<<<<<<<
 * 
 * def glBlendColor(red, green, blue, alpha):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_array); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 267, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBindVertexArray(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":266
 *     renpy.uguu.gl.glBindTexture(target, texture)
 * 
 * def glBindVertexArray(array):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindVertexArray(array)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBindVertexArray", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":269
 *     renpy.uguu.gl.glBindVertexArray(array)
 * 
 * def glBlendColor(red, green, blue, alpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendColor(red, green, blue, alpha)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_25glBlendColor(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_25glBlendColor = {"glBlendColor", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_25glBlendColor, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_25glBlendColor(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_red = 0;
  PyObject *__pyx_v_green = 0;
  PyObject *__pyx_v_blue = 0;
  PyObject *__pyx_v_alpha = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBlendColor (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_red,&__pyx_n_s_green,&__pyx_n_s_blue,&__pyx_n_s_alpha,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_red)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_green)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlendColor", 1, 4, 4, 1); __PYX_ERR(1, 269, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_blue)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlendColor", 1, 4, 4, 2); __PYX_ERR(1, 269, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlendColor", 1, 4, 4, 3); __PYX_ERR(1, 269, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBlendColor") < 0)) __PYX_ERR(1, 269, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_red = values[0];
    __pyx_v_green = values[1];
    __pyx_v_blue = values[2];
    __pyx_v_alpha = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBlendColor", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 269, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBlendColor", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_24glBlendColor(__pyx_self, __pyx_v_red, __pyx_v_green, __pyx_v_blue, __pyx_v_alpha);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_24glBlendColor(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_red, PyObject *__pyx_v_green, PyObject *__pyx_v_blue, PyObject *__pyx_v_alpha) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLfloat __pyx_t_1;
  GLfloat __pyx_t_2;
  GLfloat __pyx_t_3;
  GLfloat __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBlendColor", 0);

  /* "renpy/uguu/uguu.pyx":270
 * 
 * def glBlendColor(red, green, blue, alpha):
 *     renpy.uguu.gl.glBlendColor(red, green, blue, alpha)             # <<<<<<<<<<<<<<
 * 
 * def glBlendEquation(mode):
 */
  __pyx_t_1 = __pyx_PyFloat_AsFloat(__pyx_v_red); if (unlikely((__pyx_t_1 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 270, __pyx_L1_error)
  __pyx_t_2 = __pyx_PyFloat_AsFloat(__pyx_v_green); if (unlikely((__pyx_t_2 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 270, __pyx_L1_error)
  __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_v_blue); if (unlikely((__pyx_t_3 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 270, __pyx_L1_error)
  __pyx_t_4 = __pyx_PyFloat_AsFloat(__pyx_v_alpha); if (unlikely((__pyx_t_4 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 270, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBlendColor(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":269
 *     renpy.uguu.gl.glBindVertexArray(array)
 * 
 * def glBlendColor(red, green, blue, alpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendColor(red, green, blue, alpha)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBlendColor", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":272
 *     renpy.uguu.gl.glBlendColor(red, green, blue, alpha)
 * 
 * def glBlendEquation(mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendEquation(mode)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_27glBlendEquation(PyObject *__pyx_self, PyObject *__pyx_v_mode); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_27glBlendEquation = {"glBlendEquation", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_27glBlendEquation, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_27glBlendEquation(PyObject *__pyx_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBlendEquation (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_26glBlendEquation(__pyx_self, ((PyObject *)__pyx_v_mode));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_26glBlendEquation(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBlendEquation", 0);

  /* "renpy/uguu/uguu.pyx":273
 * 
 * def glBlendEquation(mode):
 *     renpy.uguu.gl.glBlendEquation(mode)             # <<<<<<<<<<<<<<
 * 
 * def glBlendEquationSeparate(modeRGB, modeAlpha):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_mode); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 273, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBlendEquation(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":272
 *     renpy.uguu.gl.glBlendColor(red, green, blue, alpha)
 * 
 * def glBlendEquation(mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendEquation(mode)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBlendEquation", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":275
 *     renpy.uguu.gl.glBlendEquation(mode)
 * 
 * def glBlendEquationSeparate(modeRGB, modeAlpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendEquationSeparate(modeRGB, modeAlpha)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_29glBlendEquationSeparate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_29glBlendEquationSeparate = {"glBlendEquationSeparate", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_29glBlendEquationSeparate, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_29glBlendEquationSeparate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_modeRGB = 0;
  PyObject *__pyx_v_modeAlpha = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBlendEquationSeparate (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_modeRGB,&__pyx_n_s_modeAlpha,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_modeRGB)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_modeAlpha)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlendEquationSeparate", 1, 2, 2, 1); __PYX_ERR(1, 275, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBlendEquationSeparate") < 0)) __PYX_ERR(1, 275, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_modeRGB = values[0];
    __pyx_v_modeAlpha = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBlendEquationSeparate", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 275, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBlendEquationSeparate", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_28glBlendEquationSeparate(__pyx_self, __pyx_v_modeRGB, __pyx_v_modeAlpha);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_28glBlendEquationSeparate(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_modeRGB, PyObject *__pyx_v_modeAlpha) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBlendEquationSeparate", 0);

  /* "renpy/uguu/uguu.pyx":276
 * 
 * def glBlendEquationSeparate(modeRGB, modeAlpha):
 *     renpy.uguu.gl.glBlendEquationSeparate(modeRGB, modeAlpha)             # <<<<<<<<<<<<<<
 * 
 * def glBlendFunc(sfactor, dfactor):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_modeRGB); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 276, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_modeAlpha); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 276, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBlendEquationSeparate(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":275
 *     renpy.uguu.gl.glBlendEquation(mode)
 * 
 * def glBlendEquationSeparate(modeRGB, modeAlpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendEquationSeparate(modeRGB, modeAlpha)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBlendEquationSeparate", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":278
 *     renpy.uguu.gl.glBlendEquationSeparate(modeRGB, modeAlpha)
 * 
 * def glBlendFunc(sfactor, dfactor):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendFunc(sfactor, dfactor)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_31glBlendFunc(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_31glBlendFunc = {"glBlendFunc", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_31glBlendFunc, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_31glBlendFunc(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_sfactor = 0;
  PyObject *__pyx_v_dfactor = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBlendFunc (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_sfactor,&__pyx_n_s_dfactor,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_sfactor)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dfactor)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlendFunc", 1, 2, 2, 1); __PYX_ERR(1, 278, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBlendFunc") < 0)) __PYX_ERR(1, 278, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_sfactor = values[0];
    __pyx_v_dfactor = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBlendFunc", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 278, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBlendFunc", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_30glBlendFunc(__pyx_self, __pyx_v_sfactor, __pyx_v_dfactor);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_30glBlendFunc(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_sfactor, PyObject *__pyx_v_dfactor) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBlendFunc", 0);

  /* "renpy/uguu/uguu.pyx":279
 * 
 * def glBlendFunc(sfactor, dfactor):
 *     renpy.uguu.gl.glBlendFunc(sfactor, dfactor)             # <<<<<<<<<<<<<<
 * 
 * def glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_sfactor); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 279, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_dfactor); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 279, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBlendFunc(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":278
 *     renpy.uguu.gl.glBlendEquationSeparate(modeRGB, modeAlpha)
 * 
 * def glBlendFunc(sfactor, dfactor):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendFunc(sfactor, dfactor)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBlendFunc", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":281
 *     renpy.uguu.gl.glBlendFunc(sfactor, dfactor)
 * 
 * def glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_33glBlendFuncSeparate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_33glBlendFuncSeparate = {"glBlendFuncSeparate", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_33glBlendFuncSeparate, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_33glBlendFuncSeparate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_sfactorRGB = 0;
  PyObject *__pyx_v_dfactorRGB = 0;
  PyObject *__pyx_v_sfactorAlpha = 0;
  PyObject *__pyx_v_dfactorAlpha = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBlendFuncSeparate (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_sfactorRGB,&__pyx_n_s_dfactorRGB,&__pyx_n_s_sfactorAlpha,&__pyx_n_s_dfactorAlpha,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_sfactorRGB)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dfactorRGB)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlendFuncSeparate", 1, 4, 4, 1); __PYX_ERR(1, 281, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_sfactorAlpha)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlendFuncSeparate", 1, 4, 4, 2); __PYX_ERR(1, 281, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dfactorAlpha)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlendFuncSeparate", 1, 4, 4, 3); __PYX_ERR(1, 281, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBlendFuncSeparate") < 0)) __PYX_ERR(1, 281, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_sfactorRGB = values[0];
    __pyx_v_dfactorRGB = values[1];
    __pyx_v_sfactorAlpha = values[2];
    __pyx_v_dfactorAlpha = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBlendFuncSeparate", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 281, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBlendFuncSeparate", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_32glBlendFuncSeparate(__pyx_self, __pyx_v_sfactorRGB, __pyx_v_dfactorRGB, __pyx_v_sfactorAlpha, __pyx_v_dfactorAlpha);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_32glBlendFuncSeparate(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_sfactorRGB, PyObject *__pyx_v_dfactorRGB, PyObject *__pyx_v_sfactorAlpha, PyObject *__pyx_v_dfactorAlpha) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  GLenum __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBlendFuncSeparate", 0);

  /* "renpy/uguu/uguu.pyx":282
 * 
 * def glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha):
 *     renpy.uguu.gl.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)             # <<<<<<<<<<<<<<
 * 
 * def glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_sfactorRGB); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 282, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_dfactorRGB); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 282, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_sfactorAlpha); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 282, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLenum(__pyx_v_dfactorAlpha); if (unlikely((__pyx_t_4 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 282, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBlendFuncSeparate(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":281
 *     renpy.uguu.gl.glBlendFunc(sfactor, dfactor)
 * 
 * def glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBlendFuncSeparate", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":284
 *     renpy.uguu.gl.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
 * 
 * def glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_35glBlitFramebuffer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_35glBlitFramebuffer = {"glBlitFramebuffer", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_35glBlitFramebuffer, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_35glBlitFramebuffer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_srcX0 = 0;
  PyObject *__pyx_v_srcY0 = 0;
  PyObject *__pyx_v_srcX1 = 0;
  PyObject *__pyx_v_srcY1 = 0;
  PyObject *__pyx_v_dstX0 = 0;
  PyObject *__pyx_v_dstY0 = 0;
  PyObject *__pyx_v_dstX1 = 0;
  PyObject *__pyx_v_dstY1 = 0;
  PyObject *__pyx_v_mask = 0;
  PyObject *__pyx_v_filter = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBlitFramebuffer (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_srcX0,&__pyx_n_s_srcY0,&__pyx_n_s_srcX1,&__pyx_n_s_srcY1,&__pyx_n_s_dstX0,&__pyx_n_s_dstY0,&__pyx_n_s_dstX1,&__pyx_n_s_dstY1,&__pyx_n_s_mask,&__pyx_n_s_filter,0};
    PyObject* values[10] = {0,0,0,0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
        CYTHON_FALLTHROUGH;
        case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
        CYTHON_FALLTHROUGH;
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_srcX0)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_srcY0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlitFramebuffer", 1, 10, 10, 1); __PYX_ERR(1, 284, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_srcX1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlitFramebuffer", 1, 10, 10, 2); __PYX_ERR(1, 284, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_srcY1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlitFramebuffer", 1, 10, 10, 3); __PYX_ERR(1, 284, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dstX0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlitFramebuffer", 1, 10, 10, 4); __PYX_ERR(1, 284, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dstY0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlitFramebuffer", 1, 10, 10, 5); __PYX_ERR(1, 284, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dstX1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlitFramebuffer", 1, 10, 10, 6); __PYX_ERR(1, 284, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dstY1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlitFramebuffer", 1, 10, 10, 7); __PYX_ERR(1, 284, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  8:
        if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_mask)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlitFramebuffer", 1, 10, 10, 8); __PYX_ERR(1, 284, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  9:
        if (likely((values[9] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_filter)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBlitFramebuffer", 1, 10, 10, 9); __PYX_ERR(1, 284, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBlitFramebuffer") < 0)) __PYX_ERR(1, 284, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 10) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
      values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
      values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
      values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
    }
    __pyx_v_srcX0 = values[0];
    __pyx_v_srcY0 = values[1];
    __pyx_v_srcX1 = values[2];
    __pyx_v_srcY1 = values[3];
    __pyx_v_dstX0 = values[4];
    __pyx_v_dstY0 = values[5];
    __pyx_v_dstX1 = values[6];
    __pyx_v_dstY1 = values[7];
    __pyx_v_mask = values[8];
    __pyx_v_filter = values[9];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBlitFramebuffer", 1, 10, 10, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 284, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBlitFramebuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_34glBlitFramebuffer(__pyx_self, __pyx_v_srcX0, __pyx_v_srcY0, __pyx_v_srcX1, __pyx_v_srcY1, __pyx_v_dstX0, __pyx_v_dstY0, __pyx_v_dstX1, __pyx_v_dstY1, __pyx_v_mask, __pyx_v_filter);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_34glBlitFramebuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_srcX0, PyObject *__pyx_v_srcY0, PyObject *__pyx_v_srcX1, PyObject *__pyx_v_srcY1, PyObject *__pyx_v_dstX0, PyObject *__pyx_v_dstY0, PyObject *__pyx_v_dstX1, PyObject *__pyx_v_dstY1, PyObject *__pyx_v_mask, PyObject *__pyx_v_filter) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLint __pyx_t_2;
  GLint __pyx_t_3;
  GLint __pyx_t_4;
  GLint __pyx_t_5;
  GLint __pyx_t_6;
  GLint __pyx_t_7;
  GLint __pyx_t_8;
  GLbitfield __pyx_t_9;
  GLenum __pyx_t_10;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBlitFramebuffer", 0);

  /* "renpy/uguu/uguu.pyx":285
 * 
 * def glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter):
 *     renpy.uguu.gl.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)             # <<<<<<<<<<<<<<
 * 
 * def glBufferData(target, size, data, usage):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_srcX0); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 285, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_srcY0); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 285, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_srcX1); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 285, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_srcY1); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 285, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLint(__pyx_v_dstX0); if (unlikely((__pyx_t_5 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 285, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLint(__pyx_v_dstY0); if (unlikely((__pyx_t_6 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 285, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLint(__pyx_v_dstX1); if (unlikely((__pyx_t_7 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 285, __pyx_L1_error)
  __pyx_t_8 = __Pyx_PyInt_As_GLint(__pyx_v_dstY1); if (unlikely((__pyx_t_8 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 285, __pyx_L1_error)
  __pyx_t_9 = __Pyx_PyInt_As_GLbitfield(__pyx_v_mask); if (unlikely((__pyx_t_9 == ((GLbitfield)-1)) && PyErr_Occurred())) __PYX_ERR(1, 285, __pyx_L1_error)
  __pyx_t_10 = __Pyx_PyInt_As_GLenum(__pyx_v_filter); if (unlikely((__pyx_t_10 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 285, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBlitFramebuffer(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8, __pyx_t_9, __pyx_t_10);

  /* "renpy/uguu/uguu.pyx":284
 *     renpy.uguu.gl.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
 * 
 * def glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBlitFramebuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":287
 *     renpy.uguu.gl.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
 * 
 * def glBufferData(target, size, data, usage):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glBufferData(target, size, <const void *> data_ptr.ptr, usage)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_37glBufferData(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_37glBufferData = {"glBufferData", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_37glBufferData, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_37glBufferData(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_size = 0;
  PyObject *__pyx_v_data = 0;
  PyObject *__pyx_v_usage = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBufferData (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_size,&__pyx_n_s_data,&__pyx_n_s_usage,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_size)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBufferData", 1, 4, 4, 1); __PYX_ERR(1, 287, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBufferData", 1, 4, 4, 2); __PYX_ERR(1, 287, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_usage)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBufferData", 1, 4, 4, 3); __PYX_ERR(1, 287, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBufferData") < 0)) __PYX_ERR(1, 287, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_target = values[0];
    __pyx_v_size = values[1];
    __pyx_v_data = values[2];
    __pyx_v_usage = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBufferData", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 287, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBufferData", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_36glBufferData(__pyx_self, __pyx_v_target, __pyx_v_size, __pyx_v_data, __pyx_v_usage);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_36glBufferData(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_size, PyObject *__pyx_v_data, PyObject *__pyx_v_usage) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_data_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLsizeiptr __pyx_t_3;
  GLenum __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBufferData", 0);

  /* "renpy/uguu/uguu.pyx":288
 * 
 * def glBufferData(target, size, data, usage):
 *     cdef ptr data_ptr = get_ptr(data)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBufferData(target, size, <const void *> data_ptr.ptr, usage)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_data)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 288, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_data_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":289
 * def glBufferData(target, size, data, usage):
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glBufferData(target, size, <const void *> data_ptr.ptr, usage)             # <<<<<<<<<<<<<<
 * 
 * def glBufferSubData(target, offset, size, data):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 289, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_ptrdiff_t(__pyx_v_size); if (unlikely((__pyx_t_3 == ((GLsizeiptr)-1)) && PyErr_Occurred())) __PYX_ERR(1, 289, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLenum(__pyx_v_usage); if (unlikely((__pyx_t_4 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 289, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBufferData(__pyx_t_2, __pyx_t_3, ((void const *)__pyx_v_data_ptr->ptr), __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":287
 *     renpy.uguu.gl.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
 * 
 * def glBufferData(target, size, data, usage):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glBufferData(target, size, <const void *> data_ptr.ptr, usage)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glBufferData", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_data_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":291
 *     renpy.uguu.gl.glBufferData(target, size, <const void *> data_ptr.ptr, usage)
 * 
 * def glBufferSubData(target, offset, size, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glBufferSubData(target, offset, size, <const void *> data_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_39glBufferSubData(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_39glBufferSubData = {"glBufferSubData", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_39glBufferSubData, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_39glBufferSubData(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_offset = 0;
  PyObject *__pyx_v_size = 0;
  PyObject *__pyx_v_data = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glBufferSubData (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_offset,&__pyx_n_s_size,&__pyx_n_s_data,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_offset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBufferSubData", 1, 4, 4, 1); __PYX_ERR(1, 291, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_size)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBufferSubData", 1, 4, 4, 2); __PYX_ERR(1, 291, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glBufferSubData", 1, 4, 4, 3); __PYX_ERR(1, 291, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glBufferSubData") < 0)) __PYX_ERR(1, 291, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_target = values[0];
    __pyx_v_offset = values[1];
    __pyx_v_size = values[2];
    __pyx_v_data = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glBufferSubData", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 291, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glBufferSubData", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_38glBufferSubData(__pyx_self, __pyx_v_target, __pyx_v_offset, __pyx_v_size, __pyx_v_data);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_38glBufferSubData(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_offset, PyObject *__pyx_v_size, PyObject *__pyx_v_data) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_data_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLintptr __pyx_t_3;
  GLsizeiptr __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glBufferSubData", 0);

  /* "renpy/uguu/uguu.pyx":292
 * 
 * def glBufferSubData(target, offset, size, data):
 *     cdef ptr data_ptr = get_ptr(data)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBufferSubData(target, offset, size, <const void *> data_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_data)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 292, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_data_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":293
 * def glBufferSubData(target, offset, size, data):
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glBufferSubData(target, offset, size, <const void *> data_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glCheckFramebufferStatus(target):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 293, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_ptrdiff_t(__pyx_v_offset); if (unlikely((__pyx_t_3 == ((GLintptr)-1)) && PyErr_Occurred())) __PYX_ERR(1, 293, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_ptrdiff_t(__pyx_v_size); if (unlikely((__pyx_t_4 == ((GLsizeiptr)-1)) && PyErr_Occurred())) __PYX_ERR(1, 293, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glBufferSubData(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((void const *)__pyx_v_data_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":291
 *     renpy.uguu.gl.glBufferData(target, size, <const void *> data_ptr.ptr, usage)
 * 
 * def glBufferSubData(target, offset, size, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glBufferSubData(target, offset, size, <const void *> data_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glBufferSubData", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_data_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":295
 *     renpy.uguu.gl.glBufferSubData(target, offset, size, <const void *> data_ptr.ptr)
 * 
 * def glCheckFramebufferStatus(target):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glCheckFramebufferStatus(target)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_41glCheckFramebufferStatus(PyObject *__pyx_self, PyObject *__pyx_v_target); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_41glCheckFramebufferStatus = {"glCheckFramebufferStatus", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_41glCheckFramebufferStatus, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_41glCheckFramebufferStatus(PyObject *__pyx_self, PyObject *__pyx_v_target) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glCheckFramebufferStatus (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_40glCheckFramebufferStatus(__pyx_self, ((PyObject *)__pyx_v_target));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_40glCheckFramebufferStatus(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glCheckFramebufferStatus", 0);

  /* "renpy/uguu/uguu.pyx":296
 * 
 * def glCheckFramebufferStatus(target):
 *     return renpy.uguu.gl.glCheckFramebufferStatus(target)             # <<<<<<<<<<<<<<
 * 
 * def glClear(mask):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 296, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_From_GLenum(__pyx_v_5renpy_4uguu_2gl_glCheckFramebufferStatus(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 296, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":295
 *     renpy.uguu.gl.glBufferSubData(target, offset, size, <const void *> data_ptr.ptr)
 * 
 * def glCheckFramebufferStatus(target):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glCheckFramebufferStatus(target)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glCheckFramebufferStatus", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":298
 *     return renpy.uguu.gl.glCheckFramebufferStatus(target)
 * 
 * def glClear(mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClear(mask)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_43glClear(PyObject *__pyx_self, PyObject *__pyx_v_mask); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_43glClear = {"glClear", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_43glClear, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_43glClear(PyObject *__pyx_self, PyObject *__pyx_v_mask) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glClear (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_42glClear(__pyx_self, ((PyObject *)__pyx_v_mask));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_42glClear(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mask) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLbitfield __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glClear", 0);

  /* "renpy/uguu/uguu.pyx":299
 * 
 * def glClear(mask):
 *     renpy.uguu.gl.glClear(mask)             # <<<<<<<<<<<<<<
 * 
 * def glClearBufferfi(buffer, drawbuffer, depth, stencil):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLbitfield(__pyx_v_mask); if (unlikely((__pyx_t_1 == ((GLbitfield)-1)) && PyErr_Occurred())) __PYX_ERR(1, 299, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glClear(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":298
 *     return renpy.uguu.gl.glCheckFramebufferStatus(target)
 * 
 * def glClear(mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClear(mask)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glClear", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":301
 *     renpy.uguu.gl.glClear(mask)
 * 
 * def glClearBufferfi(buffer, drawbuffer, depth, stencil):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearBufferfi(buffer, drawbuffer, depth, stencil)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_45glClearBufferfi(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_45glClearBufferfi = {"glClearBufferfi", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_45glClearBufferfi, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_45glClearBufferfi(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_buffer = 0;
  PyObject *__pyx_v_drawbuffer = 0;
  PyObject *__pyx_v_depth = 0;
  PyObject *__pyx_v_stencil = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glClearBufferfi (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_buffer,&__pyx_n_s_drawbuffer,&__pyx_n_s_depth,&__pyx_n_s_stencil,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_buffer)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_drawbuffer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glClearBufferfi", 1, 4, 4, 1); __PYX_ERR(1, 301, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_depth)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glClearBufferfi", 1, 4, 4, 2); __PYX_ERR(1, 301, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_stencil)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glClearBufferfi", 1, 4, 4, 3); __PYX_ERR(1, 301, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glClearBufferfi") < 0)) __PYX_ERR(1, 301, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_buffer = values[0];
    __pyx_v_drawbuffer = values[1];
    __pyx_v_depth = values[2];
    __pyx_v_stencil = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glClearBufferfi", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 301, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glClearBufferfi", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_44glClearBufferfi(__pyx_self, __pyx_v_buffer, __pyx_v_drawbuffer, __pyx_v_depth, __pyx_v_stencil);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_44glClearBufferfi(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_buffer, PyObject *__pyx_v_drawbuffer, PyObject *__pyx_v_depth, PyObject *__pyx_v_stencil) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLint __pyx_t_2;
  GLfloat __pyx_t_3;
  GLint __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glClearBufferfi", 0);

  /* "renpy/uguu/uguu.pyx":302
 * 
 * def glClearBufferfi(buffer, drawbuffer, depth, stencil):
 *     renpy.uguu.gl.glClearBufferfi(buffer, drawbuffer, depth, stencil)             # <<<<<<<<<<<<<<
 * 
 * def glClearBufferfv(buffer, drawbuffer, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_buffer); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 302, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_drawbuffer); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 302, __pyx_L1_error)
  __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_v_depth); if (unlikely((__pyx_t_3 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 302, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_stencil); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 302, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glClearBufferfi(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":301
 *     renpy.uguu.gl.glClear(mask)
 * 
 * def glClearBufferfi(buffer, drawbuffer, depth, stencil):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearBufferfi(buffer, drawbuffer, depth, stencil)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glClearBufferfi", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":304
 *     renpy.uguu.gl.glClearBufferfi(buffer, drawbuffer, depth, stencil)
 * 
 * def glClearBufferfv(buffer, drawbuffer, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferfv(buffer, drawbuffer, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_47glClearBufferfv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_47glClearBufferfv = {"glClearBufferfv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_47glClearBufferfv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_47glClearBufferfv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_buffer = 0;
  PyObject *__pyx_v_drawbuffer = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glClearBufferfv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_buffer,&__pyx_n_s_drawbuffer,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_buffer)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_drawbuffer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glClearBufferfv", 1, 3, 3, 1); __PYX_ERR(1, 304, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glClearBufferfv", 1, 3, 3, 2); __PYX_ERR(1, 304, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glClearBufferfv") < 0)) __PYX_ERR(1, 304, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_buffer = values[0];
    __pyx_v_drawbuffer = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glClearBufferfv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 304, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glClearBufferfv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_46glClearBufferfv(__pyx_self, __pyx_v_buffer, __pyx_v_drawbuffer, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_46glClearBufferfv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_buffer, PyObject *__pyx_v_drawbuffer, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glClearBufferfv", 0);

  /* "renpy/uguu/uguu.pyx":305
 * 
 * def glClearBufferfv(buffer, drawbuffer, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearBufferfv(buffer, drawbuffer, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 305, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":306
 * def glClearBufferfv(buffer, drawbuffer, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferfv(buffer, drawbuffer, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glClearBufferiv(buffer, drawbuffer, value):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_buffer); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 306, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_drawbuffer); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 306, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glClearBufferfv(__pyx_t_2, __pyx_t_3, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":304
 *     renpy.uguu.gl.glClearBufferfi(buffer, drawbuffer, depth, stencil)
 * 
 * def glClearBufferfv(buffer, drawbuffer, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferfv(buffer, drawbuffer, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glClearBufferfv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":308
 *     renpy.uguu.gl.glClearBufferfv(buffer, drawbuffer, <const GLfloat *> value_ptr.ptr)
 * 
 * def glClearBufferiv(buffer, drawbuffer, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferiv(buffer, drawbuffer, <const GLint *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_49glClearBufferiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_49glClearBufferiv = {"glClearBufferiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_49glClearBufferiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_49glClearBufferiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_buffer = 0;
  PyObject *__pyx_v_drawbuffer = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glClearBufferiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_buffer,&__pyx_n_s_drawbuffer,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_buffer)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_drawbuffer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glClearBufferiv", 1, 3, 3, 1); __PYX_ERR(1, 308, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glClearBufferiv", 1, 3, 3, 2); __PYX_ERR(1, 308, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glClearBufferiv") < 0)) __PYX_ERR(1, 308, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_buffer = values[0];
    __pyx_v_drawbuffer = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glClearBufferiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 308, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glClearBufferiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_48glClearBufferiv(__pyx_self, __pyx_v_buffer, __pyx_v_drawbuffer, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_48glClearBufferiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_buffer, PyObject *__pyx_v_drawbuffer, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glClearBufferiv", 0);

  /* "renpy/uguu/uguu.pyx":309
 * 
 * def glClearBufferiv(buffer, drawbuffer, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearBufferiv(buffer, drawbuffer, <const GLint *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 309, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":310
 * def glClearBufferiv(buffer, drawbuffer, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferiv(buffer, drawbuffer, <const GLint *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glClearBufferuiv(buffer, drawbuffer, value):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_buffer); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 310, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_drawbuffer); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 310, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glClearBufferiv(__pyx_t_2, __pyx_t_3, ((GLint const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":308
 *     renpy.uguu.gl.glClearBufferfv(buffer, drawbuffer, <const GLfloat *> value_ptr.ptr)
 * 
 * def glClearBufferiv(buffer, drawbuffer, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferiv(buffer, drawbuffer, <const GLint *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glClearBufferiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":312
 *     renpy.uguu.gl.glClearBufferiv(buffer, drawbuffer, <const GLint *> value_ptr.ptr)
 * 
 * def glClearBufferuiv(buffer, drawbuffer, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferuiv(buffer, drawbuffer, <const GLuint *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_51glClearBufferuiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_51glClearBufferuiv = {"glClearBufferuiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_51glClearBufferuiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_51glClearBufferuiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_buffer = 0;
  PyObject *__pyx_v_drawbuffer = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glClearBufferuiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_buffer,&__pyx_n_s_drawbuffer,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_buffer)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_drawbuffer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glClearBufferuiv", 1, 3, 3, 1); __PYX_ERR(1, 312, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glClearBufferuiv", 1, 3, 3, 2); __PYX_ERR(1, 312, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glClearBufferuiv") < 0)) __PYX_ERR(1, 312, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_buffer = values[0];
    __pyx_v_drawbuffer = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glClearBufferuiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 312, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glClearBufferuiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_50glClearBufferuiv(__pyx_self, __pyx_v_buffer, __pyx_v_drawbuffer, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_50glClearBufferuiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_buffer, PyObject *__pyx_v_drawbuffer, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glClearBufferuiv", 0);

  /* "renpy/uguu/uguu.pyx":313
 * 
 * def glClearBufferuiv(buffer, drawbuffer, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearBufferuiv(buffer, drawbuffer, <const GLuint *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 313, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":314
 * def glClearBufferuiv(buffer, drawbuffer, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferuiv(buffer, drawbuffer, <const GLuint *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glClearColor(red, green, blue, alpha):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_buffer); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 314, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_drawbuffer); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 314, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glClearBufferuiv(__pyx_t_2, __pyx_t_3, ((GLuint const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":312
 *     renpy.uguu.gl.glClearBufferiv(buffer, drawbuffer, <const GLint *> value_ptr.ptr)
 * 
 * def glClearBufferuiv(buffer, drawbuffer, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferuiv(buffer, drawbuffer, <const GLuint *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glClearBufferuiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":316
 *     renpy.uguu.gl.glClearBufferuiv(buffer, drawbuffer, <const GLuint *> value_ptr.ptr)
 * 
 * def glClearColor(red, green, blue, alpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearColor(red, green, blue, alpha)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_53glClearColor(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_53glClearColor = {"glClearColor", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_53glClearColor, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_53glClearColor(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_red = 0;
  PyObject *__pyx_v_green = 0;
  PyObject *__pyx_v_blue = 0;
  PyObject *__pyx_v_alpha = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glClearColor (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_red,&__pyx_n_s_green,&__pyx_n_s_blue,&__pyx_n_s_alpha,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_red)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_green)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glClearColor", 1, 4, 4, 1); __PYX_ERR(1, 316, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_blue)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glClearColor", 1, 4, 4, 2); __PYX_ERR(1, 316, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glClearColor", 1, 4, 4, 3); __PYX_ERR(1, 316, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glClearColor") < 0)) __PYX_ERR(1, 316, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_red = values[0];
    __pyx_v_green = values[1];
    __pyx_v_blue = values[2];
    __pyx_v_alpha = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glClearColor", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 316, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glClearColor", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_52glClearColor(__pyx_self, __pyx_v_red, __pyx_v_green, __pyx_v_blue, __pyx_v_alpha);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_52glClearColor(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_red, PyObject *__pyx_v_green, PyObject *__pyx_v_blue, PyObject *__pyx_v_alpha) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLfloat __pyx_t_1;
  GLfloat __pyx_t_2;
  GLfloat __pyx_t_3;
  GLfloat __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glClearColor", 0);

  /* "renpy/uguu/uguu.pyx":317
 * 
 * def glClearColor(red, green, blue, alpha):
 *     renpy.uguu.gl.glClearColor(red, green, blue, alpha)             # <<<<<<<<<<<<<<
 * 
 * def glClearStencil(s):
 */
  __pyx_t_1 = __pyx_PyFloat_AsFloat(__pyx_v_red); if (unlikely((__pyx_t_1 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 317, __pyx_L1_error)
  __pyx_t_2 = __pyx_PyFloat_AsFloat(__pyx_v_green); if (unlikely((__pyx_t_2 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 317, __pyx_L1_error)
  __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_v_blue); if (unlikely((__pyx_t_3 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 317, __pyx_L1_error)
  __pyx_t_4 = __pyx_PyFloat_AsFloat(__pyx_v_alpha); if (unlikely((__pyx_t_4 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 317, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glClearColor(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":316
 *     renpy.uguu.gl.glClearBufferuiv(buffer, drawbuffer, <const GLuint *> value_ptr.ptr)
 * 
 * def glClearColor(red, green, blue, alpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearColor(red, green, blue, alpha)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glClearColor", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":319
 *     renpy.uguu.gl.glClearColor(red, green, blue, alpha)
 * 
 * def glClearStencil(s):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearStencil(s)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_55glClearStencil(PyObject *__pyx_self, PyObject *__pyx_v_s); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_55glClearStencil = {"glClearStencil", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_55glClearStencil, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_55glClearStencil(PyObject *__pyx_self, PyObject *__pyx_v_s) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glClearStencil (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_54glClearStencil(__pyx_self, ((PyObject *)__pyx_v_s));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_54glClearStencil(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_s) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glClearStencil", 0);

  /* "renpy/uguu/uguu.pyx":320
 * 
 * def glClearStencil(s):
 *     renpy.uguu.gl.glClearStencil(s)             # <<<<<<<<<<<<<<
 * 
 * def glColorMask(red, green, blue, alpha):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_s); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 320, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glClearStencil(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":319
 *     renpy.uguu.gl.glClearColor(red, green, blue, alpha)
 * 
 * def glClearStencil(s):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearStencil(s)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glClearStencil", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":322
 *     renpy.uguu.gl.glClearStencil(s)
 * 
 * def glColorMask(red, green, blue, alpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glColorMask(red, green, blue, alpha)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_57glColorMask(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_57glColorMask = {"glColorMask", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_57glColorMask, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_57glColorMask(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_red = 0;
  PyObject *__pyx_v_green = 0;
  PyObject *__pyx_v_blue = 0;
  PyObject *__pyx_v_alpha = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glColorMask (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_red,&__pyx_n_s_green,&__pyx_n_s_blue,&__pyx_n_s_alpha,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_red)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_green)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glColorMask", 1, 4, 4, 1); __PYX_ERR(1, 322, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_blue)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glColorMask", 1, 4, 4, 2); __PYX_ERR(1, 322, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glColorMask", 1, 4, 4, 3); __PYX_ERR(1, 322, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glColorMask") < 0)) __PYX_ERR(1, 322, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_red = values[0];
    __pyx_v_green = values[1];
    __pyx_v_blue = values[2];
    __pyx_v_alpha = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glColorMask", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 322, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glColorMask", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_56glColorMask(__pyx_self, __pyx_v_red, __pyx_v_green, __pyx_v_blue, __pyx_v_alpha);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_56glColorMask(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_red, PyObject *__pyx_v_green, PyObject *__pyx_v_blue, PyObject *__pyx_v_alpha) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLboolean __pyx_t_1;
  GLboolean __pyx_t_2;
  GLboolean __pyx_t_3;
  GLboolean __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glColorMask", 0);

  /* "renpy/uguu/uguu.pyx":323
 * 
 * def glColorMask(red, green, blue, alpha):
 *     renpy.uguu.gl.glColorMask(red, green, blue, alpha)             # <<<<<<<<<<<<<<
 * 
 * def glCompileShader(shader):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLboolean(__pyx_v_red); if (unlikely((__pyx_t_1 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 323, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLboolean(__pyx_v_green); if (unlikely((__pyx_t_2 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 323, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLboolean(__pyx_v_blue); if (unlikely((__pyx_t_3 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 323, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLboolean(__pyx_v_alpha); if (unlikely((__pyx_t_4 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 323, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glColorMask(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":322
 *     renpy.uguu.gl.glClearStencil(s)
 * 
 * def glColorMask(red, green, blue, alpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glColorMask(red, green, blue, alpha)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glColorMask", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":325
 *     renpy.uguu.gl.glColorMask(red, green, blue, alpha)
 * 
 * def glCompileShader(shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCompileShader(shader)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_59glCompileShader(PyObject *__pyx_self, PyObject *__pyx_v_shader); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_59glCompileShader = {"glCompileShader", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_59glCompileShader, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_59glCompileShader(PyObject *__pyx_self, PyObject *__pyx_v_shader) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glCompileShader (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_58glCompileShader(__pyx_self, ((PyObject *)__pyx_v_shader));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_58glCompileShader(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glCompileShader", 0);

  /* "renpy/uguu/uguu.pyx":326
 * 
 * def glCompileShader(shader):
 *     renpy.uguu.gl.glCompileShader(shader)             # <<<<<<<<<<<<<<
 * 
 * def glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_shader); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 326, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glCompileShader(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":325
 *     renpy.uguu.gl.glColorMask(red, green, blue, alpha)
 * 
 * def glCompileShader(shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCompileShader(shader)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glCompileShader", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":328
 *     renpy.uguu.gl.glCompileShader(shader)
 * 
 * def glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, <const void *> data_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_61glCompressedTexImage2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_61glCompressedTexImage2D = {"glCompressedTexImage2D", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_61glCompressedTexImage2D, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_61glCompressedTexImage2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_level = 0;
  PyObject *__pyx_v_internalformat = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  PyObject *__pyx_v_border = 0;
  PyObject *__pyx_v_imageSize = 0;
  PyObject *__pyx_v_data = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glCompressedTexImage2D (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_level,&__pyx_n_s_internalformat,&__pyx_n_s_width,&__pyx_n_s_height,&__pyx_n_s_border,&__pyx_n_s_imageSize,&__pyx_n_s_data,0};
    PyObject* values[8] = {0,0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage2D", 1, 8, 8, 1); __PYX_ERR(1, 328, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_internalformat)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage2D", 1, 8, 8, 2); __PYX_ERR(1, 328, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage2D", 1, 8, 8, 3); __PYX_ERR(1, 328, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage2D", 1, 8, 8, 4); __PYX_ERR(1, 328, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_border)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage2D", 1, 8, 8, 5); __PYX_ERR(1, 328, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_imageSize)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage2D", 1, 8, 8, 6); __PYX_ERR(1, 328, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage2D", 1, 8, 8, 7); __PYX_ERR(1, 328, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glCompressedTexImage2D") < 0)) __PYX_ERR(1, 328, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 8) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
      values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
    }
    __pyx_v_target = values[0];
    __pyx_v_level = values[1];
    __pyx_v_internalformat = values[2];
    __pyx_v_width = values[3];
    __pyx_v_height = values[4];
    __pyx_v_border = values[5];
    __pyx_v_imageSize = values[6];
    __pyx_v_data = values[7];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glCompressedTexImage2D", 1, 8, 8, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 328, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glCompressedTexImage2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_60glCompressedTexImage2D(__pyx_self, __pyx_v_target, __pyx_v_level, __pyx_v_internalformat, __pyx_v_width, __pyx_v_height, __pyx_v_border, __pyx_v_imageSize, __pyx_v_data);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_60glCompressedTexImage2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_border, PyObject *__pyx_v_imageSize, PyObject *__pyx_v_data) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_data_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  GLenum __pyx_t_4;
  GLsizei __pyx_t_5;
  GLsizei __pyx_t_6;
  GLint __pyx_t_7;
  GLsizei __pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glCompressedTexImage2D", 0);

  /* "renpy/uguu/uguu.pyx":329
 * 
 * def glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data):
 *     cdef ptr data_ptr = get_ptr(data)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, <const void *> data_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_data)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 329, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_data_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":330
 * def glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data):
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, <const void *> data_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 330, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 330, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLenum(__pyx_v_internalformat); if (unlikely((__pyx_t_4 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 330, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_5 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 330, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_6 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 330, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLint(__pyx_v_border); if (unlikely((__pyx_t_7 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 330, __pyx_L1_error)
  __pyx_t_8 = __Pyx_PyInt_As_GLsizei(__pyx_v_imageSize); if (unlikely((__pyx_t_8 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 330, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glCompressedTexImage2D(__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8, ((void const *)__pyx_v_data_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":328
 *     renpy.uguu.gl.glCompileShader(shader)
 * 
 * def glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, <const void *> data_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glCompressedTexImage2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_data_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":332
 *     renpy.uguu.gl.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, <const void *> data_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_63glCompressedTexImage3D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_63glCompressedTexImage3D = {"glCompressedTexImage3D", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_63glCompressedTexImage3D, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_63glCompressedTexImage3D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_level = 0;
  PyObject *__pyx_v_internalformat = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  PyObject *__pyx_v_depth = 0;
  PyObject *__pyx_v_border = 0;
  PyObject *__pyx_v_imageSize = 0;
  PyObject *__pyx_v_data = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glCompressedTexImage3D (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_level,&__pyx_n_s_internalformat,&__pyx_n_s_width,&__pyx_n_s_height,&__pyx_n_s_depth,&__pyx_n_s_border,&__pyx_n_s_imageSize,&__pyx_n_s_data,0};
    PyObject* values[9] = {0,0,0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
        CYTHON_FALLTHROUGH;
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage3D", 1, 9, 9, 1); __PYX_ERR(1, 332, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_internalformat)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage3D", 1, 9, 9, 2); __PYX_ERR(1, 332, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage3D", 1, 9, 9, 3); __PYX_ERR(1, 332, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage3D", 1, 9, 9, 4); __PYX_ERR(1, 332, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_depth)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage3D", 1, 9, 9, 5); __PYX_ERR(1, 332, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_border)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage3D", 1, 9, 9, 6); __PYX_ERR(1, 332, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_imageSize)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage3D", 1, 9, 9, 7); __PYX_ERR(1, 332, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  8:
        if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexImage3D", 1, 9, 9, 8); __PYX_ERR(1, 332, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glCompressedTexImage3D") < 0)) __PYX_ERR(1, 332, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 9) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
      values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
      values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
    }
    __pyx_v_target = values[0];
    __pyx_v_level = values[1];
    __pyx_v_internalformat = values[2];
    __pyx_v_width = values[3];
    __pyx_v_height = values[4];
    __pyx_v_depth = values[5];
    __pyx_v_border = values[6];
    __pyx_v_imageSize = values[7];
    __pyx_v_data = values[8];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glCompressedTexImage3D", 1, 9, 9, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 332, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glCompressedTexImage3D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_62glCompressedTexImage3D(__pyx_self, __pyx_v_target, __pyx_v_level, __pyx_v_internalformat, __pyx_v_width, __pyx_v_height, __pyx_v_depth, __pyx_v_border, __pyx_v_imageSize, __pyx_v_data);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_62glCompressedTexImage3D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_depth, PyObject *__pyx_v_border, PyObject *__pyx_v_imageSize, PyObject *__pyx_v_data) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_data_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  GLenum __pyx_t_4;
  GLsizei __pyx_t_5;
  GLsizei __pyx_t_6;
  GLsizei __pyx_t_7;
  GLint __pyx_t_8;
  GLsizei __pyx_t_9;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glCompressedTexImage3D", 0);

  /* "renpy/uguu/uguu.pyx":333
 * 
 * def glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data):
 *     cdef ptr data_ptr = get_ptr(data)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, <const void *> data_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_data)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 333, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_data_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":334
 * def glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data):
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, <const void *> data_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 334, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 334, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLenum(__pyx_v_internalformat); if (unlikely((__pyx_t_4 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 334, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_5 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 334, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_6 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 334, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLsizei(__pyx_v_depth); if (unlikely((__pyx_t_7 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 334, __pyx_L1_error)
  __pyx_t_8 = __Pyx_PyInt_As_GLint(__pyx_v_border); if (unlikely((__pyx_t_8 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 334, __pyx_L1_error)
  __pyx_t_9 = __Pyx_PyInt_As_GLsizei(__pyx_v_imageSize); if (unlikely((__pyx_t_9 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 334, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glCompressedTexImage3D(__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8, __pyx_t_9, ((void const *)__pyx_v_data_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":332
 *     renpy.uguu.gl.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, <const void *> data_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glCompressedTexImage3D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_data_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":336
 *     renpy.uguu.gl.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, <const void *> data_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_65glCompressedTexSubImage2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_65glCompressedTexSubImage2D = {"glCompressedTexSubImage2D", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_65glCompressedTexSubImage2D, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_65glCompressedTexSubImage2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_level = 0;
  PyObject *__pyx_v_xoffset = 0;
  PyObject *__pyx_v_yoffset = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  PyObject *__pyx_v_format = 0;
  PyObject *__pyx_v_imageSize = 0;
  PyObject *__pyx_v_data = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glCompressedTexSubImage2D (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_level,&__pyx_n_s_xoffset,&__pyx_n_s_yoffset,&__pyx_n_s_width,&__pyx_n_s_height,&__pyx_n_s_format,&__pyx_n_s_imageSize,&__pyx_n_s_data,0};
    PyObject* values[9] = {0,0,0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
        CYTHON_FALLTHROUGH;
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage2D", 1, 9, 9, 1); __PYX_ERR(1, 336, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_xoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage2D", 1, 9, 9, 2); __PYX_ERR(1, 336, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_yoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage2D", 1, 9, 9, 3); __PYX_ERR(1, 336, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage2D", 1, 9, 9, 4); __PYX_ERR(1, 336, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage2D", 1, 9, 9, 5); __PYX_ERR(1, 336, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_format)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage2D", 1, 9, 9, 6); __PYX_ERR(1, 336, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_imageSize)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage2D", 1, 9, 9, 7); __PYX_ERR(1, 336, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  8:
        if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage2D", 1, 9, 9, 8); __PYX_ERR(1, 336, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glCompressedTexSubImage2D") < 0)) __PYX_ERR(1, 336, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 9) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
      values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
      values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
    }
    __pyx_v_target = values[0];
    __pyx_v_level = values[1];
    __pyx_v_xoffset = values[2];
    __pyx_v_yoffset = values[3];
    __pyx_v_width = values[4];
    __pyx_v_height = values[5];
    __pyx_v_format = values[6];
    __pyx_v_imageSize = values[7];
    __pyx_v_data = values[8];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage2D", 1, 9, 9, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 336, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glCompressedTexSubImage2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_64glCompressedTexSubImage2D(__pyx_self, __pyx_v_target, __pyx_v_level, __pyx_v_xoffset, __pyx_v_yoffset, __pyx_v_width, __pyx_v_height, __pyx_v_format, __pyx_v_imageSize, __pyx_v_data);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_64glCompressedTexSubImage2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_xoffset, PyObject *__pyx_v_yoffset, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_format, PyObject *__pyx_v_imageSize, PyObject *__pyx_v_data) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_data_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  GLint __pyx_t_4;
  GLint __pyx_t_5;
  GLsizei __pyx_t_6;
  GLsizei __pyx_t_7;
  GLenum __pyx_t_8;
  GLsizei __pyx_t_9;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glCompressedTexSubImage2D", 0);

  /* "renpy/uguu/uguu.pyx":337
 * 
 * def glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data):
 *     cdef ptr data_ptr = get_ptr(data)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, <const void *> data_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_data)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 337, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_data_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":338
 * def glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data):
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, <const void *> data_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 338, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 338, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_xoffset); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 338, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLint(__pyx_v_yoffset); if (unlikely((__pyx_t_5 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 338, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_6 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 338, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_7 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 338, __pyx_L1_error)
  __pyx_t_8 = __Pyx_PyInt_As_GLenum(__pyx_v_format); if (unlikely((__pyx_t_8 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 338, __pyx_L1_error)
  __pyx_t_9 = __Pyx_PyInt_As_GLsizei(__pyx_v_imageSize); if (unlikely((__pyx_t_9 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 338, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glCompressedTexSubImage2D(__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8, __pyx_t_9, ((void const *)__pyx_v_data_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":336
 *     renpy.uguu.gl.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, <const void *> data_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glCompressedTexSubImage2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_data_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":340
 *     renpy.uguu.gl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, <const void *> data_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_67glCompressedTexSubImage3D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_67glCompressedTexSubImage3D = {"glCompressedTexSubImage3D", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_67glCompressedTexSubImage3D, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_67glCompressedTexSubImage3D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_level = 0;
  PyObject *__pyx_v_xoffset = 0;
  PyObject *__pyx_v_yoffset = 0;
  PyObject *__pyx_v_zoffset = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  PyObject *__pyx_v_depth = 0;
  PyObject *__pyx_v_format = 0;
  PyObject *__pyx_v_imageSize = 0;
  PyObject *__pyx_v_data = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glCompressedTexSubImage3D (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_level,&__pyx_n_s_xoffset,&__pyx_n_s_yoffset,&__pyx_n_s_zoffset,&__pyx_n_s_width,&__pyx_n_s_height,&__pyx_n_s_depth,&__pyx_n_s_format,&__pyx_n_s_imageSize,&__pyx_n_s_data,0};
    PyObject* values[11] = {0,0,0,0,0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case 11: values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
        CYTHON_FALLTHROUGH;
        case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
        CYTHON_FALLTHROUGH;
        case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
        CYTHON_FALLTHROUGH;
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage3D", 1, 11, 11, 1); __PYX_ERR(1, 340, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_xoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage3D", 1, 11, 11, 2); __PYX_ERR(1, 340, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_yoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage3D", 1, 11, 11, 3); __PYX_ERR(1, 340, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_zoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage3D", 1, 11, 11, 4); __PYX_ERR(1, 340, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage3D", 1, 11, 11, 5); __PYX_ERR(1, 340, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage3D", 1, 11, 11, 6); __PYX_ERR(1, 340, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_depth)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage3D", 1, 11, 11, 7); __PYX_ERR(1, 340, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  8:
        if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_format)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage3D", 1, 11, 11, 8); __PYX_ERR(1, 340, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  9:
        if (likely((values[9] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_imageSize)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage3D", 1, 11, 11, 9); __PYX_ERR(1, 340, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case 10:
        if (likely((values[10] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage3D", 1, 11, 11, 10); __PYX_ERR(1, 340, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glCompressedTexSubImage3D") < 0)) __PYX_ERR(1, 340, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 11) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
      values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
      values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
      values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
      values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
    }
    __pyx_v_target = values[0];
    __pyx_v_level = values[1];
    __pyx_v_xoffset = values[2];
    __pyx_v_yoffset = values[3];
    __pyx_v_zoffset = values[4];
    __pyx_v_width = values[5];
    __pyx_v_height = values[6];
    __pyx_v_depth = values[7];
    __pyx_v_format = values[8];
    __pyx_v_imageSize = values[9];
    __pyx_v_data = values[10];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glCompressedTexSubImage3D", 1, 11, 11, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 340, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glCompressedTexSubImage3D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_66glCompressedTexSubImage3D(__pyx_self, __pyx_v_target, __pyx_v_level, __pyx_v_xoffset, __pyx_v_yoffset, __pyx_v_zoffset, __pyx_v_width, __pyx_v_height, __pyx_v_depth, __pyx_v_format, __pyx_v_imageSize, __pyx_v_data);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_66glCompressedTexSubImage3D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_xoffset, PyObject *__pyx_v_yoffset, PyObject *__pyx_v_zoffset, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_depth, PyObject *__pyx_v_format, PyObject *__pyx_v_imageSize, PyObject *__pyx_v_data) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_data_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  GLint __pyx_t_4;
  GLint __pyx_t_5;
  GLint __pyx_t_6;
  GLsizei __pyx_t_7;
  GLsizei __pyx_t_8;
  GLsizei __pyx_t_9;
  GLenum __pyx_t_10;
  GLsizei __pyx_t_11;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glCompressedTexSubImage3D", 0);

  /* "renpy/uguu/uguu.pyx":341
 * 
 * def glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data):
 *     cdef ptr data_ptr = get_ptr(data)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, <const void *> data_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_data)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 341, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_data_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":342
 * def glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data):
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, <const void *> data_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glCopyTexImage2D(target, level, internalformat, x, y, width, height, border):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 342, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 342, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_xoffset); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 342, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLint(__pyx_v_yoffset); if (unlikely((__pyx_t_5 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 342, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLint(__pyx_v_zoffset); if (unlikely((__pyx_t_6 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 342, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_7 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 342, __pyx_L1_error)
  __pyx_t_8 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_8 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 342, __pyx_L1_error)
  __pyx_t_9 = __Pyx_PyInt_As_GLsizei(__pyx_v_depth); if (unlikely((__pyx_t_9 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 342, __pyx_L1_error)
  __pyx_t_10 = __Pyx_PyInt_As_GLenum(__pyx_v_format); if (unlikely((__pyx_t_10 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 342, __pyx_L1_error)
  __pyx_t_11 = __Pyx_PyInt_As_GLsizei(__pyx_v_imageSize); if (unlikely((__pyx_t_11 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 342, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glCompressedTexSubImage3D(__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8, __pyx_t_9, __pyx_t_10, __pyx_t_11, ((void const *)__pyx_v_data_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":340
 *     renpy.uguu.gl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, <const void *> data_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glCompressedTexSubImage3D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_data_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":344
 *     renpy.uguu.gl.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCopyTexImage2D(target, level, internalformat, x, y, width, height, border):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_69glCopyTexImage2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_69glCopyTexImage2D = {"glCopyTexImage2D", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_69glCopyTexImage2D, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_69glCopyTexImage2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_level = 0;
  PyObject *__pyx_v_internalformat = 0;
  PyObject *__pyx_v_x = 0;
  PyObject *__pyx_v_y = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  PyObject *__pyx_v_border = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glCopyTexImage2D (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_level,&__pyx_n_s_internalformat,&__pyx_n_s_x,&__pyx_n_s_y,&__pyx_n_s_width,&__pyx_n_s_height,&__pyx_n_s_border,0};
    PyObject* values[8] = {0,0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexImage2D", 1, 8, 8, 1); __PYX_ERR(1, 344, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_internalformat)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexImage2D", 1, 8, 8, 2); __PYX_ERR(1, 344, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexImage2D", 1, 8, 8, 3); __PYX_ERR(1, 344, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexImage2D", 1, 8, 8, 4); __PYX_ERR(1, 344, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexImage2D", 1, 8, 8, 5); __PYX_ERR(1, 344, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexImage2D", 1, 8, 8, 6); __PYX_ERR(1, 344, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_border)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexImage2D", 1, 8, 8, 7); __PYX_ERR(1, 344, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glCopyTexImage2D") < 0)) __PYX_ERR(1, 344, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 8) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
      values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
    }
    __pyx_v_target = values[0];
    __pyx_v_level = values[1];
    __pyx_v_internalformat = values[2];
    __pyx_v_x = values[3];
    __pyx_v_y = values[4];
    __pyx_v_width = values[5];
    __pyx_v_height = values[6];
    __pyx_v_border = values[7];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glCopyTexImage2D", 1, 8, 8, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 344, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glCopyTexImage2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_68glCopyTexImage2D(__pyx_self, __pyx_v_target, __pyx_v_level, __pyx_v_internalformat, __pyx_v_x, __pyx_v_y, __pyx_v_width, __pyx_v_height, __pyx_v_border);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_68glCopyTexImage2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_border) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLint __pyx_t_2;
  GLenum __pyx_t_3;
  GLint __pyx_t_4;
  GLint __pyx_t_5;
  GLsizei __pyx_t_6;
  GLsizei __pyx_t_7;
  GLint __pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glCopyTexImage2D", 0);

  /* "renpy/uguu/uguu.pyx":345
 * 
 * def glCopyTexImage2D(target, level, internalformat, x, y, width, height, border):
 *     renpy.uguu.gl.glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)             # <<<<<<<<<<<<<<
 * 
 * def glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 345, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 345, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_internalformat); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 345, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_x); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 345, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLint(__pyx_v_y); if (unlikely((__pyx_t_5 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 345, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_6 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 345, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_7 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 345, __pyx_L1_error)
  __pyx_t_8 = __Pyx_PyInt_As_GLint(__pyx_v_border); if (unlikely((__pyx_t_8 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 345, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glCopyTexImage2D(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8);

  /* "renpy/uguu/uguu.pyx":344
 *     renpy.uguu.gl.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCopyTexImage2D(target, level, internalformat, x, y, width, height, border):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glCopyTexImage2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":347
 *     renpy.uguu.gl.glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)
 * 
 * def glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_71glCopyTexSubImage2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_71glCopyTexSubImage2D = {"glCopyTexSubImage2D", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_71glCopyTexSubImage2D, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_71glCopyTexSubImage2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_level = 0;
  PyObject *__pyx_v_xoffset = 0;
  PyObject *__pyx_v_yoffset = 0;
  PyObject *__pyx_v_x = 0;
  PyObject *__pyx_v_y = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glCopyTexSubImage2D (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_level,&__pyx_n_s_xoffset,&__pyx_n_s_yoffset,&__pyx_n_s_x,&__pyx_n_s_y,&__pyx_n_s_width,&__pyx_n_s_height,0};
    PyObject* values[8] = {0,0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage2D", 1, 8, 8, 1); __PYX_ERR(1, 347, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_xoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage2D", 1, 8, 8, 2); __PYX_ERR(1, 347, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_yoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage2D", 1, 8, 8, 3); __PYX_ERR(1, 347, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage2D", 1, 8, 8, 4); __PYX_ERR(1, 347, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage2D", 1, 8, 8, 5); __PYX_ERR(1, 347, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage2D", 1, 8, 8, 6); __PYX_ERR(1, 347, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage2D", 1, 8, 8, 7); __PYX_ERR(1, 347, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glCopyTexSubImage2D") < 0)) __PYX_ERR(1, 347, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 8) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
      values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
    }
    __pyx_v_target = values[0];
    __pyx_v_level = values[1];
    __pyx_v_xoffset = values[2];
    __pyx_v_yoffset = values[3];
    __pyx_v_x = values[4];
    __pyx_v_y = values[5];
    __pyx_v_width = values[6];
    __pyx_v_height = values[7];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage2D", 1, 8, 8, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 347, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glCopyTexSubImage2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_70glCopyTexSubImage2D(__pyx_self, __pyx_v_target, __pyx_v_level, __pyx_v_xoffset, __pyx_v_yoffset, __pyx_v_x, __pyx_v_y, __pyx_v_width, __pyx_v_height);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_70glCopyTexSubImage2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_xoffset, PyObject *__pyx_v_yoffset, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_width, PyObject *__pyx_v_height) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLint __pyx_t_2;
  GLint __pyx_t_3;
  GLint __pyx_t_4;
  GLint __pyx_t_5;
  GLint __pyx_t_6;
  GLsizei __pyx_t_7;
  GLsizei __pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glCopyTexSubImage2D", 0);

  /* "renpy/uguu/uguu.pyx":348
 * 
 * def glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height):
 *     renpy.uguu.gl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)             # <<<<<<<<<<<<<<
 * 
 * def glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 348, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 348, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_xoffset); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 348, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_yoffset); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 348, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLint(__pyx_v_x); if (unlikely((__pyx_t_5 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 348, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLint(__pyx_v_y); if (unlikely((__pyx_t_6 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 348, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_7 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 348, __pyx_L1_error)
  __pyx_t_8 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_8 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 348, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glCopyTexSubImage2D(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8);

  /* "renpy/uguu/uguu.pyx":347
 *     renpy.uguu.gl.glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)
 * 
 * def glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glCopyTexSubImage2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":350
 *     renpy.uguu.gl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)
 * 
 * def glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_73glCopyTexSubImage3D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_73glCopyTexSubImage3D = {"glCopyTexSubImage3D", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_73glCopyTexSubImage3D, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_73glCopyTexSubImage3D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_level = 0;
  PyObject *__pyx_v_xoffset = 0;
  PyObject *__pyx_v_yoffset = 0;
  PyObject *__pyx_v_zoffset = 0;
  PyObject *__pyx_v_x = 0;
  PyObject *__pyx_v_y = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glCopyTexSubImage3D (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_level,&__pyx_n_s_xoffset,&__pyx_n_s_yoffset,&__pyx_n_s_zoffset,&__pyx_n_s_x,&__pyx_n_s_y,&__pyx_n_s_width,&__pyx_n_s_height,0};
    PyObject* values[9] = {0,0,0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
        CYTHON_FALLTHROUGH;
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage3D", 1, 9, 9, 1); __PYX_ERR(1, 350, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_xoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage3D", 1, 9, 9, 2); __PYX_ERR(1, 350, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_yoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage3D", 1, 9, 9, 3); __PYX_ERR(1, 350, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_zoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage3D", 1, 9, 9, 4); __PYX_ERR(1, 350, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage3D", 1, 9, 9, 5); __PYX_ERR(1, 350, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage3D", 1, 9, 9, 6); __PYX_ERR(1, 350, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage3D", 1, 9, 9, 7); __PYX_ERR(1, 350, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  8:
        if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage3D", 1, 9, 9, 8); __PYX_ERR(1, 350, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glCopyTexSubImage3D") < 0)) __PYX_ERR(1, 350, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 9) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
      values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
      values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
    }
    __pyx_v_target = values[0];
    __pyx_v_level = values[1];
    __pyx_v_xoffset = values[2];
    __pyx_v_yoffset = values[3];
    __pyx_v_zoffset = values[4];
    __pyx_v_x = values[5];
    __pyx_v_y = values[6];
    __pyx_v_width = values[7];
    __pyx_v_height = values[8];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glCopyTexSubImage3D", 1, 9, 9, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 350, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glCopyTexSubImage3D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_72glCopyTexSubImage3D(__pyx_self, __pyx_v_target, __pyx_v_level, __pyx_v_xoffset, __pyx_v_yoffset, __pyx_v_zoffset, __pyx_v_x, __pyx_v_y, __pyx_v_width, __pyx_v_height);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_72glCopyTexSubImage3D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_xoffset, PyObject *__pyx_v_yoffset, PyObject *__pyx_v_zoffset, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_width, PyObject *__pyx_v_height) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLint __pyx_t_2;
  GLint __pyx_t_3;
  GLint __pyx_t_4;
  GLint __pyx_t_5;
  GLint __pyx_t_6;
  GLint __pyx_t_7;
  GLsizei __pyx_t_8;
  GLsizei __pyx_t_9;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glCopyTexSubImage3D", 0);

  /* "renpy/uguu/uguu.pyx":351
 * 
 * def glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height):
 *     renpy.uguu.gl.glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)             # <<<<<<<<<<<<<<
 * 
 * def glCreateProgram():
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 351, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 351, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_xoffset); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 351, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_yoffset); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 351, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLint(__pyx_v_zoffset); if (unlikely((__pyx_t_5 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 351, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLint(__pyx_v_x); if (unlikely((__pyx_t_6 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 351, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLint(__pyx_v_y); if (unlikely((__pyx_t_7 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 351, __pyx_L1_error)
  __pyx_t_8 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_8 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 351, __pyx_L1_error)
  __pyx_t_9 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_9 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 351, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glCopyTexSubImage3D(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8, __pyx_t_9);

  /* "renpy/uguu/uguu.pyx":350
 *     renpy.uguu.gl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)
 * 
 * def glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glCopyTexSubImage3D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":353
 *     renpy.uguu.gl.glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)
 * 
 * def glCreateProgram():             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glCreateProgram()
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_75glCreateProgram(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_75glCreateProgram = {"glCreateProgram", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_75glCreateProgram, METH_NOARGS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_75glCreateProgram(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glCreateProgram (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_74glCreateProgram(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_74glCreateProgram(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glCreateProgram", 0);

  /* "renpy/uguu/uguu.pyx":354
 * 
 * def glCreateProgram():
 *     return renpy.uguu.gl.glCreateProgram()             # <<<<<<<<<<<<<<
 * 
 * def glCreateShader(type):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_GLuint(__pyx_v_5renpy_4uguu_2gl_glCreateProgram()); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 354, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":353
 *     renpy.uguu.gl.glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)
 * 
 * def glCreateProgram():             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glCreateProgram()
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glCreateProgram", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":356
 *     return renpy.uguu.gl.glCreateProgram()
 * 
 * def glCreateShader(type):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glCreateShader(type)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_77glCreateShader(PyObject *__pyx_self, PyObject *__pyx_v_type); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_77glCreateShader = {"glCreateShader", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_77glCreateShader, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_77glCreateShader(PyObject *__pyx_self, PyObject *__pyx_v_type) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glCreateShader (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_76glCreateShader(__pyx_self, ((PyObject *)__pyx_v_type));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_76glCreateShader(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_type) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glCreateShader", 0);

  /* "renpy/uguu/uguu.pyx":357
 * 
 * def glCreateShader(type):
 *     return renpy.uguu.gl.glCreateShader(type)             # <<<<<<<<<<<<<<
 * 
 * def glCullFace(mode):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_type); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 357, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_From_GLuint(__pyx_v_5renpy_4uguu_2gl_glCreateShader(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 357, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":356
 *     return renpy.uguu.gl.glCreateProgram()
 * 
 * def glCreateShader(type):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glCreateShader(type)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glCreateShader", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":359
 *     return renpy.uguu.gl.glCreateShader(type)
 * 
 * def glCullFace(mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCullFace(mode)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_79glCullFace(PyObject *__pyx_self, PyObject *__pyx_v_mode); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_79glCullFace = {"glCullFace", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_79glCullFace, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_79glCullFace(PyObject *__pyx_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glCullFace (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_78glCullFace(__pyx_self, ((PyObject *)__pyx_v_mode));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_78glCullFace(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glCullFace", 0);

  /* "renpy/uguu/uguu.pyx":360
 * 
 * def glCullFace(mode):
 *     renpy.uguu.gl.glCullFace(mode)             # <<<<<<<<<<<<<<
 * 
 * def glDeleteBuffers(n, buffers):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_mode); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 360, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glCullFace(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":359
 *     return renpy.uguu.gl.glCreateShader(type)
 * 
 * def glCullFace(mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCullFace(mode)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glCullFace", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":362
 *     renpy.uguu.gl.glCullFace(mode)
 * 
 * def glDeleteBuffers(n, buffers):             # <<<<<<<<<<<<<<
 *     cdef ptr buffers_ptr = get_ptr(buffers)
 *     renpy.uguu.gl.glDeleteBuffers(n, <const GLuint *> buffers_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_81glDeleteBuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_81glDeleteBuffers = {"glDeleteBuffers", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_81glDeleteBuffers, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_81glDeleteBuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_buffers = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDeleteBuffers (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_buffers,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_buffers)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDeleteBuffers", 1, 2, 2, 1); __PYX_ERR(1, 362, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glDeleteBuffers") < 0)) __PYX_ERR(1, 362, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_buffers = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glDeleteBuffers", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 362, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteBuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_80glDeleteBuffers(__pyx_self, __pyx_v_n, __pyx_v_buffers);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_80glDeleteBuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_buffers) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_buffers_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDeleteBuffers", 0);

  /* "renpy/uguu/uguu.pyx":363
 * 
 * def glDeleteBuffers(n, buffers):
 *     cdef ptr buffers_ptr = get_ptr(buffers)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteBuffers(n, <const GLuint *> buffers_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_buffers)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 363, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_buffers_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":364
 * def glDeleteBuffers(n, buffers):
 *     cdef ptr buffers_ptr = get_ptr(buffers)
 *     renpy.uguu.gl.glDeleteBuffers(n, <const GLuint *> buffers_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glDeleteFramebuffers(n, framebuffers):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 364, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDeleteBuffers(__pyx_t_2, ((GLuint const *)__pyx_v_buffers_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":362
 *     renpy.uguu.gl.glCullFace(mode)
 * 
 * def glDeleteBuffers(n, buffers):             # <<<<<<<<<<<<<<
 *     cdef ptr buffers_ptr = get_ptr(buffers)
 *     renpy.uguu.gl.glDeleteBuffers(n, <const GLuint *> buffers_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteBuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_buffers_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":366
 *     renpy.uguu.gl.glDeleteBuffers(n, <const GLuint *> buffers_ptr.ptr)
 * 
 * def glDeleteFramebuffers(n, framebuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr framebuffers_ptr = get_ptr(framebuffers)
 *     renpy.uguu.gl.glDeleteFramebuffers(n, <const GLuint *> framebuffers_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_83glDeleteFramebuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_83glDeleteFramebuffers = {"glDeleteFramebuffers", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_83glDeleteFramebuffers, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_83glDeleteFramebuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_framebuffers = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDeleteFramebuffers (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_framebuffers,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_framebuffers)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDeleteFramebuffers", 1, 2, 2, 1); __PYX_ERR(1, 366, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glDeleteFramebuffers") < 0)) __PYX_ERR(1, 366, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_framebuffers = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glDeleteFramebuffers", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 366, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteFramebuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_82glDeleteFramebuffers(__pyx_self, __pyx_v_n, __pyx_v_framebuffers);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_82glDeleteFramebuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_framebuffers) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_framebuffers_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDeleteFramebuffers", 0);

  /* "renpy/uguu/uguu.pyx":367
 * 
 * def glDeleteFramebuffers(n, framebuffers):
 *     cdef ptr framebuffers_ptr = get_ptr(framebuffers)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteFramebuffers(n, <const GLuint *> framebuffers_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_framebuffers)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 367, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_framebuffers_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":368
 * def glDeleteFramebuffers(n, framebuffers):
 *     cdef ptr framebuffers_ptr = get_ptr(framebuffers)
 *     renpy.uguu.gl.glDeleteFramebuffers(n, <const GLuint *> framebuffers_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glDeleteProgram(program):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 368, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDeleteFramebuffers(__pyx_t_2, ((GLuint const *)__pyx_v_framebuffers_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":366
 *     renpy.uguu.gl.glDeleteBuffers(n, <const GLuint *> buffers_ptr.ptr)
 * 
 * def glDeleteFramebuffers(n, framebuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr framebuffers_ptr = get_ptr(framebuffers)
 *     renpy.uguu.gl.glDeleteFramebuffers(n, <const GLuint *> framebuffers_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteFramebuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_framebuffers_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":370
 *     renpy.uguu.gl.glDeleteFramebuffers(n, <const GLuint *> framebuffers_ptr.ptr)
 * 
 * def glDeleteProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteProgram(program)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_85glDeleteProgram(PyObject *__pyx_self, PyObject *__pyx_v_program); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_85glDeleteProgram = {"glDeleteProgram", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_85glDeleteProgram, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_85glDeleteProgram(PyObject *__pyx_self, PyObject *__pyx_v_program) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDeleteProgram (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_84glDeleteProgram(__pyx_self, ((PyObject *)__pyx_v_program));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_84glDeleteProgram(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDeleteProgram", 0);

  /* "renpy/uguu/uguu.pyx":371
 * 
 * def glDeleteProgram(program):
 *     renpy.uguu.gl.glDeleteProgram(program)             # <<<<<<<<<<<<<<
 * 
 * def glDeleteQueries(n, ids):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 371, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDeleteProgram(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":370
 *     renpy.uguu.gl.glDeleteFramebuffers(n, <const GLuint *> framebuffers_ptr.ptr)
 * 
 * def glDeleteProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteProgram(program)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteProgram", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":373
 *     renpy.uguu.gl.glDeleteProgram(program)
 * 
 * def glDeleteQueries(n, ids):             # <<<<<<<<<<<<<<
 *     cdef ptr ids_ptr = get_ptr(ids)
 *     renpy.uguu.gl.glDeleteQueries(n, <const GLuint *> ids_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_87glDeleteQueries(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_87glDeleteQueries = {"glDeleteQueries", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_87glDeleteQueries, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_87glDeleteQueries(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_ids = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDeleteQueries (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_ids,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_ids)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDeleteQueries", 1, 2, 2, 1); __PYX_ERR(1, 373, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glDeleteQueries") < 0)) __PYX_ERR(1, 373, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_ids = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glDeleteQueries", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 373, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteQueries", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_86glDeleteQueries(__pyx_self, __pyx_v_n, __pyx_v_ids);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_86glDeleteQueries(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_ids) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_ids_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDeleteQueries", 0);

  /* "renpy/uguu/uguu.pyx":374
 * 
 * def glDeleteQueries(n, ids):
 *     cdef ptr ids_ptr = get_ptr(ids)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteQueries(n, <const GLuint *> ids_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_ids)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 374, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ids_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":375
 * def glDeleteQueries(n, ids):
 *     cdef ptr ids_ptr = get_ptr(ids)
 *     renpy.uguu.gl.glDeleteQueries(n, <const GLuint *> ids_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glDeleteRenderbuffers(n, renderbuffers):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 375, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDeleteQueries(__pyx_t_2, ((GLuint const *)__pyx_v_ids_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":373
 *     renpy.uguu.gl.glDeleteProgram(program)
 * 
 * def glDeleteQueries(n, ids):             # <<<<<<<<<<<<<<
 *     cdef ptr ids_ptr = get_ptr(ids)
 *     renpy.uguu.gl.glDeleteQueries(n, <const GLuint *> ids_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteQueries", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ids_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":377
 *     renpy.uguu.gl.glDeleteQueries(n, <const GLuint *> ids_ptr.ptr)
 * 
 * def glDeleteRenderbuffers(n, renderbuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr renderbuffers_ptr = get_ptr(renderbuffers)
 *     renpy.uguu.gl.glDeleteRenderbuffers(n, <const GLuint *> renderbuffers_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_89glDeleteRenderbuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_89glDeleteRenderbuffers = {"glDeleteRenderbuffers", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_89glDeleteRenderbuffers, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_89glDeleteRenderbuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_renderbuffers = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDeleteRenderbuffers (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_renderbuffers,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_renderbuffers)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDeleteRenderbuffers", 1, 2, 2, 1); __PYX_ERR(1, 377, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glDeleteRenderbuffers") < 0)) __PYX_ERR(1, 377, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_renderbuffers = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glDeleteRenderbuffers", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 377, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteRenderbuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_88glDeleteRenderbuffers(__pyx_self, __pyx_v_n, __pyx_v_renderbuffers);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_88glDeleteRenderbuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_renderbuffers) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_renderbuffers_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDeleteRenderbuffers", 0);

  /* "renpy/uguu/uguu.pyx":378
 * 
 * def glDeleteRenderbuffers(n, renderbuffers):
 *     cdef ptr renderbuffers_ptr = get_ptr(renderbuffers)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteRenderbuffers(n, <const GLuint *> renderbuffers_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_renderbuffers)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 378, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_renderbuffers_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":379
 * def glDeleteRenderbuffers(n, renderbuffers):
 *     cdef ptr renderbuffers_ptr = get_ptr(renderbuffers)
 *     renpy.uguu.gl.glDeleteRenderbuffers(n, <const GLuint *> renderbuffers_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glDeleteShader(shader):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 379, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDeleteRenderbuffers(__pyx_t_2, ((GLuint const *)__pyx_v_renderbuffers_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":377
 *     renpy.uguu.gl.glDeleteQueries(n, <const GLuint *> ids_ptr.ptr)
 * 
 * def glDeleteRenderbuffers(n, renderbuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr renderbuffers_ptr = get_ptr(renderbuffers)
 *     renpy.uguu.gl.glDeleteRenderbuffers(n, <const GLuint *> renderbuffers_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteRenderbuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_renderbuffers_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":381
 *     renpy.uguu.gl.glDeleteRenderbuffers(n, <const GLuint *> renderbuffers_ptr.ptr)
 * 
 * def glDeleteShader(shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteShader(shader)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_91glDeleteShader(PyObject *__pyx_self, PyObject *__pyx_v_shader); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_91glDeleteShader = {"glDeleteShader", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_91glDeleteShader, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_91glDeleteShader(PyObject *__pyx_self, PyObject *__pyx_v_shader) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDeleteShader (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_90glDeleteShader(__pyx_self, ((PyObject *)__pyx_v_shader));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_90glDeleteShader(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDeleteShader", 0);

  /* "renpy/uguu/uguu.pyx":382
 * 
 * def glDeleteShader(shader):
 *     renpy.uguu.gl.glDeleteShader(shader)             # <<<<<<<<<<<<<<
 * 
 * def glDeleteTextures(n, textures):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_shader); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 382, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDeleteShader(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":381
 *     renpy.uguu.gl.glDeleteRenderbuffers(n, <const GLuint *> renderbuffers_ptr.ptr)
 * 
 * def glDeleteShader(shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteShader(shader)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteShader", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":384
 *     renpy.uguu.gl.glDeleteShader(shader)
 * 
 * def glDeleteTextures(n, textures):             # <<<<<<<<<<<<<<
 *     cdef ptr textures_ptr = get_ptr(textures)
 *     renpy.uguu.gl.glDeleteTextures(n, <const GLuint *> textures_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_93glDeleteTextures(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_93glDeleteTextures = {"glDeleteTextures", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_93glDeleteTextures, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_93glDeleteTextures(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_textures = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDeleteTextures (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_textures,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_textures)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDeleteTextures", 1, 2, 2, 1); __PYX_ERR(1, 384, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glDeleteTextures") < 0)) __PYX_ERR(1, 384, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_textures = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glDeleteTextures", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 384, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteTextures", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_92glDeleteTextures(__pyx_self, __pyx_v_n, __pyx_v_textures);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_92glDeleteTextures(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_textures) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_textures_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDeleteTextures", 0);

  /* "renpy/uguu/uguu.pyx":385
 * 
 * def glDeleteTextures(n, textures):
 *     cdef ptr textures_ptr = get_ptr(textures)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteTextures(n, <const GLuint *> textures_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_textures)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 385, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_textures_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":386
 * def glDeleteTextures(n, textures):
 *     cdef ptr textures_ptr = get_ptr(textures)
 *     renpy.uguu.gl.glDeleteTextures(n, <const GLuint *> textures_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glDeleteVertexArrays(n, arrays):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 386, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDeleteTextures(__pyx_t_2, ((GLuint const *)__pyx_v_textures_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":384
 *     renpy.uguu.gl.glDeleteShader(shader)
 * 
 * def glDeleteTextures(n, textures):             # <<<<<<<<<<<<<<
 *     cdef ptr textures_ptr = get_ptr(textures)
 *     renpy.uguu.gl.glDeleteTextures(n, <const GLuint *> textures_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteTextures", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_textures_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":388
 *     renpy.uguu.gl.glDeleteTextures(n, <const GLuint *> textures_ptr.ptr)
 * 
 * def glDeleteVertexArrays(n, arrays):             # <<<<<<<<<<<<<<
 *     cdef ptr arrays_ptr = get_ptr(arrays)
 *     renpy.uguu.gl.glDeleteVertexArrays(n, <const GLuint *> arrays_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_95glDeleteVertexArrays(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_95glDeleteVertexArrays = {"glDeleteVertexArrays", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_95glDeleteVertexArrays, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_95glDeleteVertexArrays(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_arrays = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDeleteVertexArrays (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_arrays,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_arrays)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDeleteVertexArrays", 1, 2, 2, 1); __PYX_ERR(1, 388, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glDeleteVertexArrays") < 0)) __PYX_ERR(1, 388, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_arrays = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glDeleteVertexArrays", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 388, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteVertexArrays", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_94glDeleteVertexArrays(__pyx_self, __pyx_v_n, __pyx_v_arrays);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_94glDeleteVertexArrays(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_arrays) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_arrays_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDeleteVertexArrays", 0);

  /* "renpy/uguu/uguu.pyx":389
 * 
 * def glDeleteVertexArrays(n, arrays):
 *     cdef ptr arrays_ptr = get_ptr(arrays)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteVertexArrays(n, <const GLuint *> arrays_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_arrays)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 389, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_arrays_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":390
 * def glDeleteVertexArrays(n, arrays):
 *     cdef ptr arrays_ptr = get_ptr(arrays)
 *     renpy.uguu.gl.glDeleteVertexArrays(n, <const GLuint *> arrays_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glDepthFunc(func):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 390, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDeleteVertexArrays(__pyx_t_2, ((GLuint const *)__pyx_v_arrays_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":388
 *     renpy.uguu.gl.glDeleteTextures(n, <const GLuint *> textures_ptr.ptr)
 * 
 * def glDeleteVertexArrays(n, arrays):             # <<<<<<<<<<<<<<
 *     cdef ptr arrays_ptr = get_ptr(arrays)
 *     renpy.uguu.gl.glDeleteVertexArrays(n, <const GLuint *> arrays_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glDeleteVertexArrays", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_arrays_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":392
 *     renpy.uguu.gl.glDeleteVertexArrays(n, <const GLuint *> arrays_ptr.ptr)
 * 
 * def glDepthFunc(func):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDepthFunc(func)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_97glDepthFunc(PyObject *__pyx_self, PyObject *__pyx_v_func); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_97glDepthFunc = {"glDepthFunc", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_97glDepthFunc, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_97glDepthFunc(PyObject *__pyx_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDepthFunc (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_96glDepthFunc(__pyx_self, ((PyObject *)__pyx_v_func));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_96glDepthFunc(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_func) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDepthFunc", 0);

  /* "renpy/uguu/uguu.pyx":393
 * 
 * def glDepthFunc(func):
 *     renpy.uguu.gl.glDepthFunc(func)             # <<<<<<<<<<<<<<
 * 
 * def glDepthMask(flag):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_func); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 393, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDepthFunc(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":392
 *     renpy.uguu.gl.glDeleteVertexArrays(n, <const GLuint *> arrays_ptr.ptr)
 * 
 * def glDepthFunc(func):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDepthFunc(func)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDepthFunc", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":395
 *     renpy.uguu.gl.glDepthFunc(func)
 * 
 * def glDepthMask(flag):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDepthMask(flag)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_99glDepthMask(PyObject *__pyx_self, PyObject *__pyx_v_flag); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_99glDepthMask = {"glDepthMask", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_99glDepthMask, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_99glDepthMask(PyObject *__pyx_self, PyObject *__pyx_v_flag) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDepthMask (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_98glDepthMask(__pyx_self, ((PyObject *)__pyx_v_flag));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_98glDepthMask(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_flag) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLboolean __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDepthMask", 0);

  /* "renpy/uguu/uguu.pyx":396
 * 
 * def glDepthMask(flag):
 *     renpy.uguu.gl.glDepthMask(flag)             # <<<<<<<<<<<<<<
 * 
 * def glDetachShader(program, shader):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLboolean(__pyx_v_flag); if (unlikely((__pyx_t_1 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 396, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDepthMask(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":395
 *     renpy.uguu.gl.glDepthFunc(func)
 * 
 * def glDepthMask(flag):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDepthMask(flag)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDepthMask", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":398
 *     renpy.uguu.gl.glDepthMask(flag)
 * 
 * def glDetachShader(program, shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDetachShader(program, shader)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_101glDetachShader(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_101glDetachShader = {"glDetachShader", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_101glDetachShader, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_101glDetachShader(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_shader = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDetachShader (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_shader,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_shader)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDetachShader", 1, 2, 2, 1); __PYX_ERR(1, 398, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glDetachShader") < 0)) __PYX_ERR(1, 398, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_program = values[0];
    __pyx_v_shader = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glDetachShader", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 398, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDetachShader", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_100glDetachShader(__pyx_self, __pyx_v_program, __pyx_v_shader);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_100glDetachShader(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_shader) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDetachShader", 0);

  /* "renpy/uguu/uguu.pyx":399
 * 
 * def glDetachShader(program, shader):
 *     renpy.uguu.gl.glDetachShader(program, shader)             # <<<<<<<<<<<<<<
 * 
 * def glDisable(cap):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 399, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_shader); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 399, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDetachShader(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":398
 *     renpy.uguu.gl.glDepthMask(flag)
 * 
 * def glDetachShader(program, shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDetachShader(program, shader)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDetachShader", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":401
 *     renpy.uguu.gl.glDetachShader(program, shader)
 * 
 * def glDisable(cap):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDisable(cap)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_103glDisable(PyObject *__pyx_self, PyObject *__pyx_v_cap); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_103glDisable = {"glDisable", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_103glDisable, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_103glDisable(PyObject *__pyx_self, PyObject *__pyx_v_cap) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDisable (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_102glDisable(__pyx_self, ((PyObject *)__pyx_v_cap));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_102glDisable(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cap) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDisable", 0);

  /* "renpy/uguu/uguu.pyx":402
 * 
 * def glDisable(cap):
 *     renpy.uguu.gl.glDisable(cap)             # <<<<<<<<<<<<<<
 * 
 * def glDisableVertexAttribArray(index):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_cap); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 402, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDisable(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":401
 *     renpy.uguu.gl.glDetachShader(program, shader)
 * 
 * def glDisable(cap):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDisable(cap)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDisable", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":404
 *     renpy.uguu.gl.glDisable(cap)
 * 
 * def glDisableVertexAttribArray(index):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDisableVertexAttribArray(index)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_105glDisableVertexAttribArray(PyObject *__pyx_self, PyObject *__pyx_v_index); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_105glDisableVertexAttribArray = {"glDisableVertexAttribArray", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_105glDisableVertexAttribArray, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_105glDisableVertexAttribArray(PyObject *__pyx_self, PyObject *__pyx_v_index) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDisableVertexAttribArray (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_104glDisableVertexAttribArray(__pyx_self, ((PyObject *)__pyx_v_index));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_104glDisableVertexAttribArray(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDisableVertexAttribArray", 0);

  /* "renpy/uguu/uguu.pyx":405
 * 
 * def glDisableVertexAttribArray(index):
 *     renpy.uguu.gl.glDisableVertexAttribArray(index)             # <<<<<<<<<<<<<<
 * 
 * def glDrawArrays(mode, first, count):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 405, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDisableVertexAttribArray(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":404
 *     renpy.uguu.gl.glDisable(cap)
 * 
 * def glDisableVertexAttribArray(index):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDisableVertexAttribArray(index)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDisableVertexAttribArray", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":407
 *     renpy.uguu.gl.glDisableVertexAttribArray(index)
 * 
 * def glDrawArrays(mode, first, count):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDrawArrays(mode, first, count)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_107glDrawArrays(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_107glDrawArrays = {"glDrawArrays", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_107glDrawArrays, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_107glDrawArrays(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_mode = 0;
  PyObject *__pyx_v_first = 0;
  PyObject *__pyx_v_count = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDrawArrays (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_mode,&__pyx_n_s_first,&__pyx_n_s_count,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_mode)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_first)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDrawArrays", 1, 3, 3, 1); __PYX_ERR(1, 407, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDrawArrays", 1, 3, 3, 2); __PYX_ERR(1, 407, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glDrawArrays") < 0)) __PYX_ERR(1, 407, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_mode = values[0];
    __pyx_v_first = values[1];
    __pyx_v_count = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glDrawArrays", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 407, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDrawArrays", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_106glDrawArrays(__pyx_self, __pyx_v_mode, __pyx_v_first, __pyx_v_count);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_106glDrawArrays(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mode, PyObject *__pyx_v_first, PyObject *__pyx_v_count) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDrawArrays", 0);

  /* "renpy/uguu/uguu.pyx":408
 * 
 * def glDrawArrays(mode, first, count):
 *     renpy.uguu.gl.glDrawArrays(mode, first, count)             # <<<<<<<<<<<<<<
 * 
 * def glDrawBuffers(n, bufs):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_mode); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 408, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_first); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 408, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 408, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDrawArrays(__pyx_t_1, __pyx_t_2, __pyx_t_3);

  /* "renpy/uguu/uguu.pyx":407
 *     renpy.uguu.gl.glDisableVertexAttribArray(index)
 * 
 * def glDrawArrays(mode, first, count):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDrawArrays(mode, first, count)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDrawArrays", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":410
 *     renpy.uguu.gl.glDrawArrays(mode, first, count)
 * 
 * def glDrawBuffers(n, bufs):             # <<<<<<<<<<<<<<
 *     cdef ptr bufs_ptr = get_ptr(bufs)
 *     renpy.uguu.gl.glDrawBuffers(n, <const GLenum *> bufs_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_109glDrawBuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_109glDrawBuffers = {"glDrawBuffers", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_109glDrawBuffers, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_109glDrawBuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_bufs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDrawBuffers (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_bufs,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_bufs)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDrawBuffers", 1, 2, 2, 1); __PYX_ERR(1, 410, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glDrawBuffers") < 0)) __PYX_ERR(1, 410, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_bufs = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glDrawBuffers", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 410, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDrawBuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_108glDrawBuffers(__pyx_self, __pyx_v_n, __pyx_v_bufs);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_108glDrawBuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_bufs) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_bufs_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDrawBuffers", 0);

  /* "renpy/uguu/uguu.pyx":411
 * 
 * def glDrawBuffers(n, bufs):
 *     cdef ptr bufs_ptr = get_ptr(bufs)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDrawBuffers(n, <const GLenum *> bufs_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_bufs)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 411, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_bufs_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":412
 * def glDrawBuffers(n, bufs):
 *     cdef ptr bufs_ptr = get_ptr(bufs)
 *     renpy.uguu.gl.glDrawBuffers(n, <const GLenum *> bufs_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glDrawElements(mode, count, type, indices):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 412, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDrawBuffers(__pyx_t_2, ((GLenum const *)__pyx_v_bufs_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":410
 *     renpy.uguu.gl.glDrawArrays(mode, first, count)
 * 
 * def glDrawBuffers(n, bufs):             # <<<<<<<<<<<<<<
 *     cdef ptr bufs_ptr = get_ptr(bufs)
 *     renpy.uguu.gl.glDrawBuffers(n, <const GLenum *> bufs_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glDrawBuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_bufs_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":414
 *     renpy.uguu.gl.glDrawBuffers(n, <const GLenum *> bufs_ptr.ptr)
 * 
 * def glDrawElements(mode, count, type, indices):             # <<<<<<<<<<<<<<
 *     cdef ptr indices_ptr = get_ptr(indices)
 *     renpy.uguu.gl.glDrawElements(mode, count, type, <const void *> indices_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_111glDrawElements(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_111glDrawElements = {"glDrawElements", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_111glDrawElements, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_111glDrawElements(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_mode = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_type = 0;
  PyObject *__pyx_v_indices = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDrawElements (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_mode,&__pyx_n_s_count,&__pyx_n_s_type,&__pyx_n_s_indices,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_mode)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDrawElements", 1, 4, 4, 1); __PYX_ERR(1, 414, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDrawElements", 1, 4, 4, 2); __PYX_ERR(1, 414, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_indices)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDrawElements", 1, 4, 4, 3); __PYX_ERR(1, 414, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glDrawElements") < 0)) __PYX_ERR(1, 414, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_mode = values[0];
    __pyx_v_count = values[1];
    __pyx_v_type = values[2];
    __pyx_v_indices = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glDrawElements", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 414, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDrawElements", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_110glDrawElements(__pyx_self, __pyx_v_mode, __pyx_v_count, __pyx_v_type, __pyx_v_indices);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_110glDrawElements(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mode, PyObject *__pyx_v_count, PyObject *__pyx_v_type, PyObject *__pyx_v_indices) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_indices_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLsizei __pyx_t_3;
  GLenum __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDrawElements", 0);

  /* "renpy/uguu/uguu.pyx":415
 * 
 * def glDrawElements(mode, count, type, indices):
 *     cdef ptr indices_ptr = get_ptr(indices)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDrawElements(mode, count, type, <const void *> indices_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_indices)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 415, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_indices_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":416
 * def glDrawElements(mode, count, type, indices):
 *     cdef ptr indices_ptr = get_ptr(indices)
 *     renpy.uguu.gl.glDrawElements(mode, count, type, <const void *> indices_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glDrawRangeElements(mode, start, end, count, type, indices):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_mode); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 416, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 416, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLenum(__pyx_v_type); if (unlikely((__pyx_t_4 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 416, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDrawElements(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((void const *)__pyx_v_indices_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":414
 *     renpy.uguu.gl.glDrawBuffers(n, <const GLenum *> bufs_ptr.ptr)
 * 
 * def glDrawElements(mode, count, type, indices):             # <<<<<<<<<<<<<<
 *     cdef ptr indices_ptr = get_ptr(indices)
 *     renpy.uguu.gl.glDrawElements(mode, count, type, <const void *> indices_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glDrawElements", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_indices_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":418
 *     renpy.uguu.gl.glDrawElements(mode, count, type, <const void *> indices_ptr.ptr)
 * 
 * def glDrawRangeElements(mode, start, end, count, type, indices):             # <<<<<<<<<<<<<<
 *     cdef ptr indices_ptr = get_ptr(indices)
 *     renpy.uguu.gl.glDrawRangeElements(mode, start, end, count, type, <const void *> indices_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_113glDrawRangeElements(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_113glDrawRangeElements = {"glDrawRangeElements", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_113glDrawRangeElements, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_113glDrawRangeElements(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_mode = 0;
  PyObject *__pyx_v_start = 0;
  PyObject *__pyx_v_end = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_type = 0;
  PyObject *__pyx_v_indices = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glDrawRangeElements (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_mode,&__pyx_n_s_start,&__pyx_n_s_end,&__pyx_n_s_count,&__pyx_n_s_type,&__pyx_n_s_indices,0};
    PyObject* values[6] = {0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_mode)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_start)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDrawRangeElements", 1, 6, 6, 1); __PYX_ERR(1, 418, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_end)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDrawRangeElements", 1, 6, 6, 2); __PYX_ERR(1, 418, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDrawRangeElements", 1, 6, 6, 3); __PYX_ERR(1, 418, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDrawRangeElements", 1, 6, 6, 4); __PYX_ERR(1, 418, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_indices)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glDrawRangeElements", 1, 6, 6, 5); __PYX_ERR(1, 418, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glDrawRangeElements") < 0)) __PYX_ERR(1, 418, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 6) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
    }
    __pyx_v_mode = values[0];
    __pyx_v_start = values[1];
    __pyx_v_end = values[2];
    __pyx_v_count = values[3];
    __pyx_v_type = values[4];
    __pyx_v_indices = values[5];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glDrawRangeElements", 1, 6, 6, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 418, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glDrawRangeElements", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_112glDrawRangeElements(__pyx_self, __pyx_v_mode, __pyx_v_start, __pyx_v_end, __pyx_v_count, __pyx_v_type, __pyx_v_indices);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_112glDrawRangeElements(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mode, PyObject *__pyx_v_start, PyObject *__pyx_v_end, PyObject *__pyx_v_count, PyObject *__pyx_v_type, PyObject *__pyx_v_indices) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_indices_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLuint __pyx_t_3;
  GLuint __pyx_t_4;
  GLsizei __pyx_t_5;
  GLenum __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glDrawRangeElements", 0);

  /* "renpy/uguu/uguu.pyx":419
 * 
 * def glDrawRangeElements(mode, start, end, count, type, indices):
 *     cdef ptr indices_ptr = get_ptr(indices)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDrawRangeElements(mode, start, end, count, type, <const void *> indices_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_indices)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 419, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_indices_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":420
 * def glDrawRangeElements(mode, start, end, count, type, indices):
 *     cdef ptr indices_ptr = get_ptr(indices)
 *     renpy.uguu.gl.glDrawRangeElements(mode, start, end, count, type, <const void *> indices_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glEnable(cap):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_mode); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 420, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_start); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 420, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLuint(__pyx_v_end); if (unlikely((__pyx_t_4 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 420, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_5 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 420, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLenum(__pyx_v_type); if (unlikely((__pyx_t_6 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 420, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glDrawRangeElements(__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, ((void const *)__pyx_v_indices_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":418
 *     renpy.uguu.gl.glDrawElements(mode, count, type, <const void *> indices_ptr.ptr)
 * 
 * def glDrawRangeElements(mode, start, end, count, type, indices):             # <<<<<<<<<<<<<<
 *     cdef ptr indices_ptr = get_ptr(indices)
 *     renpy.uguu.gl.glDrawRangeElements(mode, start, end, count, type, <const void *> indices_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glDrawRangeElements", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_indices_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":422
 *     renpy.uguu.gl.glDrawRangeElements(mode, start, end, count, type, <const void *> indices_ptr.ptr)
 * 
 * def glEnable(cap):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEnable(cap)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_115glEnable(PyObject *__pyx_self, PyObject *__pyx_v_cap); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_115glEnable = {"glEnable", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_115glEnable, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_115glEnable(PyObject *__pyx_self, PyObject *__pyx_v_cap) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glEnable (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_114glEnable(__pyx_self, ((PyObject *)__pyx_v_cap));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_114glEnable(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cap) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glEnable", 0);

  /* "renpy/uguu/uguu.pyx":423
 * 
 * def glEnable(cap):
 *     renpy.uguu.gl.glEnable(cap)             # <<<<<<<<<<<<<<
 * 
 * def glEnableVertexAttribArray(index):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_cap); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 423, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glEnable(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":422
 *     renpy.uguu.gl.glDrawRangeElements(mode, start, end, count, type, <const void *> indices_ptr.ptr)
 * 
 * def glEnable(cap):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEnable(cap)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glEnable", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":425
 *     renpy.uguu.gl.glEnable(cap)
 * 
 * def glEnableVertexAttribArray(index):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEnableVertexAttribArray(index)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_117glEnableVertexAttribArray(PyObject *__pyx_self, PyObject *__pyx_v_index); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_117glEnableVertexAttribArray = {"glEnableVertexAttribArray", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_117glEnableVertexAttribArray, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_117glEnableVertexAttribArray(PyObject *__pyx_self, PyObject *__pyx_v_index) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glEnableVertexAttribArray (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_116glEnableVertexAttribArray(__pyx_self, ((PyObject *)__pyx_v_index));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_116glEnableVertexAttribArray(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glEnableVertexAttribArray", 0);

  /* "renpy/uguu/uguu.pyx":426
 * 
 * def glEnableVertexAttribArray(index):
 *     renpy.uguu.gl.glEnableVertexAttribArray(index)             # <<<<<<<<<<<<<<
 * 
 * def glEndQuery(target):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 426, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glEnableVertexAttribArray(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":425
 *     renpy.uguu.gl.glEnable(cap)
 * 
 * def glEnableVertexAttribArray(index):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEnableVertexAttribArray(index)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glEnableVertexAttribArray", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":428
 *     renpy.uguu.gl.glEnableVertexAttribArray(index)
 * 
 * def glEndQuery(target):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEndQuery(target)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_119glEndQuery(PyObject *__pyx_self, PyObject *__pyx_v_target); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_119glEndQuery = {"glEndQuery", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_119glEndQuery, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_119glEndQuery(PyObject *__pyx_self, PyObject *__pyx_v_target) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glEndQuery (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_118glEndQuery(__pyx_self, ((PyObject *)__pyx_v_target));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_118glEndQuery(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glEndQuery", 0);

  /* "renpy/uguu/uguu.pyx":429
 * 
 * def glEndQuery(target):
 *     renpy.uguu.gl.glEndQuery(target)             # <<<<<<<<<<<<<<
 * 
 * def glEndTransformFeedback():
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 429, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glEndQuery(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":428
 *     renpy.uguu.gl.glEnableVertexAttribArray(index)
 * 
 * def glEndQuery(target):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEndQuery(target)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glEndQuery", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":431
 *     renpy.uguu.gl.glEndQuery(target)
 * 
 * def glEndTransformFeedback():             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEndTransformFeedback()
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_121glEndTransformFeedback(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_121glEndTransformFeedback = {"glEndTransformFeedback", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_121glEndTransformFeedback, METH_NOARGS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_121glEndTransformFeedback(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glEndTransformFeedback (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_120glEndTransformFeedback(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_120glEndTransformFeedback(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glEndTransformFeedback", 0);

  /* "renpy/uguu/uguu.pyx":432
 * 
 * def glEndTransformFeedback():
 *     renpy.uguu.gl.glEndTransformFeedback()             # <<<<<<<<<<<<<<
 * 
 * def glFinish():
 */
  __pyx_v_5renpy_4uguu_2gl_glEndTransformFeedback();

  /* "renpy/uguu/uguu.pyx":431
 *     renpy.uguu.gl.glEndQuery(target)
 * 
 * def glEndTransformFeedback():             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEndTransformFeedback()
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":434
 *     renpy.uguu.gl.glEndTransformFeedback()
 * 
 * def glFinish():             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFinish()
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_123glFinish(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_123glFinish = {"glFinish", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_123glFinish, METH_NOARGS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_123glFinish(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glFinish (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_122glFinish(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_122glFinish(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glFinish", 0);

  /* "renpy/uguu/uguu.pyx":435
 * 
 * def glFinish():
 *     renpy.uguu.gl.glFinish()             # <<<<<<<<<<<<<<
 * 
 * def glFlush():
 */
  __pyx_v_5renpy_4uguu_2gl_glFinish();

  /* "renpy/uguu/uguu.pyx":434
 *     renpy.uguu.gl.glEndTransformFeedback()
 * 
 * def glFinish():             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFinish()
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":437
 *     renpy.uguu.gl.glFinish()
 * 
 * def glFlush():             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFlush()
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_125glFlush(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_125glFlush = {"glFlush", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_125glFlush, METH_NOARGS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_125glFlush(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glFlush (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_124glFlush(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_124glFlush(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glFlush", 0);

  /* "renpy/uguu/uguu.pyx":438
 * 
 * def glFlush():
 *     renpy.uguu.gl.glFlush()             # <<<<<<<<<<<<<<
 * 
 * def glFlushMappedBufferRange(target, offset, length):
 */
  __pyx_v_5renpy_4uguu_2gl_glFlush();

  /* "renpy/uguu/uguu.pyx":437
 *     renpy.uguu.gl.glFinish()
 * 
 * def glFlush():             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFlush()
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":440
 *     renpy.uguu.gl.glFlush()
 * 
 * def glFlushMappedBufferRange(target, offset, length):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFlushMappedBufferRange(target, offset, length)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_127glFlushMappedBufferRange(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_127glFlushMappedBufferRange = {"glFlushMappedBufferRange", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_127glFlushMappedBufferRange, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_127glFlushMappedBufferRange(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_offset = 0;
  PyObject *__pyx_v_length = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glFlushMappedBufferRange (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_offset,&__pyx_n_s_length,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_offset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFlushMappedBufferRange", 1, 3, 3, 1); __PYX_ERR(1, 440, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_length)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFlushMappedBufferRange", 1, 3, 3, 2); __PYX_ERR(1, 440, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glFlushMappedBufferRange") < 0)) __PYX_ERR(1, 440, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_offset = values[1];
    __pyx_v_length = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glFlushMappedBufferRange", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 440, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glFlushMappedBufferRange", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_126glFlushMappedBufferRange(__pyx_self, __pyx_v_target, __pyx_v_offset, __pyx_v_length);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_126glFlushMappedBufferRange(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_offset, PyObject *__pyx_v_length) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLintptr __pyx_t_2;
  GLsizeiptr __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glFlushMappedBufferRange", 0);

  /* "renpy/uguu/uguu.pyx":441
 * 
 * def glFlushMappedBufferRange(target, offset, length):
 *     renpy.uguu.gl.glFlushMappedBufferRange(target, offset, length)             # <<<<<<<<<<<<<<
 * 
 * def glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 441, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_ptrdiff_t(__pyx_v_offset); if (unlikely((__pyx_t_2 == ((GLintptr)-1)) && PyErr_Occurred())) __PYX_ERR(1, 441, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_ptrdiff_t(__pyx_v_length); if (unlikely((__pyx_t_3 == ((GLsizeiptr)-1)) && PyErr_Occurred())) __PYX_ERR(1, 441, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glFlushMappedBufferRange(__pyx_t_1, __pyx_t_2, __pyx_t_3);

  /* "renpy/uguu/uguu.pyx":440
 *     renpy.uguu.gl.glFlush()
 * 
 * def glFlushMappedBufferRange(target, offset, length):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFlushMappedBufferRange(target, offset, length)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glFlushMappedBufferRange", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":443
 *     renpy.uguu.gl.glFlushMappedBufferRange(target, offset, length)
 * 
 * def glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_129glFramebufferRenderbuffer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_129glFramebufferRenderbuffer = {"glFramebufferRenderbuffer", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_129glFramebufferRenderbuffer, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_129glFramebufferRenderbuffer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_attachment = 0;
  PyObject *__pyx_v_renderbuffertarget = 0;
  PyObject *__pyx_v_renderbuffer = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glFramebufferRenderbuffer (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_attachment,&__pyx_n_s_renderbuffertarget,&__pyx_n_s_renderbuffer,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_attachment)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFramebufferRenderbuffer", 1, 4, 4, 1); __PYX_ERR(1, 443, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_renderbuffertarget)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFramebufferRenderbuffer", 1, 4, 4, 2); __PYX_ERR(1, 443, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_renderbuffer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFramebufferRenderbuffer", 1, 4, 4, 3); __PYX_ERR(1, 443, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glFramebufferRenderbuffer") < 0)) __PYX_ERR(1, 443, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_target = values[0];
    __pyx_v_attachment = values[1];
    __pyx_v_renderbuffertarget = values[2];
    __pyx_v_renderbuffer = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glFramebufferRenderbuffer", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 443, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glFramebufferRenderbuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_128glFramebufferRenderbuffer(__pyx_self, __pyx_v_target, __pyx_v_attachment, __pyx_v_renderbuffertarget, __pyx_v_renderbuffer);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_128glFramebufferRenderbuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_attachment, PyObject *__pyx_v_renderbuffertarget, PyObject *__pyx_v_renderbuffer) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  GLuint __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glFramebufferRenderbuffer", 0);

  /* "renpy/uguu/uguu.pyx":444
 * 
 * def glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer):
 *     renpy.uguu.gl.glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)             # <<<<<<<<<<<<<<
 * 
 * def glFramebufferTexture2D(target, attachment, textarget, texture, level):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 444, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_attachment); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 444, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_renderbuffertarget); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 444, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLuint(__pyx_v_renderbuffer); if (unlikely((__pyx_t_4 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 444, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glFramebufferRenderbuffer(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":443
 *     renpy.uguu.gl.glFlushMappedBufferRange(target, offset, length)
 * 
 * def glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glFramebufferRenderbuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":446
 *     renpy.uguu.gl.glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
 * 
 * def glFramebufferTexture2D(target, attachment, textarget, texture, level):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFramebufferTexture2D(target, attachment, textarget, texture, level)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_131glFramebufferTexture2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_131glFramebufferTexture2D = {"glFramebufferTexture2D", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_131glFramebufferTexture2D, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_131glFramebufferTexture2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_attachment = 0;
  PyObject *__pyx_v_textarget = 0;
  PyObject *__pyx_v_texture = 0;
  PyObject *__pyx_v_level = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glFramebufferTexture2D (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_attachment,&__pyx_n_s_textarget,&__pyx_n_s_texture,&__pyx_n_s_level,0};
    PyObject* values[5] = {0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_attachment)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFramebufferTexture2D", 1, 5, 5, 1); __PYX_ERR(1, 446, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_textarget)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFramebufferTexture2D", 1, 5, 5, 2); __PYX_ERR(1, 446, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_texture)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFramebufferTexture2D", 1, 5, 5, 3); __PYX_ERR(1, 446, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFramebufferTexture2D", 1, 5, 5, 4); __PYX_ERR(1, 446, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glFramebufferTexture2D") < 0)) __PYX_ERR(1, 446, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
    }
    __pyx_v_target = values[0];
    __pyx_v_attachment = values[1];
    __pyx_v_textarget = values[2];
    __pyx_v_texture = values[3];
    __pyx_v_level = values[4];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glFramebufferTexture2D", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 446, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glFramebufferTexture2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_130glFramebufferTexture2D(__pyx_self, __pyx_v_target, __pyx_v_attachment, __pyx_v_textarget, __pyx_v_texture, __pyx_v_level);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_130glFramebufferTexture2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_attachment, PyObject *__pyx_v_textarget, PyObject *__pyx_v_texture, PyObject *__pyx_v_level) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  GLuint __pyx_t_4;
  GLint __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glFramebufferTexture2D", 0);

  /* "renpy/uguu/uguu.pyx":447
 * 
 * def glFramebufferTexture2D(target, attachment, textarget, texture, level):
 *     renpy.uguu.gl.glFramebufferTexture2D(target, attachment, textarget, texture, level)             # <<<<<<<<<<<<<<
 * 
 * def glFramebufferTextureLayer(target, attachment, texture, level, layer):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 447, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_attachment); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 447, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_textarget); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 447, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLuint(__pyx_v_texture); if (unlikely((__pyx_t_4 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 447, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_5 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 447, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glFramebufferTexture2D(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5);

  /* "renpy/uguu/uguu.pyx":446
 *     renpy.uguu.gl.glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
 * 
 * def glFramebufferTexture2D(target, attachment, textarget, texture, level):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFramebufferTexture2D(target, attachment, textarget, texture, level)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glFramebufferTexture2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":449
 *     renpy.uguu.gl.glFramebufferTexture2D(target, attachment, textarget, texture, level)
 * 
 * def glFramebufferTextureLayer(target, attachment, texture, level, layer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFramebufferTextureLayer(target, attachment, texture, level, layer)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_133glFramebufferTextureLayer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_133glFramebufferTextureLayer = {"glFramebufferTextureLayer", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_133glFramebufferTextureLayer, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_133glFramebufferTextureLayer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_attachment = 0;
  PyObject *__pyx_v_texture = 0;
  PyObject *__pyx_v_level = 0;
  PyObject *__pyx_v_layer = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glFramebufferTextureLayer (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_attachment,&__pyx_n_s_texture,&__pyx_n_s_level,&__pyx_n_s_layer,0};
    PyObject* values[5] = {0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_attachment)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFramebufferTextureLayer", 1, 5, 5, 1); __PYX_ERR(1, 449, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_texture)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFramebufferTextureLayer", 1, 5, 5, 2); __PYX_ERR(1, 449, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFramebufferTextureLayer", 1, 5, 5, 3); __PYX_ERR(1, 449, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_layer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glFramebufferTextureLayer", 1, 5, 5, 4); __PYX_ERR(1, 449, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glFramebufferTextureLayer") < 0)) __PYX_ERR(1, 449, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
    }
    __pyx_v_target = values[0];
    __pyx_v_attachment = values[1];
    __pyx_v_texture = values[2];
    __pyx_v_level = values[3];
    __pyx_v_layer = values[4];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glFramebufferTextureLayer", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 449, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glFramebufferTextureLayer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_132glFramebufferTextureLayer(__pyx_self, __pyx_v_target, __pyx_v_attachment, __pyx_v_texture, __pyx_v_level, __pyx_v_layer);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_132glFramebufferTextureLayer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_attachment, PyObject *__pyx_v_texture, PyObject *__pyx_v_level, PyObject *__pyx_v_layer) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  GLuint __pyx_t_3;
  GLint __pyx_t_4;
  GLint __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glFramebufferTextureLayer", 0);

  /* "renpy/uguu/uguu.pyx":450
 * 
 * def glFramebufferTextureLayer(target, attachment, texture, level, layer):
 *     renpy.uguu.gl.glFramebufferTextureLayer(target, attachment, texture, level, layer)             # <<<<<<<<<<<<<<
 * 
 * def glFrontFace(mode):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 450, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_attachment); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 450, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_texture); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 450, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 450, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLint(__pyx_v_layer); if (unlikely((__pyx_t_5 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 450, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glFramebufferTextureLayer(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5);

  /* "renpy/uguu/uguu.pyx":449
 *     renpy.uguu.gl.glFramebufferTexture2D(target, attachment, textarget, texture, level)
 * 
 * def glFramebufferTextureLayer(target, attachment, texture, level, layer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFramebufferTextureLayer(target, attachment, texture, level, layer)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glFramebufferTextureLayer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":452
 *     renpy.uguu.gl.glFramebufferTextureLayer(target, attachment, texture, level, layer)
 * 
 * def glFrontFace(mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFrontFace(mode)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_135glFrontFace(PyObject *__pyx_self, PyObject *__pyx_v_mode); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_135glFrontFace = {"glFrontFace", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_135glFrontFace, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_135glFrontFace(PyObject *__pyx_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glFrontFace (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_134glFrontFace(__pyx_self, ((PyObject *)__pyx_v_mode));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_134glFrontFace(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glFrontFace", 0);

  /* "renpy/uguu/uguu.pyx":453
 * 
 * def glFrontFace(mode):
 *     renpy.uguu.gl.glFrontFace(mode)             # <<<<<<<<<<<<<<
 * 
 * def glGenBuffers(n, buffers):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_mode); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 453, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glFrontFace(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":452
 *     renpy.uguu.gl.glFramebufferTextureLayer(target, attachment, texture, level, layer)
 * 
 * def glFrontFace(mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFrontFace(mode)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glFrontFace", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":455
 *     renpy.uguu.gl.glFrontFace(mode)
 * 
 * def glGenBuffers(n, buffers):             # <<<<<<<<<<<<<<
 *     cdef ptr buffers_ptr = get_ptr(buffers)
 *     renpy.uguu.gl.glGenBuffers(n, <GLuint *> buffers_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_137glGenBuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_137glGenBuffers = {"glGenBuffers", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_137glGenBuffers, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_137glGenBuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_buffers = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGenBuffers (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_buffers,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_buffers)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGenBuffers", 1, 2, 2, 1); __PYX_ERR(1, 455, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGenBuffers") < 0)) __PYX_ERR(1, 455, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_buffers = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGenBuffers", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 455, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenBuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_136glGenBuffers(__pyx_self, __pyx_v_n, __pyx_v_buffers);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_136glGenBuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_buffers) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_buffers_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGenBuffers", 0);

  /* "renpy/uguu/uguu.pyx":456
 * 
 * def glGenBuffers(n, buffers):
 *     cdef ptr buffers_ptr = get_ptr(buffers)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGenBuffers(n, <GLuint *> buffers_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_buffers)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 456, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_buffers_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":457
 * def glGenBuffers(n, buffers):
 *     cdef ptr buffers_ptr = get_ptr(buffers)
 *     renpy.uguu.gl.glGenBuffers(n, <GLuint *> buffers_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGenFramebuffers(n, framebuffers):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 457, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGenBuffers(__pyx_t_2, ((GLuint *)__pyx_v_buffers_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":455
 *     renpy.uguu.gl.glFrontFace(mode)
 * 
 * def glGenBuffers(n, buffers):             # <<<<<<<<<<<<<<
 *     cdef ptr buffers_ptr = get_ptr(buffers)
 *     renpy.uguu.gl.glGenBuffers(n, <GLuint *> buffers_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenBuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_buffers_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":459
 *     renpy.uguu.gl.glGenBuffers(n, <GLuint *> buffers_ptr.ptr)
 * 
 * def glGenFramebuffers(n, framebuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr framebuffers_ptr = get_ptr(framebuffers)
 *     renpy.uguu.gl.glGenFramebuffers(n, <GLuint *> framebuffers_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_139glGenFramebuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_139glGenFramebuffers = {"glGenFramebuffers", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_139glGenFramebuffers, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_139glGenFramebuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_framebuffers = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGenFramebuffers (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_framebuffers,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_framebuffers)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGenFramebuffers", 1, 2, 2, 1); __PYX_ERR(1, 459, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGenFramebuffers") < 0)) __PYX_ERR(1, 459, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_framebuffers = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGenFramebuffers", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 459, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenFramebuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_138glGenFramebuffers(__pyx_self, __pyx_v_n, __pyx_v_framebuffers);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_138glGenFramebuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_framebuffers) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_framebuffers_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGenFramebuffers", 0);

  /* "renpy/uguu/uguu.pyx":460
 * 
 * def glGenFramebuffers(n, framebuffers):
 *     cdef ptr framebuffers_ptr = get_ptr(framebuffers)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGenFramebuffers(n, <GLuint *> framebuffers_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_framebuffers)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 460, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_framebuffers_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":461
 * def glGenFramebuffers(n, framebuffers):
 *     cdef ptr framebuffers_ptr = get_ptr(framebuffers)
 *     renpy.uguu.gl.glGenFramebuffers(n, <GLuint *> framebuffers_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGenQueries(n, ids):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 461, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGenFramebuffers(__pyx_t_2, ((GLuint *)__pyx_v_framebuffers_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":459
 *     renpy.uguu.gl.glGenBuffers(n, <GLuint *> buffers_ptr.ptr)
 * 
 * def glGenFramebuffers(n, framebuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr framebuffers_ptr = get_ptr(framebuffers)
 *     renpy.uguu.gl.glGenFramebuffers(n, <GLuint *> framebuffers_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenFramebuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_framebuffers_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":463
 *     renpy.uguu.gl.glGenFramebuffers(n, <GLuint *> framebuffers_ptr.ptr)
 * 
 * def glGenQueries(n, ids):             # <<<<<<<<<<<<<<
 *     cdef ptr ids_ptr = get_ptr(ids)
 *     renpy.uguu.gl.glGenQueries(n, <GLuint *> ids_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_141glGenQueries(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_141glGenQueries = {"glGenQueries", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_141glGenQueries, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_141glGenQueries(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_ids = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGenQueries (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_ids,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_ids)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGenQueries", 1, 2, 2, 1); __PYX_ERR(1, 463, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGenQueries") < 0)) __PYX_ERR(1, 463, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_ids = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGenQueries", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 463, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenQueries", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_140glGenQueries(__pyx_self, __pyx_v_n, __pyx_v_ids);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_140glGenQueries(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_ids) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_ids_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGenQueries", 0);

  /* "renpy/uguu/uguu.pyx":464
 * 
 * def glGenQueries(n, ids):
 *     cdef ptr ids_ptr = get_ptr(ids)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGenQueries(n, <GLuint *> ids_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_ids)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 464, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ids_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":465
 * def glGenQueries(n, ids):
 *     cdef ptr ids_ptr = get_ptr(ids)
 *     renpy.uguu.gl.glGenQueries(n, <GLuint *> ids_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGenRenderbuffers(n, renderbuffers):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 465, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGenQueries(__pyx_t_2, ((GLuint *)__pyx_v_ids_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":463
 *     renpy.uguu.gl.glGenFramebuffers(n, <GLuint *> framebuffers_ptr.ptr)
 * 
 * def glGenQueries(n, ids):             # <<<<<<<<<<<<<<
 *     cdef ptr ids_ptr = get_ptr(ids)
 *     renpy.uguu.gl.glGenQueries(n, <GLuint *> ids_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenQueries", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ids_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":467
 *     renpy.uguu.gl.glGenQueries(n, <GLuint *> ids_ptr.ptr)
 * 
 * def glGenRenderbuffers(n, renderbuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr renderbuffers_ptr = get_ptr(renderbuffers)
 *     renpy.uguu.gl.glGenRenderbuffers(n, <GLuint *> renderbuffers_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_143glGenRenderbuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_143glGenRenderbuffers = {"glGenRenderbuffers", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_143glGenRenderbuffers, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_143glGenRenderbuffers(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_renderbuffers = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGenRenderbuffers (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_renderbuffers,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_renderbuffers)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGenRenderbuffers", 1, 2, 2, 1); __PYX_ERR(1, 467, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGenRenderbuffers") < 0)) __PYX_ERR(1, 467, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_renderbuffers = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGenRenderbuffers", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 467, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenRenderbuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_142glGenRenderbuffers(__pyx_self, __pyx_v_n, __pyx_v_renderbuffers);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_142glGenRenderbuffers(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_renderbuffers) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_renderbuffers_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGenRenderbuffers", 0);

  /* "renpy/uguu/uguu.pyx":468
 * 
 * def glGenRenderbuffers(n, renderbuffers):
 *     cdef ptr renderbuffers_ptr = get_ptr(renderbuffers)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGenRenderbuffers(n, <GLuint *> renderbuffers_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_renderbuffers)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 468, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_renderbuffers_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":469
 * def glGenRenderbuffers(n, renderbuffers):
 *     cdef ptr renderbuffers_ptr = get_ptr(renderbuffers)
 *     renpy.uguu.gl.glGenRenderbuffers(n, <GLuint *> renderbuffers_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGenTextures(n, textures):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 469, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGenRenderbuffers(__pyx_t_2, ((GLuint *)__pyx_v_renderbuffers_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":467
 *     renpy.uguu.gl.glGenQueries(n, <GLuint *> ids_ptr.ptr)
 * 
 * def glGenRenderbuffers(n, renderbuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr renderbuffers_ptr = get_ptr(renderbuffers)
 *     renpy.uguu.gl.glGenRenderbuffers(n, <GLuint *> renderbuffers_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenRenderbuffers", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_renderbuffers_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":471
 *     renpy.uguu.gl.glGenRenderbuffers(n, <GLuint *> renderbuffers_ptr.ptr)
 * 
 * def glGenTextures(n, textures):             # <<<<<<<<<<<<<<
 *     cdef ptr textures_ptr = get_ptr(textures)
 *     renpy.uguu.gl.glGenTextures(n, <GLuint *> textures_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_145glGenTextures(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_145glGenTextures = {"glGenTextures", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_145glGenTextures, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_145glGenTextures(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_textures = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGenTextures (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_textures,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_textures)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGenTextures", 1, 2, 2, 1); __PYX_ERR(1, 471, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGenTextures") < 0)) __PYX_ERR(1, 471, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_textures = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGenTextures", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 471, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenTextures", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_144glGenTextures(__pyx_self, __pyx_v_n, __pyx_v_textures);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_144glGenTextures(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_textures) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_textures_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGenTextures", 0);

  /* "renpy/uguu/uguu.pyx":472
 * 
 * def glGenTextures(n, textures):
 *     cdef ptr textures_ptr = get_ptr(textures)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGenTextures(n, <GLuint *> textures_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_textures)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 472, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_textures_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":473
 * def glGenTextures(n, textures):
 *     cdef ptr textures_ptr = get_ptr(textures)
 *     renpy.uguu.gl.glGenTextures(n, <GLuint *> textures_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGenVertexArrays(n, arrays):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 473, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGenTextures(__pyx_t_2, ((GLuint *)__pyx_v_textures_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":471
 *     renpy.uguu.gl.glGenRenderbuffers(n, <GLuint *> renderbuffers_ptr.ptr)
 * 
 * def glGenTextures(n, textures):             # <<<<<<<<<<<<<<
 *     cdef ptr textures_ptr = get_ptr(textures)
 *     renpy.uguu.gl.glGenTextures(n, <GLuint *> textures_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenTextures", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_textures_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":475
 *     renpy.uguu.gl.glGenTextures(n, <GLuint *> textures_ptr.ptr)
 * 
 * def glGenVertexArrays(n, arrays):             # <<<<<<<<<<<<<<
 *     cdef ptr arrays_ptr = get_ptr(arrays)
 *     renpy.uguu.gl.glGenVertexArrays(n, <GLuint *> arrays_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_147glGenVertexArrays(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_147glGenVertexArrays = {"glGenVertexArrays", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_147glGenVertexArrays, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_147glGenVertexArrays(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_n = 0;
  PyObject *__pyx_v_arrays = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGenVertexArrays (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_n,&__pyx_n_s_arrays,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_n)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_arrays)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGenVertexArrays", 1, 2, 2, 1); __PYX_ERR(1, 475, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGenVertexArrays") < 0)) __PYX_ERR(1, 475, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_n = values[0];
    __pyx_v_arrays = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGenVertexArrays", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 475, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenVertexArrays", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_146glGenVertexArrays(__pyx_self, __pyx_v_n, __pyx_v_arrays);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_146glGenVertexArrays(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_n, PyObject *__pyx_v_arrays) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_arrays_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLsizei __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGenVertexArrays", 0);

  /* "renpy/uguu/uguu.pyx":476
 * 
 * def glGenVertexArrays(n, arrays):
 *     cdef ptr arrays_ptr = get_ptr(arrays)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGenVertexArrays(n, <GLuint *> arrays_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_arrays)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 476, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_arrays_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":477
 * def glGenVertexArrays(n, arrays):
 *     cdef ptr arrays_ptr = get_ptr(arrays)
 *     renpy.uguu.gl.glGenVertexArrays(n, <GLuint *> arrays_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGenerateMipmap(target):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_n); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 477, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGenVertexArrays(__pyx_t_2, ((GLuint *)__pyx_v_arrays_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":475
 *     renpy.uguu.gl.glGenTextures(n, <GLuint *> textures_ptr.ptr)
 * 
 * def glGenVertexArrays(n, arrays):             # <<<<<<<<<<<<<<
 *     cdef ptr arrays_ptr = get_ptr(arrays)
 *     renpy.uguu.gl.glGenVertexArrays(n, <GLuint *> arrays_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenVertexArrays", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_arrays_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":479
 *     renpy.uguu.gl.glGenVertexArrays(n, <GLuint *> arrays_ptr.ptr)
 * 
 * def glGenerateMipmap(target):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGenerateMipmap(target)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_149glGenerateMipmap(PyObject *__pyx_self, PyObject *__pyx_v_target); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_149glGenerateMipmap = {"glGenerateMipmap", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_149glGenerateMipmap, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_149glGenerateMipmap(PyObject *__pyx_self, PyObject *__pyx_v_target) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGenerateMipmap (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_148glGenerateMipmap(__pyx_self, ((PyObject *)__pyx_v_target));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_148glGenerateMipmap(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGenerateMipmap", 0);

  /* "renpy/uguu/uguu.pyx":480
 * 
 * def glGenerateMipmap(target):
 *     renpy.uguu.gl.glGenerateMipmap(target)             # <<<<<<<<<<<<<<
 * 
 * def glGetActiveAttrib(program, index, bufSize, length, size, type, name):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 480, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGenerateMipmap(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":479
 *     renpy.uguu.gl.glGenVertexArrays(n, <GLuint *> arrays_ptr.ptr)
 * 
 * def glGenerateMipmap(target):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGenerateMipmap(target)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGenerateMipmap", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":482
 *     renpy.uguu.gl.glGenerateMipmap(target)
 * 
 * def glGetActiveAttrib(program, index, bufSize, length, size, type, name):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_151glGetActiveAttrib(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_151glGetActiveAttrib = {"glGetActiveAttrib", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_151glGetActiveAttrib, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_151glGetActiveAttrib(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_bufSize = 0;
  PyObject *__pyx_v_length = 0;
  PyObject *__pyx_v_size = 0;
  PyObject *__pyx_v_type = 0;
  PyObject *__pyx_v_name = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetActiveAttrib (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_index,&__pyx_n_s_bufSize,&__pyx_n_s_length,&__pyx_n_s_size,&__pyx_n_s_type,&__pyx_n_s_name,0};
    PyObject* values[7] = {0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetActiveAttrib", 1, 7, 7, 1); __PYX_ERR(1, 482, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_bufSize)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetActiveAttrib", 1, 7, 7, 2); __PYX_ERR(1, 482, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_length)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetActiveAttrib", 1, 7, 7, 3); __PYX_ERR(1, 482, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_size)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetActiveAttrib", 1, 7, 7, 4); __PYX_ERR(1, 482, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetActiveAttrib", 1, 7, 7, 5); __PYX_ERR(1, 482, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetActiveAttrib", 1, 7, 7, 6); __PYX_ERR(1, 482, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetActiveAttrib") < 0)) __PYX_ERR(1, 482, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 7) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
    }
    __pyx_v_program = values[0];
    __pyx_v_index = values[1];
    __pyx_v_bufSize = values[2];
    __pyx_v_length = values[3];
    __pyx_v_size = values[4];
    __pyx_v_type = values[5];
    __pyx_v_name = values[6];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetActiveAttrib", 1, 7, 7, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 482, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetActiveAttrib", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_150glGetActiveAttrib(__pyx_self, __pyx_v_program, __pyx_v_index, __pyx_v_bufSize, __pyx_v_length, __pyx_v_size, __pyx_v_type, __pyx_v_name);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_150glGetActiveAttrib(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_index, PyObject *__pyx_v_bufSize, PyObject *__pyx_v_length, PyObject *__pyx_v_size, PyObject *__pyx_v_type, PyObject *__pyx_v_name) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_length_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_size_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_type_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_name_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLuint __pyx_t_3;
  GLsizei __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetActiveAttrib", 0);

  /* "renpy/uguu/uguu.pyx":483
 * 
 * def glGetActiveAttrib(program, index, bufSize, length, size, type, name):
 *     cdef ptr length_ptr = get_ptr(length)             # <<<<<<<<<<<<<<
 *     cdef ptr size_ptr = get_ptr(size)
 *     cdef ptr type_ptr = get_ptr(type)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_length)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 483, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_length_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":484
 * def glGetActiveAttrib(program, index, bufSize, length, size, type, name):
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)             # <<<<<<<<<<<<<<
 *     cdef ptr type_ptr = get_ptr(type)
 *     cdef ptr name_ptr = get_ptr(name)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_size)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 484, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_size_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":485
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 *     cdef ptr type_ptr = get_ptr(type)             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     renpy.uguu.gl.glGetActiveAttrib(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_type)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 485, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_type_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":486
 *     cdef ptr size_ptr = get_ptr(size)
 *     cdef ptr type_ptr = get_ptr(type)
 *     cdef ptr name_ptr = get_ptr(name)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetActiveAttrib(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_name)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 486, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_name_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":487
 *     cdef ptr type_ptr = get_ptr(type)
 *     cdef ptr name_ptr = get_ptr(name)
 *     renpy.uguu.gl.glGetActiveAttrib(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetActiveUniform(program, index, bufSize, length, size, type, name):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 487, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 487, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLsizei(__pyx_v_bufSize); if (unlikely((__pyx_t_4 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 487, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetActiveAttrib(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLsizei *)__pyx_v_length_ptr->ptr), ((GLint *)__pyx_v_size_ptr->ptr), ((GLenum *)__pyx_v_type_ptr->ptr), ((GLchar *)__pyx_v_name_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":482
 *     renpy.uguu.gl.glGenerateMipmap(target)
 * 
 * def glGetActiveAttrib(program, index, bufSize, length, size, type, name):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetActiveAttrib", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_length_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_size_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_type_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_name_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":489
 *     renpy.uguu.gl.glGetActiveAttrib(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 * def glGetActiveUniform(program, index, bufSize, length, size, type, name):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_153glGetActiveUniform(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_153glGetActiveUniform = {"glGetActiveUniform", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_153glGetActiveUniform, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_153glGetActiveUniform(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_bufSize = 0;
  PyObject *__pyx_v_length = 0;
  PyObject *__pyx_v_size = 0;
  PyObject *__pyx_v_type = 0;
  PyObject *__pyx_v_name = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetActiveUniform (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_index,&__pyx_n_s_bufSize,&__pyx_n_s_length,&__pyx_n_s_size,&__pyx_n_s_type,&__pyx_n_s_name,0};
    PyObject* values[7] = {0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetActiveUniform", 1, 7, 7, 1); __PYX_ERR(1, 489, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_bufSize)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetActiveUniform", 1, 7, 7, 2); __PYX_ERR(1, 489, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_length)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetActiveUniform", 1, 7, 7, 3); __PYX_ERR(1, 489, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_size)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetActiveUniform", 1, 7, 7, 4); __PYX_ERR(1, 489, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetActiveUniform", 1, 7, 7, 5); __PYX_ERR(1, 489, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetActiveUniform", 1, 7, 7, 6); __PYX_ERR(1, 489, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetActiveUniform") < 0)) __PYX_ERR(1, 489, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 7) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
    }
    __pyx_v_program = values[0];
    __pyx_v_index = values[1];
    __pyx_v_bufSize = values[2];
    __pyx_v_length = values[3];
    __pyx_v_size = values[4];
    __pyx_v_type = values[5];
    __pyx_v_name = values[6];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetActiveUniform", 1, 7, 7, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 489, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetActiveUniform", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_152glGetActiveUniform(__pyx_self, __pyx_v_program, __pyx_v_index, __pyx_v_bufSize, __pyx_v_length, __pyx_v_size, __pyx_v_type, __pyx_v_name);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_152glGetActiveUniform(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_index, PyObject *__pyx_v_bufSize, PyObject *__pyx_v_length, PyObject *__pyx_v_size, PyObject *__pyx_v_type, PyObject *__pyx_v_name) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_length_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_size_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_type_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_name_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLuint __pyx_t_3;
  GLsizei __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetActiveUniform", 0);

  /* "renpy/uguu/uguu.pyx":490
 * 
 * def glGetActiveUniform(program, index, bufSize, length, size, type, name):
 *     cdef ptr length_ptr = get_ptr(length)             # <<<<<<<<<<<<<<
 *     cdef ptr size_ptr = get_ptr(size)
 *     cdef ptr type_ptr = get_ptr(type)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_length)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 490, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_length_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":491
 * def glGetActiveUniform(program, index, bufSize, length, size, type, name):
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)             # <<<<<<<<<<<<<<
 *     cdef ptr type_ptr = get_ptr(type)
 *     cdef ptr name_ptr = get_ptr(name)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_size)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 491, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_size_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":492
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 *     cdef ptr type_ptr = get_ptr(type)             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     renpy.uguu.gl.glGetActiveUniform(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_type)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 492, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_type_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":493
 *     cdef ptr size_ptr = get_ptr(size)
 *     cdef ptr type_ptr = get_ptr(type)
 *     cdef ptr name_ptr = get_ptr(name)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetActiveUniform(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_name)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 493, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_name_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":494
 *     cdef ptr type_ptr = get_ptr(type)
 *     cdef ptr name_ptr = get_ptr(name)
 *     renpy.uguu.gl.glGetActiveUniform(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetAttachedShaders(program, maxCount, count, shaders):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 494, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 494, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLsizei(__pyx_v_bufSize); if (unlikely((__pyx_t_4 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 494, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetActiveUniform(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLsizei *)__pyx_v_length_ptr->ptr), ((GLint *)__pyx_v_size_ptr->ptr), ((GLenum *)__pyx_v_type_ptr->ptr), ((GLchar *)__pyx_v_name_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":489
 *     renpy.uguu.gl.glGetActiveAttrib(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 * def glGetActiveUniform(program, index, bufSize, length, size, type, name):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetActiveUniform", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_length_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_size_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_type_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_name_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":496
 *     renpy.uguu.gl.glGetActiveUniform(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 * def glGetAttachedShaders(program, maxCount, count, shaders):             # <<<<<<<<<<<<<<
 *     cdef ptr count_ptr = get_ptr(count)
 *     cdef ptr shaders_ptr = get_ptr(shaders)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_155glGetAttachedShaders(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_155glGetAttachedShaders = {"glGetAttachedShaders", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_155glGetAttachedShaders, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_155glGetAttachedShaders(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_maxCount = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_shaders = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetAttachedShaders (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_maxCount,&__pyx_n_s_count,&__pyx_n_s_shaders,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_maxCount)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetAttachedShaders", 1, 4, 4, 1); __PYX_ERR(1, 496, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetAttachedShaders", 1, 4, 4, 2); __PYX_ERR(1, 496, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_shaders)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetAttachedShaders", 1, 4, 4, 3); __PYX_ERR(1, 496, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetAttachedShaders") < 0)) __PYX_ERR(1, 496, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_program = values[0];
    __pyx_v_maxCount = values[1];
    __pyx_v_count = values[2];
    __pyx_v_shaders = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetAttachedShaders", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 496, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetAttachedShaders", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_154glGetAttachedShaders(__pyx_self, __pyx_v_program, __pyx_v_maxCount, __pyx_v_count, __pyx_v_shaders);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_154glGetAttachedShaders(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_maxCount, PyObject *__pyx_v_count, PyObject *__pyx_v_shaders) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_count_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_shaders_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetAttachedShaders", 0);

  /* "renpy/uguu/uguu.pyx":497
 * 
 * def glGetAttachedShaders(program, maxCount, count, shaders):
 *     cdef ptr count_ptr = get_ptr(count)             # <<<<<<<<<<<<<<
 *     cdef ptr shaders_ptr = get_ptr(shaders)
 *     renpy.uguu.gl.glGetAttachedShaders(program, maxCount, <GLsizei *> count_ptr.ptr, <GLuint *> shaders_ptr.ptr)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_count)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 497, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_count_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":498
 * def glGetAttachedShaders(program, maxCount, count, shaders):
 *     cdef ptr count_ptr = get_ptr(count)
 *     cdef ptr shaders_ptr = get_ptr(shaders)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetAttachedShaders(program, maxCount, <GLsizei *> count_ptr.ptr, <GLuint *> shaders_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_shaders)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 498, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_shaders_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":499
 *     cdef ptr count_ptr = get_ptr(count)
 *     cdef ptr shaders_ptr = get_ptr(shaders)
 *     renpy.uguu.gl.glGetAttachedShaders(program, maxCount, <GLsizei *> count_ptr.ptr, <GLuint *> shaders_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetAttribLocation(program, name):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 499, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_maxCount); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 499, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetAttachedShaders(__pyx_t_2, __pyx_t_3, ((GLsizei *)__pyx_v_count_ptr->ptr), ((GLuint *)__pyx_v_shaders_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":496
 *     renpy.uguu.gl.glGetActiveUniform(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 * def glGetAttachedShaders(program, maxCount, count, shaders):             # <<<<<<<<<<<<<<
 *     cdef ptr count_ptr = get_ptr(count)
 *     cdef ptr shaders_ptr = get_ptr(shaders)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetAttachedShaders", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_count_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_shaders_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":501
 *     renpy.uguu.gl.glGetAttachedShaders(program, maxCount, <GLsizei *> count_ptr.ptr, <GLuint *> shaders_ptr.ptr)
 * 
 * def glGetAttribLocation(program, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetAttribLocation(program, <const GLchar *> name_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_157glGetAttribLocation(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_157glGetAttribLocation = {"glGetAttribLocation", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_157glGetAttribLocation, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_157glGetAttribLocation(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_name = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetAttribLocation (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_name,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetAttribLocation", 1, 2, 2, 1); __PYX_ERR(1, 501, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetAttribLocation") < 0)) __PYX_ERR(1, 501, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_program = values[0];
    __pyx_v_name = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetAttribLocation", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 501, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetAttribLocation", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_156glGetAttribLocation(__pyx_self, __pyx_v_program, __pyx_v_name);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_156glGetAttribLocation(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_name) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_name_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetAttribLocation", 0);

  /* "renpy/uguu/uguu.pyx":502
 * 
 * def glGetAttribLocation(program, name):
 *     cdef ptr name_ptr = get_ptr(name)             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glGetAttribLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_name)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 502, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_name_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":503
 * def glGetAttribLocation(program, name):
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetAttribLocation(program, <const GLchar *> name_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetBooleanv(pname, data):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 503, __pyx_L1_error)
  __pyx_t_1 = __Pyx_PyInt_From_GLint(__pyx_v_5renpy_4uguu_2gl_glGetAttribLocation(__pyx_t_2, ((GLchar const *)__pyx_v_name_ptr->ptr))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 503, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":501
 *     renpy.uguu.gl.glGetAttachedShaders(program, maxCount, <GLsizei *> count_ptr.ptr, <GLuint *> shaders_ptr.ptr)
 * 
 * def glGetAttribLocation(program, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetAttribLocation(program, <const GLchar *> name_ptr.ptr)
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetAttribLocation", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_name_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":505
 *     return renpy.uguu.gl.glGetAttribLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 * def glGetBooleanv(pname, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetBooleanv(pname, <GLboolean *> data_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_159glGetBooleanv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_159glGetBooleanv = {"glGetBooleanv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_159glGetBooleanv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_159glGetBooleanv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_data = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetBooleanv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pname,&__pyx_n_s_data,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetBooleanv", 1, 2, 2, 1); __PYX_ERR(1, 505, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetBooleanv") < 0)) __PYX_ERR(1, 505, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_pname = values[0];
    __pyx_v_data = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetBooleanv", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 505, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetBooleanv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_158glGetBooleanv(__pyx_self, __pyx_v_pname, __pyx_v_data);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_158glGetBooleanv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_pname, PyObject *__pyx_v_data) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_data_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetBooleanv", 0);

  /* "renpy/uguu/uguu.pyx":506
 * 
 * def glGetBooleanv(pname, data):
 *     cdef ptr data_ptr = get_ptr(data)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetBooleanv(pname, <GLboolean *> data_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_data)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 506, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_data_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":507
 * def glGetBooleanv(pname, data):
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetBooleanv(pname, <GLboolean *> data_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetBufferParameteriv(target, pname, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 507, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetBooleanv(__pyx_t_2, ((GLboolean *)__pyx_v_data_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":505
 *     return renpy.uguu.gl.glGetAttribLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 * def glGetBooleanv(pname, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetBooleanv(pname, <GLboolean *> data_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetBooleanv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_data_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":509
 *     renpy.uguu.gl.glGetBooleanv(pname, <GLboolean *> data_ptr.ptr)
 * 
 * def glGetBufferParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetBufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_161glGetBufferParameteriv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_161glGetBufferParameteriv = {"glGetBufferParameteriv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_161glGetBufferParameteriv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_161glGetBufferParameteriv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetBufferParameteriv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetBufferParameteriv", 1, 3, 3, 1); __PYX_ERR(1, 509, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetBufferParameteriv", 1, 3, 3, 2); __PYX_ERR(1, 509, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetBufferParameteriv") < 0)) __PYX_ERR(1, 509, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetBufferParameteriv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 509, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetBufferParameteriv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_160glGetBufferParameteriv(__pyx_self, __pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_160glGetBufferParameteriv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetBufferParameteriv", 0);

  /* "renpy/uguu/uguu.pyx":510
 * 
 * def glGetBufferParameteriv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetBufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 510, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":511
 * def glGetBufferParameteriv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetBufferParameteriv(target, pname, <GLint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetBufferPointerv(target, pname, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 511, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 511, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetBufferParameteriv(__pyx_t_2, __pyx_t_3, ((GLint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":509
 *     renpy.uguu.gl.glGetBooleanv(pname, <GLboolean *> data_ptr.ptr)
 * 
 * def glGetBufferParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetBufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetBufferParameteriv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":513
 *     renpy.uguu.gl.glGetBufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetBufferPointerv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetBufferPointerv(target, pname, <void **> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_163glGetBufferPointerv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_163glGetBufferPointerv = {"glGetBufferPointerv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_163glGetBufferPointerv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_163glGetBufferPointerv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetBufferPointerv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetBufferPointerv", 1, 3, 3, 1); __PYX_ERR(1, 513, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetBufferPointerv", 1, 3, 3, 2); __PYX_ERR(1, 513, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetBufferPointerv") < 0)) __PYX_ERR(1, 513, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetBufferPointerv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 513, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetBufferPointerv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_162glGetBufferPointerv(__pyx_self, __pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_162glGetBufferPointerv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetBufferPointerv", 0);

  /* "renpy/uguu/uguu.pyx":514
 * 
 * def glGetBufferPointerv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetBufferPointerv(target, pname, <void **> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 514, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":515
 * def glGetBufferPointerv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetBufferPointerv(target, pname, <void **> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetError():
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 515, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 515, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetBufferPointerv(__pyx_t_2, __pyx_t_3, ((void **)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":513
 *     renpy.uguu.gl.glGetBufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetBufferPointerv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetBufferPointerv(target, pname, <void **> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetBufferPointerv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":517
 *     renpy.uguu.gl.glGetBufferPointerv(target, pname, <void **> params_ptr.ptr)
 * 
 * def glGetError():             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glGetError()
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_165glGetError(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_165glGetError = {"glGetError", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_165glGetError, METH_NOARGS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_165glGetError(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetError (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_164glGetError(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_164glGetError(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetError", 0);

  /* "renpy/uguu/uguu.pyx":518
 * 
 * def glGetError():
 *     return renpy.uguu.gl.glGetError()             # <<<<<<<<<<<<<<
 * 
 * def glGetFloatv(pname, data):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(__pyx_v_5renpy_4uguu_2gl_glGetError()); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 518, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":517
 *     renpy.uguu.gl.glGetBufferPointerv(target, pname, <void **> params_ptr.ptr)
 * 
 * def glGetError():             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glGetError()
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetError", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":520
 *     return renpy.uguu.gl.glGetError()
 * 
 * def glGetFloatv(pname, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetFloatv(pname, <GLfloat *> data_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_167glGetFloatv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_167glGetFloatv = {"glGetFloatv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_167glGetFloatv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_167glGetFloatv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_data = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetFloatv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pname,&__pyx_n_s_data,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetFloatv", 1, 2, 2, 1); __PYX_ERR(1, 520, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetFloatv") < 0)) __PYX_ERR(1, 520, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_pname = values[0];
    __pyx_v_data = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetFloatv", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 520, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetFloatv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_166glGetFloatv(__pyx_self, __pyx_v_pname, __pyx_v_data);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_166glGetFloatv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_pname, PyObject *__pyx_v_data) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_data_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetFloatv", 0);

  /* "renpy/uguu/uguu.pyx":521
 * 
 * def glGetFloatv(pname, data):
 *     cdef ptr data_ptr = get_ptr(data)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetFloatv(pname, <GLfloat *> data_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_data)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 521, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_data_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":522
 * def glGetFloatv(pname, data):
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetFloatv(pname, <GLfloat *> data_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetFragDataLocation(program, name):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 522, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetFloatv(__pyx_t_2, ((GLfloat *)__pyx_v_data_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":520
 *     return renpy.uguu.gl.glGetError()
 * 
 * def glGetFloatv(pname, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetFloatv(pname, <GLfloat *> data_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetFloatv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_data_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":524
 *     renpy.uguu.gl.glGetFloatv(pname, <GLfloat *> data_ptr.ptr)
 * 
 * def glGetFragDataLocation(program, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetFragDataLocation(program, <const GLchar *> name_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_169glGetFragDataLocation(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_169glGetFragDataLocation = {"glGetFragDataLocation", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_169glGetFragDataLocation, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_169glGetFragDataLocation(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_name = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetFragDataLocation (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_name,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetFragDataLocation", 1, 2, 2, 1); __PYX_ERR(1, 524, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetFragDataLocation") < 0)) __PYX_ERR(1, 524, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_program = values[0];
    __pyx_v_name = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetFragDataLocation", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 524, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetFragDataLocation", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_168glGetFragDataLocation(__pyx_self, __pyx_v_program, __pyx_v_name);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_168glGetFragDataLocation(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_name) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_name_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetFragDataLocation", 0);

  /* "renpy/uguu/uguu.pyx":525
 * 
 * def glGetFragDataLocation(program, name):
 *     cdef ptr name_ptr = get_ptr(name)             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glGetFragDataLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_name)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 525, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_name_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":526
 * def glGetFragDataLocation(program, name):
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetFragDataLocation(program, <const GLchar *> name_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetFramebufferAttachmentParameteriv(target, attachment, pname, params):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 526, __pyx_L1_error)
  __pyx_t_1 = __Pyx_PyInt_From_GLint(__pyx_v_5renpy_4uguu_2gl_glGetFragDataLocation(__pyx_t_2, ((GLchar const *)__pyx_v_name_ptr->ptr))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 526, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":524
 *     renpy.uguu.gl.glGetFloatv(pname, <GLfloat *> data_ptr.ptr)
 * 
 * def glGetFragDataLocation(program, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetFragDataLocation(program, <const GLchar *> name_ptr.ptr)
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetFragDataLocation", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_name_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":528
 *     return renpy.uguu.gl.glGetFragDataLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 * def glGetFramebufferAttachmentParameteriv(target, attachment, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, <GLint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_171glGetFramebufferAttachmentParameteriv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_171glGetFramebufferAttachmentParameteriv = {"glGetFramebufferAttachmentParameteriv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_171glGetFramebufferAttachmentParameteriv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_171glGetFramebufferAttachmentParameteriv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_attachment = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetFramebufferAttachmentParameteriv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_attachment,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_attachment)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetFramebufferAttachmentParameteriv", 1, 4, 4, 1); __PYX_ERR(1, 528, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetFramebufferAttachmentParameteriv", 1, 4, 4, 2); __PYX_ERR(1, 528, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetFramebufferAttachmentParameteriv", 1, 4, 4, 3); __PYX_ERR(1, 528, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetFramebufferAttachmentParameteriv") < 0)) __PYX_ERR(1, 528, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_target = values[0];
    __pyx_v_attachment = values[1];
    __pyx_v_pname = values[2];
    __pyx_v_params = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetFramebufferAttachmentParameteriv", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 528, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetFramebufferAttachmentParameteriv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_170glGetFramebufferAttachmentParameteriv(__pyx_self, __pyx_v_target, __pyx_v_attachment, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_170glGetFramebufferAttachmentParameteriv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_attachment, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  GLenum __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetFramebufferAttachmentParameteriv", 0);

  /* "renpy/uguu/uguu.pyx":529
 * 
 * def glGetFramebufferAttachmentParameteriv(target, attachment, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, <GLint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 529, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":530
 * def glGetFramebufferAttachmentParameteriv(target, attachment, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, <GLint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetIntegeri_v(target, index, data):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 530, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_attachment); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 530, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_4 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 530, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetFramebufferAttachmentParameteriv(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":528
 *     return renpy.uguu.gl.glGetFragDataLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 * def glGetFramebufferAttachmentParameteriv(target, attachment, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, <GLint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetFramebufferAttachmentParameteriv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":532
 *     renpy.uguu.gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetIntegeri_v(target, index, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetIntegeri_v(target, index, <GLint *> data_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_173glGetIntegeri_v(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_173glGetIntegeri_v = {"glGetIntegeri_v", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_173glGetIntegeri_v, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_173glGetIntegeri_v(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_data = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetIntegeri_v (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_index,&__pyx_n_s_data,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetIntegeri_v", 1, 3, 3, 1); __PYX_ERR(1, 532, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetIntegeri_v", 1, 3, 3, 2); __PYX_ERR(1, 532, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetIntegeri_v") < 0)) __PYX_ERR(1, 532, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_index = values[1];
    __pyx_v_data = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetIntegeri_v", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 532, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetIntegeri_v", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_172glGetIntegeri_v(__pyx_self, __pyx_v_target, __pyx_v_index, __pyx_v_data);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_172glGetIntegeri_v(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_index, PyObject *__pyx_v_data) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_data_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLuint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetIntegeri_v", 0);

  /* "renpy/uguu/uguu.pyx":533
 * 
 * def glGetIntegeri_v(target, index, data):
 *     cdef ptr data_ptr = get_ptr(data)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetIntegeri_v(target, index, <GLint *> data_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_data)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 533, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_data_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":534
 * def glGetIntegeri_v(target, index, data):
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetIntegeri_v(target, index, <GLint *> data_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetIntegerv(pname, data):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 534, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 534, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetIntegeri_v(__pyx_t_2, __pyx_t_3, ((GLint *)__pyx_v_data_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":532
 *     renpy.uguu.gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetIntegeri_v(target, index, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetIntegeri_v(target, index, <GLint *> data_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetIntegeri_v", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_data_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":536
 *     renpy.uguu.gl.glGetIntegeri_v(target, index, <GLint *> data_ptr.ptr)
 * 
 * def glGetIntegerv(pname, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetIntegerv(pname, <GLint *> data_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_175glGetIntegerv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_175glGetIntegerv = {"glGetIntegerv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_175glGetIntegerv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_175glGetIntegerv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_data = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetIntegerv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pname,&__pyx_n_s_data,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_data)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetIntegerv", 1, 2, 2, 1); __PYX_ERR(1, 536, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetIntegerv") < 0)) __PYX_ERR(1, 536, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_pname = values[0];
    __pyx_v_data = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetIntegerv", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 536, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetIntegerv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_174glGetIntegerv(__pyx_self, __pyx_v_pname, __pyx_v_data);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_174glGetIntegerv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_pname, PyObject *__pyx_v_data) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_data_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetIntegerv", 0);

  /* "renpy/uguu/uguu.pyx":537
 * 
 * def glGetIntegerv(pname, data):
 *     cdef ptr data_ptr = get_ptr(data)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetIntegerv(pname, <GLint *> data_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_data)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 537, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_data_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":538
 * def glGetIntegerv(pname, data):
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetIntegerv(pname, <GLint *> data_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetProgramInfoLog(program, bufSize, length, infoLog):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 538, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetIntegerv(__pyx_t_2, ((GLint *)__pyx_v_data_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":536
 *     renpy.uguu.gl.glGetIntegeri_v(target, index, <GLint *> data_ptr.ptr)
 * 
 * def glGetIntegerv(pname, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetIntegerv(pname, <GLint *> data_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetIntegerv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_data_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":540
 *     renpy.uguu.gl.glGetIntegerv(pname, <GLint *> data_ptr.ptr)
 * 
 * def glGetProgramInfoLog(program, bufSize, length, infoLog):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_177glGetProgramInfoLog(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_177glGetProgramInfoLog = {"glGetProgramInfoLog", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_177glGetProgramInfoLog, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_177glGetProgramInfoLog(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_bufSize = 0;
  PyObject *__pyx_v_length = 0;
  PyObject *__pyx_v_infoLog = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetProgramInfoLog (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_bufSize,&__pyx_n_s_length,&__pyx_n_s_infoLog,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_bufSize)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetProgramInfoLog", 1, 4, 4, 1); __PYX_ERR(1, 540, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_length)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetProgramInfoLog", 1, 4, 4, 2); __PYX_ERR(1, 540, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_infoLog)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetProgramInfoLog", 1, 4, 4, 3); __PYX_ERR(1, 540, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetProgramInfoLog") < 0)) __PYX_ERR(1, 540, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_program = values[0];
    __pyx_v_bufSize = values[1];
    __pyx_v_length = values[2];
    __pyx_v_infoLog = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetProgramInfoLog", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 540, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetProgramInfoLog", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_176glGetProgramInfoLog(__pyx_self, __pyx_v_program, __pyx_v_bufSize, __pyx_v_length, __pyx_v_infoLog);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_176glGetProgramInfoLog(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_bufSize, PyObject *__pyx_v_length, PyObject *__pyx_v_infoLog) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_length_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_infoLog_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetProgramInfoLog", 0);

  /* "renpy/uguu/uguu.pyx":541
 * 
 * def glGetProgramInfoLog(program, bufSize, length, infoLog):
 *     cdef ptr length_ptr = get_ptr(length)             # <<<<<<<<<<<<<<
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)
 *     renpy.uguu.gl.glGetProgramInfoLog(program, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_length)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 541, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_length_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":542
 * def glGetProgramInfoLog(program, bufSize, length, infoLog):
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetProgramInfoLog(program, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_infoLog)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 542, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_infoLog_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":543
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)
 *     renpy.uguu.gl.glGetProgramInfoLog(program, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetProgramiv(program, pname, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 543, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_bufSize); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 543, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetProgramInfoLog(__pyx_t_2, __pyx_t_3, ((GLsizei *)__pyx_v_length_ptr->ptr), ((GLchar *)__pyx_v_infoLog_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":540
 *     renpy.uguu.gl.glGetIntegerv(pname, <GLint *> data_ptr.ptr)
 * 
 * def glGetProgramInfoLog(program, bufSize, length, infoLog):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetProgramInfoLog", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_length_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_infoLog_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":545
 *     renpy.uguu.gl.glGetProgramInfoLog(program, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)
 * 
 * def glGetProgramiv(program, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetProgramiv(program, pname, <GLint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_179glGetProgramiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_179glGetProgramiv = {"glGetProgramiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_179glGetProgramiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_179glGetProgramiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetProgramiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetProgramiv", 1, 3, 3, 1); __PYX_ERR(1, 545, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetProgramiv", 1, 3, 3, 2); __PYX_ERR(1, 545, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetProgramiv") < 0)) __PYX_ERR(1, 545, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_program = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetProgramiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 545, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetProgramiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_178glGetProgramiv(__pyx_self, __pyx_v_program, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_178glGetProgramiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetProgramiv", 0);

  /* "renpy/uguu/uguu.pyx":546
 * 
 * def glGetProgramiv(program, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetProgramiv(program, pname, <GLint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 546, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":547
 * def glGetProgramiv(program, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetProgramiv(program, pname, <GLint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetQueryObjectuiv(id, pname, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 547, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 547, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetProgramiv(__pyx_t_2, __pyx_t_3, ((GLint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":545
 *     renpy.uguu.gl.glGetProgramInfoLog(program, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)
 * 
 * def glGetProgramiv(program, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetProgramiv(program, pname, <GLint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetProgramiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":549
 *     renpy.uguu.gl.glGetProgramiv(program, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetQueryObjectuiv(id, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetQueryObjectuiv(id, pname, <GLuint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_181glGetQueryObjectuiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_181glGetQueryObjectuiv = {"glGetQueryObjectuiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_181glGetQueryObjectuiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_181glGetQueryObjectuiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_id = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetQueryObjectuiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_id,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_id)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetQueryObjectuiv", 1, 3, 3, 1); __PYX_ERR(1, 549, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetQueryObjectuiv", 1, 3, 3, 2); __PYX_ERR(1, 549, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetQueryObjectuiv") < 0)) __PYX_ERR(1, 549, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_id = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetQueryObjectuiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 549, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetQueryObjectuiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_180glGetQueryObjectuiv(__pyx_self, __pyx_v_id, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_180glGetQueryObjectuiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_id, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetQueryObjectuiv", 0);

  /* "renpy/uguu/uguu.pyx":550
 * 
 * def glGetQueryObjectuiv(id, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetQueryObjectuiv(id, pname, <GLuint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 550, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":551
 * def glGetQueryObjectuiv(id, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetQueryObjectuiv(id, pname, <GLuint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetQueryiv(target, pname, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_id); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 551, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 551, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetQueryObjectuiv(__pyx_t_2, __pyx_t_3, ((GLuint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":549
 *     renpy.uguu.gl.glGetProgramiv(program, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetQueryObjectuiv(id, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetQueryObjectuiv(id, pname, <GLuint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetQueryObjectuiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":553
 *     renpy.uguu.gl.glGetQueryObjectuiv(id, pname, <GLuint *> params_ptr.ptr)
 * 
 * def glGetQueryiv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetQueryiv(target, pname, <GLint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_183glGetQueryiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_183glGetQueryiv = {"glGetQueryiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_183glGetQueryiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_183glGetQueryiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetQueryiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetQueryiv", 1, 3, 3, 1); __PYX_ERR(1, 553, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetQueryiv", 1, 3, 3, 2); __PYX_ERR(1, 553, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetQueryiv") < 0)) __PYX_ERR(1, 553, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetQueryiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 553, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetQueryiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_182glGetQueryiv(__pyx_self, __pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_182glGetQueryiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetQueryiv", 0);

  /* "renpy/uguu/uguu.pyx":554
 * 
 * def glGetQueryiv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetQueryiv(target, pname, <GLint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 554, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":555
 * def glGetQueryiv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetQueryiv(target, pname, <GLint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetRenderbufferParameteriv(target, pname, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 555, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 555, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetQueryiv(__pyx_t_2, __pyx_t_3, ((GLint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":553
 *     renpy.uguu.gl.glGetQueryObjectuiv(id, pname, <GLuint *> params_ptr.ptr)
 * 
 * def glGetQueryiv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetQueryiv(target, pname, <GLint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetQueryiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":557
 *     renpy.uguu.gl.glGetQueryiv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetRenderbufferParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetRenderbufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_185glGetRenderbufferParameteriv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_185glGetRenderbufferParameteriv = {"glGetRenderbufferParameteriv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_185glGetRenderbufferParameteriv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_185glGetRenderbufferParameteriv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetRenderbufferParameteriv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetRenderbufferParameteriv", 1, 3, 3, 1); __PYX_ERR(1, 557, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetRenderbufferParameteriv", 1, 3, 3, 2); __PYX_ERR(1, 557, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetRenderbufferParameteriv") < 0)) __PYX_ERR(1, 557, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetRenderbufferParameteriv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 557, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetRenderbufferParameteriv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_184glGetRenderbufferParameteriv(__pyx_self, __pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_184glGetRenderbufferParameteriv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetRenderbufferParameteriv", 0);

  /* "renpy/uguu/uguu.pyx":558
 * 
 * def glGetRenderbufferParameteriv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetRenderbufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 558, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":559
 * def glGetRenderbufferParameteriv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetRenderbufferParameteriv(target, pname, <GLint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetShaderInfoLog(shader, bufSize, length, infoLog):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 559, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 559, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetRenderbufferParameteriv(__pyx_t_2, __pyx_t_3, ((GLint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":557
 *     renpy.uguu.gl.glGetQueryiv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetRenderbufferParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetRenderbufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetRenderbufferParameteriv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":561
 *     renpy.uguu.gl.glGetRenderbufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetShaderInfoLog(shader, bufSize, length, infoLog):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_187glGetShaderInfoLog(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_187glGetShaderInfoLog = {"glGetShaderInfoLog", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_187glGetShaderInfoLog, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_187glGetShaderInfoLog(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_shader = 0;
  PyObject *__pyx_v_bufSize = 0;
  PyObject *__pyx_v_length = 0;
  PyObject *__pyx_v_infoLog = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetShaderInfoLog (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_shader,&__pyx_n_s_bufSize,&__pyx_n_s_length,&__pyx_n_s_infoLog,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_shader)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_bufSize)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetShaderInfoLog", 1, 4, 4, 1); __PYX_ERR(1, 561, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_length)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetShaderInfoLog", 1, 4, 4, 2); __PYX_ERR(1, 561, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_infoLog)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetShaderInfoLog", 1, 4, 4, 3); __PYX_ERR(1, 561, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetShaderInfoLog") < 0)) __PYX_ERR(1, 561, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_shader = values[0];
    __pyx_v_bufSize = values[1];
    __pyx_v_length = values[2];
    __pyx_v_infoLog = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetShaderInfoLog", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 561, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetShaderInfoLog", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_186glGetShaderInfoLog(__pyx_self, __pyx_v_shader, __pyx_v_bufSize, __pyx_v_length, __pyx_v_infoLog);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_186glGetShaderInfoLog(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader, PyObject *__pyx_v_bufSize, PyObject *__pyx_v_length, PyObject *__pyx_v_infoLog) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_length_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_infoLog_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetShaderInfoLog", 0);

  /* "renpy/uguu/uguu.pyx":562
 * 
 * def glGetShaderInfoLog(shader, bufSize, length, infoLog):
 *     cdef ptr length_ptr = get_ptr(length)             # <<<<<<<<<<<<<<
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)
 *     renpy.uguu.gl.glGetShaderInfoLog(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_length)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 562, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_length_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":563
 * def glGetShaderInfoLog(shader, bufSize, length, infoLog):
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetShaderInfoLog(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_infoLog)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 563, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_infoLog_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":564
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)
 *     renpy.uguu.gl.glGetShaderInfoLog(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetShaderSource(shader, bufSize, length, source):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_shader); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 564, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_bufSize); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 564, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetShaderInfoLog(__pyx_t_2, __pyx_t_3, ((GLsizei *)__pyx_v_length_ptr->ptr), ((GLchar *)__pyx_v_infoLog_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":561
 *     renpy.uguu.gl.glGetRenderbufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetShaderInfoLog(shader, bufSize, length, infoLog):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetShaderInfoLog", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_length_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_infoLog_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":566
 *     renpy.uguu.gl.glGetShaderInfoLog(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)
 * 
 * def glGetShaderSource(shader, bufSize, length, source):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr source_ptr = get_ptr(source)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_189glGetShaderSource(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_189glGetShaderSource = {"glGetShaderSource", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_189glGetShaderSource, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_189glGetShaderSource(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_shader = 0;
  PyObject *__pyx_v_bufSize = 0;
  PyObject *__pyx_v_length = 0;
  PyObject *__pyx_v_source = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetShaderSource (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_shader,&__pyx_n_s_bufSize,&__pyx_n_s_length,&__pyx_n_s_source,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_shader)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_bufSize)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetShaderSource", 1, 4, 4, 1); __PYX_ERR(1, 566, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_length)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetShaderSource", 1, 4, 4, 2); __PYX_ERR(1, 566, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_source)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetShaderSource", 1, 4, 4, 3); __PYX_ERR(1, 566, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetShaderSource") < 0)) __PYX_ERR(1, 566, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_shader = values[0];
    __pyx_v_bufSize = values[1];
    __pyx_v_length = values[2];
    __pyx_v_source = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetShaderSource", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 566, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetShaderSource", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_188glGetShaderSource(__pyx_self, __pyx_v_shader, __pyx_v_bufSize, __pyx_v_length, __pyx_v_source);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_188glGetShaderSource(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader, PyObject *__pyx_v_bufSize, PyObject *__pyx_v_length, PyObject *__pyx_v_source) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_length_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_source_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetShaderSource", 0);

  /* "renpy/uguu/uguu.pyx":567
 * 
 * def glGetShaderSource(shader, bufSize, length, source):
 *     cdef ptr length_ptr = get_ptr(length)             # <<<<<<<<<<<<<<
 *     cdef ptr source_ptr = get_ptr(source)
 *     renpy.uguu.gl.glGetShaderSource(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> source_ptr.ptr)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_length)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 567, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_length_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":568
 * def glGetShaderSource(shader, bufSize, length, source):
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr source_ptr = get_ptr(source)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetShaderSource(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> source_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_source)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 568, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_source_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":569
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr source_ptr = get_ptr(source)
 *     renpy.uguu.gl.glGetShaderSource(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> source_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetShaderiv(shader, pname, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_shader); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 569, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_bufSize); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 569, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetShaderSource(__pyx_t_2, __pyx_t_3, ((GLsizei *)__pyx_v_length_ptr->ptr), ((GLchar *)__pyx_v_source_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":566
 *     renpy.uguu.gl.glGetShaderInfoLog(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)
 * 
 * def glGetShaderSource(shader, bufSize, length, source):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr source_ptr = get_ptr(source)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetShaderSource", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_length_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_source_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":571
 *     renpy.uguu.gl.glGetShaderSource(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> source_ptr.ptr)
 * 
 * def glGetShaderiv(shader, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetShaderiv(shader, pname, <GLint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_191glGetShaderiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_191glGetShaderiv = {"glGetShaderiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_191glGetShaderiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_191glGetShaderiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_shader = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetShaderiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_shader,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_shader)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetShaderiv", 1, 3, 3, 1); __PYX_ERR(1, 571, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetShaderiv", 1, 3, 3, 2); __PYX_ERR(1, 571, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetShaderiv") < 0)) __PYX_ERR(1, 571, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_shader = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetShaderiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 571, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetShaderiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_190glGetShaderiv(__pyx_self, __pyx_v_shader, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_190glGetShaderiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetShaderiv", 0);

  /* "renpy/uguu/uguu.pyx":572
 * 
 * def glGetShaderiv(shader, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetShaderiv(shader, pname, <GLint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 572, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":573
 * def glGetShaderiv(shader, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetShaderiv(shader, pname, <GLint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetString(name):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_shader); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 573, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 573, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetShaderiv(__pyx_t_2, __pyx_t_3, ((GLint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":571
 *     renpy.uguu.gl.glGetShaderSource(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> source_ptr.ptr)
 * 
 * def glGetShaderiv(shader, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetShaderiv(shader, pname, <GLint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetShaderiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":575
 *     renpy.uguu.gl.glGetShaderiv(shader, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetString(name):             # <<<<<<<<<<<<<<
 *     return proxy_return_string(renpy.uguu.gl.glGetString(name))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_193glGetString(PyObject *__pyx_self, PyObject *__pyx_v_name); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_193glGetString = {"glGetString", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_193glGetString, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_193glGetString(PyObject *__pyx_self, PyObject *__pyx_v_name) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetString (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_192glGetString(__pyx_self, ((PyObject *)__pyx_v_name));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_192glGetString(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_name) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetString", 0);

  /* "renpy/uguu/uguu.pyx":576
 * 
 * def glGetString(name):
 *     return proxy_return_string(renpy.uguu.gl.glGetString(name))             # <<<<<<<<<<<<<<
 * 
 * def glGetStringi(name, index):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_name); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 576, __pyx_L1_error)
  __pyx_t_2 = __pyx_f_5renpy_4uguu_4uguu_proxy_return_string(__pyx_v_5renpy_4uguu_2gl_glGetString(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 576, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":575
 *     renpy.uguu.gl.glGetShaderiv(shader, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetString(name):             # <<<<<<<<<<<<<<
 *     return proxy_return_string(renpy.uguu.gl.glGetString(name))
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetString", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":578
 *     return proxy_return_string(renpy.uguu.gl.glGetString(name))
 * 
 * def glGetStringi(name, index):             # <<<<<<<<<<<<<<
 *     return proxy_return_string(renpy.uguu.gl.glGetStringi(name, index))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_195glGetStringi(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_195glGetStringi = {"glGetStringi", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_195glGetStringi, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_195glGetStringi(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_name = 0;
  PyObject *__pyx_v_index = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetStringi (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_name,&__pyx_n_s_index,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetStringi", 1, 2, 2, 1); __PYX_ERR(1, 578, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetStringi") < 0)) __PYX_ERR(1, 578, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_name = values[0];
    __pyx_v_index = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetStringi", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 578, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetStringi", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_194glGetStringi(__pyx_self, __pyx_v_name, __pyx_v_index);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_194glGetStringi(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_name, PyObject *__pyx_v_index) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLuint __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetStringi", 0);

  /* "renpy/uguu/uguu.pyx":579
 * 
 * def glGetStringi(name, index):
 *     return proxy_return_string(renpy.uguu.gl.glGetStringi(name, index))             # <<<<<<<<<<<<<<
 * 
 * def glGetTexParameterfv(target, pname, params):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_name); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 579, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 579, __pyx_L1_error)
  __pyx_t_3 = __pyx_f_5renpy_4uguu_4uguu_proxy_return_string(__pyx_v_5renpy_4uguu_2gl_glGetStringi(__pyx_t_1, __pyx_t_2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 579, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":578
 *     return proxy_return_string(renpy.uguu.gl.glGetString(name))
 * 
 * def glGetStringi(name, index):             # <<<<<<<<<<<<<<
 *     return proxy_return_string(renpy.uguu.gl.glGetStringi(name, index))
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetStringi", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":581
 *     return proxy_return_string(renpy.uguu.gl.glGetStringi(name, index))
 * 
 * def glGetTexParameterfv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetTexParameterfv(target, pname, <GLfloat *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_197glGetTexParameterfv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_197glGetTexParameterfv = {"glGetTexParameterfv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_197glGetTexParameterfv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_197glGetTexParameterfv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetTexParameterfv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetTexParameterfv", 1, 3, 3, 1); __PYX_ERR(1, 581, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetTexParameterfv", 1, 3, 3, 2); __PYX_ERR(1, 581, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetTexParameterfv") < 0)) __PYX_ERR(1, 581, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetTexParameterfv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 581, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetTexParameterfv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_196glGetTexParameterfv(__pyx_self, __pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_196glGetTexParameterfv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetTexParameterfv", 0);

  /* "renpy/uguu/uguu.pyx":582
 * 
 * def glGetTexParameterfv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetTexParameterfv(target, pname, <GLfloat *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 582, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":583
 * def glGetTexParameterfv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetTexParameterfv(target, pname, <GLfloat *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetTexParameteriv(target, pname, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 583, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 583, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetTexParameterfv(__pyx_t_2, __pyx_t_3, ((GLfloat *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":581
 *     return proxy_return_string(renpy.uguu.gl.glGetStringi(name, index))
 * 
 * def glGetTexParameterfv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetTexParameterfv(target, pname, <GLfloat *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetTexParameterfv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":585
 *     renpy.uguu.gl.glGetTexParameterfv(target, pname, <GLfloat *> params_ptr.ptr)
 * 
 * def glGetTexParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetTexParameteriv(target, pname, <GLint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_199glGetTexParameteriv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_199glGetTexParameteriv = {"glGetTexParameteriv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_199glGetTexParameteriv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_199glGetTexParameteriv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetTexParameteriv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetTexParameteriv", 1, 3, 3, 1); __PYX_ERR(1, 585, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetTexParameteriv", 1, 3, 3, 2); __PYX_ERR(1, 585, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetTexParameteriv") < 0)) __PYX_ERR(1, 585, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetTexParameteriv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 585, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetTexParameteriv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_198glGetTexParameteriv(__pyx_self, __pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_198glGetTexParameteriv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetTexParameteriv", 0);

  /* "renpy/uguu/uguu.pyx":586
 * 
 * def glGetTexParameteriv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetTexParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 586, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":587
 * def glGetTexParameteriv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetTexParameteriv(target, pname, <GLint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 587, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 587, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetTexParameteriv(__pyx_t_2, __pyx_t_3, ((GLint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":585
 *     renpy.uguu.gl.glGetTexParameterfv(target, pname, <GLfloat *> params_ptr.ptr)
 * 
 * def glGetTexParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetTexParameteriv(target, pname, <GLint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetTexParameteriv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":589
 *     renpy.uguu.gl.glGetTexParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_201glGetTransformFeedbackVarying(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_201glGetTransformFeedbackVarying = {"glGetTransformFeedbackVarying", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_201glGetTransformFeedbackVarying, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_201glGetTransformFeedbackVarying(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_bufSize = 0;
  PyObject *__pyx_v_length = 0;
  PyObject *__pyx_v_size = 0;
  PyObject *__pyx_v_type = 0;
  PyObject *__pyx_v_name = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetTransformFeedbackVarying (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_index,&__pyx_n_s_bufSize,&__pyx_n_s_length,&__pyx_n_s_size,&__pyx_n_s_type,&__pyx_n_s_name,0};
    PyObject* values[7] = {0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetTransformFeedbackVarying", 1, 7, 7, 1); __PYX_ERR(1, 589, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_bufSize)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetTransformFeedbackVarying", 1, 7, 7, 2); __PYX_ERR(1, 589, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_length)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetTransformFeedbackVarying", 1, 7, 7, 3); __PYX_ERR(1, 589, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_size)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetTransformFeedbackVarying", 1, 7, 7, 4); __PYX_ERR(1, 589, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetTransformFeedbackVarying", 1, 7, 7, 5); __PYX_ERR(1, 589, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetTransformFeedbackVarying", 1, 7, 7, 6); __PYX_ERR(1, 589, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetTransformFeedbackVarying") < 0)) __PYX_ERR(1, 589, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 7) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
    }
    __pyx_v_program = values[0];
    __pyx_v_index = values[1];
    __pyx_v_bufSize = values[2];
    __pyx_v_length = values[3];
    __pyx_v_size = values[4];
    __pyx_v_type = values[5];
    __pyx_v_name = values[6];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetTransformFeedbackVarying", 1, 7, 7, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 589, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetTransformFeedbackVarying", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_200glGetTransformFeedbackVarying(__pyx_self, __pyx_v_program, __pyx_v_index, __pyx_v_bufSize, __pyx_v_length, __pyx_v_size, __pyx_v_type, __pyx_v_name);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_200glGetTransformFeedbackVarying(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_index, PyObject *__pyx_v_bufSize, PyObject *__pyx_v_length, PyObject *__pyx_v_size, PyObject *__pyx_v_type, PyObject *__pyx_v_name) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_length_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_size_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_type_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_name_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLuint __pyx_t_3;
  GLsizei __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetTransformFeedbackVarying", 0);

  /* "renpy/uguu/uguu.pyx":590
 * 
 * def glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name):
 *     cdef ptr length_ptr = get_ptr(length)             # <<<<<<<<<<<<<<
 *     cdef ptr size_ptr = get_ptr(size)
 *     cdef ptr type_ptr = get_ptr(type)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_length)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 590, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_length_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":591
 * def glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name):
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)             # <<<<<<<<<<<<<<
 *     cdef ptr type_ptr = get_ptr(type)
 *     cdef ptr name_ptr = get_ptr(name)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_size)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 591, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_size_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":592
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 *     cdef ptr type_ptr = get_ptr(type)             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     renpy.uguu.gl.glGetTransformFeedbackVarying(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLsizei *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_type)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 592, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_type_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":593
 *     cdef ptr size_ptr = get_ptr(size)
 *     cdef ptr type_ptr = get_ptr(type)
 *     cdef ptr name_ptr = get_ptr(name)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetTransformFeedbackVarying(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLsizei *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_name)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 593, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_name_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":594
 *     cdef ptr type_ptr = get_ptr(type)
 *     cdef ptr name_ptr = get_ptr(name)
 *     renpy.uguu.gl.glGetTransformFeedbackVarying(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLsizei *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetUniformLocation(program, name):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 594, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 594, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLsizei(__pyx_v_bufSize); if (unlikely((__pyx_t_4 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 594, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetTransformFeedbackVarying(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLsizei *)__pyx_v_length_ptr->ptr), ((GLsizei *)__pyx_v_size_ptr->ptr), ((GLenum *)__pyx_v_type_ptr->ptr), ((GLchar *)__pyx_v_name_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":589
 *     renpy.uguu.gl.glGetTexParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetTransformFeedbackVarying", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_length_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_size_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_type_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_name_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":596
 *     renpy.uguu.gl.glGetTransformFeedbackVarying(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLsizei *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 * def glGetUniformLocation(program, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetUniformLocation(program, <const GLchar *> name_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_203glGetUniformLocation(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_203glGetUniformLocation = {"glGetUniformLocation", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_203glGetUniformLocation, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_203glGetUniformLocation(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_name = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetUniformLocation (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_name,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetUniformLocation", 1, 2, 2, 1); __PYX_ERR(1, 596, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetUniformLocation") < 0)) __PYX_ERR(1, 596, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_program = values[0];
    __pyx_v_name = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetUniformLocation", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 596, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetUniformLocation", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_202glGetUniformLocation(__pyx_self, __pyx_v_program, __pyx_v_name);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_202glGetUniformLocation(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_name) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_name_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetUniformLocation", 0);

  /* "renpy/uguu/uguu.pyx":597
 * 
 * def glGetUniformLocation(program, name):
 *     cdef ptr name_ptr = get_ptr(name)             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glGetUniformLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_name)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 597, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_name_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":598
 * def glGetUniformLocation(program, name):
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetUniformLocation(program, <const GLchar *> name_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetUniformfv(program, location, params):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 598, __pyx_L1_error)
  __pyx_t_1 = __Pyx_PyInt_From_GLint(__pyx_v_5renpy_4uguu_2gl_glGetUniformLocation(__pyx_t_2, ((GLchar const *)__pyx_v_name_ptr->ptr))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 598, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":596
 *     renpy.uguu.gl.glGetTransformFeedbackVarying(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLsizei *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 * def glGetUniformLocation(program, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetUniformLocation(program, <const GLchar *> name_ptr.ptr)
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetUniformLocation", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_name_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":600
 *     return renpy.uguu.gl.glGetUniformLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 * def glGetUniformfv(program, location, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformfv(program, location, <GLfloat *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_205glGetUniformfv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_205glGetUniformfv = {"glGetUniformfv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_205glGetUniformfv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_205glGetUniformfv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetUniformfv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_location,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetUniformfv", 1, 3, 3, 1); __PYX_ERR(1, 600, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetUniformfv", 1, 3, 3, 2); __PYX_ERR(1, 600, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetUniformfv") < 0)) __PYX_ERR(1, 600, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_program = values[0];
    __pyx_v_location = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetUniformfv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 600, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetUniformfv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_204glGetUniformfv(__pyx_self, __pyx_v_program, __pyx_v_location, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_204glGetUniformfv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_location, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetUniformfv", 0);

  /* "renpy/uguu/uguu.pyx":601
 * 
 * def glGetUniformfv(program, location, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetUniformfv(program, location, <GLfloat *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 601, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":602
 * def glGetUniformfv(program, location, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformfv(program, location, <GLfloat *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetUniformiv(program, location, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 602, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 602, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetUniformfv(__pyx_t_2, __pyx_t_3, ((GLfloat *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":600
 *     return renpy.uguu.gl.glGetUniformLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 * def glGetUniformfv(program, location, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformfv(program, location, <GLfloat *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetUniformfv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":604
 *     renpy.uguu.gl.glGetUniformfv(program, location, <GLfloat *> params_ptr.ptr)
 * 
 * def glGetUniformiv(program, location, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformiv(program, location, <GLint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_207glGetUniformiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_207glGetUniformiv = {"glGetUniformiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_207glGetUniformiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_207glGetUniformiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetUniformiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_location,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetUniformiv", 1, 3, 3, 1); __PYX_ERR(1, 604, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetUniformiv", 1, 3, 3, 2); __PYX_ERR(1, 604, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetUniformiv") < 0)) __PYX_ERR(1, 604, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_program = values[0];
    __pyx_v_location = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetUniformiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 604, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetUniformiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_206glGetUniformiv(__pyx_self, __pyx_v_program, __pyx_v_location, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_206glGetUniformiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_location, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetUniformiv", 0);

  /* "renpy/uguu/uguu.pyx":605
 * 
 * def glGetUniformiv(program, location, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetUniformiv(program, location, <GLint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 605, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":606
 * def glGetUniformiv(program, location, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformiv(program, location, <GLint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetUniformuiv(program, location, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 606, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 606, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetUniformiv(__pyx_t_2, __pyx_t_3, ((GLint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":604
 *     renpy.uguu.gl.glGetUniformfv(program, location, <GLfloat *> params_ptr.ptr)
 * 
 * def glGetUniformiv(program, location, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformiv(program, location, <GLint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetUniformiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":608
 *     renpy.uguu.gl.glGetUniformiv(program, location, <GLint *> params_ptr.ptr)
 * 
 * def glGetUniformuiv(program, location, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformuiv(program, location, <GLuint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_209glGetUniformuiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_209glGetUniformuiv = {"glGetUniformuiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_209glGetUniformuiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_209glGetUniformuiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetUniformuiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_location,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetUniformuiv", 1, 3, 3, 1); __PYX_ERR(1, 608, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetUniformuiv", 1, 3, 3, 2); __PYX_ERR(1, 608, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetUniformuiv") < 0)) __PYX_ERR(1, 608, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_program = values[0];
    __pyx_v_location = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetUniformuiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 608, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetUniformuiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_208glGetUniformuiv(__pyx_self, __pyx_v_program, __pyx_v_location, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_208glGetUniformuiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_location, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetUniformuiv", 0);

  /* "renpy/uguu/uguu.pyx":609
 * 
 * def glGetUniformuiv(program, location, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetUniformuiv(program, location, <GLuint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 609, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":610
 * def glGetUniformuiv(program, location, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformuiv(program, location, <GLuint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetVertexAttribIiv(index, pname, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 610, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 610, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetUniformuiv(__pyx_t_2, __pyx_t_3, ((GLuint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":608
 *     renpy.uguu.gl.glGetUniformiv(program, location, <GLint *> params_ptr.ptr)
 * 
 * def glGetUniformuiv(program, location, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformuiv(program, location, <GLuint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetUniformuiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":612
 *     renpy.uguu.gl.glGetUniformuiv(program, location, <GLuint *> params_ptr.ptr)
 * 
 * def glGetVertexAttribIiv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribIiv(index, pname, <GLint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_211glGetVertexAttribIiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_211glGetVertexAttribIiv = {"glGetVertexAttribIiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_211glGetVertexAttribIiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_211glGetVertexAttribIiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetVertexAttribIiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetVertexAttribIiv", 1, 3, 3, 1); __PYX_ERR(1, 612, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetVertexAttribIiv", 1, 3, 3, 2); __PYX_ERR(1, 612, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetVertexAttribIiv") < 0)) __PYX_ERR(1, 612, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_index = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetVertexAttribIiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 612, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetVertexAttribIiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_210glGetVertexAttribIiv(__pyx_self, __pyx_v_index, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_210glGetVertexAttribIiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetVertexAttribIiv", 0);

  /* "renpy/uguu/uguu.pyx":613
 * 
 * def glGetVertexAttribIiv(index, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetVertexAttribIiv(index, pname, <GLint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 613, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":614
 * def glGetVertexAttribIiv(index, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribIiv(index, pname, <GLint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetVertexAttribIuiv(index, pname, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 614, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 614, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetVertexAttribIiv(__pyx_t_2, __pyx_t_3, ((GLint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":612
 *     renpy.uguu.gl.glGetUniformuiv(program, location, <GLuint *> params_ptr.ptr)
 * 
 * def glGetVertexAttribIiv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribIiv(index, pname, <GLint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetVertexAttribIiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":616
 *     renpy.uguu.gl.glGetVertexAttribIiv(index, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetVertexAttribIuiv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribIuiv(index, pname, <GLuint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_213glGetVertexAttribIuiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_213glGetVertexAttribIuiv = {"glGetVertexAttribIuiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_213glGetVertexAttribIuiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_213glGetVertexAttribIuiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetVertexAttribIuiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetVertexAttribIuiv", 1, 3, 3, 1); __PYX_ERR(1, 616, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetVertexAttribIuiv", 1, 3, 3, 2); __PYX_ERR(1, 616, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetVertexAttribIuiv") < 0)) __PYX_ERR(1, 616, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_index = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetVertexAttribIuiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 616, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetVertexAttribIuiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_212glGetVertexAttribIuiv(__pyx_self, __pyx_v_index, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_212glGetVertexAttribIuiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetVertexAttribIuiv", 0);

  /* "renpy/uguu/uguu.pyx":617
 * 
 * def glGetVertexAttribIuiv(index, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetVertexAttribIuiv(index, pname, <GLuint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 617, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":618
 * def glGetVertexAttribIuiv(index, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribIuiv(index, pname, <GLuint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetVertexAttribPointerv(index, pname, pointer):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 618, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 618, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetVertexAttribIuiv(__pyx_t_2, __pyx_t_3, ((GLuint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":616
 *     renpy.uguu.gl.glGetVertexAttribIiv(index, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetVertexAttribIuiv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribIuiv(index, pname, <GLuint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetVertexAttribIuiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":620
 *     renpy.uguu.gl.glGetVertexAttribIuiv(index, pname, <GLuint *> params_ptr.ptr)
 * 
 * def glGetVertexAttribPointerv(index, pname, pointer):             # <<<<<<<<<<<<<<
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glGetVertexAttribPointerv(index, pname, <void **> pointer_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_215glGetVertexAttribPointerv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_215glGetVertexAttribPointerv = {"glGetVertexAttribPointerv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_215glGetVertexAttribPointerv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_215glGetVertexAttribPointerv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_pointer = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetVertexAttribPointerv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_pname,&__pyx_n_s_pointer,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetVertexAttribPointerv", 1, 3, 3, 1); __PYX_ERR(1, 620, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pointer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetVertexAttribPointerv", 1, 3, 3, 2); __PYX_ERR(1, 620, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetVertexAttribPointerv") < 0)) __PYX_ERR(1, 620, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_index = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_pointer = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetVertexAttribPointerv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 620, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetVertexAttribPointerv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_214glGetVertexAttribPointerv(__pyx_self, __pyx_v_index, __pyx_v_pname, __pyx_v_pointer);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_214glGetVertexAttribPointerv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_pname, PyObject *__pyx_v_pointer) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_pointer_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetVertexAttribPointerv", 0);

  /* "renpy/uguu/uguu.pyx":621
 * 
 * def glGetVertexAttribPointerv(index, pname, pointer):
 *     cdef ptr pointer_ptr = get_ptr(pointer)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetVertexAttribPointerv(index, pname, <void **> pointer_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_pointer)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 621, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_pointer_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":622
 * def glGetVertexAttribPointerv(index, pname, pointer):
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glGetVertexAttribPointerv(index, pname, <void **> pointer_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetVertexAttribfv(index, pname, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 622, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 622, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetVertexAttribPointerv(__pyx_t_2, __pyx_t_3, ((void **)__pyx_v_pointer_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":620
 *     renpy.uguu.gl.glGetVertexAttribIuiv(index, pname, <GLuint *> params_ptr.ptr)
 * 
 * def glGetVertexAttribPointerv(index, pname, pointer):             # <<<<<<<<<<<<<<
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glGetVertexAttribPointerv(index, pname, <void **> pointer_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetVertexAttribPointerv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_pointer_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":624
 *     renpy.uguu.gl.glGetVertexAttribPointerv(index, pname, <void **> pointer_ptr.ptr)
 * 
 * def glGetVertexAttribfv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribfv(index, pname, <GLfloat *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_217glGetVertexAttribfv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_217glGetVertexAttribfv = {"glGetVertexAttribfv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_217glGetVertexAttribfv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_217glGetVertexAttribfv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetVertexAttribfv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetVertexAttribfv", 1, 3, 3, 1); __PYX_ERR(1, 624, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetVertexAttribfv", 1, 3, 3, 2); __PYX_ERR(1, 624, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetVertexAttribfv") < 0)) __PYX_ERR(1, 624, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_index = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetVertexAttribfv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 624, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetVertexAttribfv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_216glGetVertexAttribfv(__pyx_self, __pyx_v_index, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_216glGetVertexAttribfv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetVertexAttribfv", 0);

  /* "renpy/uguu/uguu.pyx":625
 * 
 * def glGetVertexAttribfv(index, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetVertexAttribfv(index, pname, <GLfloat *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 625, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":626
 * def glGetVertexAttribfv(index, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribfv(index, pname, <GLfloat *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glGetVertexAttribiv(index, pname, params):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 626, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 626, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetVertexAttribfv(__pyx_t_2, __pyx_t_3, ((GLfloat *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":624
 *     renpy.uguu.gl.glGetVertexAttribPointerv(index, pname, <void **> pointer_ptr.ptr)
 * 
 * def glGetVertexAttribfv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribfv(index, pname, <GLfloat *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetVertexAttribfv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":628
 *     renpy.uguu.gl.glGetVertexAttribfv(index, pname, <GLfloat *> params_ptr.ptr)
 * 
 * def glGetVertexAttribiv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribiv(index, pname, <GLint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_219glGetVertexAttribiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_219glGetVertexAttribiv = {"glGetVertexAttribiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_219glGetVertexAttribiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_219glGetVertexAttribiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glGetVertexAttribiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetVertexAttribiv", 1, 3, 3, 1); __PYX_ERR(1, 628, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glGetVertexAttribiv", 1, 3, 3, 2); __PYX_ERR(1, 628, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glGetVertexAttribiv") < 0)) __PYX_ERR(1, 628, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_index = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glGetVertexAttribiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 628, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetVertexAttribiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_218glGetVertexAttribiv(__pyx_self, __pyx_v_index, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_218glGetVertexAttribiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glGetVertexAttribiv", 0);

  /* "renpy/uguu/uguu.pyx":629
 * 
 * def glGetVertexAttribiv(index, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGetVertexAttribiv(index, pname, <GLint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 629, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":630
 * def glGetVertexAttribiv(index, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribiv(index, pname, <GLint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glHint(target, mode):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 630, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 630, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glGetVertexAttribiv(__pyx_t_2, __pyx_t_3, ((GLint *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":628
 *     renpy.uguu.gl.glGetVertexAttribfv(index, pname, <GLfloat *> params_ptr.ptr)
 * 
 * def glGetVertexAttribiv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribiv(index, pname, <GLint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glGetVertexAttribiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":632
 *     renpy.uguu.gl.glGetVertexAttribiv(index, pname, <GLint *> params_ptr.ptr)
 * 
 * def glHint(target, mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glHint(target, mode)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_221glHint(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_221glHint = {"glHint", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_221glHint, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_221glHint(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_mode = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glHint (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_mode,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_mode)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glHint", 1, 2, 2, 1); __PYX_ERR(1, 632, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glHint") < 0)) __PYX_ERR(1, 632, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_target = values[0];
    __pyx_v_mode = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glHint", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 632, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glHint", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_220glHint(__pyx_self, __pyx_v_target, __pyx_v_mode);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_220glHint(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_mode) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glHint", 0);

  /* "renpy/uguu/uguu.pyx":633
 * 
 * def glHint(target, mode):
 *     renpy.uguu.gl.glHint(target, mode)             # <<<<<<<<<<<<<<
 * 
 * def glIsBuffer(buffer):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 633, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_mode); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 633, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glHint(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":632
 *     renpy.uguu.gl.glGetVertexAttribiv(index, pname, <GLint *> params_ptr.ptr)
 * 
 * def glHint(target, mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glHint(target, mode)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glHint", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":635
 *     renpy.uguu.gl.glHint(target, mode)
 * 
 * def glIsBuffer(buffer):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsBuffer(buffer)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_223glIsBuffer(PyObject *__pyx_self, PyObject *__pyx_v_buffer); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_223glIsBuffer = {"glIsBuffer", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_223glIsBuffer, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_223glIsBuffer(PyObject *__pyx_self, PyObject *__pyx_v_buffer) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glIsBuffer (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_222glIsBuffer(__pyx_self, ((PyObject *)__pyx_v_buffer));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_222glIsBuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_buffer) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glIsBuffer", 0);

  /* "renpy/uguu/uguu.pyx":636
 * 
 * def glIsBuffer(buffer):
 *     return renpy.uguu.gl.glIsBuffer(buffer)             # <<<<<<<<<<<<<<
 * 
 * def glIsEnabled(cap):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_buffer); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 636, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_From_GLboolean(__pyx_v_5renpy_4uguu_2gl_glIsBuffer(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 636, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":635
 *     renpy.uguu.gl.glHint(target, mode)
 * 
 * def glIsBuffer(buffer):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsBuffer(buffer)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glIsBuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":638
 *     return renpy.uguu.gl.glIsBuffer(buffer)
 * 
 * def glIsEnabled(cap):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsEnabled(cap)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_225glIsEnabled(PyObject *__pyx_self, PyObject *__pyx_v_cap); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_225glIsEnabled = {"glIsEnabled", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_225glIsEnabled, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_225glIsEnabled(PyObject *__pyx_self, PyObject *__pyx_v_cap) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glIsEnabled (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_224glIsEnabled(__pyx_self, ((PyObject *)__pyx_v_cap));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_224glIsEnabled(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cap) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glIsEnabled", 0);

  /* "renpy/uguu/uguu.pyx":639
 * 
 * def glIsEnabled(cap):
 *     return renpy.uguu.gl.glIsEnabled(cap)             # <<<<<<<<<<<<<<
 * 
 * def glIsFramebuffer(framebuffer):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_cap); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 639, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_From_GLboolean(__pyx_v_5renpy_4uguu_2gl_glIsEnabled(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 639, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":638
 *     return renpy.uguu.gl.glIsBuffer(buffer)
 * 
 * def glIsEnabled(cap):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsEnabled(cap)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glIsEnabled", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":641
 *     return renpy.uguu.gl.glIsEnabled(cap)
 * 
 * def glIsFramebuffer(framebuffer):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsFramebuffer(framebuffer)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_227glIsFramebuffer(PyObject *__pyx_self, PyObject *__pyx_v_framebuffer); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_227glIsFramebuffer = {"glIsFramebuffer", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_227glIsFramebuffer, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_227glIsFramebuffer(PyObject *__pyx_self, PyObject *__pyx_v_framebuffer) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glIsFramebuffer (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_226glIsFramebuffer(__pyx_self, ((PyObject *)__pyx_v_framebuffer));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_226glIsFramebuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_framebuffer) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glIsFramebuffer", 0);

  /* "renpy/uguu/uguu.pyx":642
 * 
 * def glIsFramebuffer(framebuffer):
 *     return renpy.uguu.gl.glIsFramebuffer(framebuffer)             # <<<<<<<<<<<<<<
 * 
 * def glIsProgram(program):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_framebuffer); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 642, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_From_GLboolean(__pyx_v_5renpy_4uguu_2gl_glIsFramebuffer(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 642, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":641
 *     return renpy.uguu.gl.glIsEnabled(cap)
 * 
 * def glIsFramebuffer(framebuffer):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsFramebuffer(framebuffer)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glIsFramebuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":644
 *     return renpy.uguu.gl.glIsFramebuffer(framebuffer)
 * 
 * def glIsProgram(program):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsProgram(program)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_229glIsProgram(PyObject *__pyx_self, PyObject *__pyx_v_program); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_229glIsProgram = {"glIsProgram", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_229glIsProgram, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_229glIsProgram(PyObject *__pyx_self, PyObject *__pyx_v_program) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glIsProgram (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_228glIsProgram(__pyx_self, ((PyObject *)__pyx_v_program));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_228glIsProgram(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glIsProgram", 0);

  /* "renpy/uguu/uguu.pyx":645
 * 
 * def glIsProgram(program):
 *     return renpy.uguu.gl.glIsProgram(program)             # <<<<<<<<<<<<<<
 * 
 * def glIsQuery(id):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 645, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_From_GLboolean(__pyx_v_5renpy_4uguu_2gl_glIsProgram(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 645, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":644
 *     return renpy.uguu.gl.glIsFramebuffer(framebuffer)
 * 
 * def glIsProgram(program):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsProgram(program)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glIsProgram", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":647
 *     return renpy.uguu.gl.glIsProgram(program)
 * 
 * def glIsQuery(id):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsQuery(id)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_231glIsQuery(PyObject *__pyx_self, PyObject *__pyx_v_id); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_231glIsQuery = {"glIsQuery", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_231glIsQuery, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_231glIsQuery(PyObject *__pyx_self, PyObject *__pyx_v_id) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glIsQuery (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_230glIsQuery(__pyx_self, ((PyObject *)__pyx_v_id));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_230glIsQuery(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_id) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glIsQuery", 0);

  /* "renpy/uguu/uguu.pyx":648
 * 
 * def glIsQuery(id):
 *     return renpy.uguu.gl.glIsQuery(id)             # <<<<<<<<<<<<<<
 * 
 * def glIsRenderbuffer(renderbuffer):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_id); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 648, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_From_GLboolean(__pyx_v_5renpy_4uguu_2gl_glIsQuery(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 648, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":647
 *     return renpy.uguu.gl.glIsProgram(program)
 * 
 * def glIsQuery(id):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsQuery(id)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glIsQuery", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":650
 *     return renpy.uguu.gl.glIsQuery(id)
 * 
 * def glIsRenderbuffer(renderbuffer):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsRenderbuffer(renderbuffer)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_233glIsRenderbuffer(PyObject *__pyx_self, PyObject *__pyx_v_renderbuffer); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_233glIsRenderbuffer = {"glIsRenderbuffer", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_233glIsRenderbuffer, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_233glIsRenderbuffer(PyObject *__pyx_self, PyObject *__pyx_v_renderbuffer) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glIsRenderbuffer (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_232glIsRenderbuffer(__pyx_self, ((PyObject *)__pyx_v_renderbuffer));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_232glIsRenderbuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_renderbuffer) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glIsRenderbuffer", 0);

  /* "renpy/uguu/uguu.pyx":651
 * 
 * def glIsRenderbuffer(renderbuffer):
 *     return renpy.uguu.gl.glIsRenderbuffer(renderbuffer)             # <<<<<<<<<<<<<<
 * 
 * def glIsShader(shader):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_renderbuffer); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 651, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_From_GLboolean(__pyx_v_5renpy_4uguu_2gl_glIsRenderbuffer(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 651, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":650
 *     return renpy.uguu.gl.glIsQuery(id)
 * 
 * def glIsRenderbuffer(renderbuffer):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsRenderbuffer(renderbuffer)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glIsRenderbuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":653
 *     return renpy.uguu.gl.glIsRenderbuffer(renderbuffer)
 * 
 * def glIsShader(shader):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsShader(shader)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_235glIsShader(PyObject *__pyx_self, PyObject *__pyx_v_shader); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_235glIsShader = {"glIsShader", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_235glIsShader, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_235glIsShader(PyObject *__pyx_self, PyObject *__pyx_v_shader) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glIsShader (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_234glIsShader(__pyx_self, ((PyObject *)__pyx_v_shader));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_234glIsShader(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glIsShader", 0);

  /* "renpy/uguu/uguu.pyx":654
 * 
 * def glIsShader(shader):
 *     return renpy.uguu.gl.glIsShader(shader)             # <<<<<<<<<<<<<<
 * 
 * def glIsTexture(texture):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_shader); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 654, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_From_GLboolean(__pyx_v_5renpy_4uguu_2gl_glIsShader(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 654, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":653
 *     return renpy.uguu.gl.glIsRenderbuffer(renderbuffer)
 * 
 * def glIsShader(shader):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsShader(shader)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glIsShader", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":656
 *     return renpy.uguu.gl.glIsShader(shader)
 * 
 * def glIsTexture(texture):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsTexture(texture)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_237glIsTexture(PyObject *__pyx_self, PyObject *__pyx_v_texture); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_237glIsTexture = {"glIsTexture", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_237glIsTexture, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_237glIsTexture(PyObject *__pyx_self, PyObject *__pyx_v_texture) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glIsTexture (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_236glIsTexture(__pyx_self, ((PyObject *)__pyx_v_texture));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_236glIsTexture(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_texture) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glIsTexture", 0);

  /* "renpy/uguu/uguu.pyx":657
 * 
 * def glIsTexture(texture):
 *     return renpy.uguu.gl.glIsTexture(texture)             # <<<<<<<<<<<<<<
 * 
 * def glIsVertexArray(array):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_texture); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 657, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_From_GLboolean(__pyx_v_5renpy_4uguu_2gl_glIsTexture(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 657, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":656
 *     return renpy.uguu.gl.glIsShader(shader)
 * 
 * def glIsTexture(texture):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsTexture(texture)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glIsTexture", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":659
 *     return renpy.uguu.gl.glIsTexture(texture)
 * 
 * def glIsVertexArray(array):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsVertexArray(array)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_239glIsVertexArray(PyObject *__pyx_self, PyObject *__pyx_v_array); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_239glIsVertexArray = {"glIsVertexArray", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_239glIsVertexArray, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_239glIsVertexArray(PyObject *__pyx_self, PyObject *__pyx_v_array) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glIsVertexArray (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_238glIsVertexArray(__pyx_self, ((PyObject *)__pyx_v_array));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_238glIsVertexArray(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_array) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glIsVertexArray", 0);

  /* "renpy/uguu/uguu.pyx":660
 * 
 * def glIsVertexArray(array):
 *     return renpy.uguu.gl.glIsVertexArray(array)             # <<<<<<<<<<<<<<
 * 
 * def glLineWidth(width):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_array); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 660, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_From_GLboolean(__pyx_v_5renpy_4uguu_2gl_glIsVertexArray(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 660, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":659
 *     return renpy.uguu.gl.glIsTexture(texture)
 * 
 * def glIsVertexArray(array):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsVertexArray(array)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glIsVertexArray", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":662
 *     return renpy.uguu.gl.glIsVertexArray(array)
 * 
 * def glLineWidth(width):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glLineWidth(width)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_241glLineWidth(PyObject *__pyx_self, PyObject *__pyx_v_width); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_241glLineWidth = {"glLineWidth", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_241glLineWidth, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_241glLineWidth(PyObject *__pyx_self, PyObject *__pyx_v_width) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glLineWidth (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_240glLineWidth(__pyx_self, ((PyObject *)__pyx_v_width));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_240glLineWidth(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_width) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLfloat __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glLineWidth", 0);

  /* "renpy/uguu/uguu.pyx":663
 * 
 * def glLineWidth(width):
 *     renpy.uguu.gl.glLineWidth(width)             # <<<<<<<<<<<<<<
 * 
 * def glLinkProgram(program):
 */
  __pyx_t_1 = __pyx_PyFloat_AsFloat(__pyx_v_width); if (unlikely((__pyx_t_1 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 663, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glLineWidth(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":662
 *     return renpy.uguu.gl.glIsVertexArray(array)
 * 
 * def glLineWidth(width):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glLineWidth(width)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glLineWidth", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":665
 *     renpy.uguu.gl.glLineWidth(width)
 * 
 * def glLinkProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glLinkProgram(program)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_243glLinkProgram(PyObject *__pyx_self, PyObject *__pyx_v_program); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_243glLinkProgram = {"glLinkProgram", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_243glLinkProgram, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_243glLinkProgram(PyObject *__pyx_self, PyObject *__pyx_v_program) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glLinkProgram (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_242glLinkProgram(__pyx_self, ((PyObject *)__pyx_v_program));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_242glLinkProgram(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glLinkProgram", 0);

  /* "renpy/uguu/uguu.pyx":666
 * 
 * def glLinkProgram(program):
 *     renpy.uguu.gl.glLinkProgram(program)             # <<<<<<<<<<<<<<
 * 
 * def glPixelStorei(pname, param):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 666, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glLinkProgram(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":665
 *     renpy.uguu.gl.glLineWidth(width)
 * 
 * def glLinkProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glLinkProgram(program)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glLinkProgram", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":668
 *     renpy.uguu.gl.glLinkProgram(program)
 * 
 * def glPixelStorei(pname, param):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glPixelStorei(pname, param)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_245glPixelStorei(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_245glPixelStorei = {"glPixelStorei", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_245glPixelStorei, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_245glPixelStorei(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_param = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glPixelStorei (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pname,&__pyx_n_s_param,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_param)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glPixelStorei", 1, 2, 2, 1); __PYX_ERR(1, 668, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glPixelStorei") < 0)) __PYX_ERR(1, 668, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_pname = values[0];
    __pyx_v_param = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glPixelStorei", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 668, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glPixelStorei", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_244glPixelStorei(__pyx_self, __pyx_v_pname, __pyx_v_param);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_244glPixelStorei(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_pname, PyObject *__pyx_v_param) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glPixelStorei", 0);

  /* "renpy/uguu/uguu.pyx":669
 * 
 * def glPixelStorei(pname, param):
 *     renpy.uguu.gl.glPixelStorei(pname, param)             # <<<<<<<<<<<<<<
 * 
 * def glPolygonOffset(factor, units):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 669, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_param); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 669, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glPixelStorei(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":668
 *     renpy.uguu.gl.glLinkProgram(program)
 * 
 * def glPixelStorei(pname, param):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glPixelStorei(pname, param)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glPixelStorei", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":671
 *     renpy.uguu.gl.glPixelStorei(pname, param)
 * 
 * def glPolygonOffset(factor, units):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glPolygonOffset(factor, units)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_247glPolygonOffset(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_247glPolygonOffset = {"glPolygonOffset", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_247glPolygonOffset, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_247glPolygonOffset(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_factor = 0;
  PyObject *__pyx_v_units = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glPolygonOffset (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_factor,&__pyx_n_s_units,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_factor)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_units)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glPolygonOffset", 1, 2, 2, 1); __PYX_ERR(1, 671, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glPolygonOffset") < 0)) __PYX_ERR(1, 671, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_factor = values[0];
    __pyx_v_units = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glPolygonOffset", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 671, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glPolygonOffset", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_246glPolygonOffset(__pyx_self, __pyx_v_factor, __pyx_v_units);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_246glPolygonOffset(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_factor, PyObject *__pyx_v_units) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLfloat __pyx_t_1;
  GLfloat __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glPolygonOffset", 0);

  /* "renpy/uguu/uguu.pyx":672
 * 
 * def glPolygonOffset(factor, units):
 *     renpy.uguu.gl.glPolygonOffset(factor, units)             # <<<<<<<<<<<<<<
 * 
 * def glReadBuffer(src):
 */
  __pyx_t_1 = __pyx_PyFloat_AsFloat(__pyx_v_factor); if (unlikely((__pyx_t_1 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 672, __pyx_L1_error)
  __pyx_t_2 = __pyx_PyFloat_AsFloat(__pyx_v_units); if (unlikely((__pyx_t_2 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 672, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glPolygonOffset(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":671
 *     renpy.uguu.gl.glPixelStorei(pname, param)
 * 
 * def glPolygonOffset(factor, units):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glPolygonOffset(factor, units)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glPolygonOffset", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":674
 *     renpy.uguu.gl.glPolygonOffset(factor, units)
 * 
 * def glReadBuffer(src):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glReadBuffer(src)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_249glReadBuffer(PyObject *__pyx_self, PyObject *__pyx_v_src); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_249glReadBuffer = {"glReadBuffer", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_249glReadBuffer, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_249glReadBuffer(PyObject *__pyx_self, PyObject *__pyx_v_src) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glReadBuffer (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_248glReadBuffer(__pyx_self, ((PyObject *)__pyx_v_src));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_248glReadBuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_src) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glReadBuffer", 0);

  /* "renpy/uguu/uguu.pyx":675
 * 
 * def glReadBuffer(src):
 *     renpy.uguu.gl.glReadBuffer(src)             # <<<<<<<<<<<<<<
 * 
 * def glReadPixels(x, y, width, height, format, type, pixels):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_src); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 675, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glReadBuffer(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":674
 *     renpy.uguu.gl.glPolygonOffset(factor, units)
 * 
 * def glReadBuffer(src):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glReadBuffer(src)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glReadBuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":677
 *     renpy.uguu.gl.glReadBuffer(src)
 * 
 * def glReadPixels(x, y, width, height, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glReadPixels(x, y, width, height, format, type, <void *> pixels_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_251glReadPixels(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_251glReadPixels = {"glReadPixels", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_251glReadPixels, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_251glReadPixels(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_x = 0;
  PyObject *__pyx_v_y = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  PyObject *__pyx_v_format = 0;
  PyObject *__pyx_v_type = 0;
  PyObject *__pyx_v_pixels = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glReadPixels (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_x,&__pyx_n_s_y,&__pyx_n_s_width,&__pyx_n_s_height,&__pyx_n_s_format,&__pyx_n_s_type,&__pyx_n_s_pixels,0};
    PyObject* values[7] = {0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glReadPixels", 1, 7, 7, 1); __PYX_ERR(1, 677, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glReadPixels", 1, 7, 7, 2); __PYX_ERR(1, 677, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glReadPixels", 1, 7, 7, 3); __PYX_ERR(1, 677, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_format)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glReadPixels", 1, 7, 7, 4); __PYX_ERR(1, 677, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glReadPixels", 1, 7, 7, 5); __PYX_ERR(1, 677, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pixels)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glReadPixels", 1, 7, 7, 6); __PYX_ERR(1, 677, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glReadPixels") < 0)) __PYX_ERR(1, 677, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 7) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
    }
    __pyx_v_x = values[0];
    __pyx_v_y = values[1];
    __pyx_v_width = values[2];
    __pyx_v_height = values[3];
    __pyx_v_format = values[4];
    __pyx_v_type = values[5];
    __pyx_v_pixels = values[6];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glReadPixels", 1, 7, 7, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 677, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glReadPixels", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_250glReadPixels(__pyx_self, __pyx_v_x, __pyx_v_y, __pyx_v_width, __pyx_v_height, __pyx_v_format, __pyx_v_type, __pyx_v_pixels);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_250glReadPixels(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_format, PyObject *__pyx_v_type, PyObject *__pyx_v_pixels) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_pixels_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLint __pyx_t_3;
  GLsizei __pyx_t_4;
  GLsizei __pyx_t_5;
  GLenum __pyx_t_6;
  GLenum __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glReadPixels", 0);

  /* "renpy/uguu/uguu.pyx":678
 * 
 * def glReadPixels(x, y, width, height, format, type, pixels):
 *     cdef ptr pixels_ptr = get_ptr(pixels)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glReadPixels(x, y, width, height, format, type, <void *> pixels_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_pixels)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 678, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_pixels_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":679
 * def glReadPixels(x, y, width, height, format, type, pixels):
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glReadPixels(x, y, width, height, format, type, <void *> pixels_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glRenderbufferStorage(target, internalformat, width, height):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_x); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 679, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_y); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 679, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_4 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 679, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_5 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 679, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLenum(__pyx_v_format); if (unlikely((__pyx_t_6 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 679, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLenum(__pyx_v_type); if (unlikely((__pyx_t_7 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 679, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glReadPixels(__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, ((void *)__pyx_v_pixels_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":677
 *     renpy.uguu.gl.glReadBuffer(src)
 * 
 * def glReadPixels(x, y, width, height, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glReadPixels(x, y, width, height, format, type, <void *> pixels_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glReadPixels", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_pixels_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":681
 *     renpy.uguu.gl.glReadPixels(x, y, width, height, format, type, <void *> pixels_ptr.ptr)
 * 
 * def glRenderbufferStorage(target, internalformat, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glRenderbufferStorage(target, internalformat, width, height)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_253glRenderbufferStorage(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_253glRenderbufferStorage = {"glRenderbufferStorage", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_253glRenderbufferStorage, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_253glRenderbufferStorage(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_internalformat = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glRenderbufferStorage (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_internalformat,&__pyx_n_s_width,&__pyx_n_s_height,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_internalformat)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glRenderbufferStorage", 1, 4, 4, 1); __PYX_ERR(1, 681, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glRenderbufferStorage", 1, 4, 4, 2); __PYX_ERR(1, 681, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glRenderbufferStorage", 1, 4, 4, 3); __PYX_ERR(1, 681, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glRenderbufferStorage") < 0)) __PYX_ERR(1, 681, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_target = values[0];
    __pyx_v_internalformat = values[1];
    __pyx_v_width = values[2];
    __pyx_v_height = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glRenderbufferStorage", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 681, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glRenderbufferStorage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_252glRenderbufferStorage(__pyx_self, __pyx_v_target, __pyx_v_internalformat, __pyx_v_width, __pyx_v_height);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_252glRenderbufferStorage(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_width, PyObject *__pyx_v_height) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  GLsizei __pyx_t_3;
  GLsizei __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glRenderbufferStorage", 0);

  /* "renpy/uguu/uguu.pyx":682
 * 
 * def glRenderbufferStorage(target, internalformat, width, height):
 *     renpy.uguu.gl.glRenderbufferStorage(target, internalformat, width, height)             # <<<<<<<<<<<<<<
 * 
 * def glRenderbufferStorageMultisample(target, samples, internalformat, width, height):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 682, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_internalformat); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 682, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 682, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_4 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 682, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glRenderbufferStorage(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":681
 *     renpy.uguu.gl.glReadPixels(x, y, width, height, format, type, <void *> pixels_ptr.ptr)
 * 
 * def glRenderbufferStorage(target, internalformat, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glRenderbufferStorage(target, internalformat, width, height)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glRenderbufferStorage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":684
 *     renpy.uguu.gl.glRenderbufferStorage(target, internalformat, width, height)
 * 
 * def glRenderbufferStorageMultisample(target, samples, internalformat, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glRenderbufferStorageMultisample(target, samples, internalformat, width, height)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_255glRenderbufferStorageMultisample(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_255glRenderbufferStorageMultisample = {"glRenderbufferStorageMultisample", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_255glRenderbufferStorageMultisample, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_255glRenderbufferStorageMultisample(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_samples = 0;
  PyObject *__pyx_v_internalformat = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glRenderbufferStorageMultisample (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_samples,&__pyx_n_s_internalformat,&__pyx_n_s_width,&__pyx_n_s_height,0};
    PyObject* values[5] = {0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_samples)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glRenderbufferStorageMultisample", 1, 5, 5, 1); __PYX_ERR(1, 684, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_internalformat)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glRenderbufferStorageMultisample", 1, 5, 5, 2); __PYX_ERR(1, 684, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glRenderbufferStorageMultisample", 1, 5, 5, 3); __PYX_ERR(1, 684, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glRenderbufferStorageMultisample", 1, 5, 5, 4); __PYX_ERR(1, 684, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glRenderbufferStorageMultisample") < 0)) __PYX_ERR(1, 684, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
    }
    __pyx_v_target = values[0];
    __pyx_v_samples = values[1];
    __pyx_v_internalformat = values[2];
    __pyx_v_width = values[3];
    __pyx_v_height = values[4];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glRenderbufferStorageMultisample", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 684, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glRenderbufferStorageMultisample", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_254glRenderbufferStorageMultisample(__pyx_self, __pyx_v_target, __pyx_v_samples, __pyx_v_internalformat, __pyx_v_width, __pyx_v_height);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_254glRenderbufferStorageMultisample(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_samples, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_width, PyObject *__pyx_v_height) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLsizei __pyx_t_2;
  GLenum __pyx_t_3;
  GLsizei __pyx_t_4;
  GLsizei __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glRenderbufferStorageMultisample", 0);

  /* "renpy/uguu/uguu.pyx":685
 * 
 * def glRenderbufferStorageMultisample(target, samples, internalformat, width, height):
 *     renpy.uguu.gl.glRenderbufferStorageMultisample(target, samples, internalformat, width, height)             # <<<<<<<<<<<<<<
 * 
 * def glSampleCoverage(value, invert):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 685, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLsizei(__pyx_v_samples); if (unlikely((__pyx_t_2 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 685, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_internalformat); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 685, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_4 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 685, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_5 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 685, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glRenderbufferStorageMultisample(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5);

  /* "renpy/uguu/uguu.pyx":684
 *     renpy.uguu.gl.glRenderbufferStorage(target, internalformat, width, height)
 * 
 * def glRenderbufferStorageMultisample(target, samples, internalformat, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glRenderbufferStorageMultisample(target, samples, internalformat, width, height)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glRenderbufferStorageMultisample", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":687
 *     renpy.uguu.gl.glRenderbufferStorageMultisample(target, samples, internalformat, width, height)
 * 
 * def glSampleCoverage(value, invert):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glSampleCoverage(value, invert)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_257glSampleCoverage(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_257glSampleCoverage = {"glSampleCoverage", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_257glSampleCoverage, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_257glSampleCoverage(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_value = 0;
  PyObject *__pyx_v_invert = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glSampleCoverage (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_value,&__pyx_n_s_invert,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_invert)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glSampleCoverage", 1, 2, 2, 1); __PYX_ERR(1, 687, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glSampleCoverage") < 0)) __PYX_ERR(1, 687, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_value = values[0];
    __pyx_v_invert = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glSampleCoverage", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 687, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glSampleCoverage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_256glSampleCoverage(__pyx_self, __pyx_v_value, __pyx_v_invert);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_256glSampleCoverage(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_value, PyObject *__pyx_v_invert) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLfloat __pyx_t_1;
  GLboolean __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glSampleCoverage", 0);

  /* "renpy/uguu/uguu.pyx":688
 * 
 * def glSampleCoverage(value, invert):
 *     renpy.uguu.gl.glSampleCoverage(value, invert)             # <<<<<<<<<<<<<<
 * 
 * def glScissor(x, y, width, height):
 */
  __pyx_t_1 = __pyx_PyFloat_AsFloat(__pyx_v_value); if (unlikely((__pyx_t_1 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 688, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLboolean(__pyx_v_invert); if (unlikely((__pyx_t_2 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 688, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glSampleCoverage(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":687
 *     renpy.uguu.gl.glRenderbufferStorageMultisample(target, samples, internalformat, width, height)
 * 
 * def glSampleCoverage(value, invert):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glSampleCoverage(value, invert)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glSampleCoverage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":690
 *     renpy.uguu.gl.glSampleCoverage(value, invert)
 * 
 * def glScissor(x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glScissor(x, y, width, height)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_259glScissor(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_259glScissor = {"glScissor", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_259glScissor, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_259glScissor(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_x = 0;
  PyObject *__pyx_v_y = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glScissor (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_x,&__pyx_n_s_y,&__pyx_n_s_width,&__pyx_n_s_height,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glScissor", 1, 4, 4, 1); __PYX_ERR(1, 690, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glScissor", 1, 4, 4, 2); __PYX_ERR(1, 690, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glScissor", 1, 4, 4, 3); __PYX_ERR(1, 690, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glScissor") < 0)) __PYX_ERR(1, 690, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_x = values[0];
    __pyx_v_y = values[1];
    __pyx_v_width = values[2];
    __pyx_v_height = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glScissor", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 690, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glScissor", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_258glScissor(__pyx_self, __pyx_v_x, __pyx_v_y, __pyx_v_width, __pyx_v_height);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_258glScissor(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_width, PyObject *__pyx_v_height) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  GLsizei __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glScissor", 0);

  /* "renpy/uguu/uguu.pyx":691
 * 
 * def glScissor(x, y, width, height):
 *     renpy.uguu.gl.glScissor(x, y, width, height)             # <<<<<<<<<<<<<<
 * 
 * def glShaderSource(shader, count, string, length):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_x); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 691, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_y); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 691, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 691, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_4 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 691, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glScissor(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":690
 *     renpy.uguu.gl.glSampleCoverage(value, invert)
 * 
 * def glScissor(x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glScissor(x, y, width, height)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glScissor", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":693
 *     renpy.uguu.gl.glScissor(x, y, width, height)
 * 
 * def glShaderSource(shader, count, string, length):             # <<<<<<<<<<<<<<
 *     cdef ptr string_ptr = get_ptr(string)
 *     cdef ptr length_ptr = get_ptr(length)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_261glShaderSource(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_261glShaderSource = {"glShaderSource", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_261glShaderSource, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_261glShaderSource(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_shader = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_string = 0;
  PyObject *__pyx_v_length = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glShaderSource (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_shader,&__pyx_n_s_count,&__pyx_n_s_string,&__pyx_n_s_length,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_shader)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glShaderSource", 1, 4, 4, 1); __PYX_ERR(1, 693, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_string)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glShaderSource", 1, 4, 4, 2); __PYX_ERR(1, 693, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_length)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glShaderSource", 1, 4, 4, 3); __PYX_ERR(1, 693, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glShaderSource") < 0)) __PYX_ERR(1, 693, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_shader = values[0];
    __pyx_v_count = values[1];
    __pyx_v_string = values[2];
    __pyx_v_length = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glShaderSource", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 693, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glShaderSource", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_260glShaderSource(__pyx_self, __pyx_v_shader, __pyx_v_count, __pyx_v_string, __pyx_v_length);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_260glShaderSource(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_shader, PyObject *__pyx_v_count, PyObject *__pyx_v_string, PyObject *__pyx_v_length) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_string_ptr = 0;
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_length_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glShaderSource", 0);

  /* "renpy/uguu/uguu.pyx":694
 * 
 * def glShaderSource(shader, count, string, length):
 *     cdef ptr string_ptr = get_ptr(string)             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     renpy.uguu.gl.glShaderSource(shader, count, <const GLchar *const*> string_ptr.ptr, <const GLint *> length_ptr.ptr)
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_string)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 694, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_string_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":695
 * def glShaderSource(shader, count, string, length):
 *     cdef ptr string_ptr = get_ptr(string)
 *     cdef ptr length_ptr = get_ptr(length)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glShaderSource(shader, count, <const GLchar *const*> string_ptr.ptr, <const GLint *> length_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_length)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 695, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_length_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":696
 *     cdef ptr string_ptr = get_ptr(string)
 *     cdef ptr length_ptr = get_ptr(length)
 *     renpy.uguu.gl.glShaderSource(shader, count, <const GLchar *const*> string_ptr.ptr, <const GLint *> length_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glStencilFunc(func, ref, mask):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_shader); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 696, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 696, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glShaderSource(__pyx_t_2, __pyx_t_3, ((GLchar const *const *)__pyx_v_string_ptr->ptr), ((GLint const *)__pyx_v_length_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":693
 *     renpy.uguu.gl.glScissor(x, y, width, height)
 * 
 * def glShaderSource(shader, count, string, length):             # <<<<<<<<<<<<<<
 *     cdef ptr string_ptr = get_ptr(string)
 *     cdef ptr length_ptr = get_ptr(length)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glShaderSource", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_string_ptr);
  __Pyx_XDECREF((PyObject *)__pyx_v_length_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":698
 *     renpy.uguu.gl.glShaderSource(shader, count, <const GLchar *const*> string_ptr.ptr, <const GLint *> length_ptr.ptr)
 * 
 * def glStencilFunc(func, ref, mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilFunc(func, ref, mask)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_263glStencilFunc(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_263glStencilFunc = {"glStencilFunc", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_263glStencilFunc, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_263glStencilFunc(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_ref = 0;
  PyObject *__pyx_v_mask = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glStencilFunc (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_func,&__pyx_n_s_ref,&__pyx_n_s_mask,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_ref)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glStencilFunc", 1, 3, 3, 1); __PYX_ERR(1, 698, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_mask)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glStencilFunc", 1, 3, 3, 2); __PYX_ERR(1, 698, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glStencilFunc") < 0)) __PYX_ERR(1, 698, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_func = values[0];
    __pyx_v_ref = values[1];
    __pyx_v_mask = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glStencilFunc", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 698, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glStencilFunc", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_262glStencilFunc(__pyx_self, __pyx_v_func, __pyx_v_ref, __pyx_v_mask);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_262glStencilFunc(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_func, PyObject *__pyx_v_ref, PyObject *__pyx_v_mask) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLint __pyx_t_2;
  GLuint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glStencilFunc", 0);

  /* "renpy/uguu/uguu.pyx":699
 * 
 * def glStencilFunc(func, ref, mask):
 *     renpy.uguu.gl.glStencilFunc(func, ref, mask)             # <<<<<<<<<<<<<<
 * 
 * def glStencilFuncSeparate(face, func, ref, mask):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_func); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 699, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_ref); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 699, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_mask); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 699, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glStencilFunc(__pyx_t_1, __pyx_t_2, __pyx_t_3);

  /* "renpy/uguu/uguu.pyx":698
 *     renpy.uguu.gl.glShaderSource(shader, count, <const GLchar *const*> string_ptr.ptr, <const GLint *> length_ptr.ptr)
 * 
 * def glStencilFunc(func, ref, mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilFunc(func, ref, mask)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glStencilFunc", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":701
 *     renpy.uguu.gl.glStencilFunc(func, ref, mask)
 * 
 * def glStencilFuncSeparate(face, func, ref, mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilFuncSeparate(face, func, ref, mask)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_265glStencilFuncSeparate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_265glStencilFuncSeparate = {"glStencilFuncSeparate", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_265glStencilFuncSeparate, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_265glStencilFuncSeparate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_face = 0;
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_ref = 0;
  PyObject *__pyx_v_mask = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glStencilFuncSeparate (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_face,&__pyx_n_s_func,&__pyx_n_s_ref,&__pyx_n_s_mask,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_face)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_func)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glStencilFuncSeparate", 1, 4, 4, 1); __PYX_ERR(1, 701, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_ref)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glStencilFuncSeparate", 1, 4, 4, 2); __PYX_ERR(1, 701, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_mask)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glStencilFuncSeparate", 1, 4, 4, 3); __PYX_ERR(1, 701, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glStencilFuncSeparate") < 0)) __PYX_ERR(1, 701, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_face = values[0];
    __pyx_v_func = values[1];
    __pyx_v_ref = values[2];
    __pyx_v_mask = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glStencilFuncSeparate", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 701, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glStencilFuncSeparate", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_264glStencilFuncSeparate(__pyx_self, __pyx_v_face, __pyx_v_func, __pyx_v_ref, __pyx_v_mask);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_264glStencilFuncSeparate(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_face, PyObject *__pyx_v_func, PyObject *__pyx_v_ref, PyObject *__pyx_v_mask) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  GLuint __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glStencilFuncSeparate", 0);

  /* "renpy/uguu/uguu.pyx":702
 * 
 * def glStencilFuncSeparate(face, func, ref, mask):
 *     renpy.uguu.gl.glStencilFuncSeparate(face, func, ref, mask)             # <<<<<<<<<<<<<<
 * 
 * def glStencilMask(mask):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_face); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 702, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_func); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 702, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_ref); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 702, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLuint(__pyx_v_mask); if (unlikely((__pyx_t_4 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 702, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glStencilFuncSeparate(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":701
 *     renpy.uguu.gl.glStencilFunc(func, ref, mask)
 * 
 * def glStencilFuncSeparate(face, func, ref, mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilFuncSeparate(face, func, ref, mask)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glStencilFuncSeparate", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":704
 *     renpy.uguu.gl.glStencilFuncSeparate(face, func, ref, mask)
 * 
 * def glStencilMask(mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilMask(mask)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_267glStencilMask(PyObject *__pyx_self, PyObject *__pyx_v_mask); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_267glStencilMask = {"glStencilMask", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_267glStencilMask, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_267glStencilMask(PyObject *__pyx_self, PyObject *__pyx_v_mask) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glStencilMask (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_266glStencilMask(__pyx_self, ((PyObject *)__pyx_v_mask));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_266glStencilMask(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_mask) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glStencilMask", 0);

  /* "renpy/uguu/uguu.pyx":705
 * 
 * def glStencilMask(mask):
 *     renpy.uguu.gl.glStencilMask(mask)             # <<<<<<<<<<<<<<
 * 
 * def glStencilMaskSeparate(face, mask):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_mask); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 705, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glStencilMask(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":704
 *     renpy.uguu.gl.glStencilFuncSeparate(face, func, ref, mask)
 * 
 * def glStencilMask(mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilMask(mask)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glStencilMask", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":707
 *     renpy.uguu.gl.glStencilMask(mask)
 * 
 * def glStencilMaskSeparate(face, mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilMaskSeparate(face, mask)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_269glStencilMaskSeparate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_269glStencilMaskSeparate = {"glStencilMaskSeparate", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_269glStencilMaskSeparate, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_269glStencilMaskSeparate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_face = 0;
  PyObject *__pyx_v_mask = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glStencilMaskSeparate (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_face,&__pyx_n_s_mask,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_face)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_mask)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glStencilMaskSeparate", 1, 2, 2, 1); __PYX_ERR(1, 707, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glStencilMaskSeparate") < 0)) __PYX_ERR(1, 707, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_face = values[0];
    __pyx_v_mask = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glStencilMaskSeparate", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 707, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glStencilMaskSeparate", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_268glStencilMaskSeparate(__pyx_self, __pyx_v_face, __pyx_v_mask);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_268glStencilMaskSeparate(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_face, PyObject *__pyx_v_mask) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glStencilMaskSeparate", 0);

  /* "renpy/uguu/uguu.pyx":708
 * 
 * def glStencilMaskSeparate(face, mask):
 *     renpy.uguu.gl.glStencilMaskSeparate(face, mask)             # <<<<<<<<<<<<<<
 * 
 * def glStencilOp(fail, zfail, zpass):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_face); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 708, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_mask); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 708, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glStencilMaskSeparate(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":707
 *     renpy.uguu.gl.glStencilMask(mask)
 * 
 * def glStencilMaskSeparate(face, mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilMaskSeparate(face, mask)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glStencilMaskSeparate", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":710
 *     renpy.uguu.gl.glStencilMaskSeparate(face, mask)
 * 
 * def glStencilOp(fail, zfail, zpass):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilOp(fail, zfail, zpass)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_271glStencilOp(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_271glStencilOp = {"glStencilOp", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_271glStencilOp, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_271glStencilOp(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_fail = 0;
  PyObject *__pyx_v_zfail = 0;
  PyObject *__pyx_v_zpass = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glStencilOp (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_fail,&__pyx_n_s_zfail,&__pyx_n_s_zpass,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_fail)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_zfail)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glStencilOp", 1, 3, 3, 1); __PYX_ERR(1, 710, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_zpass)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glStencilOp", 1, 3, 3, 2); __PYX_ERR(1, 710, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glStencilOp") < 0)) __PYX_ERR(1, 710, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_fail = values[0];
    __pyx_v_zfail = values[1];
    __pyx_v_zpass = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glStencilOp", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 710, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glStencilOp", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_270glStencilOp(__pyx_self, __pyx_v_fail, __pyx_v_zfail, __pyx_v_zpass);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_270glStencilOp(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fail, PyObject *__pyx_v_zfail, PyObject *__pyx_v_zpass) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glStencilOp", 0);

  /* "renpy/uguu/uguu.pyx":711
 * 
 * def glStencilOp(fail, zfail, zpass):
 *     renpy.uguu.gl.glStencilOp(fail, zfail, zpass)             # <<<<<<<<<<<<<<
 * 
 * def glStencilOpSeparate(face, sfail, dpfail, dppass):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_fail); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 711, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_zfail); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 711, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_zpass); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 711, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glStencilOp(__pyx_t_1, __pyx_t_2, __pyx_t_3);

  /* "renpy/uguu/uguu.pyx":710
 *     renpy.uguu.gl.glStencilMaskSeparate(face, mask)
 * 
 * def glStencilOp(fail, zfail, zpass):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilOp(fail, zfail, zpass)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glStencilOp", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":713
 *     renpy.uguu.gl.glStencilOp(fail, zfail, zpass)
 * 
 * def glStencilOpSeparate(face, sfail, dpfail, dppass):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilOpSeparate(face, sfail, dpfail, dppass)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_273glStencilOpSeparate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_273glStencilOpSeparate = {"glStencilOpSeparate", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_273glStencilOpSeparate, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_273glStencilOpSeparate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_face = 0;
  PyObject *__pyx_v_sfail = 0;
  PyObject *__pyx_v_dpfail = 0;
  PyObject *__pyx_v_dppass = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glStencilOpSeparate (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_face,&__pyx_n_s_sfail,&__pyx_n_s_dpfail,&__pyx_n_s_dppass,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_face)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_sfail)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glStencilOpSeparate", 1, 4, 4, 1); __PYX_ERR(1, 713, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dpfail)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glStencilOpSeparate", 1, 4, 4, 2); __PYX_ERR(1, 713, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dppass)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glStencilOpSeparate", 1, 4, 4, 3); __PYX_ERR(1, 713, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glStencilOpSeparate") < 0)) __PYX_ERR(1, 713, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_face = values[0];
    __pyx_v_sfail = values[1];
    __pyx_v_dpfail = values[2];
    __pyx_v_dppass = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glStencilOpSeparate", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 713, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glStencilOpSeparate", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_272glStencilOpSeparate(__pyx_self, __pyx_v_face, __pyx_v_sfail, __pyx_v_dpfail, __pyx_v_dppass);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_272glStencilOpSeparate(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_face, PyObject *__pyx_v_sfail, PyObject *__pyx_v_dpfail, PyObject *__pyx_v_dppass) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  GLenum __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glStencilOpSeparate", 0);

  /* "renpy/uguu/uguu.pyx":714
 * 
 * def glStencilOpSeparate(face, sfail, dpfail, dppass):
 *     renpy.uguu.gl.glStencilOpSeparate(face, sfail, dpfail, dppass)             # <<<<<<<<<<<<<<
 * 
 * def glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_face); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 714, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_sfail); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 714, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_dpfail); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 714, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLenum(__pyx_v_dppass); if (unlikely((__pyx_t_4 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 714, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glStencilOpSeparate(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":713
 *     renpy.uguu.gl.glStencilOp(fail, zfail, zpass)
 * 
 * def glStencilOpSeparate(face, sfail, dpfail, dppass):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilOpSeparate(face, sfail, dpfail, dppass)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glStencilOpSeparate", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":716
 *     renpy.uguu.gl.glStencilOpSeparate(face, sfail, dpfail, dppass)
 * 
 * def glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexImage2D(target, level, internalformat, width, height, border, format, type, <const void *> pixels_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_275glTexImage2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_275glTexImage2D = {"glTexImage2D", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_275glTexImage2D, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_275glTexImage2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_level = 0;
  PyObject *__pyx_v_internalformat = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  PyObject *__pyx_v_border = 0;
  PyObject *__pyx_v_format = 0;
  PyObject *__pyx_v_type = 0;
  PyObject *__pyx_v_pixels = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glTexImage2D (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_level,&__pyx_n_s_internalformat,&__pyx_n_s_width,&__pyx_n_s_height,&__pyx_n_s_border,&__pyx_n_s_format,&__pyx_n_s_type,&__pyx_n_s_pixels,0};
    PyObject* values[9] = {0,0,0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
        CYTHON_FALLTHROUGH;
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage2D", 1, 9, 9, 1); __PYX_ERR(1, 716, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_internalformat)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage2D", 1, 9, 9, 2); __PYX_ERR(1, 716, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage2D", 1, 9, 9, 3); __PYX_ERR(1, 716, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage2D", 1, 9, 9, 4); __PYX_ERR(1, 716, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_border)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage2D", 1, 9, 9, 5); __PYX_ERR(1, 716, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_format)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage2D", 1, 9, 9, 6); __PYX_ERR(1, 716, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage2D", 1, 9, 9, 7); __PYX_ERR(1, 716, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  8:
        if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pixels)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage2D", 1, 9, 9, 8); __PYX_ERR(1, 716, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glTexImage2D") < 0)) __PYX_ERR(1, 716, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 9) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
      values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
      values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
    }
    __pyx_v_target = values[0];
    __pyx_v_level = values[1];
    __pyx_v_internalformat = values[2];
    __pyx_v_width = values[3];
    __pyx_v_height = values[4];
    __pyx_v_border = values[5];
    __pyx_v_format = values[6];
    __pyx_v_type = values[7];
    __pyx_v_pixels = values[8];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glTexImage2D", 1, 9, 9, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 716, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexImage2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_274glTexImage2D(__pyx_self, __pyx_v_target, __pyx_v_level, __pyx_v_internalformat, __pyx_v_width, __pyx_v_height, __pyx_v_border, __pyx_v_format, __pyx_v_type, __pyx_v_pixels);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_274glTexImage2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_border, PyObject *__pyx_v_format, PyObject *__pyx_v_type, PyObject *__pyx_v_pixels) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_pixels_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  GLint __pyx_t_4;
  GLsizei __pyx_t_5;
  GLsizei __pyx_t_6;
  GLint __pyx_t_7;
  GLenum __pyx_t_8;
  GLenum __pyx_t_9;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glTexImage2D", 0);

  /* "renpy/uguu/uguu.pyx":717
 * 
 * def glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels):
 *     cdef ptr pixels_ptr = get_ptr(pixels)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexImage2D(target, level, internalformat, width, height, border, format, type, <const void *> pixels_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_pixels)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 717, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_pixels_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":718
 * def glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels):
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexImage2D(target, level, internalformat, width, height, border, format, type, <const void *> pixels_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 718, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 718, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_internalformat); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 718, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_5 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 718, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_6 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 718, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLint(__pyx_v_border); if (unlikely((__pyx_t_7 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 718, __pyx_L1_error)
  __pyx_t_8 = __Pyx_PyInt_As_GLenum(__pyx_v_format); if (unlikely((__pyx_t_8 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 718, __pyx_L1_error)
  __pyx_t_9 = __Pyx_PyInt_As_GLenum(__pyx_v_type); if (unlikely((__pyx_t_9 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 718, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glTexImage2D(__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8, __pyx_t_9, ((void const *)__pyx_v_pixels_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":716
 *     renpy.uguu.gl.glStencilOpSeparate(face, sfail, dpfail, dppass)
 * 
 * def glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexImage2D(target, level, internalformat, width, height, border, format, type, <const void *> pixels_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexImage2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_pixels_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":720
 *     renpy.uguu.gl.glTexImage2D(target, level, internalformat, width, height, border, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, <const void *> pixels_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_277glTexImage3D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_277glTexImage3D = {"glTexImage3D", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_277glTexImage3D, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_277glTexImage3D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_level = 0;
  PyObject *__pyx_v_internalformat = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  PyObject *__pyx_v_depth = 0;
  PyObject *__pyx_v_border = 0;
  PyObject *__pyx_v_format = 0;
  PyObject *__pyx_v_type = 0;
  PyObject *__pyx_v_pixels = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glTexImage3D (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_level,&__pyx_n_s_internalformat,&__pyx_n_s_width,&__pyx_n_s_height,&__pyx_n_s_depth,&__pyx_n_s_border,&__pyx_n_s_format,&__pyx_n_s_type,&__pyx_n_s_pixels,0};
    PyObject* values[10] = {0,0,0,0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
        CYTHON_FALLTHROUGH;
        case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
        CYTHON_FALLTHROUGH;
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage3D", 1, 10, 10, 1); __PYX_ERR(1, 720, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_internalformat)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage3D", 1, 10, 10, 2); __PYX_ERR(1, 720, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage3D", 1, 10, 10, 3); __PYX_ERR(1, 720, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage3D", 1, 10, 10, 4); __PYX_ERR(1, 720, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_depth)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage3D", 1, 10, 10, 5); __PYX_ERR(1, 720, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_border)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage3D", 1, 10, 10, 6); __PYX_ERR(1, 720, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_format)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage3D", 1, 10, 10, 7); __PYX_ERR(1, 720, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  8:
        if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage3D", 1, 10, 10, 8); __PYX_ERR(1, 720, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  9:
        if (likely((values[9] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pixels)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexImage3D", 1, 10, 10, 9); __PYX_ERR(1, 720, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glTexImage3D") < 0)) __PYX_ERR(1, 720, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 10) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
      values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
      values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
      values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
    }
    __pyx_v_target = values[0];
    __pyx_v_level = values[1];
    __pyx_v_internalformat = values[2];
    __pyx_v_width = values[3];
    __pyx_v_height = values[4];
    __pyx_v_depth = values[5];
    __pyx_v_border = values[6];
    __pyx_v_format = values[7];
    __pyx_v_type = values[8];
    __pyx_v_pixels = values[9];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glTexImage3D", 1, 10, 10, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 720, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexImage3D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_276glTexImage3D(__pyx_self, __pyx_v_target, __pyx_v_level, __pyx_v_internalformat, __pyx_v_width, __pyx_v_height, __pyx_v_depth, __pyx_v_border, __pyx_v_format, __pyx_v_type, __pyx_v_pixels);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_276glTexImage3D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_internalformat, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_depth, PyObject *__pyx_v_border, PyObject *__pyx_v_format, PyObject *__pyx_v_type, PyObject *__pyx_v_pixels) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_pixels_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  GLint __pyx_t_4;
  GLsizei __pyx_t_5;
  GLsizei __pyx_t_6;
  GLsizei __pyx_t_7;
  GLint __pyx_t_8;
  GLenum __pyx_t_9;
  GLenum __pyx_t_10;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glTexImage3D", 0);

  /* "renpy/uguu/uguu.pyx":721
 * 
 * def glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels):
 *     cdef ptr pixels_ptr = get_ptr(pixels)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, <const void *> pixels_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_pixels)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 721, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_pixels_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":722
 * def glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels):
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, <const void *> pixels_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glTexParameterf(target, pname, param):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 722, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 722, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_internalformat); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 722, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_5 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 722, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_6 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 722, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLsizei(__pyx_v_depth); if (unlikely((__pyx_t_7 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 722, __pyx_L1_error)
  __pyx_t_8 = __Pyx_PyInt_As_GLint(__pyx_v_border); if (unlikely((__pyx_t_8 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 722, __pyx_L1_error)
  __pyx_t_9 = __Pyx_PyInt_As_GLenum(__pyx_v_format); if (unlikely((__pyx_t_9 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 722, __pyx_L1_error)
  __pyx_t_10 = __Pyx_PyInt_As_GLenum(__pyx_v_type); if (unlikely((__pyx_t_10 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 722, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glTexImage3D(__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8, __pyx_t_9, __pyx_t_10, ((void const *)__pyx_v_pixels_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":720
 *     renpy.uguu.gl.glTexImage2D(target, level, internalformat, width, height, border, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, <const void *> pixels_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexImage3D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_pixels_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":724
 *     renpy.uguu.gl.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTexParameterf(target, pname, param):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexParameterf(target, pname, param)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_279glTexParameterf(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_279glTexParameterf = {"glTexParameterf", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_279glTexParameterf, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_279glTexParameterf(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_param = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glTexParameterf (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_pname,&__pyx_n_s_param,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexParameterf", 1, 3, 3, 1); __PYX_ERR(1, 724, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_param)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexParameterf", 1, 3, 3, 2); __PYX_ERR(1, 724, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glTexParameterf") < 0)) __PYX_ERR(1, 724, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_param = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glTexParameterf", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 724, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexParameterf", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_278glTexParameterf(__pyx_self, __pyx_v_target, __pyx_v_pname, __pyx_v_param);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_278glTexParameterf(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_param) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  GLfloat __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glTexParameterf", 0);

  /* "renpy/uguu/uguu.pyx":725
 * 
 * def glTexParameterf(target, pname, param):
 *     renpy.uguu.gl.glTexParameterf(target, pname, param)             # <<<<<<<<<<<<<<
 * 
 * def glTexParameterfv(target, pname, params):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 725, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 725, __pyx_L1_error)
  __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_v_param); if (unlikely((__pyx_t_3 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 725, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glTexParameterf(__pyx_t_1, __pyx_t_2, __pyx_t_3);

  /* "renpy/uguu/uguu.pyx":724
 *     renpy.uguu.gl.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTexParameterf(target, pname, param):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexParameterf(target, pname, param)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexParameterf", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":727
 *     renpy.uguu.gl.glTexParameterf(target, pname, param)
 * 
 * def glTexParameterfv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glTexParameterfv(target, pname, <const GLfloat *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_281glTexParameterfv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_281glTexParameterfv = {"glTexParameterfv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_281glTexParameterfv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_281glTexParameterfv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glTexParameterfv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexParameterfv", 1, 3, 3, 1); __PYX_ERR(1, 727, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexParameterfv", 1, 3, 3, 2); __PYX_ERR(1, 727, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glTexParameterfv") < 0)) __PYX_ERR(1, 727, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glTexParameterfv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 727, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexParameterfv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_280glTexParameterfv(__pyx_self, __pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_280glTexParameterfv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glTexParameterfv", 0);

  /* "renpy/uguu/uguu.pyx":728
 * 
 * def glTexParameterfv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexParameterfv(target, pname, <const GLfloat *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 728, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":729
 * def glTexParameterfv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glTexParameterfv(target, pname, <const GLfloat *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glTexParameteri(target, pname, param):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 729, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 729, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glTexParameterfv(__pyx_t_2, __pyx_t_3, ((GLfloat const *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":727
 *     renpy.uguu.gl.glTexParameterf(target, pname, param)
 * 
 * def glTexParameterfv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glTexParameterfv(target, pname, <const GLfloat *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexParameterfv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":731
 *     renpy.uguu.gl.glTexParameterfv(target, pname, <const GLfloat *> params_ptr.ptr)
 * 
 * def glTexParameteri(target, pname, param):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexParameteri(target, pname, param)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_283glTexParameteri(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_283glTexParameteri = {"glTexParameteri", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_283glTexParameteri, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_283glTexParameteri(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_param = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glTexParameteri (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_pname,&__pyx_n_s_param,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexParameteri", 1, 3, 3, 1); __PYX_ERR(1, 731, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_param)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexParameteri", 1, 3, 3, 2); __PYX_ERR(1, 731, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glTexParameteri") < 0)) __PYX_ERR(1, 731, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_param = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glTexParameteri", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 731, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexParameteri", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_282glTexParameteri(__pyx_self, __pyx_v_target, __pyx_v_pname, __pyx_v_param);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_282glTexParameteri(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_param) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glTexParameteri", 0);

  /* "renpy/uguu/uguu.pyx":732
 * 
 * def glTexParameteri(target, pname, param):
 *     renpy.uguu.gl.glTexParameteri(target, pname, param)             # <<<<<<<<<<<<<<
 * 
 * def glTexParameteriv(target, pname, params):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 732, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 732, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_param); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 732, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glTexParameteri(__pyx_t_1, __pyx_t_2, __pyx_t_3);

  /* "renpy/uguu/uguu.pyx":731
 *     renpy.uguu.gl.glTexParameterfv(target, pname, <const GLfloat *> params_ptr.ptr)
 * 
 * def glTexParameteri(target, pname, param):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexParameteri(target, pname, param)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexParameteri", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":734
 *     renpy.uguu.gl.glTexParameteri(target, pname, param)
 * 
 * def glTexParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glTexParameteriv(target, pname, <const GLint *> params_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_285glTexParameteriv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_285glTexParameteriv = {"glTexParameteriv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_285glTexParameteriv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_285glTexParameteriv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_pname = 0;
  PyObject *__pyx_v_params = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glTexParameteriv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_pname,&__pyx_n_s_params,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pname)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexParameteriv", 1, 3, 3, 1); __PYX_ERR(1, 734, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_params)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexParameteriv", 1, 3, 3, 2); __PYX_ERR(1, 734, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glTexParameteriv") < 0)) __PYX_ERR(1, 734, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_target = values[0];
    __pyx_v_pname = values[1];
    __pyx_v_params = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glTexParameteriv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 734, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexParameteriv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_284glTexParameteriv(__pyx_self, __pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_284glTexParameteriv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_pname, PyObject *__pyx_v_params) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_params_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLenum __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glTexParameteriv", 0);

  /* "renpy/uguu/uguu.pyx":735
 * 
 * def glTexParameteriv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexParameteriv(target, pname, <const GLint *> params_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_params)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 735, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_params_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":736
 * def glTexParameteriv(target, pname, params):
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glTexParameteriv(target, pname, <const GLint *> params_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 736, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLenum(__pyx_v_pname); if (unlikely((__pyx_t_3 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 736, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glTexParameteriv(__pyx_t_2, __pyx_t_3, ((GLint const *)__pyx_v_params_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":734
 *     renpy.uguu.gl.glTexParameteri(target, pname, param)
 * 
 * def glTexParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glTexParameteriv(target, pname, <const GLint *> params_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexParameteriv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_params_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":738
 *     renpy.uguu.gl.glTexParameteriv(target, pname, <const GLint *> params_ptr.ptr)
 * 
 * def glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, <const void *> pixels_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_287glTexSubImage2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_287glTexSubImage2D = {"glTexSubImage2D", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_287glTexSubImage2D, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_287glTexSubImage2D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_level = 0;
  PyObject *__pyx_v_xoffset = 0;
  PyObject *__pyx_v_yoffset = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  PyObject *__pyx_v_format = 0;
  PyObject *__pyx_v_type = 0;
  PyObject *__pyx_v_pixels = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glTexSubImage2D (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_level,&__pyx_n_s_xoffset,&__pyx_n_s_yoffset,&__pyx_n_s_width,&__pyx_n_s_height,&__pyx_n_s_format,&__pyx_n_s_type,&__pyx_n_s_pixels,0};
    PyObject* values[9] = {0,0,0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
        CYTHON_FALLTHROUGH;
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage2D", 1, 9, 9, 1); __PYX_ERR(1, 738, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_xoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage2D", 1, 9, 9, 2); __PYX_ERR(1, 738, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_yoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage2D", 1, 9, 9, 3); __PYX_ERR(1, 738, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage2D", 1, 9, 9, 4); __PYX_ERR(1, 738, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage2D", 1, 9, 9, 5); __PYX_ERR(1, 738, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_format)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage2D", 1, 9, 9, 6); __PYX_ERR(1, 738, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage2D", 1, 9, 9, 7); __PYX_ERR(1, 738, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  8:
        if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pixels)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage2D", 1, 9, 9, 8); __PYX_ERR(1, 738, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glTexSubImage2D") < 0)) __PYX_ERR(1, 738, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 9) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
      values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
      values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
    }
    __pyx_v_target = values[0];
    __pyx_v_level = values[1];
    __pyx_v_xoffset = values[2];
    __pyx_v_yoffset = values[3];
    __pyx_v_width = values[4];
    __pyx_v_height = values[5];
    __pyx_v_format = values[6];
    __pyx_v_type = values[7];
    __pyx_v_pixels = values[8];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glTexSubImage2D", 1, 9, 9, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 738, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexSubImage2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_286glTexSubImage2D(__pyx_self, __pyx_v_target, __pyx_v_level, __pyx_v_xoffset, __pyx_v_yoffset, __pyx_v_width, __pyx_v_height, __pyx_v_format, __pyx_v_type, __pyx_v_pixels);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_286glTexSubImage2D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_xoffset, PyObject *__pyx_v_yoffset, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_format, PyObject *__pyx_v_type, PyObject *__pyx_v_pixels) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_pixels_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  GLint __pyx_t_4;
  GLint __pyx_t_5;
  GLsizei __pyx_t_6;
  GLsizei __pyx_t_7;
  GLenum __pyx_t_8;
  GLenum __pyx_t_9;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glTexSubImage2D", 0);

  /* "renpy/uguu/uguu.pyx":739
 * 
 * def glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels):
 *     cdef ptr pixels_ptr = get_ptr(pixels)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, <const void *> pixels_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_pixels)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 739, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_pixels_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":740
 * def glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels):
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, <const void *> pixels_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 740, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 740, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_xoffset); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 740, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLint(__pyx_v_yoffset); if (unlikely((__pyx_t_5 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 740, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_6 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 740, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_7 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 740, __pyx_L1_error)
  __pyx_t_8 = __Pyx_PyInt_As_GLenum(__pyx_v_format); if (unlikely((__pyx_t_8 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 740, __pyx_L1_error)
  __pyx_t_9 = __Pyx_PyInt_As_GLenum(__pyx_v_type); if (unlikely((__pyx_t_9 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 740, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glTexSubImage2D(__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8, __pyx_t_9, ((void const *)__pyx_v_pixels_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":738
 *     renpy.uguu.gl.glTexParameteriv(target, pname, <const GLint *> params_ptr.ptr)
 * 
 * def glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, <const void *> pixels_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexSubImage2D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_pixels_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":742
 *     renpy.uguu.gl.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, <const void *> pixels_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_289glTexSubImage3D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_289glTexSubImage3D = {"glTexSubImage3D", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_289glTexSubImage3D, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_289glTexSubImage3D(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_target = 0;
  PyObject *__pyx_v_level = 0;
  PyObject *__pyx_v_xoffset = 0;
  PyObject *__pyx_v_yoffset = 0;
  PyObject *__pyx_v_zoffset = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  PyObject *__pyx_v_depth = 0;
  PyObject *__pyx_v_format = 0;
  PyObject *__pyx_v_type = 0;
  PyObject *__pyx_v_pixels = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glTexSubImage3D (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_target,&__pyx_n_s_level,&__pyx_n_s_xoffset,&__pyx_n_s_yoffset,&__pyx_n_s_zoffset,&__pyx_n_s_width,&__pyx_n_s_height,&__pyx_n_s_depth,&__pyx_n_s_format,&__pyx_n_s_type,&__pyx_n_s_pixels,0};
    PyObject* values[11] = {0,0,0,0,0,0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case 11: values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
        CYTHON_FALLTHROUGH;
        case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
        CYTHON_FALLTHROUGH;
        case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
        CYTHON_FALLTHROUGH;
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_target)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_level)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage3D", 1, 11, 11, 1); __PYX_ERR(1, 742, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_xoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage3D", 1, 11, 11, 2); __PYX_ERR(1, 742, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_yoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage3D", 1, 11, 11, 3); __PYX_ERR(1, 742, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_zoffset)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage3D", 1, 11, 11, 4); __PYX_ERR(1, 742, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage3D", 1, 11, 11, 5); __PYX_ERR(1, 742, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage3D", 1, 11, 11, 6); __PYX_ERR(1, 742, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_depth)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage3D", 1, 11, 11, 7); __PYX_ERR(1, 742, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  8:
        if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_format)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage3D", 1, 11, 11, 8); __PYX_ERR(1, 742, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  9:
        if (likely((values[9] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage3D", 1, 11, 11, 9); __PYX_ERR(1, 742, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case 10:
        if (likely((values[10] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pixels)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTexSubImage3D", 1, 11, 11, 10); __PYX_ERR(1, 742, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glTexSubImage3D") < 0)) __PYX_ERR(1, 742, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 11) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
      values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
      values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
      values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
      values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
      values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
    }
    __pyx_v_target = values[0];
    __pyx_v_level = values[1];
    __pyx_v_xoffset = values[2];
    __pyx_v_yoffset = values[3];
    __pyx_v_zoffset = values[4];
    __pyx_v_width = values[5];
    __pyx_v_height = values[6];
    __pyx_v_depth = values[7];
    __pyx_v_format = values[8];
    __pyx_v_type = values[9];
    __pyx_v_pixels = values[10];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glTexSubImage3D", 1, 11, 11, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 742, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexSubImage3D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_288glTexSubImage3D(__pyx_self, __pyx_v_target, __pyx_v_level, __pyx_v_xoffset, __pyx_v_yoffset, __pyx_v_zoffset, __pyx_v_width, __pyx_v_height, __pyx_v_depth, __pyx_v_format, __pyx_v_type, __pyx_v_pixels);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_288glTexSubImage3D(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target, PyObject *__pyx_v_level, PyObject *__pyx_v_xoffset, PyObject *__pyx_v_yoffset, PyObject *__pyx_v_zoffset, PyObject *__pyx_v_width, PyObject *__pyx_v_height, PyObject *__pyx_v_depth, PyObject *__pyx_v_format, PyObject *__pyx_v_type, PyObject *__pyx_v_pixels) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_pixels_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLenum __pyx_t_2;
  GLint __pyx_t_3;
  GLint __pyx_t_4;
  GLint __pyx_t_5;
  GLint __pyx_t_6;
  GLsizei __pyx_t_7;
  GLsizei __pyx_t_8;
  GLsizei __pyx_t_9;
  GLenum __pyx_t_10;
  GLenum __pyx_t_11;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glTexSubImage3D", 0);

  /* "renpy/uguu/uguu.pyx":743
 * 
 * def glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels):
 *     cdef ptr pixels_ptr = get_ptr(pixels)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, <const void *> pixels_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_pixels)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 743, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_pixels_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":744
 * def glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels):
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, <const void *> pixels_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glTransformFeedbackVaryings(program, count, varyings, bufferMode):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_2 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 744, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_level); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 744, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_xoffset); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 744, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLint(__pyx_v_yoffset); if (unlikely((__pyx_t_5 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 744, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLint(__pyx_v_zoffset); if (unlikely((__pyx_t_6 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 744, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_7 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 744, __pyx_L1_error)
  __pyx_t_8 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_8 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 744, __pyx_L1_error)
  __pyx_t_9 = __Pyx_PyInt_As_GLsizei(__pyx_v_depth); if (unlikely((__pyx_t_9 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 744, __pyx_L1_error)
  __pyx_t_10 = __Pyx_PyInt_As_GLenum(__pyx_v_format); if (unlikely((__pyx_t_10 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 744, __pyx_L1_error)
  __pyx_t_11 = __Pyx_PyInt_As_GLenum(__pyx_v_type); if (unlikely((__pyx_t_11 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 744, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glTexSubImage3D(__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8, __pyx_t_9, __pyx_t_10, __pyx_t_11, ((void const *)__pyx_v_pixels_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":742
 *     renpy.uguu.gl.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, <const void *> pixels_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glTexSubImage3D", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_pixels_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":746
 *     renpy.uguu.gl.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTransformFeedbackVaryings(program, count, varyings, bufferMode):             # <<<<<<<<<<<<<<
 *     cdef ptr varyings_ptr = get_ptr(varyings)
 *     renpy.uguu.gl.glTransformFeedbackVaryings(program, count, <const GLchar *const*> varyings_ptr.ptr, bufferMode)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_291glTransformFeedbackVaryings(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_291glTransformFeedbackVaryings = {"glTransformFeedbackVaryings", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_291glTransformFeedbackVaryings, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_291glTransformFeedbackVaryings(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_program = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_varyings = 0;
  PyObject *__pyx_v_bufferMode = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glTransformFeedbackVaryings (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_program,&__pyx_n_s_count,&__pyx_n_s_varyings,&__pyx_n_s_bufferMode,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_program)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTransformFeedbackVaryings", 1, 4, 4, 1); __PYX_ERR(1, 746, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_varyings)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTransformFeedbackVaryings", 1, 4, 4, 2); __PYX_ERR(1, 746, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_bufferMode)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glTransformFeedbackVaryings", 1, 4, 4, 3); __PYX_ERR(1, 746, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glTransformFeedbackVaryings") < 0)) __PYX_ERR(1, 746, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_program = values[0];
    __pyx_v_count = values[1];
    __pyx_v_varyings = values[2];
    __pyx_v_bufferMode = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glTransformFeedbackVaryings", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 746, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glTransformFeedbackVaryings", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_290glTransformFeedbackVaryings(__pyx_self, __pyx_v_program, __pyx_v_count, __pyx_v_varyings, __pyx_v_bufferMode);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_290glTransformFeedbackVaryings(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program, PyObject *__pyx_v_count, PyObject *__pyx_v_varyings, PyObject *__pyx_v_bufferMode) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_varyings_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLsizei __pyx_t_3;
  GLenum __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glTransformFeedbackVaryings", 0);

  /* "renpy/uguu/uguu.pyx":747
 * 
 * def glTransformFeedbackVaryings(program, count, varyings, bufferMode):
 *     cdef ptr varyings_ptr = get_ptr(varyings)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTransformFeedbackVaryings(program, count, <const GLchar *const*> varyings_ptr.ptr, bufferMode)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_varyings)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 747, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_varyings_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":748
 * def glTransformFeedbackVaryings(program, count, varyings, bufferMode):
 *     cdef ptr varyings_ptr = get_ptr(varyings)
 *     renpy.uguu.gl.glTransformFeedbackVaryings(program, count, <const GLchar *const*> varyings_ptr.ptr, bufferMode)             # <<<<<<<<<<<<<<
 * 
 * def glUniform1f(location, v0):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 748, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 748, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLenum(__pyx_v_bufferMode); if (unlikely((__pyx_t_4 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 748, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glTransformFeedbackVaryings(__pyx_t_2, __pyx_t_3, ((GLchar const *const *)__pyx_v_varyings_ptr->ptr), __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":746
 *     renpy.uguu.gl.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTransformFeedbackVaryings(program, count, varyings, bufferMode):             # <<<<<<<<<<<<<<
 *     cdef ptr varyings_ptr = get_ptr(varyings)
 *     renpy.uguu.gl.glTransformFeedbackVaryings(program, count, <const GLchar *const*> varyings_ptr.ptr, bufferMode)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glTransformFeedbackVaryings", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_varyings_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":750
 *     renpy.uguu.gl.glTransformFeedbackVaryings(program, count, <const GLchar *const*> varyings_ptr.ptr, bufferMode)
 * 
 * def glUniform1f(location, v0):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1f(location, v0)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_293glUniform1f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_293glUniform1f = {"glUniform1f", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_293glUniform1f, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_293glUniform1f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_v0 = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform1f (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_v0,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform1f", 1, 2, 2, 1); __PYX_ERR(1, 750, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform1f") < 0)) __PYX_ERR(1, 750, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_location = values[0];
    __pyx_v_v0 = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform1f", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 750, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform1f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_292glUniform1f(__pyx_self, __pyx_v_location, __pyx_v_v0);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_292glUniform1f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLfloat __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform1f", 0);

  /* "renpy/uguu/uguu.pyx":751
 * 
 * def glUniform1f(location, v0):
 *     renpy.uguu.gl.glUniform1f(location, v0)             # <<<<<<<<<<<<<<
 * 
 * def glUniform1fv(location, count, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 751, __pyx_L1_error)
  __pyx_t_2 = __pyx_PyFloat_AsFloat(__pyx_v_v0); if (unlikely((__pyx_t_2 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 751, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform1f(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":750
 *     renpy.uguu.gl.glTransformFeedbackVaryings(program, count, <const GLchar *const*> varyings_ptr.ptr, bufferMode)
 * 
 * def glUniform1f(location, v0):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1f(location, v0)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform1f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":753
 *     renpy.uguu.gl.glUniform1f(location, v0)
 * 
 * def glUniform1fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1fv(location, count, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_295glUniform1fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_295glUniform1fv = {"glUniform1fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_295glUniform1fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_295glUniform1fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform1fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform1fv", 1, 3, 3, 1); __PYX_ERR(1, 753, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform1fv", 1, 3, 3, 2); __PYX_ERR(1, 753, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform1fv") < 0)) __PYX_ERR(1, 753, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform1fv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 753, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform1fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_294glUniform1fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_294glUniform1fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform1fv", 0);

  /* "renpy/uguu/uguu.pyx":754
 * 
 * def glUniform1fv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 754, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":755
 * def glUniform1fv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1fv(location, count, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniform1i(location, v0):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 755, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 755, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform1fv(__pyx_t_2, __pyx_t_3, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":753
 *     renpy.uguu.gl.glUniform1f(location, v0)
 * 
 * def glUniform1fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1fv(location, count, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform1fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":757
 *     renpy.uguu.gl.glUniform1fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform1i(location, v0):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1i(location, v0)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_297glUniform1i(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_297glUniform1i = {"glUniform1i", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_297glUniform1i, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_297glUniform1i(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_v0 = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform1i (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_v0,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform1i", 1, 2, 2, 1); __PYX_ERR(1, 757, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform1i") < 0)) __PYX_ERR(1, 757, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_location = values[0];
    __pyx_v_v0 = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform1i", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 757, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform1i", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_296glUniform1i(__pyx_self, __pyx_v_location, __pyx_v_v0);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_296glUniform1i(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform1i", 0);

  /* "renpy/uguu/uguu.pyx":758
 * 
 * def glUniform1i(location, v0):
 *     renpy.uguu.gl.glUniform1i(location, v0)             # <<<<<<<<<<<<<<
 * 
 * def glUniform1iv(location, count, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 758, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_v0); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 758, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform1i(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":757
 *     renpy.uguu.gl.glUniform1fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform1i(location, v0):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1i(location, v0)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform1i", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":760
 *     renpy.uguu.gl.glUniform1i(location, v0)
 * 
 * def glUniform1iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1iv(location, count, <const GLint *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_299glUniform1iv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_299glUniform1iv = {"glUniform1iv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_299glUniform1iv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_299glUniform1iv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform1iv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform1iv", 1, 3, 3, 1); __PYX_ERR(1, 760, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform1iv", 1, 3, 3, 2); __PYX_ERR(1, 760, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform1iv") < 0)) __PYX_ERR(1, 760, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform1iv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 760, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform1iv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_298glUniform1iv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_298glUniform1iv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform1iv", 0);

  /* "renpy/uguu/uguu.pyx":761
 * 
 * def glUniform1iv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 761, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":762
 * def glUniform1iv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1iv(location, count, <const GLint *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniform1ui(location, v0):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 762, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 762, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform1iv(__pyx_t_2, __pyx_t_3, ((GLint const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":760
 *     renpy.uguu.gl.glUniform1i(location, v0)
 * 
 * def glUniform1iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1iv(location, count, <const GLint *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform1iv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":764
 *     renpy.uguu.gl.glUniform1iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform1ui(location, v0):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1ui(location, v0)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_301glUniform1ui(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_301glUniform1ui = {"glUniform1ui", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_301glUniform1ui, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_301glUniform1ui(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_v0 = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform1ui (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_v0,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform1ui", 1, 2, 2, 1); __PYX_ERR(1, 764, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform1ui") < 0)) __PYX_ERR(1, 764, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_location = values[0];
    __pyx_v_v0 = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform1ui", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 764, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform1ui", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_300glUniform1ui(__pyx_self, __pyx_v_location, __pyx_v_v0);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_300glUniform1ui(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform1ui", 0);

  /* "renpy/uguu/uguu.pyx":765
 * 
 * def glUniform1ui(location, v0):
 *     renpy.uguu.gl.glUniform1ui(location, v0)             # <<<<<<<<<<<<<<
 * 
 * def glUniform1uiv(location, count, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 765, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_v0); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 765, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform1ui(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":764
 *     renpy.uguu.gl.glUniform1iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform1ui(location, v0):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1ui(location, v0)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform1ui", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":767
 *     renpy.uguu.gl.glUniform1ui(location, v0)
 * 
 * def glUniform1uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1uiv(location, count, <const GLuint *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_303glUniform1uiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_303glUniform1uiv = {"glUniform1uiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_303glUniform1uiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_303glUniform1uiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform1uiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform1uiv", 1, 3, 3, 1); __PYX_ERR(1, 767, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform1uiv", 1, 3, 3, 2); __PYX_ERR(1, 767, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform1uiv") < 0)) __PYX_ERR(1, 767, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform1uiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 767, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform1uiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_302glUniform1uiv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_302glUniform1uiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform1uiv", 0);

  /* "renpy/uguu/uguu.pyx":768
 * 
 * def glUniform1uiv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 768, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":769
 * def glUniform1uiv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1uiv(location, count, <const GLuint *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniform2f(location, v0, v1):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 769, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 769, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform1uiv(__pyx_t_2, __pyx_t_3, ((GLuint const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":767
 *     renpy.uguu.gl.glUniform1ui(location, v0)
 * 
 * def glUniform1uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1uiv(location, count, <const GLuint *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform1uiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":771
 *     renpy.uguu.gl.glUniform1uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniform2f(location, v0, v1):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2f(location, v0, v1)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_305glUniform2f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_305glUniform2f = {"glUniform2f", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_305glUniform2f, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_305glUniform2f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_v0 = 0;
  PyObject *__pyx_v_v1 = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform2f (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_v0,&__pyx_n_s_v1,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform2f", 1, 3, 3, 1); __PYX_ERR(1, 771, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform2f", 1, 3, 3, 2); __PYX_ERR(1, 771, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform2f") < 0)) __PYX_ERR(1, 771, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_v0 = values[1];
    __pyx_v_v1 = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform2f", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 771, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform2f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_304glUniform2f(__pyx_self, __pyx_v_location, __pyx_v_v0, __pyx_v_v1);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_304glUniform2f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLfloat __pyx_t_2;
  GLfloat __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform2f", 0);

  /* "renpy/uguu/uguu.pyx":772
 * 
 * def glUniform2f(location, v0, v1):
 *     renpy.uguu.gl.glUniform2f(location, v0, v1)             # <<<<<<<<<<<<<<
 * 
 * def glUniform2fv(location, count, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 772, __pyx_L1_error)
  __pyx_t_2 = __pyx_PyFloat_AsFloat(__pyx_v_v0); if (unlikely((__pyx_t_2 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 772, __pyx_L1_error)
  __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_v_v1); if (unlikely((__pyx_t_3 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 772, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform2f(__pyx_t_1, __pyx_t_2, __pyx_t_3);

  /* "renpy/uguu/uguu.pyx":771
 *     renpy.uguu.gl.glUniform1uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniform2f(location, v0, v1):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2f(location, v0, v1)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform2f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":774
 *     renpy.uguu.gl.glUniform2f(location, v0, v1)
 * 
 * def glUniform2fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2fv(location, count, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_307glUniform2fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_307glUniform2fv = {"glUniform2fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_307glUniform2fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_307glUniform2fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform2fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform2fv", 1, 3, 3, 1); __PYX_ERR(1, 774, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform2fv", 1, 3, 3, 2); __PYX_ERR(1, 774, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform2fv") < 0)) __PYX_ERR(1, 774, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform2fv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 774, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform2fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_306glUniform2fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_306glUniform2fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform2fv", 0);

  /* "renpy/uguu/uguu.pyx":775
 * 
 * def glUniform2fv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 775, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":776
 * def glUniform2fv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2fv(location, count, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniform2i(location, v0, v1):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 776, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 776, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform2fv(__pyx_t_2, __pyx_t_3, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":774
 *     renpy.uguu.gl.glUniform2f(location, v0, v1)
 * 
 * def glUniform2fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2fv(location, count, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform2fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":778
 *     renpy.uguu.gl.glUniform2fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform2i(location, v0, v1):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2i(location, v0, v1)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_309glUniform2i(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_309glUniform2i = {"glUniform2i", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_309glUniform2i, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_309glUniform2i(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_v0 = 0;
  PyObject *__pyx_v_v1 = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform2i (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_v0,&__pyx_n_s_v1,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform2i", 1, 3, 3, 1); __PYX_ERR(1, 778, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform2i", 1, 3, 3, 2); __PYX_ERR(1, 778, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform2i") < 0)) __PYX_ERR(1, 778, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_v0 = values[1];
    __pyx_v_v1 = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform2i", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 778, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform2i", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_308glUniform2i(__pyx_self, __pyx_v_location, __pyx_v_v0, __pyx_v_v1);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_308glUniform2i(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLint __pyx_t_2;
  GLint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform2i", 0);

  /* "renpy/uguu/uguu.pyx":779
 * 
 * def glUniform2i(location, v0, v1):
 *     renpy.uguu.gl.glUniform2i(location, v0, v1)             # <<<<<<<<<<<<<<
 * 
 * def glUniform2iv(location, count, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 779, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_v0); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 779, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_v1); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 779, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform2i(__pyx_t_1, __pyx_t_2, __pyx_t_3);

  /* "renpy/uguu/uguu.pyx":778
 *     renpy.uguu.gl.glUniform2fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform2i(location, v0, v1):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2i(location, v0, v1)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform2i", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":781
 *     renpy.uguu.gl.glUniform2i(location, v0, v1)
 * 
 * def glUniform2iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2iv(location, count, <const GLint *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_311glUniform2iv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_311glUniform2iv = {"glUniform2iv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_311glUniform2iv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_311glUniform2iv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform2iv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform2iv", 1, 3, 3, 1); __PYX_ERR(1, 781, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform2iv", 1, 3, 3, 2); __PYX_ERR(1, 781, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform2iv") < 0)) __PYX_ERR(1, 781, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform2iv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 781, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform2iv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_310glUniform2iv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_310glUniform2iv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform2iv", 0);

  /* "renpy/uguu/uguu.pyx":782
 * 
 * def glUniform2iv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 782, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":783
 * def glUniform2iv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2iv(location, count, <const GLint *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniform2ui(location, v0, v1):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 783, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 783, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform2iv(__pyx_t_2, __pyx_t_3, ((GLint const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":781
 *     renpy.uguu.gl.glUniform2i(location, v0, v1)
 * 
 * def glUniform2iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2iv(location, count, <const GLint *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform2iv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":785
 *     renpy.uguu.gl.glUniform2iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform2ui(location, v0, v1):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2ui(location, v0, v1)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_313glUniform2ui(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_313glUniform2ui = {"glUniform2ui", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_313glUniform2ui, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_313glUniform2ui(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_v0 = 0;
  PyObject *__pyx_v_v1 = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform2ui (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_v0,&__pyx_n_s_v1,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform2ui", 1, 3, 3, 1); __PYX_ERR(1, 785, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform2ui", 1, 3, 3, 2); __PYX_ERR(1, 785, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform2ui") < 0)) __PYX_ERR(1, 785, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_v0 = values[1];
    __pyx_v_v1 = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform2ui", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 785, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform2ui", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_312glUniform2ui(__pyx_self, __pyx_v_location, __pyx_v_v0, __pyx_v_v1);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_312glUniform2ui(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLuint __pyx_t_2;
  GLuint __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform2ui", 0);

  /* "renpy/uguu/uguu.pyx":786
 * 
 * def glUniform2ui(location, v0, v1):
 *     renpy.uguu.gl.glUniform2ui(location, v0, v1)             # <<<<<<<<<<<<<<
 * 
 * def glUniform2uiv(location, count, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 786, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_v0); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 786, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_v1); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 786, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform2ui(__pyx_t_1, __pyx_t_2, __pyx_t_3);

  /* "renpy/uguu/uguu.pyx":785
 *     renpy.uguu.gl.glUniform2iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform2ui(location, v0, v1):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2ui(location, v0, v1)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform2ui", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":788
 *     renpy.uguu.gl.glUniform2ui(location, v0, v1)
 * 
 * def glUniform2uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2uiv(location, count, <const GLuint *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_315glUniform2uiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_315glUniform2uiv = {"glUniform2uiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_315glUniform2uiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_315glUniform2uiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform2uiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform2uiv", 1, 3, 3, 1); __PYX_ERR(1, 788, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform2uiv", 1, 3, 3, 2); __PYX_ERR(1, 788, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform2uiv") < 0)) __PYX_ERR(1, 788, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform2uiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 788, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform2uiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_314glUniform2uiv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_314glUniform2uiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform2uiv", 0);

  /* "renpy/uguu/uguu.pyx":789
 * 
 * def glUniform2uiv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 789, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":790
 * def glUniform2uiv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2uiv(location, count, <const GLuint *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniform3f(location, v0, v1, v2):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 790, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 790, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform2uiv(__pyx_t_2, __pyx_t_3, ((GLuint const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":788
 *     renpy.uguu.gl.glUniform2ui(location, v0, v1)
 * 
 * def glUniform2uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2uiv(location, count, <const GLuint *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform2uiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":792
 *     renpy.uguu.gl.glUniform2uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniform3f(location, v0, v1, v2):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3f(location, v0, v1, v2)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_317glUniform3f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_317glUniform3f = {"glUniform3f", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_317glUniform3f, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_317glUniform3f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_v0 = 0;
  PyObject *__pyx_v_v1 = 0;
  PyObject *__pyx_v_v2 = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform3f (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_v0,&__pyx_n_s_v1,&__pyx_n_s_v2,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3f", 1, 4, 4, 1); __PYX_ERR(1, 792, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3f", 1, 4, 4, 2); __PYX_ERR(1, 792, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v2)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3f", 1, 4, 4, 3); __PYX_ERR(1, 792, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform3f") < 0)) __PYX_ERR(1, 792, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_location = values[0];
    __pyx_v_v0 = values[1];
    __pyx_v_v1 = values[2];
    __pyx_v_v2 = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform3f", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 792, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform3f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_316glUniform3f(__pyx_self, __pyx_v_location, __pyx_v_v0, __pyx_v_v1, __pyx_v_v2);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_316glUniform3f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1, PyObject *__pyx_v_v2) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLfloat __pyx_t_2;
  GLfloat __pyx_t_3;
  GLfloat __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform3f", 0);

  /* "renpy/uguu/uguu.pyx":793
 * 
 * def glUniform3f(location, v0, v1, v2):
 *     renpy.uguu.gl.glUniform3f(location, v0, v1, v2)             # <<<<<<<<<<<<<<
 * 
 * def glUniform3fv(location, count, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 793, __pyx_L1_error)
  __pyx_t_2 = __pyx_PyFloat_AsFloat(__pyx_v_v0); if (unlikely((__pyx_t_2 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 793, __pyx_L1_error)
  __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_v_v1); if (unlikely((__pyx_t_3 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 793, __pyx_L1_error)
  __pyx_t_4 = __pyx_PyFloat_AsFloat(__pyx_v_v2); if (unlikely((__pyx_t_4 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 793, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform3f(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":792
 *     renpy.uguu.gl.glUniform2uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniform3f(location, v0, v1, v2):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3f(location, v0, v1, v2)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform3f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":795
 *     renpy.uguu.gl.glUniform3f(location, v0, v1, v2)
 * 
 * def glUniform3fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3fv(location, count, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_319glUniform3fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_319glUniform3fv = {"glUniform3fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_319glUniform3fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_319glUniform3fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform3fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3fv", 1, 3, 3, 1); __PYX_ERR(1, 795, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3fv", 1, 3, 3, 2); __PYX_ERR(1, 795, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform3fv") < 0)) __PYX_ERR(1, 795, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform3fv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 795, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform3fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_318glUniform3fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_318glUniform3fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform3fv", 0);

  /* "renpy/uguu/uguu.pyx":796
 * 
 * def glUniform3fv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 796, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":797
 * def glUniform3fv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3fv(location, count, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniform3i(location, v0, v1, v2):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 797, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 797, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform3fv(__pyx_t_2, __pyx_t_3, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":795
 *     renpy.uguu.gl.glUniform3f(location, v0, v1, v2)
 * 
 * def glUniform3fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3fv(location, count, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform3fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":799
 *     renpy.uguu.gl.glUniform3fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform3i(location, v0, v1, v2):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3i(location, v0, v1, v2)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_321glUniform3i(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_321glUniform3i = {"glUniform3i", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_321glUniform3i, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_321glUniform3i(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_v0 = 0;
  PyObject *__pyx_v_v1 = 0;
  PyObject *__pyx_v_v2 = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform3i (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_v0,&__pyx_n_s_v1,&__pyx_n_s_v2,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3i", 1, 4, 4, 1); __PYX_ERR(1, 799, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3i", 1, 4, 4, 2); __PYX_ERR(1, 799, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v2)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3i", 1, 4, 4, 3); __PYX_ERR(1, 799, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform3i") < 0)) __PYX_ERR(1, 799, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_location = values[0];
    __pyx_v_v0 = values[1];
    __pyx_v_v1 = values[2];
    __pyx_v_v2 = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform3i", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 799, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform3i", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_320glUniform3i(__pyx_self, __pyx_v_location, __pyx_v_v0, __pyx_v_v1, __pyx_v_v2);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_320glUniform3i(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1, PyObject *__pyx_v_v2) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLint __pyx_t_2;
  GLint __pyx_t_3;
  GLint __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform3i", 0);

  /* "renpy/uguu/uguu.pyx":800
 * 
 * def glUniform3i(location, v0, v1, v2):
 *     renpy.uguu.gl.glUniform3i(location, v0, v1, v2)             # <<<<<<<<<<<<<<
 * 
 * def glUniform3iv(location, count, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 800, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_v0); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 800, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_v1); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 800, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_v2); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 800, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform3i(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":799
 *     renpy.uguu.gl.glUniform3fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform3i(location, v0, v1, v2):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3i(location, v0, v1, v2)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform3i", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":802
 *     renpy.uguu.gl.glUniform3i(location, v0, v1, v2)
 * 
 * def glUniform3iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3iv(location, count, <const GLint *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_323glUniform3iv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_323glUniform3iv = {"glUniform3iv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_323glUniform3iv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_323glUniform3iv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform3iv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3iv", 1, 3, 3, 1); __PYX_ERR(1, 802, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3iv", 1, 3, 3, 2); __PYX_ERR(1, 802, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform3iv") < 0)) __PYX_ERR(1, 802, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform3iv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 802, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform3iv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_322glUniform3iv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_322glUniform3iv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform3iv", 0);

  /* "renpy/uguu/uguu.pyx":803
 * 
 * def glUniform3iv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 803, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":804
 * def glUniform3iv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3iv(location, count, <const GLint *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniform3ui(location, v0, v1, v2):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 804, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 804, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform3iv(__pyx_t_2, __pyx_t_3, ((GLint const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":802
 *     renpy.uguu.gl.glUniform3i(location, v0, v1, v2)
 * 
 * def glUniform3iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3iv(location, count, <const GLint *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform3iv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":806
 *     renpy.uguu.gl.glUniform3iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform3ui(location, v0, v1, v2):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3ui(location, v0, v1, v2)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_325glUniform3ui(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_325glUniform3ui = {"glUniform3ui", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_325glUniform3ui, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_325glUniform3ui(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_v0 = 0;
  PyObject *__pyx_v_v1 = 0;
  PyObject *__pyx_v_v2 = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform3ui (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_v0,&__pyx_n_s_v1,&__pyx_n_s_v2,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3ui", 1, 4, 4, 1); __PYX_ERR(1, 806, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3ui", 1, 4, 4, 2); __PYX_ERR(1, 806, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v2)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3ui", 1, 4, 4, 3); __PYX_ERR(1, 806, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform3ui") < 0)) __PYX_ERR(1, 806, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_location = values[0];
    __pyx_v_v0 = values[1];
    __pyx_v_v1 = values[2];
    __pyx_v_v2 = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform3ui", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 806, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform3ui", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_324glUniform3ui(__pyx_self, __pyx_v_location, __pyx_v_v0, __pyx_v_v1, __pyx_v_v2);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_324glUniform3ui(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1, PyObject *__pyx_v_v2) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLuint __pyx_t_2;
  GLuint __pyx_t_3;
  GLuint __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform3ui", 0);

  /* "renpy/uguu/uguu.pyx":807
 * 
 * def glUniform3ui(location, v0, v1, v2):
 *     renpy.uguu.gl.glUniform3ui(location, v0, v1, v2)             # <<<<<<<<<<<<<<
 * 
 * def glUniform3uiv(location, count, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 807, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_v0); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 807, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_v1); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 807, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLuint(__pyx_v_v2); if (unlikely((__pyx_t_4 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 807, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform3ui(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":806
 *     renpy.uguu.gl.glUniform3iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform3ui(location, v0, v1, v2):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3ui(location, v0, v1, v2)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform3ui", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":809
 *     renpy.uguu.gl.glUniform3ui(location, v0, v1, v2)
 * 
 * def glUniform3uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3uiv(location, count, <const GLuint *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_327glUniform3uiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_327glUniform3uiv = {"glUniform3uiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_327glUniform3uiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_327glUniform3uiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform3uiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3uiv", 1, 3, 3, 1); __PYX_ERR(1, 809, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform3uiv", 1, 3, 3, 2); __PYX_ERR(1, 809, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform3uiv") < 0)) __PYX_ERR(1, 809, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform3uiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 809, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform3uiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_326glUniform3uiv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_326glUniform3uiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform3uiv", 0);

  /* "renpy/uguu/uguu.pyx":810
 * 
 * def glUniform3uiv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 810, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":811
 * def glUniform3uiv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3uiv(location, count, <const GLuint *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniform4f(location, v0, v1, v2, v3):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 811, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 811, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform3uiv(__pyx_t_2, __pyx_t_3, ((GLuint const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":809
 *     renpy.uguu.gl.glUniform3ui(location, v0, v1, v2)
 * 
 * def glUniform3uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3uiv(location, count, <const GLuint *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform3uiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":813
 *     renpy.uguu.gl.glUniform3uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniform4f(location, v0, v1, v2, v3):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4f(location, v0, v1, v2, v3)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_329glUniform4f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_329glUniform4f = {"glUniform4f", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_329glUniform4f, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_329glUniform4f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_v0 = 0;
  PyObject *__pyx_v_v1 = 0;
  PyObject *__pyx_v_v2 = 0;
  PyObject *__pyx_v_v3 = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform4f (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_v0,&__pyx_n_s_v1,&__pyx_n_s_v2,&__pyx_n_s_v3,0};
    PyObject* values[5] = {0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4f", 1, 5, 5, 1); __PYX_ERR(1, 813, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4f", 1, 5, 5, 2); __PYX_ERR(1, 813, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v2)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4f", 1, 5, 5, 3); __PYX_ERR(1, 813, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v3)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4f", 1, 5, 5, 4); __PYX_ERR(1, 813, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform4f") < 0)) __PYX_ERR(1, 813, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
    }
    __pyx_v_location = values[0];
    __pyx_v_v0 = values[1];
    __pyx_v_v1 = values[2];
    __pyx_v_v2 = values[3];
    __pyx_v_v3 = values[4];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform4f", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 813, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform4f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_328glUniform4f(__pyx_self, __pyx_v_location, __pyx_v_v0, __pyx_v_v1, __pyx_v_v2, __pyx_v_v3);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_328glUniform4f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1, PyObject *__pyx_v_v2, PyObject *__pyx_v_v3) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLfloat __pyx_t_2;
  GLfloat __pyx_t_3;
  GLfloat __pyx_t_4;
  GLfloat __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform4f", 0);

  /* "renpy/uguu/uguu.pyx":814
 * 
 * def glUniform4f(location, v0, v1, v2, v3):
 *     renpy.uguu.gl.glUniform4f(location, v0, v1, v2, v3)             # <<<<<<<<<<<<<<
 * 
 * def glUniform4fv(location, count, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 814, __pyx_L1_error)
  __pyx_t_2 = __pyx_PyFloat_AsFloat(__pyx_v_v0); if (unlikely((__pyx_t_2 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 814, __pyx_L1_error)
  __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_v_v1); if (unlikely((__pyx_t_3 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 814, __pyx_L1_error)
  __pyx_t_4 = __pyx_PyFloat_AsFloat(__pyx_v_v2); if (unlikely((__pyx_t_4 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 814, __pyx_L1_error)
  __pyx_t_5 = __pyx_PyFloat_AsFloat(__pyx_v_v3); if (unlikely((__pyx_t_5 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 814, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform4f(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5);

  /* "renpy/uguu/uguu.pyx":813
 *     renpy.uguu.gl.glUniform3uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniform4f(location, v0, v1, v2, v3):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4f(location, v0, v1, v2, v3)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform4f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":816
 *     renpy.uguu.gl.glUniform4f(location, v0, v1, v2, v3)
 * 
 * def glUniform4fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4fv(location, count, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_331glUniform4fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_331glUniform4fv = {"glUniform4fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_331glUniform4fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_331glUniform4fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform4fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4fv", 1, 3, 3, 1); __PYX_ERR(1, 816, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4fv", 1, 3, 3, 2); __PYX_ERR(1, 816, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform4fv") < 0)) __PYX_ERR(1, 816, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform4fv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 816, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform4fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_330glUniform4fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_330glUniform4fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform4fv", 0);

  /* "renpy/uguu/uguu.pyx":817
 * 
 * def glUniform4fv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 817, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":818
 * def glUniform4fv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4fv(location, count, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniform4i(location, v0, v1, v2, v3):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 818, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 818, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform4fv(__pyx_t_2, __pyx_t_3, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":816
 *     renpy.uguu.gl.glUniform4f(location, v0, v1, v2, v3)
 * 
 * def glUniform4fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4fv(location, count, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform4fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":820
 *     renpy.uguu.gl.glUniform4fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform4i(location, v0, v1, v2, v3):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4i(location, v0, v1, v2, v3)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_333glUniform4i(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_333glUniform4i = {"glUniform4i", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_333glUniform4i, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_333glUniform4i(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_v0 = 0;
  PyObject *__pyx_v_v1 = 0;
  PyObject *__pyx_v_v2 = 0;
  PyObject *__pyx_v_v3 = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform4i (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_v0,&__pyx_n_s_v1,&__pyx_n_s_v2,&__pyx_n_s_v3,0};
    PyObject* values[5] = {0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4i", 1, 5, 5, 1); __PYX_ERR(1, 820, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4i", 1, 5, 5, 2); __PYX_ERR(1, 820, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v2)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4i", 1, 5, 5, 3); __PYX_ERR(1, 820, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v3)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4i", 1, 5, 5, 4); __PYX_ERR(1, 820, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform4i") < 0)) __PYX_ERR(1, 820, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
    }
    __pyx_v_location = values[0];
    __pyx_v_v0 = values[1];
    __pyx_v_v1 = values[2];
    __pyx_v_v2 = values[3];
    __pyx_v_v3 = values[4];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform4i", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 820, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform4i", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_332glUniform4i(__pyx_self, __pyx_v_location, __pyx_v_v0, __pyx_v_v1, __pyx_v_v2, __pyx_v_v3);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_332glUniform4i(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1, PyObject *__pyx_v_v2, PyObject *__pyx_v_v3) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLint __pyx_t_2;
  GLint __pyx_t_3;
  GLint __pyx_t_4;
  GLint __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform4i", 0);

  /* "renpy/uguu/uguu.pyx":821
 * 
 * def glUniform4i(location, v0, v1, v2, v3):
 *     renpy.uguu.gl.glUniform4i(location, v0, v1, v2, v3)             # <<<<<<<<<<<<<<
 * 
 * def glUniform4iv(location, count, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 821, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_v0); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 821, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_v1); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 821, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_v2); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 821, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLint(__pyx_v_v3); if (unlikely((__pyx_t_5 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 821, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform4i(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5);

  /* "renpy/uguu/uguu.pyx":820
 *     renpy.uguu.gl.glUniform4fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform4i(location, v0, v1, v2, v3):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4i(location, v0, v1, v2, v3)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform4i", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":823
 *     renpy.uguu.gl.glUniform4i(location, v0, v1, v2, v3)
 * 
 * def glUniform4iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4iv(location, count, <const GLint *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_335glUniform4iv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_335glUniform4iv = {"glUniform4iv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_335glUniform4iv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_335glUniform4iv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform4iv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4iv", 1, 3, 3, 1); __PYX_ERR(1, 823, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4iv", 1, 3, 3, 2); __PYX_ERR(1, 823, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform4iv") < 0)) __PYX_ERR(1, 823, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform4iv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 823, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform4iv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_334glUniform4iv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_334glUniform4iv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform4iv", 0);

  /* "renpy/uguu/uguu.pyx":824
 * 
 * def glUniform4iv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 824, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":825
 * def glUniform4iv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4iv(location, count, <const GLint *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniform4ui(location, v0, v1, v2, v3):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 825, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 825, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform4iv(__pyx_t_2, __pyx_t_3, ((GLint const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":823
 *     renpy.uguu.gl.glUniform4i(location, v0, v1, v2, v3)
 * 
 * def glUniform4iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4iv(location, count, <const GLint *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform4iv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":827
 *     renpy.uguu.gl.glUniform4iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform4ui(location, v0, v1, v2, v3):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4ui(location, v0, v1, v2, v3)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_337glUniform4ui(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_337glUniform4ui = {"glUniform4ui", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_337glUniform4ui, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_337glUniform4ui(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_v0 = 0;
  PyObject *__pyx_v_v1 = 0;
  PyObject *__pyx_v_v2 = 0;
  PyObject *__pyx_v_v3 = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform4ui (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_v0,&__pyx_n_s_v1,&__pyx_n_s_v2,&__pyx_n_s_v3,0};
    PyObject* values[5] = {0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v0)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4ui", 1, 5, 5, 1); __PYX_ERR(1, 827, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v1)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4ui", 1, 5, 5, 2); __PYX_ERR(1, 827, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v2)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4ui", 1, 5, 5, 3); __PYX_ERR(1, 827, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v3)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4ui", 1, 5, 5, 4); __PYX_ERR(1, 827, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform4ui") < 0)) __PYX_ERR(1, 827, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
    }
    __pyx_v_location = values[0];
    __pyx_v_v0 = values[1];
    __pyx_v_v1 = values[2];
    __pyx_v_v2 = values[3];
    __pyx_v_v3 = values[4];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform4ui", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 827, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform4ui", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_336glUniform4ui(__pyx_self, __pyx_v_location, __pyx_v_v0, __pyx_v_v1, __pyx_v_v2, __pyx_v_v3);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_336glUniform4ui(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_v0, PyObject *__pyx_v_v1, PyObject *__pyx_v_v2, PyObject *__pyx_v_v3) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLuint __pyx_t_2;
  GLuint __pyx_t_3;
  GLuint __pyx_t_4;
  GLuint __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform4ui", 0);

  /* "renpy/uguu/uguu.pyx":828
 * 
 * def glUniform4ui(location, v0, v1, v2, v3):
 *     renpy.uguu.gl.glUniform4ui(location, v0, v1, v2, v3)             # <<<<<<<<<<<<<<
 * 
 * def glUniform4uiv(location, count, value):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 828, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_v0); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 828, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_v1); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 828, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLuint(__pyx_v_v2); if (unlikely((__pyx_t_4 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 828, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLuint(__pyx_v_v3); if (unlikely((__pyx_t_5 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 828, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform4ui(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5);

  /* "renpy/uguu/uguu.pyx":827
 *     renpy.uguu.gl.glUniform4iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform4ui(location, v0, v1, v2, v3):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4ui(location, v0, v1, v2, v3)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform4ui", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":830
 *     renpy.uguu.gl.glUniform4ui(location, v0, v1, v2, v3)
 * 
 * def glUniform4uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4uiv(location, count, <const GLuint *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_339glUniform4uiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_339glUniform4uiv = {"glUniform4uiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_339glUniform4uiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_339glUniform4uiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniform4uiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_value,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4uiv", 1, 3, 3, 1); __PYX_ERR(1, 830, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniform4uiv", 1, 3, 3, 2); __PYX_ERR(1, 830, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniform4uiv") < 0)) __PYX_ERR(1, 830, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniform4uiv", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 830, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform4uiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_338glUniform4uiv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_338glUniform4uiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniform4uiv", 0);

  /* "renpy/uguu/uguu.pyx":831
 * 
 * def glUniform4uiv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 831, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":832
 * def glUniform4uiv(location, count, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4uiv(location, count, <const GLuint *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniformMatrix2fv(location, count, transpose, value):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 832, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 832, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniform4uiv(__pyx_t_2, __pyx_t_3, ((GLuint const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":830
 *     renpy.uguu.gl.glUniform4ui(location, v0, v1, v2, v3)
 * 
 * def glUniform4uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4uiv(location, count, <const GLuint *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniform4uiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":834
 *     renpy.uguu.gl.glUniform4uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniformMatrix2fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_341glUniformMatrix2fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_341glUniformMatrix2fv = {"glUniformMatrix2fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_341glUniformMatrix2fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_341glUniformMatrix2fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_transpose = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniformMatrix2fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_transpose,&__pyx_n_s_value,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix2fv", 1, 4, 4, 1); __PYX_ERR(1, 834, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_transpose)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix2fv", 1, 4, 4, 2); __PYX_ERR(1, 834, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix2fv", 1, 4, 4, 3); __PYX_ERR(1, 834, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniformMatrix2fv") < 0)) __PYX_ERR(1, 834, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_transpose = values[2];
    __pyx_v_value = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniformMatrix2fv", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 834, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix2fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_340glUniformMatrix2fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_transpose, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_340glUniformMatrix2fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  GLboolean __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniformMatrix2fv", 0);

  /* "renpy/uguu/uguu.pyx":835
 * 
 * def glUniformMatrix2fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniformMatrix2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 835, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":836
 * def glUniformMatrix2fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniformMatrix2x3fv(location, count, transpose, value):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 836, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 836, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLboolean(__pyx_v_transpose); if (unlikely((__pyx_t_4 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 836, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniformMatrix2fv(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":834
 *     renpy.uguu.gl.glUniform4uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniformMatrix2fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix2fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":838
 *     renpy.uguu.gl.glUniformMatrix2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix2x3fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_343glUniformMatrix2x3fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_343glUniformMatrix2x3fv = {"glUniformMatrix2x3fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_343glUniformMatrix2x3fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_343glUniformMatrix2x3fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_transpose = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniformMatrix2x3fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_transpose,&__pyx_n_s_value,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix2x3fv", 1, 4, 4, 1); __PYX_ERR(1, 838, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_transpose)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix2x3fv", 1, 4, 4, 2); __PYX_ERR(1, 838, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix2x3fv", 1, 4, 4, 3); __PYX_ERR(1, 838, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniformMatrix2x3fv") < 0)) __PYX_ERR(1, 838, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_transpose = values[2];
    __pyx_v_value = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniformMatrix2x3fv", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 838, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix2x3fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_342glUniformMatrix2x3fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_transpose, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_342glUniformMatrix2x3fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  GLboolean __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniformMatrix2x3fv", 0);

  /* "renpy/uguu/uguu.pyx":839
 * 
 * def glUniformMatrix2x3fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniformMatrix2x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 839, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":840
 * def glUniformMatrix2x3fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniformMatrix2x4fv(location, count, transpose, value):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 840, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 840, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLboolean(__pyx_v_transpose); if (unlikely((__pyx_t_4 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 840, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniformMatrix2x3fv(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":838
 *     renpy.uguu.gl.glUniformMatrix2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix2x3fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix2x3fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":842
 *     renpy.uguu.gl.glUniformMatrix2x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix2x4fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_345glUniformMatrix2x4fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_345glUniformMatrix2x4fv = {"glUniformMatrix2x4fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_345glUniformMatrix2x4fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_345glUniformMatrix2x4fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_transpose = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniformMatrix2x4fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_transpose,&__pyx_n_s_value,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix2x4fv", 1, 4, 4, 1); __PYX_ERR(1, 842, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_transpose)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix2x4fv", 1, 4, 4, 2); __PYX_ERR(1, 842, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix2x4fv", 1, 4, 4, 3); __PYX_ERR(1, 842, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniformMatrix2x4fv") < 0)) __PYX_ERR(1, 842, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_transpose = values[2];
    __pyx_v_value = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniformMatrix2x4fv", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 842, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix2x4fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_344glUniformMatrix2x4fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_transpose, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_344glUniformMatrix2x4fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  GLboolean __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniformMatrix2x4fv", 0);

  /* "renpy/uguu/uguu.pyx":843
 * 
 * def glUniformMatrix2x4fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniformMatrix2x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 843, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":844
 * def glUniformMatrix2x4fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniformMatrix3fv(location, count, transpose, value):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 844, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 844, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLboolean(__pyx_v_transpose); if (unlikely((__pyx_t_4 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 844, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniformMatrix2x4fv(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":842
 *     renpy.uguu.gl.glUniformMatrix2x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix2x4fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix2x4fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":846
 *     renpy.uguu.gl.glUniformMatrix2x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix3fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_347glUniformMatrix3fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_347glUniformMatrix3fv = {"glUniformMatrix3fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_347glUniformMatrix3fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_347glUniformMatrix3fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_transpose = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniformMatrix3fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_transpose,&__pyx_n_s_value,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix3fv", 1, 4, 4, 1); __PYX_ERR(1, 846, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_transpose)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix3fv", 1, 4, 4, 2); __PYX_ERR(1, 846, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix3fv", 1, 4, 4, 3); __PYX_ERR(1, 846, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniformMatrix3fv") < 0)) __PYX_ERR(1, 846, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_transpose = values[2];
    __pyx_v_value = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniformMatrix3fv", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 846, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix3fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_346glUniformMatrix3fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_transpose, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_346glUniformMatrix3fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  GLboolean __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniformMatrix3fv", 0);

  /* "renpy/uguu/uguu.pyx":847
 * 
 * def glUniformMatrix3fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniformMatrix3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 847, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":848
 * def glUniformMatrix3fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniformMatrix3x2fv(location, count, transpose, value):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 848, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 848, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLboolean(__pyx_v_transpose); if (unlikely((__pyx_t_4 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 848, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniformMatrix3fv(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":846
 *     renpy.uguu.gl.glUniformMatrix2x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix3fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix3fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":850
 *     renpy.uguu.gl.glUniformMatrix3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix3x2fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_349glUniformMatrix3x2fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_349glUniformMatrix3x2fv = {"glUniformMatrix3x2fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_349glUniformMatrix3x2fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_349glUniformMatrix3x2fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_transpose = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniformMatrix3x2fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_transpose,&__pyx_n_s_value,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix3x2fv", 1, 4, 4, 1); __PYX_ERR(1, 850, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_transpose)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix3x2fv", 1, 4, 4, 2); __PYX_ERR(1, 850, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix3x2fv", 1, 4, 4, 3); __PYX_ERR(1, 850, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniformMatrix3x2fv") < 0)) __PYX_ERR(1, 850, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_transpose = values[2];
    __pyx_v_value = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniformMatrix3x2fv", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 850, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix3x2fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_348glUniformMatrix3x2fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_transpose, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_348glUniformMatrix3x2fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  GLboolean __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniformMatrix3x2fv", 0);

  /* "renpy/uguu/uguu.pyx":851
 * 
 * def glUniformMatrix3x2fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniformMatrix3x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 851, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":852
 * def glUniformMatrix3x2fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniformMatrix3x4fv(location, count, transpose, value):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 852, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 852, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLboolean(__pyx_v_transpose); if (unlikely((__pyx_t_4 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 852, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniformMatrix3x2fv(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":850
 *     renpy.uguu.gl.glUniformMatrix3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix3x2fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix3x2fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":854
 *     renpy.uguu.gl.glUniformMatrix3x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix3x4fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_351glUniformMatrix3x4fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_351glUniformMatrix3x4fv = {"glUniformMatrix3x4fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_351glUniformMatrix3x4fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_351glUniformMatrix3x4fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_transpose = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniformMatrix3x4fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_transpose,&__pyx_n_s_value,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix3x4fv", 1, 4, 4, 1); __PYX_ERR(1, 854, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_transpose)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix3x4fv", 1, 4, 4, 2); __PYX_ERR(1, 854, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix3x4fv", 1, 4, 4, 3); __PYX_ERR(1, 854, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniformMatrix3x4fv") < 0)) __PYX_ERR(1, 854, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_transpose = values[2];
    __pyx_v_value = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniformMatrix3x4fv", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 854, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix3x4fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_350glUniformMatrix3x4fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_transpose, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_350glUniformMatrix3x4fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  GLboolean __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniformMatrix3x4fv", 0);

  /* "renpy/uguu/uguu.pyx":855
 * 
 * def glUniformMatrix3x4fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniformMatrix3x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 855, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":856
 * def glUniformMatrix3x4fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniformMatrix4fv(location, count, transpose, value):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 856, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 856, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLboolean(__pyx_v_transpose); if (unlikely((__pyx_t_4 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 856, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniformMatrix3x4fv(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":854
 *     renpy.uguu.gl.glUniformMatrix3x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix3x4fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix3x4fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":858
 *     renpy.uguu.gl.glUniformMatrix3x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix4fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_353glUniformMatrix4fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_353glUniformMatrix4fv = {"glUniformMatrix4fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_353glUniformMatrix4fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_353glUniformMatrix4fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_transpose = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniformMatrix4fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_transpose,&__pyx_n_s_value,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix4fv", 1, 4, 4, 1); __PYX_ERR(1, 858, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_transpose)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix4fv", 1, 4, 4, 2); __PYX_ERR(1, 858, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix4fv", 1, 4, 4, 3); __PYX_ERR(1, 858, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniformMatrix4fv") < 0)) __PYX_ERR(1, 858, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_transpose = values[2];
    __pyx_v_value = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniformMatrix4fv", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 858, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix4fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_352glUniformMatrix4fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_transpose, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_352glUniformMatrix4fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  GLboolean __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniformMatrix4fv", 0);

  /* "renpy/uguu/uguu.pyx":859
 * 
 * def glUniformMatrix4fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniformMatrix4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 859, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":860
 * def glUniformMatrix4fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniformMatrix4x2fv(location, count, transpose, value):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 860, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 860, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLboolean(__pyx_v_transpose); if (unlikely((__pyx_t_4 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 860, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniformMatrix4fv(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":858
 *     renpy.uguu.gl.glUniformMatrix3x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix4fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix4fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":862
 *     renpy.uguu.gl.glUniformMatrix4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix4x2fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_355glUniformMatrix4x2fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_355glUniformMatrix4x2fv = {"glUniformMatrix4x2fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_355glUniformMatrix4x2fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_355glUniformMatrix4x2fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_transpose = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniformMatrix4x2fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_transpose,&__pyx_n_s_value,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix4x2fv", 1, 4, 4, 1); __PYX_ERR(1, 862, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_transpose)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix4x2fv", 1, 4, 4, 2); __PYX_ERR(1, 862, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix4x2fv", 1, 4, 4, 3); __PYX_ERR(1, 862, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniformMatrix4x2fv") < 0)) __PYX_ERR(1, 862, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_transpose = values[2];
    __pyx_v_value = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniformMatrix4x2fv", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 862, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix4x2fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_354glUniformMatrix4x2fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_transpose, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_354glUniformMatrix4x2fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  GLboolean __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniformMatrix4x2fv", 0);

  /* "renpy/uguu/uguu.pyx":863
 * 
 * def glUniformMatrix4x2fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniformMatrix4x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 863, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":864
 * def glUniformMatrix4x2fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUniformMatrix4x3fv(location, count, transpose, value):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 864, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 864, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLboolean(__pyx_v_transpose); if (unlikely((__pyx_t_4 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 864, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniformMatrix4x2fv(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":862
 *     renpy.uguu.gl.glUniformMatrix4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix4x2fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix4x2fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":866
 *     renpy.uguu.gl.glUniformMatrix4x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix4x3fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_357glUniformMatrix4x3fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_357glUniformMatrix4x3fv = {"glUniformMatrix4x3fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_357glUniformMatrix4x3fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_357glUniformMatrix4x3fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_location = 0;
  PyObject *__pyx_v_count = 0;
  PyObject *__pyx_v_transpose = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUniformMatrix4x3fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_location,&__pyx_n_s_count,&__pyx_n_s_transpose,&__pyx_n_s_value,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_location)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_count)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix4x3fv", 1, 4, 4, 1); __PYX_ERR(1, 866, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_transpose)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix4x3fv", 1, 4, 4, 2); __PYX_ERR(1, 866, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glUniformMatrix4x3fv", 1, 4, 4, 3); __PYX_ERR(1, 866, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glUniformMatrix4x3fv") < 0)) __PYX_ERR(1, 866, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_location = values[0];
    __pyx_v_count = values[1];
    __pyx_v_transpose = values[2];
    __pyx_v_value = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glUniformMatrix4x3fv", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 866, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix4x3fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_356glUniformMatrix4x3fv(__pyx_self, __pyx_v_location, __pyx_v_count, __pyx_v_transpose, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_356glUniformMatrix4x3fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_location, PyObject *__pyx_v_count, PyObject *__pyx_v_transpose, PyObject *__pyx_v_value) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_value_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  GLboolean __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUniformMatrix4x3fv", 0);

  /* "renpy/uguu/uguu.pyx":867
 * 
 * def glUniformMatrix4x3fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniformMatrix4x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_value)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 867, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":868
 * def glUniformMatrix4x3fv(location, count, transpose, value):
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glUnmapBuffer(target):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_location); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 868, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_count); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 868, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLboolean(__pyx_v_transpose); if (unlikely((__pyx_t_4 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 868, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUniformMatrix4x3fv(__pyx_t_2, __pyx_t_3, __pyx_t_4, ((GLfloat const *)__pyx_v_value_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":866
 *     renpy.uguu.gl.glUniformMatrix4x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix4x3fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUniformMatrix4x3fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_value_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":870
 *     renpy.uguu.gl.glUniformMatrix4x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUnmapBuffer(target):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glUnmapBuffer(target)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_359glUnmapBuffer(PyObject *__pyx_self, PyObject *__pyx_v_target); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_359glUnmapBuffer = {"glUnmapBuffer", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_359glUnmapBuffer, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_359glUnmapBuffer(PyObject *__pyx_self, PyObject *__pyx_v_target) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUnmapBuffer (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_358glUnmapBuffer(__pyx_self, ((PyObject *)__pyx_v_target));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_358glUnmapBuffer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_target) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLenum __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUnmapBuffer", 0);

  /* "renpy/uguu/uguu.pyx":871
 * 
 * def glUnmapBuffer(target):
 *     return renpy.uguu.gl.glUnmapBuffer(target)             # <<<<<<<<<<<<<<
 * 
 * def glUseProgram(program):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_As_GLenum(__pyx_v_target); if (unlikely((__pyx_t_1 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 871, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_From_GLboolean(__pyx_v_5renpy_4uguu_2gl_glUnmapBuffer(__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 871, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "renpy/uguu/uguu.pyx":870
 *     renpy.uguu.gl.glUniformMatrix4x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUnmapBuffer(target):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glUnmapBuffer(target)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("renpy.uguu.uguu.glUnmapBuffer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":873
 *     return renpy.uguu.gl.glUnmapBuffer(target)
 * 
 * def glUseProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUseProgram(program)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_361glUseProgram(PyObject *__pyx_self, PyObject *__pyx_v_program); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_361glUseProgram = {"glUseProgram", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_361glUseProgram, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_361glUseProgram(PyObject *__pyx_self, PyObject *__pyx_v_program) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glUseProgram (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_360glUseProgram(__pyx_self, ((PyObject *)__pyx_v_program));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_360glUseProgram(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glUseProgram", 0);

  /* "renpy/uguu/uguu.pyx":874
 * 
 * def glUseProgram(program):
 *     renpy.uguu.gl.glUseProgram(program)             # <<<<<<<<<<<<<<
 * 
 * def glValidateProgram(program):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 874, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glUseProgram(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":873
 *     return renpy.uguu.gl.glUnmapBuffer(target)
 * 
 * def glUseProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUseProgram(program)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glUseProgram", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":876
 *     renpy.uguu.gl.glUseProgram(program)
 * 
 * def glValidateProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glValidateProgram(program)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_363glValidateProgram(PyObject *__pyx_self, PyObject *__pyx_v_program); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_363glValidateProgram = {"glValidateProgram", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_363glValidateProgram, METH_O, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_363glValidateProgram(PyObject *__pyx_self, PyObject *__pyx_v_program) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glValidateProgram (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_362glValidateProgram(__pyx_self, ((PyObject *)__pyx_v_program));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_362glValidateProgram(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_program) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glValidateProgram", 0);

  /* "renpy/uguu/uguu.pyx":877
 * 
 * def glValidateProgram(program):
 *     renpy.uguu.gl.glValidateProgram(program)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttrib1f(index, x):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_program); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 877, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glValidateProgram(__pyx_t_1);

  /* "renpy/uguu/uguu.pyx":876
 *     renpy.uguu.gl.glUseProgram(program)
 * 
 * def glValidateProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glValidateProgram(program)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glValidateProgram", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":879
 *     renpy.uguu.gl.glValidateProgram(program)
 * 
 * def glVertexAttrib1f(index, x):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib1f(index, x)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_365glVertexAttrib1f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_365glVertexAttrib1f = {"glVertexAttrib1f", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_365glVertexAttrib1f, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_365glVertexAttrib1f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_x = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttrib1f (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_x,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib1f", 1, 2, 2, 1); __PYX_ERR(1, 879, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttrib1f") < 0)) __PYX_ERR(1, 879, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_index = values[0];
    __pyx_v_x = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttrib1f", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 879, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib1f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_364glVertexAttrib1f(__pyx_self, __pyx_v_index, __pyx_v_x);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_364glVertexAttrib1f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_x) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  GLfloat __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttrib1f", 0);

  /* "renpy/uguu/uguu.pyx":880
 * 
 * def glVertexAttrib1f(index, x):
 *     renpy.uguu.gl.glVertexAttrib1f(index, x)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttrib1fv(index, v):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 880, __pyx_L1_error)
  __pyx_t_2 = __pyx_PyFloat_AsFloat(__pyx_v_x); if (unlikely((__pyx_t_2 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 880, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttrib1f(__pyx_t_1, __pyx_t_2);

  /* "renpy/uguu/uguu.pyx":879
 *     renpy.uguu.gl.glValidateProgram(program)
 * 
 * def glVertexAttrib1f(index, x):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib1f(index, x)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib1f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":882
 *     renpy.uguu.gl.glVertexAttrib1f(index, x)
 * 
 * def glVertexAttrib1fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib1fv(index, <const GLfloat *> v_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_367glVertexAttrib1fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_367glVertexAttrib1fv = {"glVertexAttrib1fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_367glVertexAttrib1fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_367glVertexAttrib1fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_v = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttrib1fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_v,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib1fv", 1, 2, 2, 1); __PYX_ERR(1, 882, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttrib1fv") < 0)) __PYX_ERR(1, 882, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_index = values[0];
    __pyx_v_v = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttrib1fv", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 882, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib1fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_366glVertexAttrib1fv(__pyx_self, __pyx_v_index, __pyx_v_v);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_366glVertexAttrib1fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_v) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_v_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttrib1fv", 0);

  /* "renpy/uguu/uguu.pyx":883
 * 
 * def glVertexAttrib1fv(index, v):
 *     cdef ptr v_ptr = get_ptr(v)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib1fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_v)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 883, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_v_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":884
 * def glVertexAttrib1fv(index, v):
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib1fv(index, <const GLfloat *> v_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttrib2f(index, x, y):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 884, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttrib1fv(__pyx_t_2, ((GLfloat const *)__pyx_v_v_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":882
 *     renpy.uguu.gl.glVertexAttrib1f(index, x)
 * 
 * def glVertexAttrib1fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib1fv(index, <const GLfloat *> v_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib1fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_v_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":886
 *     renpy.uguu.gl.glVertexAttrib1fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttrib2f(index, x, y):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib2f(index, x, y)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_369glVertexAttrib2f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_369glVertexAttrib2f = {"glVertexAttrib2f", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_369glVertexAttrib2f, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_369glVertexAttrib2f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_x = 0;
  PyObject *__pyx_v_y = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttrib2f (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_x,&__pyx_n_s_y,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib2f", 1, 3, 3, 1); __PYX_ERR(1, 886, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib2f", 1, 3, 3, 2); __PYX_ERR(1, 886, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttrib2f") < 0)) __PYX_ERR(1, 886, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_index = values[0];
    __pyx_v_x = values[1];
    __pyx_v_y = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttrib2f", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 886, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib2f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_368glVertexAttrib2f(__pyx_self, __pyx_v_index, __pyx_v_x, __pyx_v_y);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_368glVertexAttrib2f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  GLfloat __pyx_t_2;
  GLfloat __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttrib2f", 0);

  /* "renpy/uguu/uguu.pyx":887
 * 
 * def glVertexAttrib2f(index, x, y):
 *     renpy.uguu.gl.glVertexAttrib2f(index, x, y)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttrib2fv(index, v):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 887, __pyx_L1_error)
  __pyx_t_2 = __pyx_PyFloat_AsFloat(__pyx_v_x); if (unlikely((__pyx_t_2 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 887, __pyx_L1_error)
  __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_v_y); if (unlikely((__pyx_t_3 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 887, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttrib2f(__pyx_t_1, __pyx_t_2, __pyx_t_3);

  /* "renpy/uguu/uguu.pyx":886
 *     renpy.uguu.gl.glVertexAttrib1fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttrib2f(index, x, y):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib2f(index, x, y)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib2f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":889
 *     renpy.uguu.gl.glVertexAttrib2f(index, x, y)
 * 
 * def glVertexAttrib2fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib2fv(index, <const GLfloat *> v_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_371glVertexAttrib2fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_371glVertexAttrib2fv = {"glVertexAttrib2fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_371glVertexAttrib2fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_371glVertexAttrib2fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_v = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttrib2fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_v,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib2fv", 1, 2, 2, 1); __PYX_ERR(1, 889, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttrib2fv") < 0)) __PYX_ERR(1, 889, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_index = values[0];
    __pyx_v_v = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttrib2fv", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 889, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib2fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_370glVertexAttrib2fv(__pyx_self, __pyx_v_index, __pyx_v_v);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_370glVertexAttrib2fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_v) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_v_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttrib2fv", 0);

  /* "renpy/uguu/uguu.pyx":890
 * 
 * def glVertexAttrib2fv(index, v):
 *     cdef ptr v_ptr = get_ptr(v)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib2fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_v)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 890, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_v_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":891
 * def glVertexAttrib2fv(index, v):
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib2fv(index, <const GLfloat *> v_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttrib3f(index, x, y, z):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 891, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttrib2fv(__pyx_t_2, ((GLfloat const *)__pyx_v_v_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":889
 *     renpy.uguu.gl.glVertexAttrib2f(index, x, y)
 * 
 * def glVertexAttrib2fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib2fv(index, <const GLfloat *> v_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib2fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_v_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":893
 *     renpy.uguu.gl.glVertexAttrib2fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttrib3f(index, x, y, z):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib3f(index, x, y, z)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_373glVertexAttrib3f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_373glVertexAttrib3f = {"glVertexAttrib3f", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_373glVertexAttrib3f, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_373glVertexAttrib3f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_x = 0;
  PyObject *__pyx_v_y = 0;
  PyObject *__pyx_v_z = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttrib3f (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_x,&__pyx_n_s_y,&__pyx_n_s_z,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib3f", 1, 4, 4, 1); __PYX_ERR(1, 893, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib3f", 1, 4, 4, 2); __PYX_ERR(1, 893, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_z)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib3f", 1, 4, 4, 3); __PYX_ERR(1, 893, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttrib3f") < 0)) __PYX_ERR(1, 893, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_index = values[0];
    __pyx_v_x = values[1];
    __pyx_v_y = values[2];
    __pyx_v_z = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttrib3f", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 893, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib3f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_372glVertexAttrib3f(__pyx_self, __pyx_v_index, __pyx_v_x, __pyx_v_y, __pyx_v_z);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_372glVertexAttrib3f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_z) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  GLfloat __pyx_t_2;
  GLfloat __pyx_t_3;
  GLfloat __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttrib3f", 0);

  /* "renpy/uguu/uguu.pyx":894
 * 
 * def glVertexAttrib3f(index, x, y, z):
 *     renpy.uguu.gl.glVertexAttrib3f(index, x, y, z)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttrib3fv(index, v):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 894, __pyx_L1_error)
  __pyx_t_2 = __pyx_PyFloat_AsFloat(__pyx_v_x); if (unlikely((__pyx_t_2 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 894, __pyx_L1_error)
  __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_v_y); if (unlikely((__pyx_t_3 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 894, __pyx_L1_error)
  __pyx_t_4 = __pyx_PyFloat_AsFloat(__pyx_v_z); if (unlikely((__pyx_t_4 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 894, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttrib3f(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":893
 *     renpy.uguu.gl.glVertexAttrib2fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttrib3f(index, x, y, z):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib3f(index, x, y, z)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib3f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":896
 *     renpy.uguu.gl.glVertexAttrib3f(index, x, y, z)
 * 
 * def glVertexAttrib3fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib3fv(index, <const GLfloat *> v_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_375glVertexAttrib3fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_375glVertexAttrib3fv = {"glVertexAttrib3fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_375glVertexAttrib3fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_375glVertexAttrib3fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_v = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttrib3fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_v,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib3fv", 1, 2, 2, 1); __PYX_ERR(1, 896, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttrib3fv") < 0)) __PYX_ERR(1, 896, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_index = values[0];
    __pyx_v_v = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttrib3fv", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 896, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib3fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_374glVertexAttrib3fv(__pyx_self, __pyx_v_index, __pyx_v_v);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_374glVertexAttrib3fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_v) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_v_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttrib3fv", 0);

  /* "renpy/uguu/uguu.pyx":897
 * 
 * def glVertexAttrib3fv(index, v):
 *     cdef ptr v_ptr = get_ptr(v)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib3fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_v)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 897, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_v_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":898
 * def glVertexAttrib3fv(index, v):
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib3fv(index, <const GLfloat *> v_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttrib4f(index, x, y, z, w):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 898, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttrib3fv(__pyx_t_2, ((GLfloat const *)__pyx_v_v_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":896
 *     renpy.uguu.gl.glVertexAttrib3f(index, x, y, z)
 * 
 * def glVertexAttrib3fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib3fv(index, <const GLfloat *> v_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib3fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_v_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":900
 *     renpy.uguu.gl.glVertexAttrib3fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttrib4f(index, x, y, z, w):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib4f(index, x, y, z, w)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_377glVertexAttrib4f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_377glVertexAttrib4f = {"glVertexAttrib4f", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_377glVertexAttrib4f, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_377glVertexAttrib4f(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_x = 0;
  PyObject *__pyx_v_y = 0;
  PyObject *__pyx_v_z = 0;
  PyObject *__pyx_v_w = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttrib4f (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_x,&__pyx_n_s_y,&__pyx_n_s_z,&__pyx_n_s_w,0};
    PyObject* values[5] = {0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib4f", 1, 5, 5, 1); __PYX_ERR(1, 900, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib4f", 1, 5, 5, 2); __PYX_ERR(1, 900, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_z)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib4f", 1, 5, 5, 3); __PYX_ERR(1, 900, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_w)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib4f", 1, 5, 5, 4); __PYX_ERR(1, 900, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttrib4f") < 0)) __PYX_ERR(1, 900, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
    }
    __pyx_v_index = values[0];
    __pyx_v_x = values[1];
    __pyx_v_y = values[2];
    __pyx_v_z = values[3];
    __pyx_v_w = values[4];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttrib4f", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 900, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib4f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_376glVertexAttrib4f(__pyx_self, __pyx_v_index, __pyx_v_x, __pyx_v_y, __pyx_v_z, __pyx_v_w);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_376glVertexAttrib4f(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_z, PyObject *__pyx_v_w) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  GLfloat __pyx_t_2;
  GLfloat __pyx_t_3;
  GLfloat __pyx_t_4;
  GLfloat __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttrib4f", 0);

  /* "renpy/uguu/uguu.pyx":901
 * 
 * def glVertexAttrib4f(index, x, y, z, w):
 *     renpy.uguu.gl.glVertexAttrib4f(index, x, y, z, w)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttrib4fv(index, v):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 901, __pyx_L1_error)
  __pyx_t_2 = __pyx_PyFloat_AsFloat(__pyx_v_x); if (unlikely((__pyx_t_2 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 901, __pyx_L1_error)
  __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_v_y); if (unlikely((__pyx_t_3 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 901, __pyx_L1_error)
  __pyx_t_4 = __pyx_PyFloat_AsFloat(__pyx_v_z); if (unlikely((__pyx_t_4 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 901, __pyx_L1_error)
  __pyx_t_5 = __pyx_PyFloat_AsFloat(__pyx_v_w); if (unlikely((__pyx_t_5 == ((GLfloat)-1)) && PyErr_Occurred())) __PYX_ERR(1, 901, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttrib4f(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5);

  /* "renpy/uguu/uguu.pyx":900
 *     renpy.uguu.gl.glVertexAttrib3fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttrib4f(index, x, y, z, w):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib4f(index, x, y, z, w)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib4f", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":903
 *     renpy.uguu.gl.glVertexAttrib4f(index, x, y, z, w)
 * 
 * def glVertexAttrib4fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib4fv(index, <const GLfloat *> v_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_379glVertexAttrib4fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_379glVertexAttrib4fv = {"glVertexAttrib4fv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_379glVertexAttrib4fv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_379glVertexAttrib4fv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_v = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttrib4fv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_v,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttrib4fv", 1, 2, 2, 1); __PYX_ERR(1, 903, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttrib4fv") < 0)) __PYX_ERR(1, 903, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_index = values[0];
    __pyx_v_v = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttrib4fv", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 903, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib4fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_378glVertexAttrib4fv(__pyx_self, __pyx_v_index, __pyx_v_v);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_378glVertexAttrib4fv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_v) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_v_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttrib4fv", 0);

  /* "renpy/uguu/uguu.pyx":904
 * 
 * def glVertexAttrib4fv(index, v):
 *     cdef ptr v_ptr = get_ptr(v)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib4fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_v)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 904, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_v_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":905
 * def glVertexAttrib4fv(index, v):
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib4fv(index, <const GLfloat *> v_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttribI4i(index, x, y, z, w):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 905, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttrib4fv(__pyx_t_2, ((GLfloat const *)__pyx_v_v_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":903
 *     renpy.uguu.gl.glVertexAttrib4f(index, x, y, z, w)
 * 
 * def glVertexAttrib4fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib4fv(index, <const GLfloat *> v_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttrib4fv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_v_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":907
 *     renpy.uguu.gl.glVertexAttrib4fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttribI4i(index, x, y, z, w):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttribI4i(index, x, y, z, w)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_381glVertexAttribI4i(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_381glVertexAttribI4i = {"glVertexAttribI4i", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_381glVertexAttribI4i, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_381glVertexAttribI4i(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_x = 0;
  PyObject *__pyx_v_y = 0;
  PyObject *__pyx_v_z = 0;
  PyObject *__pyx_v_w = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttribI4i (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_x,&__pyx_n_s_y,&__pyx_n_s_z,&__pyx_n_s_w,0};
    PyObject* values[5] = {0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribI4i", 1, 5, 5, 1); __PYX_ERR(1, 907, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribI4i", 1, 5, 5, 2); __PYX_ERR(1, 907, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_z)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribI4i", 1, 5, 5, 3); __PYX_ERR(1, 907, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_w)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribI4i", 1, 5, 5, 4); __PYX_ERR(1, 907, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttribI4i") < 0)) __PYX_ERR(1, 907, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
    }
    __pyx_v_index = values[0];
    __pyx_v_x = values[1];
    __pyx_v_y = values[2];
    __pyx_v_z = values[3];
    __pyx_v_w = values[4];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttribI4i", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 907, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttribI4i", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_380glVertexAttribI4i(__pyx_self, __pyx_v_index, __pyx_v_x, __pyx_v_y, __pyx_v_z, __pyx_v_w);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_380glVertexAttribI4i(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_z, PyObject *__pyx_v_w) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  GLint __pyx_t_2;
  GLint __pyx_t_3;
  GLint __pyx_t_4;
  GLint __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttribI4i", 0);

  /* "renpy/uguu/uguu.pyx":908
 * 
 * def glVertexAttribI4i(index, x, y, z, w):
 *     renpy.uguu.gl.glVertexAttribI4i(index, x, y, z, w)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttribI4iv(index, v):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 908, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_x); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 908, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_y); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 908, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLint(__pyx_v_z); if (unlikely((__pyx_t_4 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 908, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLint(__pyx_v_w); if (unlikely((__pyx_t_5 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 908, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttribI4i(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5);

  /* "renpy/uguu/uguu.pyx":907
 *     renpy.uguu.gl.glVertexAttrib4fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttribI4i(index, x, y, z, w):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttribI4i(index, x, y, z, w)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttribI4i", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":910
 *     renpy.uguu.gl.glVertexAttribI4i(index, x, y, z, w)
 * 
 * def glVertexAttribI4iv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttribI4iv(index, <const GLint *> v_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_383glVertexAttribI4iv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_383glVertexAttribI4iv = {"glVertexAttribI4iv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_383glVertexAttribI4iv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_383glVertexAttribI4iv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_v = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttribI4iv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_v,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribI4iv", 1, 2, 2, 1); __PYX_ERR(1, 910, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttribI4iv") < 0)) __PYX_ERR(1, 910, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_index = values[0];
    __pyx_v_v = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttribI4iv", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 910, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttribI4iv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_382glVertexAttribI4iv(__pyx_self, __pyx_v_index, __pyx_v_v);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_382glVertexAttribI4iv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_v) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_v_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttribI4iv", 0);

  /* "renpy/uguu/uguu.pyx":911
 * 
 * def glVertexAttribI4iv(index, v):
 *     cdef ptr v_ptr = get_ptr(v)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttribI4iv(index, <const GLint *> v_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_v)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 911, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_v_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":912
 * def glVertexAttribI4iv(index, v):
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttribI4iv(index, <const GLint *> v_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttribI4ui(index, x, y, z, w):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 912, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttribI4iv(__pyx_t_2, ((GLint const *)__pyx_v_v_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":910
 *     renpy.uguu.gl.glVertexAttribI4i(index, x, y, z, w)
 * 
 * def glVertexAttribI4iv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttribI4iv(index, <const GLint *> v_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttribI4iv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_v_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":914
 *     renpy.uguu.gl.glVertexAttribI4iv(index, <const GLint *> v_ptr.ptr)
 * 
 * def glVertexAttribI4ui(index, x, y, z, w):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttribI4ui(index, x, y, z, w)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_385glVertexAttribI4ui(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_385glVertexAttribI4ui = {"glVertexAttribI4ui", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_385glVertexAttribI4ui, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_385glVertexAttribI4ui(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_x = 0;
  PyObject *__pyx_v_y = 0;
  PyObject *__pyx_v_z = 0;
  PyObject *__pyx_v_w = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttribI4ui (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_x,&__pyx_n_s_y,&__pyx_n_s_z,&__pyx_n_s_w,0};
    PyObject* values[5] = {0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribI4ui", 1, 5, 5, 1); __PYX_ERR(1, 914, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribI4ui", 1, 5, 5, 2); __PYX_ERR(1, 914, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_z)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribI4ui", 1, 5, 5, 3); __PYX_ERR(1, 914, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_w)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribI4ui", 1, 5, 5, 4); __PYX_ERR(1, 914, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttribI4ui") < 0)) __PYX_ERR(1, 914, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
    }
    __pyx_v_index = values[0];
    __pyx_v_x = values[1];
    __pyx_v_y = values[2];
    __pyx_v_z = values[3];
    __pyx_v_w = values[4];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttribI4ui", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 914, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttribI4ui", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_384glVertexAttribI4ui(__pyx_self, __pyx_v_index, __pyx_v_x, __pyx_v_y, __pyx_v_z, __pyx_v_w);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_384glVertexAttribI4ui(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_z, PyObject *__pyx_v_w) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLuint __pyx_t_1;
  GLuint __pyx_t_2;
  GLuint __pyx_t_3;
  GLuint __pyx_t_4;
  GLuint __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttribI4ui", 0);

  /* "renpy/uguu/uguu.pyx":915
 * 
 * def glVertexAttribI4ui(index, x, y, z, w):
 *     renpy.uguu.gl.glVertexAttribI4ui(index, x, y, z, w)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttribI4uiv(index, v):
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_1 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 915, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_x); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 915, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLuint(__pyx_v_y); if (unlikely((__pyx_t_3 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 915, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLuint(__pyx_v_z); if (unlikely((__pyx_t_4 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 915, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLuint(__pyx_v_w); if (unlikely((__pyx_t_5 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 915, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttribI4ui(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5);

  /* "renpy/uguu/uguu.pyx":914
 *     renpy.uguu.gl.glVertexAttribI4iv(index, <const GLint *> v_ptr.ptr)
 * 
 * def glVertexAttribI4ui(index, x, y, z, w):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttribI4ui(index, x, y, z, w)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttribI4ui", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":917
 *     renpy.uguu.gl.glVertexAttribI4ui(index, x, y, z, w)
 * 
 * def glVertexAttribI4uiv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttribI4uiv(index, <const GLuint *> v_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_387glVertexAttribI4uiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_387glVertexAttribI4uiv = {"glVertexAttribI4uiv", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_387glVertexAttribI4uiv, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_387glVertexAttribI4uiv(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_v = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttribI4uiv (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_v,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribI4uiv", 1, 2, 2, 1); __PYX_ERR(1, 917, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttribI4uiv") < 0)) __PYX_ERR(1, 917, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_index = values[0];
    __pyx_v_v = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttribI4uiv", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 917, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttribI4uiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_386glVertexAttribI4uiv(__pyx_self, __pyx_v_index, __pyx_v_v);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_386glVertexAttribI4uiv(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_v) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_v_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttribI4uiv", 0);

  /* "renpy/uguu/uguu.pyx":918
 * 
 * def glVertexAttribI4uiv(index, v):
 *     cdef ptr v_ptr = get_ptr(v)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttribI4uiv(index, <const GLuint *> v_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_v)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 918, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_v_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":919
 * def glVertexAttribI4uiv(index, v):
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttribI4uiv(index, <const GLuint *> v_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttribIPointer(index, size, type, stride, pointer):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 919, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttribI4uiv(__pyx_t_2, ((GLuint const *)__pyx_v_v_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":917
 *     renpy.uguu.gl.glVertexAttribI4ui(index, x, y, z, w)
 * 
 * def glVertexAttribI4uiv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttribI4uiv(index, <const GLuint *> v_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttribI4uiv", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_v_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":921
 *     renpy.uguu.gl.glVertexAttribI4uiv(index, <const GLuint *> v_ptr.ptr)
 * 
 * def glVertexAttribIPointer(index, size, type, stride, pointer):             # <<<<<<<<<<<<<<
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glVertexAttribIPointer(index, size, type, stride, <const void *> pointer_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_389glVertexAttribIPointer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_389glVertexAttribIPointer = {"glVertexAttribIPointer", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_389glVertexAttribIPointer, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_389glVertexAttribIPointer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_size = 0;
  PyObject *__pyx_v_type = 0;
  PyObject *__pyx_v_stride = 0;
  PyObject *__pyx_v_pointer = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttribIPointer (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_size,&__pyx_n_s_type,&__pyx_n_s_stride,&__pyx_n_s_pointer,0};
    PyObject* values[5] = {0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_size)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribIPointer", 1, 5, 5, 1); __PYX_ERR(1, 921, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribIPointer", 1, 5, 5, 2); __PYX_ERR(1, 921, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_stride)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribIPointer", 1, 5, 5, 3); __PYX_ERR(1, 921, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pointer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribIPointer", 1, 5, 5, 4); __PYX_ERR(1, 921, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttribIPointer") < 0)) __PYX_ERR(1, 921, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
    }
    __pyx_v_index = values[0];
    __pyx_v_size = values[1];
    __pyx_v_type = values[2];
    __pyx_v_stride = values[3];
    __pyx_v_pointer = values[4];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttribIPointer", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 921, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttribIPointer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_388glVertexAttribIPointer(__pyx_self, __pyx_v_index, __pyx_v_size, __pyx_v_type, __pyx_v_stride, __pyx_v_pointer);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_388glVertexAttribIPointer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_size, PyObject *__pyx_v_type, PyObject *__pyx_v_stride, PyObject *__pyx_v_pointer) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_pointer_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLint __pyx_t_3;
  GLenum __pyx_t_4;
  GLsizei __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttribIPointer", 0);

  /* "renpy/uguu/uguu.pyx":922
 * 
 * def glVertexAttribIPointer(index, size, type, stride, pointer):
 *     cdef ptr pointer_ptr = get_ptr(pointer)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttribIPointer(index, size, type, stride, <const void *> pointer_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_pointer)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 922, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_pointer_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":923
 * def glVertexAttribIPointer(index, size, type, stride, pointer):
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glVertexAttribIPointer(index, size, type, stride, <const void *> pointer_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glVertexAttribPointer(index, size, type, normalized, stride, pointer):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 923, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_size); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 923, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLenum(__pyx_v_type); if (unlikely((__pyx_t_4 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 923, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLsizei(__pyx_v_stride); if (unlikely((__pyx_t_5 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 923, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttribIPointer(__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, ((void const *)__pyx_v_pointer_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":921
 *     renpy.uguu.gl.glVertexAttribI4uiv(index, <const GLuint *> v_ptr.ptr)
 * 
 * def glVertexAttribIPointer(index, size, type, stride, pointer):             # <<<<<<<<<<<<<<
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glVertexAttribIPointer(index, size, type, stride, <const void *> pointer_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttribIPointer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_pointer_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":925
 *     renpy.uguu.gl.glVertexAttribIPointer(index, size, type, stride, <const void *> pointer_ptr.ptr)
 * 
 * def glVertexAttribPointer(index, size, type, normalized, stride, pointer):             # <<<<<<<<<<<<<<
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glVertexAttribPointer(index, size, type, normalized, stride, <const void *> pointer_ptr.ptr)
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_391glVertexAttribPointer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_391glVertexAttribPointer = {"glVertexAttribPointer", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_391glVertexAttribPointer, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_391glVertexAttribPointer(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_index = 0;
  PyObject *__pyx_v_size = 0;
  PyObject *__pyx_v_type = 0;
  PyObject *__pyx_v_normalized = 0;
  PyObject *__pyx_v_stride = 0;
  PyObject *__pyx_v_pointer = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glVertexAttribPointer (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_index,&__pyx_n_s_size,&__pyx_n_s_type,&__pyx_n_s_normalized,&__pyx_n_s_stride,&__pyx_n_s_pointer,0};
    PyObject* values[6] = {0,0,0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_index)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_size)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribPointer", 1, 6, 6, 1); __PYX_ERR(1, 925, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribPointer", 1, 6, 6, 2); __PYX_ERR(1, 925, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_normalized)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribPointer", 1, 6, 6, 3); __PYX_ERR(1, 925, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_stride)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribPointer", 1, 6, 6, 4); __PYX_ERR(1, 925, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pointer)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glVertexAttribPointer", 1, 6, 6, 5); __PYX_ERR(1, 925, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glVertexAttribPointer") < 0)) __PYX_ERR(1, 925, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 6) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
      values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
      values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
    }
    __pyx_v_index = values[0];
    __pyx_v_size = values[1];
    __pyx_v_type = values[2];
    __pyx_v_normalized = values[3];
    __pyx_v_stride = values[4];
    __pyx_v_pointer = values[5];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glVertexAttribPointer", 1, 6, 6, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 925, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttribPointer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_390glVertexAttribPointer(__pyx_self, __pyx_v_index, __pyx_v_size, __pyx_v_type, __pyx_v_normalized, __pyx_v_stride, __pyx_v_pointer);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_390glVertexAttribPointer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_index, PyObject *__pyx_v_size, PyObject *__pyx_v_type, PyObject *__pyx_v_normalized, PyObject *__pyx_v_stride, PyObject *__pyx_v_pointer) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *__pyx_v_pointer_ptr = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  GLuint __pyx_t_2;
  GLint __pyx_t_3;
  GLenum __pyx_t_4;
  GLboolean __pyx_t_5;
  GLsizei __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glVertexAttribPointer", 0);

  /* "renpy/uguu/uguu.pyx":926
 * 
 * def glVertexAttribPointer(index, size, type, normalized, stride, pointer):
 *     cdef ptr pointer_ptr = get_ptr(pointer)             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttribPointer(index, size, type, normalized, stride, <const void *> pointer_ptr.ptr)
 * 
 */
  __pyx_t_1 = ((PyObject *)__pyx_f_5renpy_4uguu_4uguu_get_ptr(__pyx_v_pointer)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 926, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_pointer_ptr = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":927
 * def glVertexAttribPointer(index, size, type, normalized, stride, pointer):
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glVertexAttribPointer(index, size, type, normalized, stride, <const void *> pointer_ptr.ptr)             # <<<<<<<<<<<<<<
 * 
 * def glViewport(x, y, width, height):
 */
  __pyx_t_2 = __Pyx_PyInt_As_GLuint(__pyx_v_index); if (unlikely((__pyx_t_2 == ((GLuint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 927, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLint(__pyx_v_size); if (unlikely((__pyx_t_3 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 927, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLenum(__pyx_v_type); if (unlikely((__pyx_t_4 == ((GLenum)-1)) && PyErr_Occurred())) __PYX_ERR(1, 927, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyInt_As_GLboolean(__pyx_v_normalized); if (unlikely((__pyx_t_5 == ((GLboolean)-1)) && PyErr_Occurred())) __PYX_ERR(1, 927, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyInt_As_GLsizei(__pyx_v_stride); if (unlikely((__pyx_t_6 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 927, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glVertexAttribPointer(__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_5, __pyx_t_6, ((void const *)__pyx_v_pointer_ptr->ptr));

  /* "renpy/uguu/uguu.pyx":925
 *     renpy.uguu.gl.glVertexAttribIPointer(index, size, type, stride, <const void *> pointer_ptr.ptr)
 * 
 * def glVertexAttribPointer(index, size, type, normalized, stride, pointer):             # <<<<<<<<<<<<<<
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glVertexAttribPointer(index, size, type, normalized, stride, <const void *> pointer_ptr.ptr)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.uguu.uguu.glVertexAttribPointer", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_pointer_ptr);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/uguu/uguu.pyx":929
 *     renpy.uguu.gl.glVertexAttribPointer(index, size, type, normalized, stride, <const void *> pointer_ptr.ptr)
 * 
 * def glViewport(x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glViewport(x, y, width, height)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_393glViewport(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_4uguu_4uguu_393glViewport = {"glViewport", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_5renpy_4uguu_4uguu_393glViewport, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_5renpy_4uguu_4uguu_393glViewport(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_x = 0;
  PyObject *__pyx_v_y = 0;
  PyObject *__pyx_v_width = 0;
  PyObject *__pyx_v_height = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("glViewport (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_x,&__pyx_n_s_y,&__pyx_n_s_width,&__pyx_n_s_height,0};
    PyObject* values[4] = {0,0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_y)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glViewport", 1, 4, 4, 1); __PYX_ERR(1, 929, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glViewport", 1, 4, 4, 2); __PYX_ERR(1, 929, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("glViewport", 1, 4, 4, 3); __PYX_ERR(1, 929, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "glViewport") < 0)) __PYX_ERR(1, 929, __pyx_L3_error)
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
    }
    __pyx_v_x = values[0];
    __pyx_v_y = values[1];
    __pyx_v_width = values[2];
    __pyx_v_height = values[3];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("glViewport", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(1, 929, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glViewport", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_5renpy_4uguu_4uguu_392glViewport(__pyx_self, __pyx_v_x, __pyx_v_y, __pyx_v_width, __pyx_v_height);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_4uguu_4uguu_392glViewport(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_width, PyObject *__pyx_v_height) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  GLint __pyx_t_1;
  GLint __pyx_t_2;
  GLsizei __pyx_t_3;
  GLsizei __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("glViewport", 0);

  /* "renpy/uguu/uguu.pyx":930
 * 
 * def glViewport(x, y, width, height):
 *     renpy.uguu.gl.glViewport(x, y, width, height)             # <<<<<<<<<<<<<<
 * 
 * GL_FALSE = renpy.uguu.gl.GL_FALSE
 */
  __pyx_t_1 = __Pyx_PyInt_As_GLint(__pyx_v_x); if (unlikely((__pyx_t_1 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 930, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyInt_As_GLint(__pyx_v_y); if (unlikely((__pyx_t_2 == ((GLint)-1)) && PyErr_Occurred())) __PYX_ERR(1, 930, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyInt_As_GLsizei(__pyx_v_width); if (unlikely((__pyx_t_3 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 930, __pyx_L1_error)
  __pyx_t_4 = __Pyx_PyInt_As_GLsizei(__pyx_v_height); if (unlikely((__pyx_t_4 == ((GLsizei)-1)) && PyErr_Occurred())) __PYX_ERR(1, 930, __pyx_L1_error)
  __pyx_v_5renpy_4uguu_2gl_glViewport(__pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);

  /* "renpy/uguu/uguu.pyx":929
 *     renpy.uguu.gl.glVertexAttribPointer(index, size, type, normalized, stride, <const void *> pointer_ptr.ptr)
 * 
 * def glViewport(x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glViewport(x, y, width, height)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("renpy.uguu.uguu.glViewport", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_tp_new_5renpy_4uguu_4uguu_ptr(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
  struct __pyx_obj_5renpy_4uguu_4uguu_ptr *p;
  PyObject *o;
  if (likely((t->tp_flags & Py_TPFLAGS_IS_ABSTRACT) == 0)) {
    o = (*t->tp_alloc)(t, 0);
  } else {
    o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0);
  }
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_5renpy_4uguu_4uguu_ptr *)o);
  p->view.obj = NULL;
  return o;
}

static void __pyx_tp_dealloc_5renpy_4uguu_4uguu_ptr(PyObject *o) {
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && (!PyType_IS_GC(Py_TYPE(o)) || !_PyGC_FINALIZED(o))) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  {
    PyObject *etype, *eval, *etb;
    PyErr_Fetch(&etype, &eval, &etb);
    __Pyx_SET_REFCNT(o, Py_REFCNT(o) + 1);
    __pyx_pw_5renpy_4uguu_4uguu_3ptr_3__dealloc__(o);
    __Pyx_SET_REFCNT(o, Py_REFCNT(o) - 1);
    PyErr_Restore(etype, eval, etb);
  }
  (*Py_TYPE(o)->tp_free)(o);
}

static PyMethodDef __pyx_methods_5renpy_4uguu_4uguu_ptr[] = {
  {"__reduce_cython__", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_3ptr_5__reduce_cython__, METH_NOARGS, 0},
  {"__setstate_cython__", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_3ptr_7__setstate_cython__, METH_O, 0},
  {0, 0, 0, 0}
};

static PyTypeObject __pyx_type_5renpy_4uguu_4uguu_ptr = {
  PyVarObject_HEAD_INIT(0, 0)
  "renpy.uguu.uguu.ptr", /*tp_name*/
  sizeof(struct __pyx_obj_5renpy_4uguu_4uguu_ptr), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_5renpy_4uguu_4uguu_ptr, /*tp_dealloc*/
  #if PY_VERSION_HEX < 0x030800b4
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4
  0, /*tp_vectorcall_offset*/
  #endif
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #endif
  #if PY_MAJOR_VERSION >= 3
  0, /*tp_as_async*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
  "\n    This is a class that wraps a generic contiguous Python buffer, and\n    allows the retrieval of a pointer to that buffer.\n    ", /*tp_doc*/
  0, /*tp_traverse*/
  0, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_5renpy_4uguu_4uguu_ptr, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_5renpy_4uguu_4uguu_3ptr_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_5renpy_4uguu_4uguu_ptr, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b1
  0, /*tp_vectorcall*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
  0, /*tp_print*/
  #endif
};
static struct __pyx_vtabstruct_5renpy_4uguu_4uguu_Buffer __pyx_vtable_5renpy_4uguu_4uguu_Buffer;

static PyObject *__pyx_tp_new_5renpy_4uguu_4uguu_Buffer(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
  struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *p;
  PyObject *o;
  if (likely((t->tp_flags & Py_TPFLAGS_IS_ABSTRACT) == 0)) {
    o = (*t->tp_alloc)(t, 0);
  } else {
    o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0);
  }
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *)o);
  p->__pyx_vtab = __pyx_vtabptr_5renpy_4uguu_4uguu_Buffer;
  return o;
}

static void __pyx_tp_dealloc_5renpy_4uguu_4uguu_Buffer(PyObject *o) {
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && (!PyType_IS_GC(Py_TYPE(o)) || !_PyGC_FINALIZED(o))) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  {
    PyObject *etype, *eval, *etb;
    PyErr_Fetch(&etype, &eval, &etb);
    __Pyx_SET_REFCNT(o, Py_REFCNT(o) + 1);
    __pyx_pw_5renpy_4uguu_4uguu_6Buffer_5__dealloc__(o);
    __Pyx_SET_REFCNT(o, Py_REFCNT(o) - 1);
    PyErr_Restore(etype, eval, etb);
  }
  (*Py_TYPE(o)->tp_free)(o);
}

static PyMethodDef __pyx_methods_5renpy_4uguu_4uguu_Buffer[] = {
  {"__reduce_cython__", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_6Buffer_7__reduce_cython__, METH_NOARGS, 0},
  {"__setstate_cython__", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_6Buffer_9__setstate_cython__, METH_O, 0},
  {0, 0, 0, 0}
};

static PyBufferProcs __pyx_tp_as_buffer_Buffer = {
  #if PY_MAJOR_VERSION < 3
  0, /*bf_getreadbuffer*/
  #endif
  #if PY_MAJOR_VERSION < 3
  0, /*bf_getwritebuffer*/
  #endif
  #if PY_MAJOR_VERSION < 3
  0, /*bf_getsegcount*/
  #endif
  #if PY_MAJOR_VERSION < 3
  0, /*bf_getcharbuffer*/
  #endif
  __pyx_pw_5renpy_4uguu_4uguu_6Buffer_1__getbuffer__, /*bf_getbuffer*/
  __pyx_pw_5renpy_4uguu_4uguu_6Buffer_3__releasebuffer__, /*bf_releasebuffer*/
};

static PyTypeObject __pyx_type_5renpy_4uguu_4uguu_Buffer = {
  PyVarObject_HEAD_INIT(0, 0)
  "renpy.uguu.uguu.Buffer", /*tp_name*/
  sizeof(struct __pyx_obj_5renpy_4uguu_4uguu_Buffer), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_5renpy_4uguu_4uguu_Buffer, /*tp_dealloc*/
  #if PY_VERSION_HEX < 0x030800b4
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4
  0, /*tp_vectorcall_offset*/
  #endif
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #endif
  #if PY_MAJOR_VERSION >= 3
  0, /*tp_as_async*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  &__pyx_tp_as_buffer_Buffer, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
  "\n    The base class for all buffers.\n    ", /*tp_doc*/
  0, /*tp_traverse*/
  0, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_5renpy_4uguu_4uguu_Buffer, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_5renpy_4uguu_4uguu_Buffer, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b1
  0, /*tp_vectorcall*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
  0, /*tp_print*/
  #endif
};
static struct __pyx_vtabstruct_5renpy_4uguu_4uguu_BytesBuffer __pyx_vtable_5renpy_4uguu_4uguu_BytesBuffer;

static PyObject *__pyx_tp_new_5renpy_4uguu_4uguu_BytesBuffer(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *p;
  PyObject *o = __pyx_tp_new_5renpy_4uguu_4uguu_Buffer(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_5renpy_4uguu_4uguu_Buffer*)__pyx_vtabptr_5renpy_4uguu_4uguu_BytesBuffer;
  return o;
}

static PyMethodDef __pyx_methods_5renpy_4uguu_4uguu_BytesBuffer[] = {
  {"get", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_11BytesBuffer_3get, METH_NOARGS, 0},
  {"__reduce_cython__", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_11BytesBuffer_5__reduce_cython__, METH_NOARGS, 0},
  {"__setstate_cython__", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_11BytesBuffer_7__setstate_cython__, METH_O, 0},
  {0, 0, 0, 0}
};

static PyTypeObject __pyx_type_5renpy_4uguu_4uguu_BytesBuffer = {
  PyVarObject_HEAD_INIT(0, 0)
  "renpy.uguu.uguu.BytesBuffer", /*tp_name*/
  sizeof(struct __pyx_obj_5renpy_4uguu_4uguu_BytesBuffer), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_5renpy_4uguu_4uguu_Buffer, /*tp_dealloc*/
  #if PY_VERSION_HEX < 0x030800b4
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4
  0, /*tp_vectorcall_offset*/
  #endif
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #endif
  #if PY_MAJOR_VERSION >= 3
  0, /*tp_as_async*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
  0, /*tp_doc*/
  0, /*tp_traverse*/
  0, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_5renpy_4uguu_4uguu_BytesBuffer, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_5renpy_4uguu_4uguu_11BytesBuffer_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_5renpy_4uguu_4uguu_BytesBuffer, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b1
  0, /*tp_vectorcall*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
  0, /*tp_print*/
  #endif
};
static struct __pyx_vtabstruct_5renpy_4uguu_4uguu_BytesListBuffer __pyx_vtable_5renpy_4uguu_4uguu_BytesListBuffer;

static PyObject *__pyx_tp_new_5renpy_4uguu_4uguu_BytesListBuffer(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *p;
  PyObject *o = __pyx_tp_new_5renpy_4uguu_4uguu_Buffer(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_5renpy_4uguu_4uguu_Buffer*)__pyx_vtabptr_5renpy_4uguu_4uguu_BytesListBuffer;
  p->value = Py_None; Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_5renpy_4uguu_4uguu_BytesListBuffer(PyObject *o) {
  struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *p = (struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->value);
  #if CYTHON_USE_TYPE_SLOTS
  if (PyType_IS_GC(Py_TYPE(o)->tp_base))
  #endif
  PyObject_GC_Track(o);
  __pyx_tp_dealloc_5renpy_4uguu_4uguu_Buffer(o);
}

static int __pyx_tp_traverse_5renpy_4uguu_4uguu_BytesListBuffer(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *p = (struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *)o;
  e = ((likely(__pyx_ptype_5renpy_4uguu_4uguu_Buffer)) ? ((__pyx_ptype_5renpy_4uguu_4uguu_Buffer->tp_traverse) ? __pyx_ptype_5renpy_4uguu_4uguu_Buffer->tp_traverse(o, v, a) : 0) : __Pyx_call_next_tp_traverse(o, v, a, __pyx_tp_traverse_5renpy_4uguu_4uguu_BytesListBuffer)); if (e) return e;
  if (p->value) {
    e = (*v)(p->value, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_5renpy_4uguu_4uguu_BytesListBuffer(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *p = (struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer *)o;
  if (likely(__pyx_ptype_5renpy_4uguu_4uguu_Buffer)) { if (__pyx_ptype_5renpy_4uguu_4uguu_Buffer->tp_clear) __pyx_ptype_5renpy_4uguu_4uguu_Buffer->tp_clear(o); } else __Pyx_call_next_tp_clear(o, __pyx_tp_clear_5renpy_4uguu_4uguu_BytesListBuffer);
  tmp = ((PyObject*)p->value);
  p->value = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyMethodDef __pyx_methods_5renpy_4uguu_4uguu_BytesListBuffer[] = {
  {"__reduce_cython__", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_15BytesListBuffer_3__reduce_cython__, METH_NOARGS, 0},
  {"__setstate_cython__", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_15BytesListBuffer_5__setstate_cython__, METH_O, 0},
  {0, 0, 0, 0}
};

static PyTypeObject __pyx_type_5renpy_4uguu_4uguu_BytesListBuffer = {
  PyVarObject_HEAD_INIT(0, 0)
  "renpy.uguu.uguu.BytesListBuffer", /*tp_name*/
  sizeof(struct __pyx_obj_5renpy_4uguu_4uguu_BytesListBuffer), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_5renpy_4uguu_4uguu_BytesListBuffer, /*tp_dealloc*/
  #if PY_VERSION_HEX < 0x030800b4
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4
  0, /*tp_vectorcall_offset*/
  #endif
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #endif
  #if PY_MAJOR_VERSION >= 3
  0, /*tp_as_async*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  0, /*tp_doc*/
  __pyx_tp_traverse_5renpy_4uguu_4uguu_BytesListBuffer, /*tp_traverse*/
  __pyx_tp_clear_5renpy_4uguu_4uguu_BytesListBuffer, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_5renpy_4uguu_4uguu_BytesListBuffer, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_5renpy_4uguu_4uguu_15BytesListBuffer_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_5renpy_4uguu_4uguu_BytesListBuffer, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b1
  0, /*tp_vectorcall*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
  0, /*tp_print*/
  #endif
};
static struct __pyx_vtabstruct_5renpy_4uguu_4uguu_IntBuffer __pyx_vtable_5renpy_4uguu_4uguu_IntBuffer;

static PyObject *__pyx_tp_new_5renpy_4uguu_4uguu_IntBuffer(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *p;
  PyObject *o = __pyx_tp_new_5renpy_4uguu_4uguu_Buffer(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_5renpy_4uguu_4uguu_Buffer*)__pyx_vtabptr_5renpy_4uguu_4uguu_IntBuffer;
  return o;
}
static PyObject *__pyx_sq_item_5renpy_4uguu_4uguu_IntBuffer(PyObject *o, Py_ssize_t i) {
  PyObject *r;
  PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0;
  r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x);
  Py_DECREF(x);
  return r;
}

static PyMethodDef __pyx_methods_5renpy_4uguu_4uguu_IntBuffer[] = {
  {"__reduce_cython__", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_9IntBuffer_5__reduce_cython__, METH_NOARGS, 0},
  {"__setstate_cython__", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_9IntBuffer_7__setstate_cython__, METH_O, 0},
  {0, 0, 0, 0}
};

static PySequenceMethods __pyx_tp_as_sequence_IntBuffer = {
  0, /*sq_length*/
  0, /*sq_concat*/
  0, /*sq_repeat*/
  __pyx_sq_item_5renpy_4uguu_4uguu_IntBuffer, /*sq_item*/
  0, /*sq_slice*/
  0, /*sq_ass_item*/
  0, /*sq_ass_slice*/
  0, /*sq_contains*/
  0, /*sq_inplace_concat*/
  0, /*sq_inplace_repeat*/
};

static PyMappingMethods __pyx_tp_as_mapping_IntBuffer = {
  0, /*mp_length*/
  __pyx_pw_5renpy_4uguu_4uguu_9IntBuffer_3__getitem__, /*mp_subscript*/
  0, /*mp_ass_subscript*/
};

static PyTypeObject __pyx_type_5renpy_4uguu_4uguu_IntBuffer = {
  PyVarObject_HEAD_INIT(0, 0)
  "renpy.uguu.uguu.IntBuffer", /*tp_name*/
  sizeof(struct __pyx_obj_5renpy_4uguu_4uguu_IntBuffer), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_5renpy_4uguu_4uguu_Buffer, /*tp_dealloc*/
  #if PY_VERSION_HEX < 0x030800b4
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4
  0, /*tp_vectorcall_offset*/
  #endif
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #endif
  #if PY_MAJOR_VERSION >= 3
  0, /*tp_as_async*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  &__pyx_tp_as_sequence_IntBuffer, /*tp_as_sequence*/
  &__pyx_tp_as_mapping_IntBuffer, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
  0, /*tp_doc*/
  0, /*tp_traverse*/
  0, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_5renpy_4uguu_4uguu_IntBuffer, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_5renpy_4uguu_4uguu_9IntBuffer_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_5renpy_4uguu_4uguu_IntBuffer, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b1
  0, /*tp_vectorcall*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
  0, /*tp_print*/
  #endif
};
static struct __pyx_vtabstruct_5renpy_4uguu_4uguu_FloatBuffer __pyx_vtable_5renpy_4uguu_4uguu_FloatBuffer;

static PyObject *__pyx_tp_new_5renpy_4uguu_4uguu_FloatBuffer(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *p;
  PyObject *o = __pyx_tp_new_5renpy_4uguu_4uguu_Buffer(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_5renpy_4uguu_4uguu_Buffer*)__pyx_vtabptr_5renpy_4uguu_4uguu_FloatBuffer;
  return o;
}
static PyObject *__pyx_sq_item_5renpy_4uguu_4uguu_FloatBuffer(PyObject *o, Py_ssize_t i) {
  PyObject *r;
  PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0;
  r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x);
  Py_DECREF(x);
  return r;
}

static PyMethodDef __pyx_methods_5renpy_4uguu_4uguu_FloatBuffer[] = {
  {"__reduce_cython__", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_11FloatBuffer_5__reduce_cython__, METH_NOARGS, 0},
  {"__setstate_cython__", (PyCFunction)__pyx_pw_5renpy_4uguu_4uguu_11FloatBuffer_7__setstate_cython__, METH_O, 0},
  {0, 0, 0, 0}
};

static PySequenceMethods __pyx_tp_as_sequence_FloatBuffer = {
  0, /*sq_length*/
  0, /*sq_concat*/
  0, /*sq_repeat*/
  __pyx_sq_item_5renpy_4uguu_4uguu_FloatBuffer, /*sq_item*/
  0, /*sq_slice*/
  0, /*sq_ass_item*/
  0, /*sq_ass_slice*/
  0, /*sq_contains*/
  0, /*sq_inplace_concat*/
  0, /*sq_inplace_repeat*/
};

static PyMappingMethods __pyx_tp_as_mapping_FloatBuffer = {
  0, /*mp_length*/
  __pyx_pw_5renpy_4uguu_4uguu_11FloatBuffer_3__getitem__, /*mp_subscript*/
  0, /*mp_ass_subscript*/
};

static PyTypeObject __pyx_type_5renpy_4uguu_4uguu_FloatBuffer = {
  PyVarObject_HEAD_INIT(0, 0)
  "renpy.uguu.uguu.FloatBuffer", /*tp_name*/
  sizeof(struct __pyx_obj_5renpy_4uguu_4uguu_FloatBuffer), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_5renpy_4uguu_4uguu_Buffer, /*tp_dealloc*/
  #if PY_VERSION_HEX < 0x030800b4
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4
  0, /*tp_vectorcall_offset*/
  #endif
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #endif
  #if PY_MAJOR_VERSION >= 3
  0, /*tp_as_async*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  &__pyx_tp_as_sequence_FloatBuffer, /*tp_as_sequence*/
  &__pyx_tp_as_mapping_FloatBuffer, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
  0, /*tp_doc*/
  0, /*tp_traverse*/
  0, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_5renpy_4uguu_4uguu_FloatBuffer, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_5renpy_4uguu_4uguu_11FloatBuffer_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_5renpy_4uguu_4uguu_FloatBuffer, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b1
  0, /*tp_vectorcall*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
  0, /*tp_print*/
  #endif
};

static PyMethodDef __pyx_methods[] = {
  {0, 0, 0, 0}
};

#if PY_MAJOR_VERSION >= 3
#if CYTHON_PEP489_MULTI_PHASE_INIT
static PyObject* __pyx_pymod_create(PyObject *spec, PyModuleDef *def); /*proto*/
static int __pyx_pymod_exec_uguu(PyObject* module); /*proto*/
static PyModuleDef_Slot __pyx_moduledef_slots[] = {
  {Py_mod_create, (void*)__pyx_pymod_create},
  {Py_mod_exec, (void*)__pyx_pymod_exec_uguu},
  {0, NULL}
};
#endif

static struct PyModuleDef __pyx_moduledef = {
    PyModuleDef_HEAD_INIT,
    "uguu",
    0, /* m_doc */
  #if CYTHON_PEP489_MULTI_PHASE_INIT
    0, /* m_size */
  #else
    -1, /* m_size */
  #endif
    __pyx_methods /* m_methods */,
  #if CYTHON_PEP489_MULTI_PHASE_INIT
    __pyx_moduledef_slots, /* m_slots */
  #else
    NULL, /* m_reload */
  #endif
    NULL, /* m_traverse */
    NULL, /* m_clear */
    NULL /* m_free */
};
#endif
#ifndef CYTHON_SMALL_CODE
#if defined(__clang__)
    #define CYTHON_SMALL_CODE
#elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
    #define CYTHON_SMALL_CODE __attribute__((cold))
#else
    #define CYTHON_SMALL_CODE
#endif
#endif

static __Pyx_StringTabEntry __pyx_string_tab[] = {
  {&__pyx_n_s_Buffer, __pyx_k_Buffer, sizeof(__pyx_k_Buffer), 0, 0, 1, 1},
  {&__pyx_n_s_BytesBuffer, __pyx_k_BytesBuffer, sizeof(__pyx_k_BytesBuffer), 0, 0, 1, 1},
  {&__pyx_n_s_BytesListBuffer, __pyx_k_BytesListBuffer, sizeof(__pyx_k_BytesListBuffer), 0, 0, 1, 1},
  {&__pyx_n_s_FloatBuffer, __pyx_k_FloatBuffer, sizeof(__pyx_k_FloatBuffer), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ACTIVE_ATTRIBUTES, __pyx_k_GL_ACTIVE_ATTRIBUTES, sizeof(__pyx_k_GL_ACTIVE_ATTRIBUTES), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, __pyx_k_GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, sizeof(__pyx_k_GL_ACTIVE_ATTRIBUTE_MAX_LENGTH), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ACTIVE_TEXTURE, __pyx_k_GL_ACTIVE_TEXTURE, sizeof(__pyx_k_GL_ACTIVE_TEXTURE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ACTIVE_UNIFORMS, __pyx_k_GL_ACTIVE_UNIFORMS, sizeof(__pyx_k_GL_ACTIVE_UNIFORMS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ACTIVE_UNIFORM_MAX_LENGTH, __pyx_k_GL_ACTIVE_UNIFORM_MAX_LENGTH, sizeof(__pyx_k_GL_ACTIVE_UNIFORM_MAX_LENGTH), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ALIASED_LINE_WIDTH_RANGE, __pyx_k_GL_ALIASED_LINE_WIDTH_RANGE, sizeof(__pyx_k_GL_ALIASED_LINE_WIDTH_RANGE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ALIASED_POINT_SIZE_RANGE, __pyx_k_GL_ALIASED_POINT_SIZE_RANGE, sizeof(__pyx_k_GL_ALIASED_POINT_SIZE_RANGE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ALPHA, __pyx_k_GL_ALPHA, sizeof(__pyx_k_GL_ALPHA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ALPHA_BITS, __pyx_k_GL_ALPHA_BITS, sizeof(__pyx_k_GL_ALPHA_BITS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ALWAYS, __pyx_k_GL_ALWAYS, sizeof(__pyx_k_GL_ALWAYS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ARRAY_BUFFER, __pyx_k_GL_ARRAY_BUFFER, sizeof(__pyx_k_GL_ARRAY_BUFFER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ARRAY_BUFFER_BINDING, __pyx_k_GL_ARRAY_BUFFER_BINDING, sizeof(__pyx_k_GL_ARRAY_BUFFER_BINDING), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ATTACHED_SHADERS, __pyx_k_GL_ATTACHED_SHADERS, sizeof(__pyx_k_GL_ATTACHED_SHADERS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BACK, __pyx_k_GL_BACK, sizeof(__pyx_k_GL_BACK), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BLEND, __pyx_k_GL_BLEND, sizeof(__pyx_k_GL_BLEND), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BLEND_COLOR, __pyx_k_GL_BLEND_COLOR, sizeof(__pyx_k_GL_BLEND_COLOR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BLEND_DST_ALPHA, __pyx_k_GL_BLEND_DST_ALPHA, sizeof(__pyx_k_GL_BLEND_DST_ALPHA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BLEND_DST_RGB, __pyx_k_GL_BLEND_DST_RGB, sizeof(__pyx_k_GL_BLEND_DST_RGB), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BLEND_EQUATION, __pyx_k_GL_BLEND_EQUATION, sizeof(__pyx_k_GL_BLEND_EQUATION), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BLEND_EQUATION_ALPHA, __pyx_k_GL_BLEND_EQUATION_ALPHA, sizeof(__pyx_k_GL_BLEND_EQUATION_ALPHA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BLEND_EQUATION_RGB, __pyx_k_GL_BLEND_EQUATION_RGB, sizeof(__pyx_k_GL_BLEND_EQUATION_RGB), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BLEND_SRC_ALPHA, __pyx_k_GL_BLEND_SRC_ALPHA, sizeof(__pyx_k_GL_BLEND_SRC_ALPHA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BLEND_SRC_RGB, __pyx_k_GL_BLEND_SRC_RGB, sizeof(__pyx_k_GL_BLEND_SRC_RGB), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BLUE, __pyx_k_GL_BLUE, sizeof(__pyx_k_GL_BLUE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BLUE_BITS, __pyx_k_GL_BLUE_BITS, sizeof(__pyx_k_GL_BLUE_BITS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BOOL, __pyx_k_GL_BOOL, sizeof(__pyx_k_GL_BOOL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BOOL_VEC2, __pyx_k_GL_BOOL_VEC2, sizeof(__pyx_k_GL_BOOL_VEC2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BOOL_VEC3, __pyx_k_GL_BOOL_VEC3, sizeof(__pyx_k_GL_BOOL_VEC3), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BOOL_VEC4, __pyx_k_GL_BOOL_VEC4, sizeof(__pyx_k_GL_BOOL_VEC4), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BUFFER_ACCESS_FLAGS, __pyx_k_GL_BUFFER_ACCESS_FLAGS, sizeof(__pyx_k_GL_BUFFER_ACCESS_FLAGS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BUFFER_MAPPED, __pyx_k_GL_BUFFER_MAPPED, sizeof(__pyx_k_GL_BUFFER_MAPPED), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BUFFER_MAP_LENGTH, __pyx_k_GL_BUFFER_MAP_LENGTH, sizeof(__pyx_k_GL_BUFFER_MAP_LENGTH), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BUFFER_MAP_OFFSET, __pyx_k_GL_BUFFER_MAP_OFFSET, sizeof(__pyx_k_GL_BUFFER_MAP_OFFSET), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BUFFER_MAP_POINTER, __pyx_k_GL_BUFFER_MAP_POINTER, sizeof(__pyx_k_GL_BUFFER_MAP_POINTER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BUFFER_SIZE, __pyx_k_GL_BUFFER_SIZE, sizeof(__pyx_k_GL_BUFFER_SIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BUFFER_USAGE, __pyx_k_GL_BUFFER_USAGE, sizeof(__pyx_k_GL_BUFFER_USAGE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_BYTE, __pyx_k_GL_BYTE, sizeof(__pyx_k_GL_BYTE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_CCW, __pyx_k_GL_CCW, sizeof(__pyx_k_GL_CCW), 0, 0, 1, 1},
  {&__pyx_n_s_GL_CLAMP_TO_EDGE, __pyx_k_GL_CLAMP_TO_EDGE, sizeof(__pyx_k_GL_CLAMP_TO_EDGE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR, __pyx_k_GL_COLOR, sizeof(__pyx_k_GL_COLOR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT0, __pyx_k_GL_COLOR_ATTACHMENT0, sizeof(__pyx_k_GL_COLOR_ATTACHMENT0), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT1, __pyx_k_GL_COLOR_ATTACHMENT1, sizeof(__pyx_k_GL_COLOR_ATTACHMENT1), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT10, __pyx_k_GL_COLOR_ATTACHMENT10, sizeof(__pyx_k_GL_COLOR_ATTACHMENT10), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT11, __pyx_k_GL_COLOR_ATTACHMENT11, sizeof(__pyx_k_GL_COLOR_ATTACHMENT11), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT12, __pyx_k_GL_COLOR_ATTACHMENT12, sizeof(__pyx_k_GL_COLOR_ATTACHMENT12), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT13, __pyx_k_GL_COLOR_ATTACHMENT13, sizeof(__pyx_k_GL_COLOR_ATTACHMENT13), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT14, __pyx_k_GL_COLOR_ATTACHMENT14, sizeof(__pyx_k_GL_COLOR_ATTACHMENT14), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT15, __pyx_k_GL_COLOR_ATTACHMENT15, sizeof(__pyx_k_GL_COLOR_ATTACHMENT15), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT16, __pyx_k_GL_COLOR_ATTACHMENT16, sizeof(__pyx_k_GL_COLOR_ATTACHMENT16), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT17, __pyx_k_GL_COLOR_ATTACHMENT17, sizeof(__pyx_k_GL_COLOR_ATTACHMENT17), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT18, __pyx_k_GL_COLOR_ATTACHMENT18, sizeof(__pyx_k_GL_COLOR_ATTACHMENT18), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT19, __pyx_k_GL_COLOR_ATTACHMENT19, sizeof(__pyx_k_GL_COLOR_ATTACHMENT19), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT2, __pyx_k_GL_COLOR_ATTACHMENT2, sizeof(__pyx_k_GL_COLOR_ATTACHMENT2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT20, __pyx_k_GL_COLOR_ATTACHMENT20, sizeof(__pyx_k_GL_COLOR_ATTACHMENT20), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT21, __pyx_k_GL_COLOR_ATTACHMENT21, sizeof(__pyx_k_GL_COLOR_ATTACHMENT21), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT22, __pyx_k_GL_COLOR_ATTACHMENT22, sizeof(__pyx_k_GL_COLOR_ATTACHMENT22), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT23, __pyx_k_GL_COLOR_ATTACHMENT23, sizeof(__pyx_k_GL_COLOR_ATTACHMENT23), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT24, __pyx_k_GL_COLOR_ATTACHMENT24, sizeof(__pyx_k_GL_COLOR_ATTACHMENT24), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT25, __pyx_k_GL_COLOR_ATTACHMENT25, sizeof(__pyx_k_GL_COLOR_ATTACHMENT25), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT26, __pyx_k_GL_COLOR_ATTACHMENT26, sizeof(__pyx_k_GL_COLOR_ATTACHMENT26), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT27, __pyx_k_GL_COLOR_ATTACHMENT27, sizeof(__pyx_k_GL_COLOR_ATTACHMENT27), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT28, __pyx_k_GL_COLOR_ATTACHMENT28, sizeof(__pyx_k_GL_COLOR_ATTACHMENT28), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT29, __pyx_k_GL_COLOR_ATTACHMENT29, sizeof(__pyx_k_GL_COLOR_ATTACHMENT29), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT3, __pyx_k_GL_COLOR_ATTACHMENT3, sizeof(__pyx_k_GL_COLOR_ATTACHMENT3), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT30, __pyx_k_GL_COLOR_ATTACHMENT30, sizeof(__pyx_k_GL_COLOR_ATTACHMENT30), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT31, __pyx_k_GL_COLOR_ATTACHMENT31, sizeof(__pyx_k_GL_COLOR_ATTACHMENT31), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT4, __pyx_k_GL_COLOR_ATTACHMENT4, sizeof(__pyx_k_GL_COLOR_ATTACHMENT4), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT5, __pyx_k_GL_COLOR_ATTACHMENT5, sizeof(__pyx_k_GL_COLOR_ATTACHMENT5), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT6, __pyx_k_GL_COLOR_ATTACHMENT6, sizeof(__pyx_k_GL_COLOR_ATTACHMENT6), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT7, __pyx_k_GL_COLOR_ATTACHMENT7, sizeof(__pyx_k_GL_COLOR_ATTACHMENT7), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT8, __pyx_k_GL_COLOR_ATTACHMENT8, sizeof(__pyx_k_GL_COLOR_ATTACHMENT8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_ATTACHMENT9, __pyx_k_GL_COLOR_ATTACHMENT9, sizeof(__pyx_k_GL_COLOR_ATTACHMENT9), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_BUFFER_BIT, __pyx_k_GL_COLOR_BUFFER_BIT, sizeof(__pyx_k_GL_COLOR_BUFFER_BIT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_CLEAR_VALUE, __pyx_k_GL_COLOR_CLEAR_VALUE, sizeof(__pyx_k_GL_COLOR_CLEAR_VALUE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COLOR_WRITEMASK, __pyx_k_GL_COLOR_WRITEMASK, sizeof(__pyx_k_GL_COLOR_WRITEMASK), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COMPARE_REF_TO_TEXTURE, __pyx_k_GL_COMPARE_REF_TO_TEXTURE, sizeof(__pyx_k_GL_COMPARE_REF_TO_TEXTURE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COMPILE_STATUS, __pyx_k_GL_COMPILE_STATUS, sizeof(__pyx_k_GL_COMPILE_STATUS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_COMPRESSED_TEXTURE_FORMATS, __pyx_k_GL_COMPRESSED_TEXTURE_FORMATS, sizeof(__pyx_k_GL_COMPRESSED_TEXTURE_FORMATS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_CONSTANT_ALPHA, __pyx_k_GL_CONSTANT_ALPHA, sizeof(__pyx_k_GL_CONSTANT_ALPHA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_CONSTANT_COLOR, __pyx_k_GL_CONSTANT_COLOR, sizeof(__pyx_k_GL_CONSTANT_COLOR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_CULL_FACE, __pyx_k_GL_CULL_FACE, sizeof(__pyx_k_GL_CULL_FACE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_CULL_FACE_MODE, __pyx_k_GL_CULL_FACE_MODE, sizeof(__pyx_k_GL_CULL_FACE_MODE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_CURRENT_PROGRAM, __pyx_k_GL_CURRENT_PROGRAM, sizeof(__pyx_k_GL_CURRENT_PROGRAM), 0, 0, 1, 1},
  {&__pyx_n_s_GL_CURRENT_QUERY, __pyx_k_GL_CURRENT_QUERY, sizeof(__pyx_k_GL_CURRENT_QUERY), 0, 0, 1, 1},
  {&__pyx_n_s_GL_CURRENT_VERTEX_ATTRIB, __pyx_k_GL_CURRENT_VERTEX_ATTRIB, sizeof(__pyx_k_GL_CURRENT_VERTEX_ATTRIB), 0, 0, 1, 1},
  {&__pyx_n_s_GL_CW, __pyx_k_GL_CW, sizeof(__pyx_k_GL_CW), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DECR, __pyx_k_GL_DECR, sizeof(__pyx_k_GL_DECR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DECR_WRAP, __pyx_k_GL_DECR_WRAP, sizeof(__pyx_k_GL_DECR_WRAP), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DELETE_STATUS, __pyx_k_GL_DELETE_STATUS, sizeof(__pyx_k_GL_DELETE_STATUS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH, __pyx_k_GL_DEPTH, sizeof(__pyx_k_GL_DEPTH), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH24_STENCIL8, __pyx_k_GL_DEPTH24_STENCIL8, sizeof(__pyx_k_GL_DEPTH24_STENCIL8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH32F_STENCIL8, __pyx_k_GL_DEPTH32F_STENCIL8, sizeof(__pyx_k_GL_DEPTH32F_STENCIL8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_ATTACHMENT, __pyx_k_GL_DEPTH_ATTACHMENT, sizeof(__pyx_k_GL_DEPTH_ATTACHMENT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_BITS, __pyx_k_GL_DEPTH_BITS, sizeof(__pyx_k_GL_DEPTH_BITS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_BUFFER_BIT, __pyx_k_GL_DEPTH_BUFFER_BIT, sizeof(__pyx_k_GL_DEPTH_BUFFER_BIT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_CLEAR_VALUE, __pyx_k_GL_DEPTH_CLEAR_VALUE, sizeof(__pyx_k_GL_DEPTH_CLEAR_VALUE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_COMPONENT, __pyx_k_GL_DEPTH_COMPONENT, sizeof(__pyx_k_GL_DEPTH_COMPONENT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_COMPONENT16, __pyx_k_GL_DEPTH_COMPONENT16, sizeof(__pyx_k_GL_DEPTH_COMPONENT16), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_COMPONENT24, __pyx_k_GL_DEPTH_COMPONENT24, sizeof(__pyx_k_GL_DEPTH_COMPONENT24), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_COMPONENT32F, __pyx_k_GL_DEPTH_COMPONENT32F, sizeof(__pyx_k_GL_DEPTH_COMPONENT32F), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_FUNC, __pyx_k_GL_DEPTH_FUNC, sizeof(__pyx_k_GL_DEPTH_FUNC), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_RANGE, __pyx_k_GL_DEPTH_RANGE, sizeof(__pyx_k_GL_DEPTH_RANGE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_STENCIL, __pyx_k_GL_DEPTH_STENCIL, sizeof(__pyx_k_GL_DEPTH_STENCIL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_STENCIL_ATTACHMENT, __pyx_k_GL_DEPTH_STENCIL_ATTACHMENT, sizeof(__pyx_k_GL_DEPTH_STENCIL_ATTACHMENT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_TEST, __pyx_k_GL_DEPTH_TEST, sizeof(__pyx_k_GL_DEPTH_TEST), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DEPTH_WRITEMASK, __pyx_k_GL_DEPTH_WRITEMASK, sizeof(__pyx_k_GL_DEPTH_WRITEMASK), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DITHER, __pyx_k_GL_DITHER, sizeof(__pyx_k_GL_DITHER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DONT_CARE, __pyx_k_GL_DONT_CARE, sizeof(__pyx_k_GL_DONT_CARE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER0, __pyx_k_GL_DRAW_BUFFER0, sizeof(__pyx_k_GL_DRAW_BUFFER0), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER1, __pyx_k_GL_DRAW_BUFFER1, sizeof(__pyx_k_GL_DRAW_BUFFER1), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER10, __pyx_k_GL_DRAW_BUFFER10, sizeof(__pyx_k_GL_DRAW_BUFFER10), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER11, __pyx_k_GL_DRAW_BUFFER11, sizeof(__pyx_k_GL_DRAW_BUFFER11), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER12, __pyx_k_GL_DRAW_BUFFER12, sizeof(__pyx_k_GL_DRAW_BUFFER12), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER13, __pyx_k_GL_DRAW_BUFFER13, sizeof(__pyx_k_GL_DRAW_BUFFER13), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER14, __pyx_k_GL_DRAW_BUFFER14, sizeof(__pyx_k_GL_DRAW_BUFFER14), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER15, __pyx_k_GL_DRAW_BUFFER15, sizeof(__pyx_k_GL_DRAW_BUFFER15), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER2, __pyx_k_GL_DRAW_BUFFER2, sizeof(__pyx_k_GL_DRAW_BUFFER2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER3, __pyx_k_GL_DRAW_BUFFER3, sizeof(__pyx_k_GL_DRAW_BUFFER3), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER4, __pyx_k_GL_DRAW_BUFFER4, sizeof(__pyx_k_GL_DRAW_BUFFER4), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER5, __pyx_k_GL_DRAW_BUFFER5, sizeof(__pyx_k_GL_DRAW_BUFFER5), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER6, __pyx_k_GL_DRAW_BUFFER6, sizeof(__pyx_k_GL_DRAW_BUFFER6), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER7, __pyx_k_GL_DRAW_BUFFER7, sizeof(__pyx_k_GL_DRAW_BUFFER7), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER8, __pyx_k_GL_DRAW_BUFFER8, sizeof(__pyx_k_GL_DRAW_BUFFER8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_BUFFER9, __pyx_k_GL_DRAW_BUFFER9, sizeof(__pyx_k_GL_DRAW_BUFFER9), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_FRAMEBUFFER, __pyx_k_GL_DRAW_FRAMEBUFFER, sizeof(__pyx_k_GL_DRAW_FRAMEBUFFER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DRAW_FRAMEBUFFER_BINDING, __pyx_k_GL_DRAW_FRAMEBUFFER_BINDING, sizeof(__pyx_k_GL_DRAW_FRAMEBUFFER_BINDING), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DST_ALPHA, __pyx_k_GL_DST_ALPHA, sizeof(__pyx_k_GL_DST_ALPHA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DST_COLOR, __pyx_k_GL_DST_COLOR, sizeof(__pyx_k_GL_DST_COLOR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DYNAMIC_COPY, __pyx_k_GL_DYNAMIC_COPY, sizeof(__pyx_k_GL_DYNAMIC_COPY), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DYNAMIC_DRAW, __pyx_k_GL_DYNAMIC_DRAW, sizeof(__pyx_k_GL_DYNAMIC_DRAW), 0, 0, 1, 1},
  {&__pyx_n_s_GL_DYNAMIC_READ, __pyx_k_GL_DYNAMIC_READ, sizeof(__pyx_k_GL_DYNAMIC_READ), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ELEMENT_ARRAY_BUFFER, __pyx_k_GL_ELEMENT_ARRAY_BUFFER, sizeof(__pyx_k_GL_ELEMENT_ARRAY_BUFFER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ELEMENT_ARRAY_BUFFER_BINDING, __pyx_k_GL_ELEMENT_ARRAY_BUFFER_BINDING, sizeof(__pyx_k_GL_ELEMENT_ARRAY_BUFFER_BINDING), 0, 0, 1, 1},
  {&__pyx_n_s_GL_EQUAL, __pyx_k_GL_EQUAL, sizeof(__pyx_k_GL_EQUAL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_EXTENSIONS, __pyx_k_GL_EXTENSIONS, sizeof(__pyx_k_GL_EXTENSIONS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FALSE, __pyx_k_GL_FALSE, sizeof(__pyx_k_GL_FALSE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FASTEST, __pyx_k_GL_FASTEST, sizeof(__pyx_k_GL_FASTEST), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT, __pyx_k_GL_FLOAT, sizeof(__pyx_k_GL_FLOAT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_32_UNSIGNED_INT_24_8_RE, __pyx_k_GL_FLOAT_32_UNSIGNED_INT_24_8_RE, sizeof(__pyx_k_GL_FLOAT_32_UNSIGNED_INT_24_8_RE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_MAT2, __pyx_k_GL_FLOAT_MAT2, sizeof(__pyx_k_GL_FLOAT_MAT2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_MAT2x3, __pyx_k_GL_FLOAT_MAT2x3, sizeof(__pyx_k_GL_FLOAT_MAT2x3), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_MAT2x4, __pyx_k_GL_FLOAT_MAT2x4, sizeof(__pyx_k_GL_FLOAT_MAT2x4), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_MAT3, __pyx_k_GL_FLOAT_MAT3, sizeof(__pyx_k_GL_FLOAT_MAT3), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_MAT3x2, __pyx_k_GL_FLOAT_MAT3x2, sizeof(__pyx_k_GL_FLOAT_MAT3x2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_MAT3x4, __pyx_k_GL_FLOAT_MAT3x4, sizeof(__pyx_k_GL_FLOAT_MAT3x4), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_MAT4, __pyx_k_GL_FLOAT_MAT4, sizeof(__pyx_k_GL_FLOAT_MAT4), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_MAT4x2, __pyx_k_GL_FLOAT_MAT4x2, sizeof(__pyx_k_GL_FLOAT_MAT4x2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_MAT4x3, __pyx_k_GL_FLOAT_MAT4x3, sizeof(__pyx_k_GL_FLOAT_MAT4x3), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_VEC2, __pyx_k_GL_FLOAT_VEC2, sizeof(__pyx_k_GL_FLOAT_VEC2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_VEC3, __pyx_k_GL_FLOAT_VEC3, sizeof(__pyx_k_GL_FLOAT_VEC3), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FLOAT_VEC4, __pyx_k_GL_FLOAT_VEC4, sizeof(__pyx_k_GL_FLOAT_VEC4), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAGMENT_SHADER, __pyx_k_GL_FRAGMENT_SHADER, sizeof(__pyx_k_GL_FRAGMENT_SHADER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAGMENT_SHADER_DERIVATIVE_HI, __pyx_k_GL_FRAGMENT_SHADER_DERIVATIVE_HI, sizeof(__pyx_k_GL_FRAGMENT_SHADER_DERIVATIVE_HI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER, __pyx_k_GL_FRAMEBUFFER, sizeof(__pyx_k_GL_FRAMEBUFFER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_ALPHA, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_ALPHA, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_ALPHA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_BLUE_S, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_BLUE_S, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_BLUE_S), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_COLOR, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_COLOR, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_COLOR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_COMPON, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_COMPON, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_COMPON), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_DEPTH, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_DEPTH, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_DEPTH), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_GREEN, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_GREEN, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_GREEN), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_OBJECT, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_OBJECT, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_OBJECT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_OBJECT_2, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_OBJECT_2, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_OBJECT_2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_RED_SI, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_RED_SI, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_RED_SI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_STENCI, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_STENCI, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_STENCI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR_2, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR_2, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR_2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR_3, __pyx_k_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR_3, sizeof(__pyx_k_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR_3), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_BINDING, __pyx_k_GL_FRAMEBUFFER_BINDING, sizeof(__pyx_k_GL_FRAMEBUFFER_BINDING), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_COMPLETE, __pyx_k_GL_FRAMEBUFFER_COMPLETE, sizeof(__pyx_k_GL_FRAMEBUFFER_COMPLETE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_DEFAULT, __pyx_k_GL_FRAMEBUFFER_DEFAULT, sizeof(__pyx_k_GL_FRAMEBUFFER_DEFAULT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_INCOMPLETE_ATTACH, __pyx_k_GL_FRAMEBUFFER_INCOMPLETE_ATTACH, sizeof(__pyx_k_GL_FRAMEBUFFER_INCOMPLETE_ATTACH), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_INCOMPLETE_MISSIN, __pyx_k_GL_FRAMEBUFFER_INCOMPLETE_MISSIN, sizeof(__pyx_k_GL_FRAMEBUFFER_INCOMPLETE_MISSIN), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_INCOMPLETE_MULTIS, __pyx_k_GL_FRAMEBUFFER_INCOMPLETE_MULTIS, sizeof(__pyx_k_GL_FRAMEBUFFER_INCOMPLETE_MULTIS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_UNDEFINED, __pyx_k_GL_FRAMEBUFFER_UNDEFINED, sizeof(__pyx_k_GL_FRAMEBUFFER_UNDEFINED), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRAMEBUFFER_UNSUPPORTED, __pyx_k_GL_FRAMEBUFFER_UNSUPPORTED, sizeof(__pyx_k_GL_FRAMEBUFFER_UNSUPPORTED), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRONT, __pyx_k_GL_FRONT, sizeof(__pyx_k_GL_FRONT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRONT_AND_BACK, __pyx_k_GL_FRONT_AND_BACK, sizeof(__pyx_k_GL_FRONT_AND_BACK), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FRONT_FACE, __pyx_k_GL_FRONT_FACE, sizeof(__pyx_k_GL_FRONT_FACE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FUNC_ADD, __pyx_k_GL_FUNC_ADD, sizeof(__pyx_k_GL_FUNC_ADD), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FUNC_REVERSE_SUBTRACT, __pyx_k_GL_FUNC_REVERSE_SUBTRACT, sizeof(__pyx_k_GL_FUNC_REVERSE_SUBTRACT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_FUNC_SUBTRACT, __pyx_k_GL_FUNC_SUBTRACT, sizeof(__pyx_k_GL_FUNC_SUBTRACT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_GENERATE_MIPMAP_HINT, __pyx_k_GL_GENERATE_MIPMAP_HINT, sizeof(__pyx_k_GL_GENERATE_MIPMAP_HINT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_GEQUAL, __pyx_k_GL_GEQUAL, sizeof(__pyx_k_GL_GEQUAL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_GREATER, __pyx_k_GL_GREATER, sizeof(__pyx_k_GL_GREATER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_GREEN, __pyx_k_GL_GREEN, sizeof(__pyx_k_GL_GREEN), 0, 0, 1, 1},
  {&__pyx_n_s_GL_GREEN_BITS, __pyx_k_GL_GREEN_BITS, sizeof(__pyx_k_GL_GREEN_BITS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_HALF_FLOAT, __pyx_k_GL_HALF_FLOAT, sizeof(__pyx_k_GL_HALF_FLOAT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INCR, __pyx_k_GL_INCR, sizeof(__pyx_k_GL_INCR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INCR_WRAP, __pyx_k_GL_INCR_WRAP, sizeof(__pyx_k_GL_INCR_WRAP), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INFO_LOG_LENGTH, __pyx_k_GL_INFO_LOG_LENGTH, sizeof(__pyx_k_GL_INFO_LOG_LENGTH), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INT, __pyx_k_GL_INT, sizeof(__pyx_k_GL_INT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INTERLEAVED_ATTRIBS, __pyx_k_GL_INTERLEAVED_ATTRIBS, sizeof(__pyx_k_GL_INTERLEAVED_ATTRIBS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INT_SAMPLER_2D, __pyx_k_GL_INT_SAMPLER_2D, sizeof(__pyx_k_GL_INT_SAMPLER_2D), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INT_SAMPLER_2D_ARRAY, __pyx_k_GL_INT_SAMPLER_2D_ARRAY, sizeof(__pyx_k_GL_INT_SAMPLER_2D_ARRAY), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INT_SAMPLER_3D, __pyx_k_GL_INT_SAMPLER_3D, sizeof(__pyx_k_GL_INT_SAMPLER_3D), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INT_SAMPLER_CUBE, __pyx_k_GL_INT_SAMPLER_CUBE, sizeof(__pyx_k_GL_INT_SAMPLER_CUBE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INT_VEC2, __pyx_k_GL_INT_VEC2, sizeof(__pyx_k_GL_INT_VEC2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INT_VEC3, __pyx_k_GL_INT_VEC3, sizeof(__pyx_k_GL_INT_VEC3), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INT_VEC4, __pyx_k_GL_INT_VEC4, sizeof(__pyx_k_GL_INT_VEC4), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INVALID_ENUM, __pyx_k_GL_INVALID_ENUM, sizeof(__pyx_k_GL_INVALID_ENUM), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INVALID_FRAMEBUFFER_OPERATION, __pyx_k_GL_INVALID_FRAMEBUFFER_OPERATION, sizeof(__pyx_k_GL_INVALID_FRAMEBUFFER_OPERATION), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INVALID_OPERATION, __pyx_k_GL_INVALID_OPERATION, sizeof(__pyx_k_GL_INVALID_OPERATION), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INVALID_VALUE, __pyx_k_GL_INVALID_VALUE, sizeof(__pyx_k_GL_INVALID_VALUE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_INVERT, __pyx_k_GL_INVERT, sizeof(__pyx_k_GL_INVERT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_KEEP, __pyx_k_GL_KEEP, sizeof(__pyx_k_GL_KEEP), 0, 0, 1, 1},
  {&__pyx_n_s_GL_LEQUAL, __pyx_k_GL_LEQUAL, sizeof(__pyx_k_GL_LEQUAL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_LESS, __pyx_k_GL_LESS, sizeof(__pyx_k_GL_LESS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_LINEAR, __pyx_k_GL_LINEAR, sizeof(__pyx_k_GL_LINEAR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_LINEAR_MIPMAP_LINEAR, __pyx_k_GL_LINEAR_MIPMAP_LINEAR, sizeof(__pyx_k_GL_LINEAR_MIPMAP_LINEAR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_LINEAR_MIPMAP_NEAREST, __pyx_k_GL_LINEAR_MIPMAP_NEAREST, sizeof(__pyx_k_GL_LINEAR_MIPMAP_NEAREST), 0, 0, 1, 1},
  {&__pyx_n_s_GL_LINES, __pyx_k_GL_LINES, sizeof(__pyx_k_GL_LINES), 0, 0, 1, 1},
  {&__pyx_n_s_GL_LINE_LOOP, __pyx_k_GL_LINE_LOOP, sizeof(__pyx_k_GL_LINE_LOOP), 0, 0, 1, 1},
  {&__pyx_n_s_GL_LINE_STRIP, __pyx_k_GL_LINE_STRIP, sizeof(__pyx_k_GL_LINE_STRIP), 0, 0, 1, 1},
  {&__pyx_n_s_GL_LINE_WIDTH, __pyx_k_GL_LINE_WIDTH, sizeof(__pyx_k_GL_LINE_WIDTH), 0, 0, 1, 1},
  {&__pyx_n_s_GL_LINK_STATUS, __pyx_k_GL_LINK_STATUS, sizeof(__pyx_k_GL_LINK_STATUS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_LUMINANCE, __pyx_k_GL_LUMINANCE, sizeof(__pyx_k_GL_LUMINANCE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_LUMINANCE_ALPHA, __pyx_k_GL_LUMINANCE_ALPHA, sizeof(__pyx_k_GL_LUMINANCE_ALPHA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAJOR_VERSION, __pyx_k_GL_MAJOR_VERSION, sizeof(__pyx_k_GL_MAJOR_VERSION), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAP_FLUSH_EXPLICIT_BIT, __pyx_k_GL_MAP_FLUSH_EXPLICIT_BIT, sizeof(__pyx_k_GL_MAP_FLUSH_EXPLICIT_BIT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAP_INVALIDATE_BUFFER_BIT, __pyx_k_GL_MAP_INVALIDATE_BUFFER_BIT, sizeof(__pyx_k_GL_MAP_INVALIDATE_BUFFER_BIT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAP_INVALIDATE_RANGE_BIT, __pyx_k_GL_MAP_INVALIDATE_RANGE_BIT, sizeof(__pyx_k_GL_MAP_INVALIDATE_RANGE_BIT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAP_READ_BIT, __pyx_k_GL_MAP_READ_BIT, sizeof(__pyx_k_GL_MAP_READ_BIT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAP_UNSYNCHRONIZED_BIT, __pyx_k_GL_MAP_UNSYNCHRONIZED_BIT, sizeof(__pyx_k_GL_MAP_UNSYNCHRONIZED_BIT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAP_WRITE_BIT, __pyx_k_GL_MAP_WRITE_BIT, sizeof(__pyx_k_GL_MAP_WRITE_BIT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX, __pyx_k_GL_MAX, sizeof(__pyx_k_GL_MAX), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_3D_TEXTURE_SIZE, __pyx_k_GL_MAX_3D_TEXTURE_SIZE, sizeof(__pyx_k_GL_MAX_3D_TEXTURE_SIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_ARRAY_TEXTURE_LAYERS, __pyx_k_GL_MAX_ARRAY_TEXTURE_LAYERS, sizeof(__pyx_k_GL_MAX_ARRAY_TEXTURE_LAYERS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_COLOR_ATTACHMENTS, __pyx_k_GL_MAX_COLOR_ATTACHMENTS, sizeof(__pyx_k_GL_MAX_COLOR_ATTACHMENTS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_COMBINED_TEXTURE_IMAGE_UN, __pyx_k_GL_MAX_COMBINED_TEXTURE_IMAGE_UN, sizeof(__pyx_k_GL_MAX_COMBINED_TEXTURE_IMAGE_UN), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_CUBE_MAP_TEXTURE_SIZE, __pyx_k_GL_MAX_CUBE_MAP_TEXTURE_SIZE, sizeof(__pyx_k_GL_MAX_CUBE_MAP_TEXTURE_SIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_DRAW_BUFFERS, __pyx_k_GL_MAX_DRAW_BUFFERS, sizeof(__pyx_k_GL_MAX_DRAW_BUFFERS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_ELEMENTS_INDICES, __pyx_k_GL_MAX_ELEMENTS_INDICES, sizeof(__pyx_k_GL_MAX_ELEMENTS_INDICES), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_ELEMENTS_VERTICES, __pyx_k_GL_MAX_ELEMENTS_VERTICES, sizeof(__pyx_k_GL_MAX_ELEMENTS_VERTICES), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_FRAGMENT_UNIFORM_COMPONEN, __pyx_k_GL_MAX_FRAGMENT_UNIFORM_COMPONEN, sizeof(__pyx_k_GL_MAX_FRAGMENT_UNIFORM_COMPONEN), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_PROGRAM_TEXEL_OFFSET, __pyx_k_GL_MAX_PROGRAM_TEXEL_OFFSET, sizeof(__pyx_k_GL_MAX_PROGRAM_TEXEL_OFFSET), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_RENDERBUFFER_SIZE, __pyx_k_GL_MAX_RENDERBUFFER_SIZE, sizeof(__pyx_k_GL_MAX_RENDERBUFFER_SIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_SAMPLES, __pyx_k_GL_MAX_SAMPLES, sizeof(__pyx_k_GL_MAX_SAMPLES), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_TEXTURE_IMAGE_UNITS, __pyx_k_GL_MAX_TEXTURE_IMAGE_UNITS, sizeof(__pyx_k_GL_MAX_TEXTURE_IMAGE_UNITS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_TEXTURE_LOD_BIAS, __pyx_k_GL_MAX_TEXTURE_LOD_BIAS, sizeof(__pyx_k_GL_MAX_TEXTURE_LOD_BIAS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_TEXTURE_SIZE, __pyx_k_GL_MAX_TEXTURE_SIZE, sizeof(__pyx_k_GL_MAX_TEXTURE_SIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_TRANSFORM_FEEDBACK_INTERL, __pyx_k_GL_MAX_TRANSFORM_FEEDBACK_INTERL, sizeof(__pyx_k_GL_MAX_TRANSFORM_FEEDBACK_INTERL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_TRANSFORM_FEEDBACK_SEPARA, __pyx_k_GL_MAX_TRANSFORM_FEEDBACK_SEPARA, sizeof(__pyx_k_GL_MAX_TRANSFORM_FEEDBACK_SEPARA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_TRANSFORM_FEEDBACK_SEPARA_2, __pyx_k_GL_MAX_TRANSFORM_FEEDBACK_SEPARA_2, sizeof(__pyx_k_GL_MAX_TRANSFORM_FEEDBACK_SEPARA_2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_VARYING_COMPONENTS, __pyx_k_GL_MAX_VARYING_COMPONENTS, sizeof(__pyx_k_GL_MAX_VARYING_COMPONENTS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_VERTEX_ATTRIBS, __pyx_k_GL_MAX_VERTEX_ATTRIBS, sizeof(__pyx_k_GL_MAX_VERTEX_ATTRIBS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_VERTEX_TEXTURE_IMAGE_UNIT, __pyx_k_GL_MAX_VERTEX_TEXTURE_IMAGE_UNIT, sizeof(__pyx_k_GL_MAX_VERTEX_TEXTURE_IMAGE_UNIT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_VERTEX_UNIFORM_COMPONENTS, __pyx_k_GL_MAX_VERTEX_UNIFORM_COMPONENTS, sizeof(__pyx_k_GL_MAX_VERTEX_UNIFORM_COMPONENTS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MAX_VIEWPORT_DIMS, __pyx_k_GL_MAX_VIEWPORT_DIMS, sizeof(__pyx_k_GL_MAX_VIEWPORT_DIMS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MIN, __pyx_k_GL_MIN, sizeof(__pyx_k_GL_MIN), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MINOR_VERSION, __pyx_k_GL_MINOR_VERSION, sizeof(__pyx_k_GL_MINOR_VERSION), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MIN_PROGRAM_TEXEL_OFFSET, __pyx_k_GL_MIN_PROGRAM_TEXEL_OFFSET, sizeof(__pyx_k_GL_MIN_PROGRAM_TEXEL_OFFSET), 0, 0, 1, 1},
  {&__pyx_n_s_GL_MIRRORED_REPEAT, __pyx_k_GL_MIRRORED_REPEAT, sizeof(__pyx_k_GL_MIRRORED_REPEAT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_NEAREST, __pyx_k_GL_NEAREST, sizeof(__pyx_k_GL_NEAREST), 0, 0, 1, 1},
  {&__pyx_n_s_GL_NEAREST_MIPMAP_LINEAR, __pyx_k_GL_NEAREST_MIPMAP_LINEAR, sizeof(__pyx_k_GL_NEAREST_MIPMAP_LINEAR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_NEAREST_MIPMAP_NEAREST, __pyx_k_GL_NEAREST_MIPMAP_NEAREST, sizeof(__pyx_k_GL_NEAREST_MIPMAP_NEAREST), 0, 0, 1, 1},
  {&__pyx_n_s_GL_NEVER, __pyx_k_GL_NEVER, sizeof(__pyx_k_GL_NEVER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_NICEST, __pyx_k_GL_NICEST, sizeof(__pyx_k_GL_NICEST), 0, 0, 1, 1},
  {&__pyx_n_s_GL_NONE, __pyx_k_GL_NONE, sizeof(__pyx_k_GL_NONE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_NOTEQUAL, __pyx_k_GL_NOTEQUAL, sizeof(__pyx_k_GL_NOTEQUAL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_NO_ERROR, __pyx_k_GL_NO_ERROR, sizeof(__pyx_k_GL_NO_ERROR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_NUM_COMPRESSED_TEXTURE_FORMAT, __pyx_k_GL_NUM_COMPRESSED_TEXTURE_FORMAT, sizeof(__pyx_k_GL_NUM_COMPRESSED_TEXTURE_FORMAT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_NUM_EXTENSIONS, __pyx_k_GL_NUM_EXTENSIONS, sizeof(__pyx_k_GL_NUM_EXTENSIONS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ONE, __pyx_k_GL_ONE, sizeof(__pyx_k_GL_ONE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ONE_MINUS_CONSTANT_ALPHA, __pyx_k_GL_ONE_MINUS_CONSTANT_ALPHA, sizeof(__pyx_k_GL_ONE_MINUS_CONSTANT_ALPHA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ONE_MINUS_CONSTANT_COLOR, __pyx_k_GL_ONE_MINUS_CONSTANT_COLOR, sizeof(__pyx_k_GL_ONE_MINUS_CONSTANT_COLOR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ONE_MINUS_DST_ALPHA, __pyx_k_GL_ONE_MINUS_DST_ALPHA, sizeof(__pyx_k_GL_ONE_MINUS_DST_ALPHA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ONE_MINUS_DST_COLOR, __pyx_k_GL_ONE_MINUS_DST_COLOR, sizeof(__pyx_k_GL_ONE_MINUS_DST_COLOR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ONE_MINUS_SRC_ALPHA, __pyx_k_GL_ONE_MINUS_SRC_ALPHA, sizeof(__pyx_k_GL_ONE_MINUS_SRC_ALPHA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ONE_MINUS_SRC_COLOR, __pyx_k_GL_ONE_MINUS_SRC_COLOR, sizeof(__pyx_k_GL_ONE_MINUS_SRC_COLOR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_OUT_OF_MEMORY, __pyx_k_GL_OUT_OF_MEMORY, sizeof(__pyx_k_GL_OUT_OF_MEMORY), 0, 0, 1, 1},
  {&__pyx_n_s_GL_PACK_ALIGNMENT, __pyx_k_GL_PACK_ALIGNMENT, sizeof(__pyx_k_GL_PACK_ALIGNMENT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_PACK_ROW_LENGTH, __pyx_k_GL_PACK_ROW_LENGTH, sizeof(__pyx_k_GL_PACK_ROW_LENGTH), 0, 0, 1, 1},
  {&__pyx_n_s_GL_PACK_SKIP_PIXELS, __pyx_k_GL_PACK_SKIP_PIXELS, sizeof(__pyx_k_GL_PACK_SKIP_PIXELS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_PACK_SKIP_ROWS, __pyx_k_GL_PACK_SKIP_ROWS, sizeof(__pyx_k_GL_PACK_SKIP_ROWS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_PIXEL_PACK_BUFFER, __pyx_k_GL_PIXEL_PACK_BUFFER, sizeof(__pyx_k_GL_PIXEL_PACK_BUFFER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_PIXEL_PACK_BUFFER_BINDING, __pyx_k_GL_PIXEL_PACK_BUFFER_BINDING, sizeof(__pyx_k_GL_PIXEL_PACK_BUFFER_BINDING), 0, 0, 1, 1},
  {&__pyx_n_s_GL_PIXEL_UNPACK_BUFFER, __pyx_k_GL_PIXEL_UNPACK_BUFFER, sizeof(__pyx_k_GL_PIXEL_UNPACK_BUFFER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_PIXEL_UNPACK_BUFFER_BINDING, __pyx_k_GL_PIXEL_UNPACK_BUFFER_BINDING, sizeof(__pyx_k_GL_PIXEL_UNPACK_BUFFER_BINDING), 0, 0, 1, 1},
  {&__pyx_n_s_GL_POINTS, __pyx_k_GL_POINTS, sizeof(__pyx_k_GL_POINTS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_POLYGON_OFFSET_FACTOR, __pyx_k_GL_POLYGON_OFFSET_FACTOR, sizeof(__pyx_k_GL_POLYGON_OFFSET_FACTOR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_POLYGON_OFFSET_FILL, __pyx_k_GL_POLYGON_OFFSET_FILL, sizeof(__pyx_k_GL_POLYGON_OFFSET_FILL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_POLYGON_OFFSET_UNITS, __pyx_k_GL_POLYGON_OFFSET_UNITS, sizeof(__pyx_k_GL_POLYGON_OFFSET_UNITS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_QUERY_RESULT, __pyx_k_GL_QUERY_RESULT, sizeof(__pyx_k_GL_QUERY_RESULT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_QUERY_RESULT_AVAILABLE, __pyx_k_GL_QUERY_RESULT_AVAILABLE, sizeof(__pyx_k_GL_QUERY_RESULT_AVAILABLE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_R11F_G11F_B10F, __pyx_k_GL_R11F_G11F_B10F, sizeof(__pyx_k_GL_R11F_G11F_B10F), 0, 0, 1, 1},
  {&__pyx_n_s_GL_R16F, __pyx_k_GL_R16F, sizeof(__pyx_k_GL_R16F), 0, 0, 1, 1},
  {&__pyx_n_s_GL_R16I, __pyx_k_GL_R16I, sizeof(__pyx_k_GL_R16I), 0, 0, 1, 1},
  {&__pyx_n_s_GL_R16UI, __pyx_k_GL_R16UI, sizeof(__pyx_k_GL_R16UI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_R32F, __pyx_k_GL_R32F, sizeof(__pyx_k_GL_R32F), 0, 0, 1, 1},
  {&__pyx_n_s_GL_R32I, __pyx_k_GL_R32I, sizeof(__pyx_k_GL_R32I), 0, 0, 1, 1},
  {&__pyx_n_s_GL_R32UI, __pyx_k_GL_R32UI, sizeof(__pyx_k_GL_R32UI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_R8, __pyx_k_GL_R8, sizeof(__pyx_k_GL_R8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_R8I, __pyx_k_GL_R8I, sizeof(__pyx_k_GL_R8I), 0, 0, 1, 1},
  {&__pyx_n_s_GL_R8UI, __pyx_k_GL_R8UI, sizeof(__pyx_k_GL_R8UI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RASTERIZER_DISCARD, __pyx_k_GL_RASTERIZER_DISCARD, sizeof(__pyx_k_GL_RASTERIZER_DISCARD), 0, 0, 1, 1},
  {&__pyx_n_s_GL_READ_BUFFER, __pyx_k_GL_READ_BUFFER, sizeof(__pyx_k_GL_READ_BUFFER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_READ_FRAMEBUFFER, __pyx_k_GL_READ_FRAMEBUFFER, sizeof(__pyx_k_GL_READ_FRAMEBUFFER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_READ_FRAMEBUFFER_BINDING, __pyx_k_GL_READ_FRAMEBUFFER_BINDING, sizeof(__pyx_k_GL_READ_FRAMEBUFFER_BINDING), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RED, __pyx_k_GL_RED, sizeof(__pyx_k_GL_RED), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RED_BITS, __pyx_k_GL_RED_BITS, sizeof(__pyx_k_GL_RED_BITS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RED_INTEGER, __pyx_k_GL_RED_INTEGER, sizeof(__pyx_k_GL_RED_INTEGER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERBUFFER, __pyx_k_GL_RENDERBUFFER, sizeof(__pyx_k_GL_RENDERBUFFER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERBUFFER_ALPHA_SIZE, __pyx_k_GL_RENDERBUFFER_ALPHA_SIZE, sizeof(__pyx_k_GL_RENDERBUFFER_ALPHA_SIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERBUFFER_BINDING, __pyx_k_GL_RENDERBUFFER_BINDING, sizeof(__pyx_k_GL_RENDERBUFFER_BINDING), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERBUFFER_BLUE_SIZE, __pyx_k_GL_RENDERBUFFER_BLUE_SIZE, sizeof(__pyx_k_GL_RENDERBUFFER_BLUE_SIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERBUFFER_DEPTH_SIZE, __pyx_k_GL_RENDERBUFFER_DEPTH_SIZE, sizeof(__pyx_k_GL_RENDERBUFFER_DEPTH_SIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERBUFFER_GREEN_SIZE, __pyx_k_GL_RENDERBUFFER_GREEN_SIZE, sizeof(__pyx_k_GL_RENDERBUFFER_GREEN_SIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERBUFFER_HEIGHT, __pyx_k_GL_RENDERBUFFER_HEIGHT, sizeof(__pyx_k_GL_RENDERBUFFER_HEIGHT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERBUFFER_INTERNAL_FORMAT, __pyx_k_GL_RENDERBUFFER_INTERNAL_FORMAT, sizeof(__pyx_k_GL_RENDERBUFFER_INTERNAL_FORMAT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERBUFFER_RED_SIZE, __pyx_k_GL_RENDERBUFFER_RED_SIZE, sizeof(__pyx_k_GL_RENDERBUFFER_RED_SIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERBUFFER_SAMPLES, __pyx_k_GL_RENDERBUFFER_SAMPLES, sizeof(__pyx_k_GL_RENDERBUFFER_SAMPLES), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERBUFFER_STENCIL_SIZE, __pyx_k_GL_RENDERBUFFER_STENCIL_SIZE, sizeof(__pyx_k_GL_RENDERBUFFER_STENCIL_SIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERBUFFER_WIDTH, __pyx_k_GL_RENDERBUFFER_WIDTH, sizeof(__pyx_k_GL_RENDERBUFFER_WIDTH), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RENDERER, __pyx_k_GL_RENDERER, sizeof(__pyx_k_GL_RENDERER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_REPEAT, __pyx_k_GL_REPEAT, sizeof(__pyx_k_GL_REPEAT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_REPLACE, __pyx_k_GL_REPLACE, sizeof(__pyx_k_GL_REPLACE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RG, __pyx_k_GL_RG, sizeof(__pyx_k_GL_RG), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RG16F, __pyx_k_GL_RG16F, sizeof(__pyx_k_GL_RG16F), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RG16I, __pyx_k_GL_RG16I, sizeof(__pyx_k_GL_RG16I), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RG16UI, __pyx_k_GL_RG16UI, sizeof(__pyx_k_GL_RG16UI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RG32F, __pyx_k_GL_RG32F, sizeof(__pyx_k_GL_RG32F), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RG32I, __pyx_k_GL_RG32I, sizeof(__pyx_k_GL_RG32I), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RG32UI, __pyx_k_GL_RG32UI, sizeof(__pyx_k_GL_RG32UI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RG8, __pyx_k_GL_RG8, sizeof(__pyx_k_GL_RG8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RG8I, __pyx_k_GL_RG8I, sizeof(__pyx_k_GL_RG8I), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RG8UI, __pyx_k_GL_RG8UI, sizeof(__pyx_k_GL_RG8UI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB, __pyx_k_GL_RGB, sizeof(__pyx_k_GL_RGB), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB10_A2, __pyx_k_GL_RGB10_A2, sizeof(__pyx_k_GL_RGB10_A2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB16F, __pyx_k_GL_RGB16F, sizeof(__pyx_k_GL_RGB16F), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB16I, __pyx_k_GL_RGB16I, sizeof(__pyx_k_GL_RGB16I), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB16UI, __pyx_k_GL_RGB16UI, sizeof(__pyx_k_GL_RGB16UI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB32F, __pyx_k_GL_RGB32F, sizeof(__pyx_k_GL_RGB32F), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB32I, __pyx_k_GL_RGB32I, sizeof(__pyx_k_GL_RGB32I), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB32UI, __pyx_k_GL_RGB32UI, sizeof(__pyx_k_GL_RGB32UI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB5_A1, __pyx_k_GL_RGB5_A1, sizeof(__pyx_k_GL_RGB5_A1), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB8, __pyx_k_GL_RGB8, sizeof(__pyx_k_GL_RGB8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB8I, __pyx_k_GL_RGB8I, sizeof(__pyx_k_GL_RGB8I), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB8UI, __pyx_k_GL_RGB8UI, sizeof(__pyx_k_GL_RGB8UI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB9_E5, __pyx_k_GL_RGB9_E5, sizeof(__pyx_k_GL_RGB9_E5), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGBA, __pyx_k_GL_RGBA, sizeof(__pyx_k_GL_RGBA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGBA16F, __pyx_k_GL_RGBA16F, sizeof(__pyx_k_GL_RGBA16F), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGBA16I, __pyx_k_GL_RGBA16I, sizeof(__pyx_k_GL_RGBA16I), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGBA16UI, __pyx_k_GL_RGBA16UI, sizeof(__pyx_k_GL_RGBA16UI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGBA32F, __pyx_k_GL_RGBA32F, sizeof(__pyx_k_GL_RGBA32F), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGBA32I, __pyx_k_GL_RGBA32I, sizeof(__pyx_k_GL_RGBA32I), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGBA32UI, __pyx_k_GL_RGBA32UI, sizeof(__pyx_k_GL_RGBA32UI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGBA4, __pyx_k_GL_RGBA4, sizeof(__pyx_k_GL_RGBA4), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGBA8, __pyx_k_GL_RGBA8, sizeof(__pyx_k_GL_RGBA8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGBA8I, __pyx_k_GL_RGBA8I, sizeof(__pyx_k_GL_RGBA8I), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGBA8UI, __pyx_k_GL_RGBA8UI, sizeof(__pyx_k_GL_RGBA8UI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGBA_INTEGER, __pyx_k_GL_RGBA_INTEGER, sizeof(__pyx_k_GL_RGBA_INTEGER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RGB_INTEGER, __pyx_k_GL_RGB_INTEGER, sizeof(__pyx_k_GL_RGB_INTEGER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_RG_INTEGER, __pyx_k_GL_RG_INTEGER, sizeof(__pyx_k_GL_RG_INTEGER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLER_2D, __pyx_k_GL_SAMPLER_2D, sizeof(__pyx_k_GL_SAMPLER_2D), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLER_2D_ARRAY, __pyx_k_GL_SAMPLER_2D_ARRAY, sizeof(__pyx_k_GL_SAMPLER_2D_ARRAY), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLER_2D_ARRAY_SHADOW, __pyx_k_GL_SAMPLER_2D_ARRAY_SHADOW, sizeof(__pyx_k_GL_SAMPLER_2D_ARRAY_SHADOW), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLER_2D_SHADOW, __pyx_k_GL_SAMPLER_2D_SHADOW, sizeof(__pyx_k_GL_SAMPLER_2D_SHADOW), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLER_3D, __pyx_k_GL_SAMPLER_3D, sizeof(__pyx_k_GL_SAMPLER_3D), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLER_CUBE, __pyx_k_GL_SAMPLER_CUBE, sizeof(__pyx_k_GL_SAMPLER_CUBE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLER_CUBE_SHADOW, __pyx_k_GL_SAMPLER_CUBE_SHADOW, sizeof(__pyx_k_GL_SAMPLER_CUBE_SHADOW), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLES, __pyx_k_GL_SAMPLES, sizeof(__pyx_k_GL_SAMPLES), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLE_ALPHA_TO_COVERAGE, __pyx_k_GL_SAMPLE_ALPHA_TO_COVERAGE, sizeof(__pyx_k_GL_SAMPLE_ALPHA_TO_COVERAGE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLE_BUFFERS, __pyx_k_GL_SAMPLE_BUFFERS, sizeof(__pyx_k_GL_SAMPLE_BUFFERS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLE_COVERAGE, __pyx_k_GL_SAMPLE_COVERAGE, sizeof(__pyx_k_GL_SAMPLE_COVERAGE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLE_COVERAGE_INVERT, __pyx_k_GL_SAMPLE_COVERAGE_INVERT, sizeof(__pyx_k_GL_SAMPLE_COVERAGE_INVERT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SAMPLE_COVERAGE_VALUE, __pyx_k_GL_SAMPLE_COVERAGE_VALUE, sizeof(__pyx_k_GL_SAMPLE_COVERAGE_VALUE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SCISSOR_BOX, __pyx_k_GL_SCISSOR_BOX, sizeof(__pyx_k_GL_SCISSOR_BOX), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SCISSOR_TEST, __pyx_k_GL_SCISSOR_TEST, sizeof(__pyx_k_GL_SCISSOR_TEST), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SEPARATE_ATTRIBS, __pyx_k_GL_SEPARATE_ATTRIBS, sizeof(__pyx_k_GL_SEPARATE_ATTRIBS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SHADER_SOURCE_LENGTH, __pyx_k_GL_SHADER_SOURCE_LENGTH, sizeof(__pyx_k_GL_SHADER_SOURCE_LENGTH), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SHADER_TYPE, __pyx_k_GL_SHADER_TYPE, sizeof(__pyx_k_GL_SHADER_TYPE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SHADING_LANGUAGE_VERSION, __pyx_k_GL_SHADING_LANGUAGE_VERSION, sizeof(__pyx_k_GL_SHADING_LANGUAGE_VERSION), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SHORT, __pyx_k_GL_SHORT, sizeof(__pyx_k_GL_SHORT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SRC_ALPHA, __pyx_k_GL_SRC_ALPHA, sizeof(__pyx_k_GL_SRC_ALPHA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SRC_ALPHA_SATURATE, __pyx_k_GL_SRC_ALPHA_SATURATE, sizeof(__pyx_k_GL_SRC_ALPHA_SATURATE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SRC_COLOR, __pyx_k_GL_SRC_COLOR, sizeof(__pyx_k_GL_SRC_COLOR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SRGB, __pyx_k_GL_SRGB, sizeof(__pyx_k_GL_SRGB), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SRGB8, __pyx_k_GL_SRGB8, sizeof(__pyx_k_GL_SRGB8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SRGB8_ALPHA8, __pyx_k_GL_SRGB8_ALPHA8, sizeof(__pyx_k_GL_SRGB8_ALPHA8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STATIC_COPY, __pyx_k_GL_STATIC_COPY, sizeof(__pyx_k_GL_STATIC_COPY), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STATIC_DRAW, __pyx_k_GL_STATIC_DRAW, sizeof(__pyx_k_GL_STATIC_DRAW), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STATIC_READ, __pyx_k_GL_STATIC_READ, sizeof(__pyx_k_GL_STATIC_READ), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL, __pyx_k_GL_STENCIL, sizeof(__pyx_k_GL_STENCIL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_ATTACHMENT, __pyx_k_GL_STENCIL_ATTACHMENT, sizeof(__pyx_k_GL_STENCIL_ATTACHMENT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_BACK_FAIL, __pyx_k_GL_STENCIL_BACK_FAIL, sizeof(__pyx_k_GL_STENCIL_BACK_FAIL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_BACK_FUNC, __pyx_k_GL_STENCIL_BACK_FUNC, sizeof(__pyx_k_GL_STENCIL_BACK_FUNC), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_BACK_PASS_DEPTH_FAIL, __pyx_k_GL_STENCIL_BACK_PASS_DEPTH_FAIL, sizeof(__pyx_k_GL_STENCIL_BACK_PASS_DEPTH_FAIL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_BACK_PASS_DEPTH_PASS, __pyx_k_GL_STENCIL_BACK_PASS_DEPTH_PASS, sizeof(__pyx_k_GL_STENCIL_BACK_PASS_DEPTH_PASS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_BACK_REF, __pyx_k_GL_STENCIL_BACK_REF, sizeof(__pyx_k_GL_STENCIL_BACK_REF), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_BACK_VALUE_MASK, __pyx_k_GL_STENCIL_BACK_VALUE_MASK, sizeof(__pyx_k_GL_STENCIL_BACK_VALUE_MASK), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_BACK_WRITEMASK, __pyx_k_GL_STENCIL_BACK_WRITEMASK, sizeof(__pyx_k_GL_STENCIL_BACK_WRITEMASK), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_BITS, __pyx_k_GL_STENCIL_BITS, sizeof(__pyx_k_GL_STENCIL_BITS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_BUFFER_BIT, __pyx_k_GL_STENCIL_BUFFER_BIT, sizeof(__pyx_k_GL_STENCIL_BUFFER_BIT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_CLEAR_VALUE, __pyx_k_GL_STENCIL_CLEAR_VALUE, sizeof(__pyx_k_GL_STENCIL_CLEAR_VALUE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_FAIL, __pyx_k_GL_STENCIL_FAIL, sizeof(__pyx_k_GL_STENCIL_FAIL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_FUNC, __pyx_k_GL_STENCIL_FUNC, sizeof(__pyx_k_GL_STENCIL_FUNC), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_INDEX8, __pyx_k_GL_STENCIL_INDEX8, sizeof(__pyx_k_GL_STENCIL_INDEX8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_PASS_DEPTH_FAIL, __pyx_k_GL_STENCIL_PASS_DEPTH_FAIL, sizeof(__pyx_k_GL_STENCIL_PASS_DEPTH_FAIL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_PASS_DEPTH_PASS, __pyx_k_GL_STENCIL_PASS_DEPTH_PASS, sizeof(__pyx_k_GL_STENCIL_PASS_DEPTH_PASS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_REF, __pyx_k_GL_STENCIL_REF, sizeof(__pyx_k_GL_STENCIL_REF), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_TEST, __pyx_k_GL_STENCIL_TEST, sizeof(__pyx_k_GL_STENCIL_TEST), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_VALUE_MASK, __pyx_k_GL_STENCIL_VALUE_MASK, sizeof(__pyx_k_GL_STENCIL_VALUE_MASK), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STENCIL_WRITEMASK, __pyx_k_GL_STENCIL_WRITEMASK, sizeof(__pyx_k_GL_STENCIL_WRITEMASK), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STREAM_COPY, __pyx_k_GL_STREAM_COPY, sizeof(__pyx_k_GL_STREAM_COPY), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STREAM_DRAW, __pyx_k_GL_STREAM_DRAW, sizeof(__pyx_k_GL_STREAM_DRAW), 0, 0, 1, 1},
  {&__pyx_n_s_GL_STREAM_READ, __pyx_k_GL_STREAM_READ, sizeof(__pyx_k_GL_STREAM_READ), 0, 0, 1, 1},
  {&__pyx_n_s_GL_SUBPIXEL_BITS, __pyx_k_GL_SUBPIXEL_BITS, sizeof(__pyx_k_GL_SUBPIXEL_BITS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE, __pyx_k_GL_TEXTURE, sizeof(__pyx_k_GL_TEXTURE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE0, __pyx_k_GL_TEXTURE0, sizeof(__pyx_k_GL_TEXTURE0), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE1, __pyx_k_GL_TEXTURE1, sizeof(__pyx_k_GL_TEXTURE1), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE10, __pyx_k_GL_TEXTURE10, sizeof(__pyx_k_GL_TEXTURE10), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE11, __pyx_k_GL_TEXTURE11, sizeof(__pyx_k_GL_TEXTURE11), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE12, __pyx_k_GL_TEXTURE12, sizeof(__pyx_k_GL_TEXTURE12), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE13, __pyx_k_GL_TEXTURE13, sizeof(__pyx_k_GL_TEXTURE13), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE14, __pyx_k_GL_TEXTURE14, sizeof(__pyx_k_GL_TEXTURE14), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE15, __pyx_k_GL_TEXTURE15, sizeof(__pyx_k_GL_TEXTURE15), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE16, __pyx_k_GL_TEXTURE16, sizeof(__pyx_k_GL_TEXTURE16), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE17, __pyx_k_GL_TEXTURE17, sizeof(__pyx_k_GL_TEXTURE17), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE18, __pyx_k_GL_TEXTURE18, sizeof(__pyx_k_GL_TEXTURE18), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE19, __pyx_k_GL_TEXTURE19, sizeof(__pyx_k_GL_TEXTURE19), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE2, __pyx_k_GL_TEXTURE2, sizeof(__pyx_k_GL_TEXTURE2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE20, __pyx_k_GL_TEXTURE20, sizeof(__pyx_k_GL_TEXTURE20), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE21, __pyx_k_GL_TEXTURE21, sizeof(__pyx_k_GL_TEXTURE21), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE22, __pyx_k_GL_TEXTURE22, sizeof(__pyx_k_GL_TEXTURE22), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE23, __pyx_k_GL_TEXTURE23, sizeof(__pyx_k_GL_TEXTURE23), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE24, __pyx_k_GL_TEXTURE24, sizeof(__pyx_k_GL_TEXTURE24), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE25, __pyx_k_GL_TEXTURE25, sizeof(__pyx_k_GL_TEXTURE25), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE26, __pyx_k_GL_TEXTURE26, sizeof(__pyx_k_GL_TEXTURE26), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE27, __pyx_k_GL_TEXTURE27, sizeof(__pyx_k_GL_TEXTURE27), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE28, __pyx_k_GL_TEXTURE28, sizeof(__pyx_k_GL_TEXTURE28), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE29, __pyx_k_GL_TEXTURE29, sizeof(__pyx_k_GL_TEXTURE29), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE3, __pyx_k_GL_TEXTURE3, sizeof(__pyx_k_GL_TEXTURE3), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE30, __pyx_k_GL_TEXTURE30, sizeof(__pyx_k_GL_TEXTURE30), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE31, __pyx_k_GL_TEXTURE31, sizeof(__pyx_k_GL_TEXTURE31), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE4, __pyx_k_GL_TEXTURE4, sizeof(__pyx_k_GL_TEXTURE4), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE5, __pyx_k_GL_TEXTURE5, sizeof(__pyx_k_GL_TEXTURE5), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE6, __pyx_k_GL_TEXTURE6, sizeof(__pyx_k_GL_TEXTURE6), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE7, __pyx_k_GL_TEXTURE7, sizeof(__pyx_k_GL_TEXTURE7), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE8, __pyx_k_GL_TEXTURE8, sizeof(__pyx_k_GL_TEXTURE8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE9, __pyx_k_GL_TEXTURE9, sizeof(__pyx_k_GL_TEXTURE9), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_2D, __pyx_k_GL_TEXTURE_2D, sizeof(__pyx_k_GL_TEXTURE_2D), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_2D_ARRAY, __pyx_k_GL_TEXTURE_2D_ARRAY, sizeof(__pyx_k_GL_TEXTURE_2D_ARRAY), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_3D, __pyx_k_GL_TEXTURE_3D, sizeof(__pyx_k_GL_TEXTURE_3D), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_BASE_LEVEL, __pyx_k_GL_TEXTURE_BASE_LEVEL, sizeof(__pyx_k_GL_TEXTURE_BASE_LEVEL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_BINDING_2D, __pyx_k_GL_TEXTURE_BINDING_2D, sizeof(__pyx_k_GL_TEXTURE_BINDING_2D), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_BINDING_2D_ARRAY, __pyx_k_GL_TEXTURE_BINDING_2D_ARRAY, sizeof(__pyx_k_GL_TEXTURE_BINDING_2D_ARRAY), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_BINDING_3D, __pyx_k_GL_TEXTURE_BINDING_3D, sizeof(__pyx_k_GL_TEXTURE_BINDING_3D), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_BINDING_CUBE_MAP, __pyx_k_GL_TEXTURE_BINDING_CUBE_MAP, sizeof(__pyx_k_GL_TEXTURE_BINDING_CUBE_MAP), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_COMPARE_FUNC, __pyx_k_GL_TEXTURE_COMPARE_FUNC, sizeof(__pyx_k_GL_TEXTURE_COMPARE_FUNC), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_COMPARE_MODE, __pyx_k_GL_TEXTURE_COMPARE_MODE, sizeof(__pyx_k_GL_TEXTURE_COMPARE_MODE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_CUBE_MAP, __pyx_k_GL_TEXTURE_CUBE_MAP, sizeof(__pyx_k_GL_TEXTURE_CUBE_MAP), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_CUBE_MAP_NEGATIVE_X, __pyx_k_GL_TEXTURE_CUBE_MAP_NEGATIVE_X, sizeof(__pyx_k_GL_TEXTURE_CUBE_MAP_NEGATIVE_X), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, __pyx_k_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, sizeof(__pyx_k_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, __pyx_k_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, sizeof(__pyx_k_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_CUBE_MAP_POSITIVE_X, __pyx_k_GL_TEXTURE_CUBE_MAP_POSITIVE_X, sizeof(__pyx_k_GL_TEXTURE_CUBE_MAP_POSITIVE_X), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_CUBE_MAP_POSITIVE_Y, __pyx_k_GL_TEXTURE_CUBE_MAP_POSITIVE_Y, sizeof(__pyx_k_GL_TEXTURE_CUBE_MAP_POSITIVE_Y), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_CUBE_MAP_POSITIVE_Z, __pyx_k_GL_TEXTURE_CUBE_MAP_POSITIVE_Z, sizeof(__pyx_k_GL_TEXTURE_CUBE_MAP_POSITIVE_Z), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_MAG_FILTER, __pyx_k_GL_TEXTURE_MAG_FILTER, sizeof(__pyx_k_GL_TEXTURE_MAG_FILTER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_MAX_LEVEL, __pyx_k_GL_TEXTURE_MAX_LEVEL, sizeof(__pyx_k_GL_TEXTURE_MAX_LEVEL), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_MAX_LOD, __pyx_k_GL_TEXTURE_MAX_LOD, sizeof(__pyx_k_GL_TEXTURE_MAX_LOD), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_MIN_FILTER, __pyx_k_GL_TEXTURE_MIN_FILTER, sizeof(__pyx_k_GL_TEXTURE_MIN_FILTER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_MIN_LOD, __pyx_k_GL_TEXTURE_MIN_LOD, sizeof(__pyx_k_GL_TEXTURE_MIN_LOD), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_WRAP_R, __pyx_k_GL_TEXTURE_WRAP_R, sizeof(__pyx_k_GL_TEXTURE_WRAP_R), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_WRAP_S, __pyx_k_GL_TEXTURE_WRAP_S, sizeof(__pyx_k_GL_TEXTURE_WRAP_S), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TEXTURE_WRAP_T, __pyx_k_GL_TEXTURE_WRAP_T, sizeof(__pyx_k_GL_TEXTURE_WRAP_T), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER, __pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER, sizeof(__pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER_BIN, __pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER_BIN, sizeof(__pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER_BIN), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER_MOD, __pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER_MOD, sizeof(__pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER_MOD), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER_SIZ, __pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER_SIZ, sizeof(__pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER_SIZ), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER_STA, __pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER_STA, sizeof(__pyx_k_GL_TRANSFORM_FEEDBACK_BUFFER_STA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TRANSFORM_FEEDBACK_PRIMITIVES, __pyx_k_GL_TRANSFORM_FEEDBACK_PRIMITIVES, sizeof(__pyx_k_GL_TRANSFORM_FEEDBACK_PRIMITIVES), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TRANSFORM_FEEDBACK_VARYINGS, __pyx_k_GL_TRANSFORM_FEEDBACK_VARYINGS, sizeof(__pyx_k_GL_TRANSFORM_FEEDBACK_VARYINGS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TRANSFORM_FEEDBACK_VARYING_MA, __pyx_k_GL_TRANSFORM_FEEDBACK_VARYING_MA, sizeof(__pyx_k_GL_TRANSFORM_FEEDBACK_VARYING_MA), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TRIANGLES, __pyx_k_GL_TRIANGLES, sizeof(__pyx_k_GL_TRIANGLES), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TRIANGLE_FAN, __pyx_k_GL_TRIANGLE_FAN, sizeof(__pyx_k_GL_TRIANGLE_FAN), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TRIANGLE_STRIP, __pyx_k_GL_TRIANGLE_STRIP, sizeof(__pyx_k_GL_TRIANGLE_STRIP), 0, 0, 1, 1},
  {&__pyx_n_s_GL_TRUE, __pyx_k_GL_TRUE, sizeof(__pyx_k_GL_TRUE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNPACK_ALIGNMENT, __pyx_k_GL_UNPACK_ALIGNMENT, sizeof(__pyx_k_GL_UNPACK_ALIGNMENT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNPACK_IMAGE_HEIGHT, __pyx_k_GL_UNPACK_IMAGE_HEIGHT, sizeof(__pyx_k_GL_UNPACK_IMAGE_HEIGHT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNPACK_ROW_LENGTH, __pyx_k_GL_UNPACK_ROW_LENGTH, sizeof(__pyx_k_GL_UNPACK_ROW_LENGTH), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNPACK_SKIP_IMAGES, __pyx_k_GL_UNPACK_SKIP_IMAGES, sizeof(__pyx_k_GL_UNPACK_SKIP_IMAGES), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNPACK_SKIP_PIXELS, __pyx_k_GL_UNPACK_SKIP_PIXELS, sizeof(__pyx_k_GL_UNPACK_SKIP_PIXELS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNPACK_SKIP_ROWS, __pyx_k_GL_UNPACK_SKIP_ROWS, sizeof(__pyx_k_GL_UNPACK_SKIP_ROWS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_BYTE, __pyx_k_GL_UNSIGNED_BYTE, sizeof(__pyx_k_GL_UNSIGNED_BYTE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_INT, __pyx_k_GL_UNSIGNED_INT, sizeof(__pyx_k_GL_UNSIGNED_INT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_INT_10F_11F_11F_REV, __pyx_k_GL_UNSIGNED_INT_10F_11F_11F_REV, sizeof(__pyx_k_GL_UNSIGNED_INT_10F_11F_11F_REV), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_INT_24_8, __pyx_k_GL_UNSIGNED_INT_24_8, sizeof(__pyx_k_GL_UNSIGNED_INT_24_8), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_INT_2_10_10_10_REV, __pyx_k_GL_UNSIGNED_INT_2_10_10_10_REV, sizeof(__pyx_k_GL_UNSIGNED_INT_2_10_10_10_REV), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_INT_5_9_9_9_REV, __pyx_k_GL_UNSIGNED_INT_5_9_9_9_REV, sizeof(__pyx_k_GL_UNSIGNED_INT_5_9_9_9_REV), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_INT_SAMPLER_2D, __pyx_k_GL_UNSIGNED_INT_SAMPLER_2D, sizeof(__pyx_k_GL_UNSIGNED_INT_SAMPLER_2D), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_INT_SAMPLER_2D_ARRAY, __pyx_k_GL_UNSIGNED_INT_SAMPLER_2D_ARRAY, sizeof(__pyx_k_GL_UNSIGNED_INT_SAMPLER_2D_ARRAY), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_INT_SAMPLER_3D, __pyx_k_GL_UNSIGNED_INT_SAMPLER_3D, sizeof(__pyx_k_GL_UNSIGNED_INT_SAMPLER_3D), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_INT_SAMPLER_CUBE, __pyx_k_GL_UNSIGNED_INT_SAMPLER_CUBE, sizeof(__pyx_k_GL_UNSIGNED_INT_SAMPLER_CUBE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_INT_VEC2, __pyx_k_GL_UNSIGNED_INT_VEC2, sizeof(__pyx_k_GL_UNSIGNED_INT_VEC2), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_INT_VEC3, __pyx_k_GL_UNSIGNED_INT_VEC3, sizeof(__pyx_k_GL_UNSIGNED_INT_VEC3), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_INT_VEC4, __pyx_k_GL_UNSIGNED_INT_VEC4, sizeof(__pyx_k_GL_UNSIGNED_INT_VEC4), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_NORMALIZED, __pyx_k_GL_UNSIGNED_NORMALIZED, sizeof(__pyx_k_GL_UNSIGNED_NORMALIZED), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_SHORT, __pyx_k_GL_UNSIGNED_SHORT, sizeof(__pyx_k_GL_UNSIGNED_SHORT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_SHORT_4_4_4_4, __pyx_k_GL_UNSIGNED_SHORT_4_4_4_4, sizeof(__pyx_k_GL_UNSIGNED_SHORT_4_4_4_4), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_SHORT_5_5_5_1, __pyx_k_GL_UNSIGNED_SHORT_5_5_5_1, sizeof(__pyx_k_GL_UNSIGNED_SHORT_5_5_5_1), 0, 0, 1, 1},
  {&__pyx_n_s_GL_UNSIGNED_SHORT_5_6_5, __pyx_k_GL_UNSIGNED_SHORT_5_6_5, sizeof(__pyx_k_GL_UNSIGNED_SHORT_5_6_5), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VALIDATE_STATUS, __pyx_k_GL_VALIDATE_STATUS, sizeof(__pyx_k_GL_VALIDATE_STATUS), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VENDOR, __pyx_k_GL_VENDOR, sizeof(__pyx_k_GL_VENDOR), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VERSION, __pyx_k_GL_VERSION, sizeof(__pyx_k_GL_VERSION), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VERTEX_ARRAY_BINDING, __pyx_k_GL_VERTEX_ARRAY_BINDING, sizeof(__pyx_k_GL_VERTEX_ARRAY_BINDING), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_BUFFER_BI, __pyx_k_GL_VERTEX_ATTRIB_ARRAY_BUFFER_BI, sizeof(__pyx_k_GL_VERTEX_ATTRIB_ARRAY_BUFFER_BI), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_ENABLED, __pyx_k_GL_VERTEX_ATTRIB_ARRAY_ENABLED, sizeof(__pyx_k_GL_VERTEX_ATTRIB_ARRAY_ENABLED), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_INTEGER, __pyx_k_GL_VERTEX_ATTRIB_ARRAY_INTEGER, sizeof(__pyx_k_GL_VERTEX_ATTRIB_ARRAY_INTEGER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_NORMALIZE, __pyx_k_GL_VERTEX_ATTRIB_ARRAY_NORMALIZE, sizeof(__pyx_k_GL_VERTEX_ATTRIB_ARRAY_NORMALIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_POINTER, __pyx_k_GL_VERTEX_ATTRIB_ARRAY_POINTER, sizeof(__pyx_k_GL_VERTEX_ATTRIB_ARRAY_POINTER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_SIZE, __pyx_k_GL_VERTEX_ATTRIB_ARRAY_SIZE, sizeof(__pyx_k_GL_VERTEX_ATTRIB_ARRAY_SIZE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_STRIDE, __pyx_k_GL_VERTEX_ATTRIB_ARRAY_STRIDE, sizeof(__pyx_k_GL_VERTEX_ATTRIB_ARRAY_STRIDE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_TYPE, __pyx_k_GL_VERTEX_ATTRIB_ARRAY_TYPE, sizeof(__pyx_k_GL_VERTEX_ATTRIB_ARRAY_TYPE), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VERTEX_SHADER, __pyx_k_GL_VERTEX_SHADER, sizeof(__pyx_k_GL_VERTEX_SHADER), 0, 0, 1, 1},
  {&__pyx_n_s_GL_VIEWPORT, __pyx_k_GL_VIEWPORT, sizeof(__pyx_k_GL_VIEWPORT), 0, 0, 1, 1},
  {&__pyx_n_s_GL_ZERO, __pyx_k_GL_ZERO, sizeof(__pyx_k_GL_ZERO), 0, 0, 1, 1},
  {&__pyx_n_s_IndexError, __pyx_k_IndexError, sizeof(__pyx_k_IndexError), 0, 0, 1, 1},
  {&__pyx_n_s_IntBuffer, __pyx_k_IntBuffer, sizeof(__pyx_k_IntBuffer), 0, 0, 1, 1},
  {&__pyx_n_s_TypeError, __pyx_k_TypeError, sizeof(__pyx_k_TypeError), 0, 0, 1, 1},
  {&__pyx_n_s_alpha, __pyx_k_alpha, sizeof(__pyx_k_alpha), 0, 0, 1, 1},
  {&__pyx_n_s_array, __pyx_k_array, sizeof(__pyx_k_array), 0, 0, 1, 1},
  {&__pyx_n_s_arrays, __pyx_k_arrays, sizeof(__pyx_k_arrays), 0, 0, 1, 1},
  {&__pyx_n_s_arrays_ptr, __pyx_k_arrays_ptr, sizeof(__pyx_k_arrays_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_attachment, __pyx_k_attachment, sizeof(__pyx_k_attachment), 0, 0, 1, 1},
  {&__pyx_n_s_blue, __pyx_k_blue, sizeof(__pyx_k_blue), 0, 0, 1, 1},
  {&__pyx_n_s_border, __pyx_k_border, sizeof(__pyx_k_border), 0, 0, 1, 1},
  {&__pyx_n_s_bufSize, __pyx_k_bufSize, sizeof(__pyx_k_bufSize), 0, 0, 1, 1},
  {&__pyx_n_s_buffer, __pyx_k_buffer, sizeof(__pyx_k_buffer), 0, 0, 1, 1},
  {&__pyx_n_s_bufferMode, __pyx_k_bufferMode, sizeof(__pyx_k_bufferMode), 0, 0, 1, 1},
  {&__pyx_n_s_buffers, __pyx_k_buffers, sizeof(__pyx_k_buffers), 0, 0, 1, 1},
  {&__pyx_n_s_buffers_ptr, __pyx_k_buffers_ptr, sizeof(__pyx_k_buffers_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_bufs, __pyx_k_bufs, sizeof(__pyx_k_bufs), 0, 0, 1, 1},
  {&__pyx_n_s_bufs_ptr, __pyx_k_bufs_ptr, sizeof(__pyx_k_bufs_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_cap, __pyx_k_cap, sizeof(__pyx_k_cap), 0, 0, 1, 1},
  {&__pyx_n_s_cline_in_traceback, __pyx_k_cline_in_traceback, sizeof(__pyx_k_cline_in_traceback), 0, 0, 1, 1},
  {&__pyx_n_s_count, __pyx_k_count, sizeof(__pyx_k_count), 0, 0, 1, 1},
  {&__pyx_n_s_count_ptr, __pyx_k_count_ptr, sizeof(__pyx_k_count_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_data, __pyx_k_data, sizeof(__pyx_k_data), 0, 0, 1, 1},
  {&__pyx_n_s_data_ptr, __pyx_k_data_ptr, sizeof(__pyx_k_data_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_depth, __pyx_k_depth, sizeof(__pyx_k_depth), 0, 0, 1, 1},
  {&__pyx_n_s_dfactor, __pyx_k_dfactor, sizeof(__pyx_k_dfactor), 0, 0, 1, 1},
  {&__pyx_n_s_dfactorAlpha, __pyx_k_dfactorAlpha, sizeof(__pyx_k_dfactorAlpha), 0, 0, 1, 1},
  {&__pyx_n_s_dfactorRGB, __pyx_k_dfactorRGB, sizeof(__pyx_k_dfactorRGB), 0, 0, 1, 1},
  {&__pyx_n_s_dpfail, __pyx_k_dpfail, sizeof(__pyx_k_dpfail), 0, 0, 1, 1},
  {&__pyx_n_s_dppass, __pyx_k_dppass, sizeof(__pyx_k_dppass), 0, 0, 1, 1},
  {&__pyx_n_s_drawbuffer, __pyx_k_drawbuffer, sizeof(__pyx_k_drawbuffer), 0, 0, 1, 1},
  {&__pyx_n_s_dstX0, __pyx_k_dstX0, sizeof(__pyx_k_dstX0), 0, 0, 1, 1},
  {&__pyx_n_s_dstX1, __pyx_k_dstX1, sizeof(__pyx_k_dstX1), 0, 0, 1, 1},
  {&__pyx_n_s_dstY0, __pyx_k_dstY0, sizeof(__pyx_k_dstY0), 0, 0, 1, 1},
  {&__pyx_n_s_dstY1, __pyx_k_dstY1, sizeof(__pyx_k_dstY1), 0, 0, 1, 1},
  {&__pyx_n_s_end, __pyx_k_end, sizeof(__pyx_k_end), 0, 0, 1, 1},
  {&__pyx_n_s_face, __pyx_k_face, sizeof(__pyx_k_face), 0, 0, 1, 1},
  {&__pyx_n_s_factor, __pyx_k_factor, sizeof(__pyx_k_factor), 0, 0, 1, 1},
  {&__pyx_n_s_fail, __pyx_k_fail, sizeof(__pyx_k_fail), 0, 0, 1, 1},
  {&__pyx_n_s_filter, __pyx_k_filter, sizeof(__pyx_k_filter), 0, 0, 1, 1},
  {&__pyx_n_s_first, __pyx_k_first, sizeof(__pyx_k_first), 0, 0, 1, 1},
  {&__pyx_n_s_flag, __pyx_k_flag, sizeof(__pyx_k_flag), 0, 0, 1, 1},
  {&__pyx_n_s_format, __pyx_k_format, sizeof(__pyx_k_format), 0, 0, 1, 1},
  {&__pyx_n_s_framebuffer, __pyx_k_framebuffer, sizeof(__pyx_k_framebuffer), 0, 0, 1, 1},
  {&__pyx_n_s_framebuffers, __pyx_k_framebuffers, sizeof(__pyx_k_framebuffers), 0, 0, 1, 1},
  {&__pyx_n_s_framebuffers_ptr, __pyx_k_framebuffers_ptr, sizeof(__pyx_k_framebuffers_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_func, __pyx_k_func, sizeof(__pyx_k_func), 0, 0, 1, 1},
  {&__pyx_n_s_getstate, __pyx_k_getstate, sizeof(__pyx_k_getstate), 0, 0, 1, 1},
  {&__pyx_n_s_glActiveTexture, __pyx_k_glActiveTexture, sizeof(__pyx_k_glActiveTexture), 0, 0, 1, 1},
  {&__pyx_n_s_glAttachShader, __pyx_k_glAttachShader, sizeof(__pyx_k_glAttachShader), 0, 0, 1, 1},
  {&__pyx_n_s_glBeginQuery, __pyx_k_glBeginQuery, sizeof(__pyx_k_glBeginQuery), 0, 0, 1, 1},
  {&__pyx_n_s_glBeginTransformFeedback, __pyx_k_glBeginTransformFeedback, sizeof(__pyx_k_glBeginTransformFeedback), 0, 0, 1, 1},
  {&__pyx_n_s_glBindAttribLocation, __pyx_k_glBindAttribLocation, sizeof(__pyx_k_glBindAttribLocation), 0, 0, 1, 1},
  {&__pyx_n_s_glBindBuffer, __pyx_k_glBindBuffer, sizeof(__pyx_k_glBindBuffer), 0, 0, 1, 1},
  {&__pyx_n_s_glBindBufferBase, __pyx_k_glBindBufferBase, sizeof(__pyx_k_glBindBufferBase), 0, 0, 1, 1},
  {&__pyx_n_s_glBindBufferRange, __pyx_k_glBindBufferRange, sizeof(__pyx_k_glBindBufferRange), 0, 0, 1, 1},
  {&__pyx_n_s_glBindFramebuffer, __pyx_k_glBindFramebuffer, sizeof(__pyx_k_glBindFramebuffer), 0, 0, 1, 1},
  {&__pyx_n_s_glBindRenderbuffer, __pyx_k_glBindRenderbuffer, sizeof(__pyx_k_glBindRenderbuffer), 0, 0, 1, 1},
  {&__pyx_n_s_glBindTexture, __pyx_k_glBindTexture, sizeof(__pyx_k_glBindTexture), 0, 0, 1, 1},
  {&__pyx_n_s_glBindVertexArray, __pyx_k_glBindVertexArray, sizeof(__pyx_k_glBindVertexArray), 0, 0, 1, 1},
  {&__pyx_n_s_glBlendColor, __pyx_k_glBlendColor, sizeof(__pyx_k_glBlendColor), 0, 0, 1, 1},
  {&__pyx_n_s_glBlendEquation, __pyx_k_glBlendEquation, sizeof(__pyx_k_glBlendEquation), 0, 0, 1, 1},
  {&__pyx_n_s_glBlendEquationSeparate, __pyx_k_glBlendEquationSeparate, sizeof(__pyx_k_glBlendEquationSeparate), 0, 0, 1, 1},
  {&__pyx_n_s_glBlendFunc, __pyx_k_glBlendFunc, sizeof(__pyx_k_glBlendFunc), 0, 0, 1, 1},
  {&__pyx_n_s_glBlendFuncSeparate, __pyx_k_glBlendFuncSeparate, sizeof(__pyx_k_glBlendFuncSeparate), 0, 0, 1, 1},
  {&__pyx_n_s_glBlitFramebuffer, __pyx_k_glBlitFramebuffer, sizeof(__pyx_k_glBlitFramebuffer), 0, 0, 1, 1},
  {&__pyx_n_s_glBufferData, __pyx_k_glBufferData, sizeof(__pyx_k_glBufferData), 0, 0, 1, 1},
  {&__pyx_n_s_glBufferSubData, __pyx_k_glBufferSubData, sizeof(__pyx_k_glBufferSubData), 0, 0, 1, 1},
  {&__pyx_n_s_glCheckFramebufferStatus, __pyx_k_glCheckFramebufferStatus, sizeof(__pyx_k_glCheckFramebufferStatus), 0, 0, 1, 1},
  {&__pyx_n_s_glClear, __pyx_k_glClear, sizeof(__pyx_k_glClear), 0, 0, 1, 1},
  {&__pyx_n_s_glClearBufferfi, __pyx_k_glClearBufferfi, sizeof(__pyx_k_glClearBufferfi), 0, 0, 1, 1},
  {&__pyx_n_s_glClearBufferfv, __pyx_k_glClearBufferfv, sizeof(__pyx_k_glClearBufferfv), 0, 0, 1, 1},
  {&__pyx_n_s_glClearBufferiv, __pyx_k_glClearBufferiv, sizeof(__pyx_k_glClearBufferiv), 0, 0, 1, 1},
  {&__pyx_n_s_glClearBufferuiv, __pyx_k_glClearBufferuiv, sizeof(__pyx_k_glClearBufferuiv), 0, 0, 1, 1},
  {&__pyx_n_s_glClearColor, __pyx_k_glClearColor, sizeof(__pyx_k_glClearColor), 0, 0, 1, 1},
  {&__pyx_n_s_glClearStencil, __pyx_k_glClearStencil, sizeof(__pyx_k_glClearStencil), 0, 0, 1, 1},
  {&__pyx_n_s_glColorMask, __pyx_k_glColorMask, sizeof(__pyx_k_glColorMask), 0, 0, 1, 1},
  {&__pyx_n_s_glCompileShader, __pyx_k_glCompileShader, sizeof(__pyx_k_glCompileShader), 0, 0, 1, 1},
  {&__pyx_n_s_glCompressedTexImage2D, __pyx_k_glCompressedTexImage2D, sizeof(__pyx_k_glCompressedTexImage2D), 0, 0, 1, 1},
  {&__pyx_n_s_glCompressedTexImage3D, __pyx_k_glCompressedTexImage3D, sizeof(__pyx_k_glCompressedTexImage3D), 0, 0, 1, 1},
  {&__pyx_n_s_glCompressedTexSubImage2D, __pyx_k_glCompressedTexSubImage2D, sizeof(__pyx_k_glCompressedTexSubImage2D), 0, 0, 1, 1},
  {&__pyx_n_s_glCompressedTexSubImage3D, __pyx_k_glCompressedTexSubImage3D, sizeof(__pyx_k_glCompressedTexSubImage3D), 0, 0, 1, 1},
  {&__pyx_n_s_glCopyTexImage2D, __pyx_k_glCopyTexImage2D, sizeof(__pyx_k_glCopyTexImage2D), 0, 0, 1, 1},
  {&__pyx_n_s_glCopyTexSubImage2D, __pyx_k_glCopyTexSubImage2D, sizeof(__pyx_k_glCopyTexSubImage2D), 0, 0, 1, 1},
  {&__pyx_n_s_glCopyTexSubImage3D, __pyx_k_glCopyTexSubImage3D, sizeof(__pyx_k_glCopyTexSubImage3D), 0, 0, 1, 1},
  {&__pyx_n_s_glCreateProgram, __pyx_k_glCreateProgram, sizeof(__pyx_k_glCreateProgram), 0, 0, 1, 1},
  {&__pyx_n_s_glCreateShader, __pyx_k_glCreateShader, sizeof(__pyx_k_glCreateShader), 0, 0, 1, 1},
  {&__pyx_n_s_glCullFace, __pyx_k_glCullFace, sizeof(__pyx_k_glCullFace), 0, 0, 1, 1},
  {&__pyx_n_s_glDeleteBuffers, __pyx_k_glDeleteBuffers, sizeof(__pyx_k_glDeleteBuffers), 0, 0, 1, 1},
  {&__pyx_n_s_glDeleteFramebuffers, __pyx_k_glDeleteFramebuffers, sizeof(__pyx_k_glDeleteFramebuffers), 0, 0, 1, 1},
  {&__pyx_n_s_glDeleteProgram, __pyx_k_glDeleteProgram, sizeof(__pyx_k_glDeleteProgram), 0, 0, 1, 1},
  {&__pyx_n_s_glDeleteQueries, __pyx_k_glDeleteQueries, sizeof(__pyx_k_glDeleteQueries), 0, 0, 1, 1},
  {&__pyx_n_s_glDeleteRenderbuffers, __pyx_k_glDeleteRenderbuffers, sizeof(__pyx_k_glDeleteRenderbuffers), 0, 0, 1, 1},
  {&__pyx_n_s_glDeleteShader, __pyx_k_glDeleteShader, sizeof(__pyx_k_glDeleteShader), 0, 0, 1, 1},
  {&__pyx_n_s_glDeleteTextures, __pyx_k_glDeleteTextures, sizeof(__pyx_k_glDeleteTextures), 0, 0, 1, 1},
  {&__pyx_n_s_glDeleteVertexArrays, __pyx_k_glDeleteVertexArrays, sizeof(__pyx_k_glDeleteVertexArrays), 0, 0, 1, 1},
  {&__pyx_n_s_glDepthFunc, __pyx_k_glDepthFunc, sizeof(__pyx_k_glDepthFunc), 0, 0, 1, 1},
  {&__pyx_n_s_glDepthMask, __pyx_k_glDepthMask, sizeof(__pyx_k_glDepthMask), 0, 0, 1, 1},
  {&__pyx_n_s_glDetachShader, __pyx_k_glDetachShader, sizeof(__pyx_k_glDetachShader), 0, 0, 1, 1},
  {&__pyx_n_s_glDisable, __pyx_k_glDisable, sizeof(__pyx_k_glDisable), 0, 0, 1, 1},
  {&__pyx_n_s_glDisableVertexAttribArray, __pyx_k_glDisableVertexAttribArray, sizeof(__pyx_k_glDisableVertexAttribArray), 0, 0, 1, 1},
  {&__pyx_n_s_glDrawArrays, __pyx_k_glDrawArrays, sizeof(__pyx_k_glDrawArrays), 0, 0, 1, 1},
  {&__pyx_n_s_glDrawBuffers, __pyx_k_glDrawBuffers, sizeof(__pyx_k_glDrawBuffers), 0, 0, 1, 1},
  {&__pyx_n_s_glDrawElements, __pyx_k_glDrawElements, sizeof(__pyx_k_glDrawElements), 0, 0, 1, 1},
  {&__pyx_n_s_glDrawRangeElements, __pyx_k_glDrawRangeElements, sizeof(__pyx_k_glDrawRangeElements), 0, 0, 1, 1},
  {&__pyx_n_s_glEnable, __pyx_k_glEnable, sizeof(__pyx_k_glEnable), 0, 0, 1, 1},
  {&__pyx_n_s_glEnableVertexAttribArray, __pyx_k_glEnableVertexAttribArray, sizeof(__pyx_k_glEnableVertexAttribArray), 0, 0, 1, 1},
  {&__pyx_n_s_glEndQuery, __pyx_k_glEndQuery, sizeof(__pyx_k_glEndQuery), 0, 0, 1, 1},
  {&__pyx_n_s_glEndTransformFeedback, __pyx_k_glEndTransformFeedback, sizeof(__pyx_k_glEndTransformFeedback), 0, 0, 1, 1},
  {&__pyx_n_s_glFinish, __pyx_k_glFinish, sizeof(__pyx_k_glFinish), 0, 0, 1, 1},
  {&__pyx_n_s_glFlush, __pyx_k_glFlush, sizeof(__pyx_k_glFlush), 0, 0, 1, 1},
  {&__pyx_n_s_glFlushMappedBufferRange, __pyx_k_glFlushMappedBufferRange, sizeof(__pyx_k_glFlushMappedBufferRange), 0, 0, 1, 1},
  {&__pyx_n_s_glFramebufferRenderbuffer, __pyx_k_glFramebufferRenderbuffer, sizeof(__pyx_k_glFramebufferRenderbuffer), 0, 0, 1, 1},
  {&__pyx_n_s_glFramebufferTexture2D, __pyx_k_glFramebufferTexture2D, sizeof(__pyx_k_glFramebufferTexture2D), 0, 0, 1, 1},
  {&__pyx_n_s_glFramebufferTextureLayer, __pyx_k_glFramebufferTextureLayer, sizeof(__pyx_k_glFramebufferTextureLayer), 0, 0, 1, 1},
  {&__pyx_n_s_glFrontFace, __pyx_k_glFrontFace, sizeof(__pyx_k_glFrontFace), 0, 0, 1, 1},
  {&__pyx_n_s_glGenBuffers, __pyx_k_glGenBuffers, sizeof(__pyx_k_glGenBuffers), 0, 0, 1, 1},
  {&__pyx_n_s_glGenFramebuffers, __pyx_k_glGenFramebuffers, sizeof(__pyx_k_glGenFramebuffers), 0, 0, 1, 1},
  {&__pyx_n_s_glGenQueries, __pyx_k_glGenQueries, sizeof(__pyx_k_glGenQueries), 0, 0, 1, 1},
  {&__pyx_n_s_glGenRenderbuffers, __pyx_k_glGenRenderbuffers, sizeof(__pyx_k_glGenRenderbuffers), 0, 0, 1, 1},
  {&__pyx_n_s_glGenTextures, __pyx_k_glGenTextures, sizeof(__pyx_k_glGenTextures), 0, 0, 1, 1},
  {&__pyx_n_s_glGenVertexArrays, __pyx_k_glGenVertexArrays, sizeof(__pyx_k_glGenVertexArrays), 0, 0, 1, 1},
  {&__pyx_n_s_glGenerateMipmap, __pyx_k_glGenerateMipmap, sizeof(__pyx_k_glGenerateMipmap), 0, 0, 1, 1},
  {&__pyx_n_s_glGetActiveAttrib, __pyx_k_glGetActiveAttrib, sizeof(__pyx_k_glGetActiveAttrib), 0, 0, 1, 1},
  {&__pyx_n_s_glGetActiveUniform, __pyx_k_glGetActiveUniform, sizeof(__pyx_k_glGetActiveUniform), 0, 0, 1, 1},
  {&__pyx_n_s_glGetAttachedShaders, __pyx_k_glGetAttachedShaders, sizeof(__pyx_k_glGetAttachedShaders), 0, 0, 1, 1},
  {&__pyx_n_s_glGetAttribLocation, __pyx_k_glGetAttribLocation, sizeof(__pyx_k_glGetAttribLocation), 0, 0, 1, 1},
  {&__pyx_n_s_glGetBooleanv, __pyx_k_glGetBooleanv, sizeof(__pyx_k_glGetBooleanv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetBufferParameteriv, __pyx_k_glGetBufferParameteriv, sizeof(__pyx_k_glGetBufferParameteriv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetBufferPointerv, __pyx_k_glGetBufferPointerv, sizeof(__pyx_k_glGetBufferPointerv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetError, __pyx_k_glGetError, sizeof(__pyx_k_glGetError), 0, 0, 1, 1},
  {&__pyx_n_s_glGetFloatv, __pyx_k_glGetFloatv, sizeof(__pyx_k_glGetFloatv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetFragDataLocation, __pyx_k_glGetFragDataLocation, sizeof(__pyx_k_glGetFragDataLocation), 0, 0, 1, 1},
  {&__pyx_n_s_glGetFramebufferAttachmentParame, __pyx_k_glGetFramebufferAttachmentParame, sizeof(__pyx_k_glGetFramebufferAttachmentParame), 0, 0, 1, 1},
  {&__pyx_n_s_glGetIntegeri_v, __pyx_k_glGetIntegeri_v, sizeof(__pyx_k_glGetIntegeri_v), 0, 0, 1, 1},
  {&__pyx_n_s_glGetIntegerv, __pyx_k_glGetIntegerv, sizeof(__pyx_k_glGetIntegerv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetProgramInfoLog, __pyx_k_glGetProgramInfoLog, sizeof(__pyx_k_glGetProgramInfoLog), 0, 0, 1, 1},
  {&__pyx_n_s_glGetProgramiv, __pyx_k_glGetProgramiv, sizeof(__pyx_k_glGetProgramiv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetQueryObjectuiv, __pyx_k_glGetQueryObjectuiv, sizeof(__pyx_k_glGetQueryObjectuiv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetQueryiv, __pyx_k_glGetQueryiv, sizeof(__pyx_k_glGetQueryiv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetRenderbufferParameteriv, __pyx_k_glGetRenderbufferParameteriv, sizeof(__pyx_k_glGetRenderbufferParameteriv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetShaderInfoLog, __pyx_k_glGetShaderInfoLog, sizeof(__pyx_k_glGetShaderInfoLog), 0, 0, 1, 1},
  {&__pyx_n_s_glGetShaderSource, __pyx_k_glGetShaderSource, sizeof(__pyx_k_glGetShaderSource), 0, 0, 1, 1},
  {&__pyx_n_s_glGetShaderiv, __pyx_k_glGetShaderiv, sizeof(__pyx_k_glGetShaderiv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetString, __pyx_k_glGetString, sizeof(__pyx_k_glGetString), 0, 0, 1, 1},
  {&__pyx_n_s_glGetStringi, __pyx_k_glGetStringi, sizeof(__pyx_k_glGetStringi), 0, 0, 1, 1},
  {&__pyx_n_s_glGetTexParameterfv, __pyx_k_glGetTexParameterfv, sizeof(__pyx_k_glGetTexParameterfv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetTexParameteriv, __pyx_k_glGetTexParameteriv, sizeof(__pyx_k_glGetTexParameteriv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetTransformFeedbackVarying, __pyx_k_glGetTransformFeedbackVarying, sizeof(__pyx_k_glGetTransformFeedbackVarying), 0, 0, 1, 1},
  {&__pyx_n_s_glGetUniformLocation, __pyx_k_glGetUniformLocation, sizeof(__pyx_k_glGetUniformLocation), 0, 0, 1, 1},
  {&__pyx_n_s_glGetUniformfv, __pyx_k_glGetUniformfv, sizeof(__pyx_k_glGetUniformfv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetUniformiv, __pyx_k_glGetUniformiv, sizeof(__pyx_k_glGetUniformiv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetUniformuiv, __pyx_k_glGetUniformuiv, sizeof(__pyx_k_glGetUniformuiv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetVertexAttribIiv, __pyx_k_glGetVertexAttribIiv, sizeof(__pyx_k_glGetVertexAttribIiv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetVertexAttribIuiv, __pyx_k_glGetVertexAttribIuiv, sizeof(__pyx_k_glGetVertexAttribIuiv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetVertexAttribPointerv, __pyx_k_glGetVertexAttribPointerv, sizeof(__pyx_k_glGetVertexAttribPointerv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetVertexAttribfv, __pyx_k_glGetVertexAttribfv, sizeof(__pyx_k_glGetVertexAttribfv), 0, 0, 1, 1},
  {&__pyx_n_s_glGetVertexAttribiv, __pyx_k_glGetVertexAttribiv, sizeof(__pyx_k_glGetVertexAttribiv), 0, 0, 1, 1},
  {&__pyx_n_s_glHint, __pyx_k_glHint, sizeof(__pyx_k_glHint), 0, 0, 1, 1},
  {&__pyx_n_s_glIsBuffer, __pyx_k_glIsBuffer, sizeof(__pyx_k_glIsBuffer), 0, 0, 1, 1},
  {&__pyx_n_s_glIsEnabled, __pyx_k_glIsEnabled, sizeof(__pyx_k_glIsEnabled), 0, 0, 1, 1},
  {&__pyx_n_s_glIsFramebuffer, __pyx_k_glIsFramebuffer, sizeof(__pyx_k_glIsFramebuffer), 0, 0, 1, 1},
  {&__pyx_n_s_glIsProgram, __pyx_k_glIsProgram, sizeof(__pyx_k_glIsProgram), 0, 0, 1, 1},
  {&__pyx_n_s_glIsQuery, __pyx_k_glIsQuery, sizeof(__pyx_k_glIsQuery), 0, 0, 1, 1},
  {&__pyx_n_s_glIsRenderbuffer, __pyx_k_glIsRenderbuffer, sizeof(__pyx_k_glIsRenderbuffer), 0, 0, 1, 1},
  {&__pyx_n_s_glIsShader, __pyx_k_glIsShader, sizeof(__pyx_k_glIsShader), 0, 0, 1, 1},
  {&__pyx_n_s_glIsTexture, __pyx_k_glIsTexture, sizeof(__pyx_k_glIsTexture), 0, 0, 1, 1},
  {&__pyx_n_s_glIsVertexArray, __pyx_k_glIsVertexArray, sizeof(__pyx_k_glIsVertexArray), 0, 0, 1, 1},
  {&__pyx_n_s_glLineWidth, __pyx_k_glLineWidth, sizeof(__pyx_k_glLineWidth), 0, 0, 1, 1},
  {&__pyx_n_s_glLinkProgram, __pyx_k_glLinkProgram, sizeof(__pyx_k_glLinkProgram), 0, 0, 1, 1},
  {&__pyx_n_s_glPixelStorei, __pyx_k_glPixelStorei, sizeof(__pyx_k_glPixelStorei), 0, 0, 1, 1},
  {&__pyx_n_s_glPolygonOffset, __pyx_k_glPolygonOffset, sizeof(__pyx_k_glPolygonOffset), 0, 0, 1, 1},
  {&__pyx_n_s_glReadBuffer, __pyx_k_glReadBuffer, sizeof(__pyx_k_glReadBuffer), 0, 0, 1, 1},
  {&__pyx_n_s_glReadPixels, __pyx_k_glReadPixels, sizeof(__pyx_k_glReadPixels), 0, 0, 1, 1},
  {&__pyx_n_s_glRenderbufferStorage, __pyx_k_glRenderbufferStorage, sizeof(__pyx_k_glRenderbufferStorage), 0, 0, 1, 1},
  {&__pyx_n_s_glRenderbufferStorageMultisample, __pyx_k_glRenderbufferStorageMultisample, sizeof(__pyx_k_glRenderbufferStorageMultisample), 0, 0, 1, 1},
  {&__pyx_n_s_glSampleCoverage, __pyx_k_glSampleCoverage, sizeof(__pyx_k_glSampleCoverage), 0, 0, 1, 1},
  {&__pyx_n_s_glScissor, __pyx_k_glScissor, sizeof(__pyx_k_glScissor), 0, 0, 1, 1},
  {&__pyx_n_s_glShaderSource, __pyx_k_glShaderSource, sizeof(__pyx_k_glShaderSource), 0, 0, 1, 1},
  {&__pyx_n_s_glStencilFunc, __pyx_k_glStencilFunc, sizeof(__pyx_k_glStencilFunc), 0, 0, 1, 1},
  {&__pyx_n_s_glStencilFuncSeparate, __pyx_k_glStencilFuncSeparate, sizeof(__pyx_k_glStencilFuncSeparate), 0, 0, 1, 1},
  {&__pyx_n_s_glStencilMask, __pyx_k_glStencilMask, sizeof(__pyx_k_glStencilMask), 0, 0, 1, 1},
  {&__pyx_n_s_glStencilMaskSeparate, __pyx_k_glStencilMaskSeparate, sizeof(__pyx_k_glStencilMaskSeparate), 0, 0, 1, 1},
  {&__pyx_n_s_glStencilOp, __pyx_k_glStencilOp, sizeof(__pyx_k_glStencilOp), 0, 0, 1, 1},
  {&__pyx_n_s_glStencilOpSeparate, __pyx_k_glStencilOpSeparate, sizeof(__pyx_k_glStencilOpSeparate), 0, 0, 1, 1},
  {&__pyx_n_s_glTexImage2D, __pyx_k_glTexImage2D, sizeof(__pyx_k_glTexImage2D), 0, 0, 1, 1},
  {&__pyx_n_s_glTexImage3D, __pyx_k_glTexImage3D, sizeof(__pyx_k_glTexImage3D), 0, 0, 1, 1},
  {&__pyx_n_s_glTexParameterf, __pyx_k_glTexParameterf, sizeof(__pyx_k_glTexParameterf), 0, 0, 1, 1},
  {&__pyx_n_s_glTexParameterfv, __pyx_k_glTexParameterfv, sizeof(__pyx_k_glTexParameterfv), 0, 0, 1, 1},
  {&__pyx_n_s_glTexParameteri, __pyx_k_glTexParameteri, sizeof(__pyx_k_glTexParameteri), 0, 0, 1, 1},
  {&__pyx_n_s_glTexParameteriv, __pyx_k_glTexParameteriv, sizeof(__pyx_k_glTexParameteriv), 0, 0, 1, 1},
  {&__pyx_n_s_glTexSubImage2D, __pyx_k_glTexSubImage2D, sizeof(__pyx_k_glTexSubImage2D), 0, 0, 1, 1},
  {&__pyx_n_s_glTexSubImage3D, __pyx_k_glTexSubImage3D, sizeof(__pyx_k_glTexSubImage3D), 0, 0, 1, 1},
  {&__pyx_n_s_glTransformFeedbackVaryings, __pyx_k_glTransformFeedbackVaryings, sizeof(__pyx_k_glTransformFeedbackVaryings), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform1f, __pyx_k_glUniform1f, sizeof(__pyx_k_glUniform1f), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform1fv, __pyx_k_glUniform1fv, sizeof(__pyx_k_glUniform1fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform1i, __pyx_k_glUniform1i, sizeof(__pyx_k_glUniform1i), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform1iv, __pyx_k_glUniform1iv, sizeof(__pyx_k_glUniform1iv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform1ui, __pyx_k_glUniform1ui, sizeof(__pyx_k_glUniform1ui), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform1uiv, __pyx_k_glUniform1uiv, sizeof(__pyx_k_glUniform1uiv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform2f, __pyx_k_glUniform2f, sizeof(__pyx_k_glUniform2f), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform2fv, __pyx_k_glUniform2fv, sizeof(__pyx_k_glUniform2fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform2i, __pyx_k_glUniform2i, sizeof(__pyx_k_glUniform2i), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform2iv, __pyx_k_glUniform2iv, sizeof(__pyx_k_glUniform2iv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform2ui, __pyx_k_glUniform2ui, sizeof(__pyx_k_glUniform2ui), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform2uiv, __pyx_k_glUniform2uiv, sizeof(__pyx_k_glUniform2uiv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform3f, __pyx_k_glUniform3f, sizeof(__pyx_k_glUniform3f), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform3fv, __pyx_k_glUniform3fv, sizeof(__pyx_k_glUniform3fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform3i, __pyx_k_glUniform3i, sizeof(__pyx_k_glUniform3i), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform3iv, __pyx_k_glUniform3iv, sizeof(__pyx_k_glUniform3iv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform3ui, __pyx_k_glUniform3ui, sizeof(__pyx_k_glUniform3ui), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform3uiv, __pyx_k_glUniform3uiv, sizeof(__pyx_k_glUniform3uiv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform4f, __pyx_k_glUniform4f, sizeof(__pyx_k_glUniform4f), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform4fv, __pyx_k_glUniform4fv, sizeof(__pyx_k_glUniform4fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform4i, __pyx_k_glUniform4i, sizeof(__pyx_k_glUniform4i), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform4iv, __pyx_k_glUniform4iv, sizeof(__pyx_k_glUniform4iv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform4ui, __pyx_k_glUniform4ui, sizeof(__pyx_k_glUniform4ui), 0, 0, 1, 1},
  {&__pyx_n_s_glUniform4uiv, __pyx_k_glUniform4uiv, sizeof(__pyx_k_glUniform4uiv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniformMatrix2fv, __pyx_k_glUniformMatrix2fv, sizeof(__pyx_k_glUniformMatrix2fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniformMatrix2x3fv, __pyx_k_glUniformMatrix2x3fv, sizeof(__pyx_k_glUniformMatrix2x3fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniformMatrix2x4fv, __pyx_k_glUniformMatrix2x4fv, sizeof(__pyx_k_glUniformMatrix2x4fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniformMatrix3fv, __pyx_k_glUniformMatrix3fv, sizeof(__pyx_k_glUniformMatrix3fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniformMatrix3x2fv, __pyx_k_glUniformMatrix3x2fv, sizeof(__pyx_k_glUniformMatrix3x2fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniformMatrix3x4fv, __pyx_k_glUniformMatrix3x4fv, sizeof(__pyx_k_glUniformMatrix3x4fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniformMatrix4fv, __pyx_k_glUniformMatrix4fv, sizeof(__pyx_k_glUniformMatrix4fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniformMatrix4x2fv, __pyx_k_glUniformMatrix4x2fv, sizeof(__pyx_k_glUniformMatrix4x2fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUniformMatrix4x3fv, __pyx_k_glUniformMatrix4x3fv, sizeof(__pyx_k_glUniformMatrix4x3fv), 0, 0, 1, 1},
  {&__pyx_n_s_glUnmapBuffer, __pyx_k_glUnmapBuffer, sizeof(__pyx_k_glUnmapBuffer), 0, 0, 1, 1},
  {&__pyx_n_s_glUseProgram, __pyx_k_glUseProgram, sizeof(__pyx_k_glUseProgram), 0, 0, 1, 1},
  {&__pyx_n_s_glValidateProgram, __pyx_k_glValidateProgram, sizeof(__pyx_k_glValidateProgram), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttrib1f, __pyx_k_glVertexAttrib1f, sizeof(__pyx_k_glVertexAttrib1f), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttrib1fv, __pyx_k_glVertexAttrib1fv, sizeof(__pyx_k_glVertexAttrib1fv), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttrib2f, __pyx_k_glVertexAttrib2f, sizeof(__pyx_k_glVertexAttrib2f), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttrib2fv, __pyx_k_glVertexAttrib2fv, sizeof(__pyx_k_glVertexAttrib2fv), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttrib3f, __pyx_k_glVertexAttrib3f, sizeof(__pyx_k_glVertexAttrib3f), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttrib3fv, __pyx_k_glVertexAttrib3fv, sizeof(__pyx_k_glVertexAttrib3fv), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttrib4f, __pyx_k_glVertexAttrib4f, sizeof(__pyx_k_glVertexAttrib4f), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttrib4fv, __pyx_k_glVertexAttrib4fv, sizeof(__pyx_k_glVertexAttrib4fv), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttribI4i, __pyx_k_glVertexAttribI4i, sizeof(__pyx_k_glVertexAttribI4i), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttribI4iv, __pyx_k_glVertexAttribI4iv, sizeof(__pyx_k_glVertexAttribI4iv), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttribI4ui, __pyx_k_glVertexAttribI4ui, sizeof(__pyx_k_glVertexAttribI4ui), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttribI4uiv, __pyx_k_glVertexAttribI4uiv, sizeof(__pyx_k_glVertexAttribI4uiv), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttribIPointer, __pyx_k_glVertexAttribIPointer, sizeof(__pyx_k_glVertexAttribIPointer), 0, 0, 1, 1},
  {&__pyx_n_s_glVertexAttribPointer, __pyx_k_glVertexAttribPointer, sizeof(__pyx_k_glVertexAttribPointer), 0, 0, 1, 1},
  {&__pyx_n_s_glViewport, __pyx_k_glViewport, sizeof(__pyx_k_glViewport), 0, 0, 1, 1},
  {&__pyx_n_s_green, __pyx_k_green, sizeof(__pyx_k_green), 0, 0, 1, 1},
  {&__pyx_n_s_height, __pyx_k_height, sizeof(__pyx_k_height), 0, 0, 1, 1},
  {&__pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_k_home_tom_ab_renpy_renpy_uguu_ug, sizeof(__pyx_k_home_tom_ab_renpy_renpy_uguu_ug), 0, 0, 1, 0},
  {&__pyx_n_s_id, __pyx_k_id, sizeof(__pyx_k_id), 0, 0, 1, 1},
  {&__pyx_n_s_ids, __pyx_k_ids, sizeof(__pyx_k_ids), 0, 0, 1, 1},
  {&__pyx_n_s_ids_ptr, __pyx_k_ids_ptr, sizeof(__pyx_k_ids_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_imageSize, __pyx_k_imageSize, sizeof(__pyx_k_imageSize), 0, 0, 1, 1},
  {&__pyx_n_s_import, __pyx_k_import, sizeof(__pyx_k_import), 0, 0, 1, 1},
  {&__pyx_n_s_index, __pyx_k_index, sizeof(__pyx_k_index), 0, 0, 1, 1},
  {&__pyx_kp_s_index_out_of_range, __pyx_k_index_out_of_range, sizeof(__pyx_k_index_out_of_range), 0, 0, 1, 0},
  {&__pyx_n_s_indices, __pyx_k_indices, sizeof(__pyx_k_indices), 0, 0, 1, 1},
  {&__pyx_n_s_indices_ptr, __pyx_k_indices_ptr, sizeof(__pyx_k_indices_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_infoLog, __pyx_k_infoLog, sizeof(__pyx_k_infoLog), 0, 0, 1, 1},
  {&__pyx_n_s_infoLog_ptr, __pyx_k_infoLog_ptr, sizeof(__pyx_k_infoLog_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_internalformat, __pyx_k_internalformat, sizeof(__pyx_k_internalformat), 0, 0, 1, 1},
  {&__pyx_n_s_invert, __pyx_k_invert, sizeof(__pyx_k_invert), 0, 0, 1, 1},
  {&__pyx_n_s_layer, __pyx_k_layer, sizeof(__pyx_k_layer), 0, 0, 1, 1},
  {&__pyx_n_s_length, __pyx_k_length, sizeof(__pyx_k_length), 0, 0, 1, 1},
  {&__pyx_n_s_length_ptr, __pyx_k_length_ptr, sizeof(__pyx_k_length_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_level, __pyx_k_level, sizeof(__pyx_k_level), 0, 0, 1, 1},
  {&__pyx_n_s_location, __pyx_k_location, sizeof(__pyx_k_location), 0, 0, 1, 1},
  {&__pyx_n_s_main, __pyx_k_main, sizeof(__pyx_k_main), 0, 0, 1, 1},
  {&__pyx_n_s_mask, __pyx_k_mask, sizeof(__pyx_k_mask), 0, 0, 1, 1},
  {&__pyx_n_s_maxCount, __pyx_k_maxCount, sizeof(__pyx_k_maxCount), 0, 0, 1, 1},
  {&__pyx_n_s_mode, __pyx_k_mode, sizeof(__pyx_k_mode), 0, 0, 1, 1},
  {&__pyx_n_s_modeAlpha, __pyx_k_modeAlpha, sizeof(__pyx_k_modeAlpha), 0, 0, 1, 1},
  {&__pyx_n_s_modeRGB, __pyx_k_modeRGB, sizeof(__pyx_k_modeRGB), 0, 0, 1, 1},
  {&__pyx_n_s_n, __pyx_k_n, sizeof(__pyx_k_n), 0, 0, 1, 1},
  {&__pyx_n_s_name, __pyx_k_name, sizeof(__pyx_k_name), 0, 0, 1, 1},
  {&__pyx_n_s_name_2, __pyx_k_name_2, sizeof(__pyx_k_name_2), 0, 0, 1, 1},
  {&__pyx_n_s_name_ptr, __pyx_k_name_ptr, sizeof(__pyx_k_name_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_normalized, __pyx_k_normalized, sizeof(__pyx_k_normalized), 0, 0, 1, 1},
  {&__pyx_n_s_o, __pyx_k_o, sizeof(__pyx_k_o), 0, 0, 1, 1},
  {&__pyx_n_s_offset, __pyx_k_offset, sizeof(__pyx_k_offset), 0, 0, 1, 1},
  {&__pyx_n_s_param, __pyx_k_param, sizeof(__pyx_k_param), 0, 0, 1, 1},
  {&__pyx_n_s_params, __pyx_k_params, sizeof(__pyx_k_params), 0, 0, 1, 1},
  {&__pyx_n_s_params_ptr, __pyx_k_params_ptr, sizeof(__pyx_k_params_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_pixels, __pyx_k_pixels, sizeof(__pyx_k_pixels), 0, 0, 1, 1},
  {&__pyx_n_s_pixels_ptr, __pyx_k_pixels_ptr, sizeof(__pyx_k_pixels_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_pname, __pyx_k_pname, sizeof(__pyx_k_pname), 0, 0, 1, 1},
  {&__pyx_n_s_pointer, __pyx_k_pointer, sizeof(__pyx_k_pointer), 0, 0, 1, 1},
  {&__pyx_n_s_pointer_ptr, __pyx_k_pointer_ptr, sizeof(__pyx_k_pointer_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_primitiveMode, __pyx_k_primitiveMode, sizeof(__pyx_k_primitiveMode), 0, 0, 1, 1},
  {&__pyx_n_s_program, __pyx_k_program, sizeof(__pyx_k_program), 0, 0, 1, 1},
  {&__pyx_n_s_ptr, __pyx_k_ptr, sizeof(__pyx_k_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_pyx_vtable, __pyx_k_pyx_vtable, sizeof(__pyx_k_pyx_vtable), 0, 0, 1, 1},
  {&__pyx_n_s_red, __pyx_k_red, sizeof(__pyx_k_red), 0, 0, 1, 1},
  {&__pyx_n_s_reduce, __pyx_k_reduce, sizeof(__pyx_k_reduce), 0, 0, 1, 1},
  {&__pyx_n_s_reduce_cython, __pyx_k_reduce_cython, sizeof(__pyx_k_reduce_cython), 0, 0, 1, 1},
  {&__pyx_n_s_reduce_ex, __pyx_k_reduce_ex, sizeof(__pyx_k_reduce_ex), 0, 0, 1, 1},
  {&__pyx_n_s_ref, __pyx_k_ref, sizeof(__pyx_k_ref), 0, 0, 1, 1},
  {&__pyx_n_s_renderbuffer, __pyx_k_renderbuffer, sizeof(__pyx_k_renderbuffer), 0, 0, 1, 1},
  {&__pyx_n_s_renderbuffers, __pyx_k_renderbuffers, sizeof(__pyx_k_renderbuffers), 0, 0, 1, 1},
  {&__pyx_n_s_renderbuffers_ptr, __pyx_k_renderbuffers_ptr, sizeof(__pyx_k_renderbuffers_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_renderbuffertarget, __pyx_k_renderbuffertarget, sizeof(__pyx_k_renderbuffertarget), 0, 0, 1, 1},
  {&__pyx_n_s_renpy, __pyx_k_renpy, sizeof(__pyx_k_renpy), 0, 0, 1, 1},
  {&__pyx_n_s_renpy_uguu_gl, __pyx_k_renpy_uguu_gl, sizeof(__pyx_k_renpy_uguu_gl), 0, 0, 1, 1},
  {&__pyx_n_s_renpy_uguu_uguu, __pyx_k_renpy_uguu_uguu, sizeof(__pyx_k_renpy_uguu_uguu), 0, 0, 1, 1},
  {&__pyx_n_s_ro, __pyx_k_ro, sizeof(__pyx_k_ro), 0, 0, 1, 1},
  {&__pyx_n_s_s, __pyx_k_s, sizeof(__pyx_k_s), 0, 0, 1, 1},
  {&__pyx_n_s_samples, __pyx_k_samples, sizeof(__pyx_k_samples), 0, 0, 1, 1},
  {&__pyx_kp_s_self_data_cannot_be_converted_to, __pyx_k_self_data_cannot_be_converted_to, sizeof(__pyx_k_self_data_cannot_be_converted_to), 0, 0, 1, 0},
  {&__pyx_kp_s_self_ptr_self_view_cannot_be_con, __pyx_k_self_ptr_self_view_cannot_be_con, sizeof(__pyx_k_self_ptr_self_view_cannot_be_con), 0, 0, 1, 0},
  {&__pyx_n_s_setstate, __pyx_k_setstate, sizeof(__pyx_k_setstate), 0, 0, 1, 1},
  {&__pyx_n_s_setstate_cython, __pyx_k_setstate_cython, sizeof(__pyx_k_setstate_cython), 0, 0, 1, 1},
  {&__pyx_n_s_sfactor, __pyx_k_sfactor, sizeof(__pyx_k_sfactor), 0, 0, 1, 1},
  {&__pyx_n_s_sfactorAlpha, __pyx_k_sfactorAlpha, sizeof(__pyx_k_sfactorAlpha), 0, 0, 1, 1},
  {&__pyx_n_s_sfactorRGB, __pyx_k_sfactorRGB, sizeof(__pyx_k_sfactorRGB), 0, 0, 1, 1},
  {&__pyx_n_s_sfail, __pyx_k_sfail, sizeof(__pyx_k_sfail), 0, 0, 1, 1},
  {&__pyx_n_s_shader, __pyx_k_shader, sizeof(__pyx_k_shader), 0, 0, 1, 1},
  {&__pyx_n_s_shaders, __pyx_k_shaders, sizeof(__pyx_k_shaders), 0, 0, 1, 1},
  {&__pyx_n_s_shaders_ptr, __pyx_k_shaders_ptr, sizeof(__pyx_k_shaders_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_size, __pyx_k_size, sizeof(__pyx_k_size), 0, 0, 1, 1},
  {&__pyx_n_s_size_ptr, __pyx_k_size_ptr, sizeof(__pyx_k_size_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_source, __pyx_k_source, sizeof(__pyx_k_source), 0, 0, 1, 1},
  {&__pyx_n_s_source_ptr, __pyx_k_source_ptr, sizeof(__pyx_k_source_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_src, __pyx_k_src, sizeof(__pyx_k_src), 0, 0, 1, 1},
  {&__pyx_n_s_srcX0, __pyx_k_srcX0, sizeof(__pyx_k_srcX0), 0, 0, 1, 1},
  {&__pyx_n_s_srcX1, __pyx_k_srcX1, sizeof(__pyx_k_srcX1), 0, 0, 1, 1},
  {&__pyx_n_s_srcY0, __pyx_k_srcY0, sizeof(__pyx_k_srcY0), 0, 0, 1, 1},
  {&__pyx_n_s_srcY1, __pyx_k_srcY1, sizeof(__pyx_k_srcY1), 0, 0, 1, 1},
  {&__pyx_n_s_start, __pyx_k_start, sizeof(__pyx_k_start), 0, 0, 1, 1},
  {&__pyx_n_s_stencil, __pyx_k_stencil, sizeof(__pyx_k_stencil), 0, 0, 1, 1},
  {&__pyx_n_s_stride, __pyx_k_stride, sizeof(__pyx_k_stride), 0, 0, 1, 1},
  {&__pyx_n_s_string, __pyx_k_string, sizeof(__pyx_k_string), 0, 0, 1, 1},
  {&__pyx_n_s_string_ptr, __pyx_k_string_ptr, sizeof(__pyx_k_string_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_target, __pyx_k_target, sizeof(__pyx_k_target), 0, 0, 1, 1},
  {&__pyx_n_s_test, __pyx_k_test, sizeof(__pyx_k_test), 0, 0, 1, 1},
  {&__pyx_n_s_textarget, __pyx_k_textarget, sizeof(__pyx_k_textarget), 0, 0, 1, 1},
  {&__pyx_n_s_texture, __pyx_k_texture, sizeof(__pyx_k_texture), 0, 0, 1, 1},
  {&__pyx_n_s_textures, __pyx_k_textures, sizeof(__pyx_k_textures), 0, 0, 1, 1},
  {&__pyx_n_s_textures_ptr, __pyx_k_textures_ptr, sizeof(__pyx_k_textures_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_transpose, __pyx_k_transpose, sizeof(__pyx_k_transpose), 0, 0, 1, 1},
  {&__pyx_n_s_type, __pyx_k_type, sizeof(__pyx_k_type), 0, 0, 1, 1},
  {&__pyx_n_s_type_ptr, __pyx_k_type_ptr, sizeof(__pyx_k_type_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_units, __pyx_k_units, sizeof(__pyx_k_units), 0, 0, 1, 1},
  {&__pyx_n_s_usage, __pyx_k_usage, sizeof(__pyx_k_usage), 0, 0, 1, 1},
  {&__pyx_n_s_v, __pyx_k_v, sizeof(__pyx_k_v), 0, 0, 1, 1},
  {&__pyx_n_s_v0, __pyx_k_v0, sizeof(__pyx_k_v0), 0, 0, 1, 1},
  {&__pyx_n_s_v1, __pyx_k_v1, sizeof(__pyx_k_v1), 0, 0, 1, 1},
  {&__pyx_n_s_v2, __pyx_k_v2, sizeof(__pyx_k_v2), 0, 0, 1, 1},
  {&__pyx_n_s_v3, __pyx_k_v3, sizeof(__pyx_k_v3), 0, 0, 1, 1},
  {&__pyx_n_s_v_ptr, __pyx_k_v_ptr, sizeof(__pyx_k_v_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_value, __pyx_k_value, sizeof(__pyx_k_value), 0, 0, 1, 1},
  {&__pyx_n_s_value_ptr, __pyx_k_value_ptr, sizeof(__pyx_k_value_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_varyings, __pyx_k_varyings, sizeof(__pyx_k_varyings), 0, 0, 1, 1},
  {&__pyx_n_s_varyings_ptr, __pyx_k_varyings_ptr, sizeof(__pyx_k_varyings_ptr), 0, 0, 1, 1},
  {&__pyx_n_s_w, __pyx_k_w, sizeof(__pyx_k_w), 0, 0, 1, 1},
  {&__pyx_n_s_width, __pyx_k_width, sizeof(__pyx_k_width), 0, 0, 1, 1},
  {&__pyx_n_s_x, __pyx_k_x, sizeof(__pyx_k_x), 0, 0, 1, 1},
  {&__pyx_n_s_xoffset, __pyx_k_xoffset, sizeof(__pyx_k_xoffset), 0, 0, 1, 1},
  {&__pyx_n_s_y, __pyx_k_y, sizeof(__pyx_k_y), 0, 0, 1, 1},
  {&__pyx_n_s_yoffset, __pyx_k_yoffset, sizeof(__pyx_k_yoffset), 0, 0, 1, 1},
  {&__pyx_n_s_z, __pyx_k_z, sizeof(__pyx_k_z), 0, 0, 1, 1},
  {&__pyx_n_s_zfail, __pyx_k_zfail, sizeof(__pyx_k_zfail), 0, 0, 1, 1},
  {&__pyx_n_s_zoffset, __pyx_k_zoffset, sizeof(__pyx_k_zoffset), 0, 0, 1, 1},
  {&__pyx_n_s_zpass, __pyx_k_zpass, sizeof(__pyx_k_zpass), 0, 0, 1, 1},
  {0, 0, 0, 0, 0, 0, 0}
};
static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(void) {
  __pyx_builtin_TypeError = __Pyx_GetBuiltinName(__pyx_n_s_TypeError); if (!__pyx_builtin_TypeError) __PYX_ERR(0, 2, __pyx_L1_error)
  __pyx_builtin_IndexError = __Pyx_GetBuiltinName(__pyx_n_s_IndexError); if (!__pyx_builtin_IndexError) __PYX_ERR(1, 178, __pyx_L1_error)
  return 0;
  __pyx_L1_error:;
  return -1;
}

static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")
 */
  __pyx_tuple_ = PyTuple_Pack(1, __pyx_kp_s_self_ptr_self_view_cannot_be_con); if (unlikely(!__pyx_tuple_)) __PYX_ERR(0, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple_);
  __Pyx_GIVEREF(__pyx_tuple_);

  /* "(tree fragment)":4
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.ptr,self.view cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 */
  __pyx_tuple__2 = PyTuple_Pack(1, __pyx_kp_s_self_ptr_self_view_cannot_be_con); if (unlikely(!__pyx_tuple__2)) __PYX_ERR(0, 4, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__2);
  __Pyx_GIVEREF(__pyx_tuple__2);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */
  __pyx_tuple__3 = PyTuple_Pack(1, __pyx_kp_s_self_data_cannot_be_converted_to); if (unlikely(!__pyx_tuple__3)) __PYX_ERR(0, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__3);
  __Pyx_GIVEREF(__pyx_tuple__3);

  /* "(tree fragment)":4
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 */
  __pyx_tuple__4 = PyTuple_Pack(1, __pyx_kp_s_self_data_cannot_be_converted_to); if (unlikely(!__pyx_tuple__4)) __PYX_ERR(0, 4, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__4);
  __Pyx_GIVEREF(__pyx_tuple__4);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */
  __pyx_tuple__5 = PyTuple_Pack(1, __pyx_kp_s_self_data_cannot_be_converted_to); if (unlikely(!__pyx_tuple__5)) __PYX_ERR(0, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__5);
  __Pyx_GIVEREF(__pyx_tuple__5);

  /* "(tree fragment)":4
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 */
  __pyx_tuple__6 = PyTuple_Pack(1, __pyx_kp_s_self_data_cannot_be_converted_to); if (unlikely(!__pyx_tuple__6)) __PYX_ERR(0, 4, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__6);
  __Pyx_GIVEREF(__pyx_tuple__6);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */
  __pyx_tuple__7 = PyTuple_Pack(1, __pyx_kp_s_self_data_cannot_be_converted_to); if (unlikely(!__pyx_tuple__7)) __PYX_ERR(0, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__7);
  __Pyx_GIVEREF(__pyx_tuple__7);

  /* "(tree fragment)":4
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 */
  __pyx_tuple__8 = PyTuple_Pack(1, __pyx_kp_s_self_data_cannot_be_converted_to); if (unlikely(!__pyx_tuple__8)) __PYX_ERR(0, 4, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__8);
  __Pyx_GIVEREF(__pyx_tuple__8);

  /* "renpy/uguu/uguu.pyx":178
 *     def __getitem__(self, index):
 *         if index < 0 or index >= self.length:
 *             raise IndexError("index out of range")             # <<<<<<<<<<<<<<
 * 
 *         return (<int*> self.data)[index]
 */
  __pyx_tuple__9 = PyTuple_Pack(1, __pyx_kp_s_index_out_of_range); if (unlikely(!__pyx_tuple__9)) __PYX_ERR(1, 178, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__9);
  __Pyx_GIVEREF(__pyx_tuple__9);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */
  __pyx_tuple__10 = PyTuple_Pack(1, __pyx_kp_s_self_data_cannot_be_converted_to); if (unlikely(!__pyx_tuple__10)) __PYX_ERR(0, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__10);
  __Pyx_GIVEREF(__pyx_tuple__10);

  /* "(tree fragment)":4
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 */
  __pyx_tuple__11 = PyTuple_Pack(1, __pyx_kp_s_self_data_cannot_be_converted_to); if (unlikely(!__pyx_tuple__11)) __PYX_ERR(0, 4, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__11);
  __Pyx_GIVEREF(__pyx_tuple__11);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 */
  __pyx_tuple__12 = PyTuple_Pack(1, __pyx_kp_s_self_data_cannot_be_converted_to); if (unlikely(!__pyx_tuple__12)) __PYX_ERR(0, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__12);
  __Pyx_GIVEREF(__pyx_tuple__12);

  /* "(tree fragment)":4
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError("self.data cannot be converted to a Python object for pickling")             # <<<<<<<<<<<<<<
 */
  __pyx_tuple__13 = PyTuple_Pack(1, __pyx_kp_s_self_data_cannot_be_converted_to); if (unlikely(!__pyx_tuple__13)) __PYX_ERR(0, 4, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__13);
  __Pyx_GIVEREF(__pyx_tuple__13);

  /* "renpy/uguu/uguu.pyx":232
 * from renpy.uguu.gl cimport GLuint64EXT
 * 
 * def glActiveTexture(texture):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glActiveTexture(texture)
 * 
 */
  __pyx_tuple__14 = PyTuple_Pack(1, __pyx_n_s_texture); if (unlikely(!__pyx_tuple__14)) __PYX_ERR(1, 232, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__14);
  __Pyx_GIVEREF(__pyx_tuple__14);
  __pyx_codeobj__15 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__14, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glActiveTexture, 232, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__15)) __PYX_ERR(1, 232, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":235
 *     renpy.uguu.gl.glActiveTexture(texture)
 * 
 * def glAttachShader(program, shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glAttachShader(program, shader)
 * 
 */
  __pyx_tuple__16 = PyTuple_Pack(2, __pyx_n_s_program, __pyx_n_s_shader); if (unlikely(!__pyx_tuple__16)) __PYX_ERR(1, 235, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__16);
  __Pyx_GIVEREF(__pyx_tuple__16);
  __pyx_codeobj__17 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__16, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glAttachShader, 235, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__17)) __PYX_ERR(1, 235, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":238
 *     renpy.uguu.gl.glAttachShader(program, shader)
 * 
 * def glBeginQuery(target, id):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBeginQuery(target, id)
 * 
 */
  __pyx_tuple__18 = PyTuple_Pack(2, __pyx_n_s_target, __pyx_n_s_id); if (unlikely(!__pyx_tuple__18)) __PYX_ERR(1, 238, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__18);
  __Pyx_GIVEREF(__pyx_tuple__18);
  __pyx_codeobj__19 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__18, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBeginQuery, 238, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__19)) __PYX_ERR(1, 238, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":241
 *     renpy.uguu.gl.glBeginQuery(target, id)
 * 
 * def glBeginTransformFeedback(primitiveMode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBeginTransformFeedback(primitiveMode)
 * 
 */
  __pyx_tuple__20 = PyTuple_Pack(1, __pyx_n_s_primitiveMode); if (unlikely(!__pyx_tuple__20)) __PYX_ERR(1, 241, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__20);
  __Pyx_GIVEREF(__pyx_tuple__20);
  __pyx_codeobj__21 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__20, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBeginTransformFeedback, 241, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__21)) __PYX_ERR(1, 241, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":244
 *     renpy.uguu.gl.glBeginTransformFeedback(primitiveMode)
 * 
 * def glBindAttribLocation(program, index, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     renpy.uguu.gl.glBindAttribLocation(program, index, <const GLchar *> name_ptr.ptr)
 */
  __pyx_tuple__22 = PyTuple_Pack(4, __pyx_n_s_program, __pyx_n_s_index, __pyx_n_s_name, __pyx_n_s_name_ptr); if (unlikely(!__pyx_tuple__22)) __PYX_ERR(1, 244, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__22);
  __Pyx_GIVEREF(__pyx_tuple__22);
  __pyx_codeobj__23 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__22, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBindAttribLocation, 244, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__23)) __PYX_ERR(1, 244, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":248
 *     renpy.uguu.gl.glBindAttribLocation(program, index, <const GLchar *> name_ptr.ptr)
 * 
 * def glBindBuffer(target, buffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindBuffer(target, buffer)
 * 
 */
  __pyx_tuple__24 = PyTuple_Pack(2, __pyx_n_s_target, __pyx_n_s_buffer); if (unlikely(!__pyx_tuple__24)) __PYX_ERR(1, 248, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__24);
  __Pyx_GIVEREF(__pyx_tuple__24);
  __pyx_codeobj__25 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__24, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBindBuffer, 248, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__25)) __PYX_ERR(1, 248, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":251
 *     renpy.uguu.gl.glBindBuffer(target, buffer)
 * 
 * def glBindBufferBase(target, index, buffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindBufferBase(target, index, buffer)
 * 
 */
  __pyx_tuple__26 = PyTuple_Pack(3, __pyx_n_s_target, __pyx_n_s_index, __pyx_n_s_buffer); if (unlikely(!__pyx_tuple__26)) __PYX_ERR(1, 251, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__26);
  __Pyx_GIVEREF(__pyx_tuple__26);
  __pyx_codeobj__27 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__26, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBindBufferBase, 251, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__27)) __PYX_ERR(1, 251, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":254
 *     renpy.uguu.gl.glBindBufferBase(target, index, buffer)
 * 
 * def glBindBufferRange(target, index, buffer, offset, size):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindBufferRange(target, index, buffer, offset, size)
 * 
 */
  __pyx_tuple__28 = PyTuple_Pack(5, __pyx_n_s_target, __pyx_n_s_index, __pyx_n_s_buffer, __pyx_n_s_offset, __pyx_n_s_size); if (unlikely(!__pyx_tuple__28)) __PYX_ERR(1, 254, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__28);
  __Pyx_GIVEREF(__pyx_tuple__28);
  __pyx_codeobj__29 = (PyObject*)__Pyx_PyCode_New(5, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBindBufferRange, 254, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__29)) __PYX_ERR(1, 254, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":257
 *     renpy.uguu.gl.glBindBufferRange(target, index, buffer, offset, size)
 * 
 * def glBindFramebuffer(target, framebuffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindFramebuffer(target, framebuffer)
 * 
 */
  __pyx_tuple__30 = PyTuple_Pack(2, __pyx_n_s_target, __pyx_n_s_framebuffer); if (unlikely(!__pyx_tuple__30)) __PYX_ERR(1, 257, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__30);
  __Pyx_GIVEREF(__pyx_tuple__30);
  __pyx_codeobj__31 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__30, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBindFramebuffer, 257, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__31)) __PYX_ERR(1, 257, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":260
 *     renpy.uguu.gl.glBindFramebuffer(target, framebuffer)
 * 
 * def glBindRenderbuffer(target, renderbuffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindRenderbuffer(target, renderbuffer)
 * 
 */
  __pyx_tuple__32 = PyTuple_Pack(2, __pyx_n_s_target, __pyx_n_s_renderbuffer); if (unlikely(!__pyx_tuple__32)) __PYX_ERR(1, 260, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__32);
  __Pyx_GIVEREF(__pyx_tuple__32);
  __pyx_codeobj__33 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__32, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBindRenderbuffer, 260, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__33)) __PYX_ERR(1, 260, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":263
 *     renpy.uguu.gl.glBindRenderbuffer(target, renderbuffer)
 * 
 * def glBindTexture(target, texture):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindTexture(target, texture)
 * 
 */
  __pyx_tuple__34 = PyTuple_Pack(2, __pyx_n_s_target, __pyx_n_s_texture); if (unlikely(!__pyx_tuple__34)) __PYX_ERR(1, 263, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__34);
  __Pyx_GIVEREF(__pyx_tuple__34);
  __pyx_codeobj__35 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__34, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBindTexture, 263, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__35)) __PYX_ERR(1, 263, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":266
 *     renpy.uguu.gl.glBindTexture(target, texture)
 * 
 * def glBindVertexArray(array):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindVertexArray(array)
 * 
 */
  __pyx_tuple__36 = PyTuple_Pack(1, __pyx_n_s_array); if (unlikely(!__pyx_tuple__36)) __PYX_ERR(1, 266, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__36);
  __Pyx_GIVEREF(__pyx_tuple__36);
  __pyx_codeobj__37 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__36, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBindVertexArray, 266, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__37)) __PYX_ERR(1, 266, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":269
 *     renpy.uguu.gl.glBindVertexArray(array)
 * 
 * def glBlendColor(red, green, blue, alpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendColor(red, green, blue, alpha)
 * 
 */
  __pyx_tuple__38 = PyTuple_Pack(4, __pyx_n_s_red, __pyx_n_s_green, __pyx_n_s_blue, __pyx_n_s_alpha); if (unlikely(!__pyx_tuple__38)) __PYX_ERR(1, 269, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__38);
  __Pyx_GIVEREF(__pyx_tuple__38);
  __pyx_codeobj__39 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__38, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBlendColor, 269, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__39)) __PYX_ERR(1, 269, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":272
 *     renpy.uguu.gl.glBlendColor(red, green, blue, alpha)
 * 
 * def glBlendEquation(mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendEquation(mode)
 * 
 */
  __pyx_tuple__40 = PyTuple_Pack(1, __pyx_n_s_mode); if (unlikely(!__pyx_tuple__40)) __PYX_ERR(1, 272, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__40);
  __Pyx_GIVEREF(__pyx_tuple__40);
  __pyx_codeobj__41 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__40, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBlendEquation, 272, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__41)) __PYX_ERR(1, 272, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":275
 *     renpy.uguu.gl.glBlendEquation(mode)
 * 
 * def glBlendEquationSeparate(modeRGB, modeAlpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendEquationSeparate(modeRGB, modeAlpha)
 * 
 */
  __pyx_tuple__42 = PyTuple_Pack(2, __pyx_n_s_modeRGB, __pyx_n_s_modeAlpha); if (unlikely(!__pyx_tuple__42)) __PYX_ERR(1, 275, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__42);
  __Pyx_GIVEREF(__pyx_tuple__42);
  __pyx_codeobj__43 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__42, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBlendEquationSeparate, 275, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__43)) __PYX_ERR(1, 275, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":278
 *     renpy.uguu.gl.glBlendEquationSeparate(modeRGB, modeAlpha)
 * 
 * def glBlendFunc(sfactor, dfactor):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendFunc(sfactor, dfactor)
 * 
 */
  __pyx_tuple__44 = PyTuple_Pack(2, __pyx_n_s_sfactor, __pyx_n_s_dfactor); if (unlikely(!__pyx_tuple__44)) __PYX_ERR(1, 278, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__44);
  __Pyx_GIVEREF(__pyx_tuple__44);
  __pyx_codeobj__45 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__44, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBlendFunc, 278, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__45)) __PYX_ERR(1, 278, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":281
 *     renpy.uguu.gl.glBlendFunc(sfactor, dfactor)
 * 
 * def glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
 * 
 */
  __pyx_tuple__46 = PyTuple_Pack(4, __pyx_n_s_sfactorRGB, __pyx_n_s_dfactorRGB, __pyx_n_s_sfactorAlpha, __pyx_n_s_dfactorAlpha); if (unlikely(!__pyx_tuple__46)) __PYX_ERR(1, 281, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__46);
  __Pyx_GIVEREF(__pyx_tuple__46);
  __pyx_codeobj__47 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__46, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBlendFuncSeparate, 281, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__47)) __PYX_ERR(1, 281, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":284
 *     renpy.uguu.gl.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
 * 
 * def glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
 * 
 */
  __pyx_tuple__48 = PyTuple_Pack(10, __pyx_n_s_srcX0, __pyx_n_s_srcY0, __pyx_n_s_srcX1, __pyx_n_s_srcY1, __pyx_n_s_dstX0, __pyx_n_s_dstY0, __pyx_n_s_dstX1, __pyx_n_s_dstY1, __pyx_n_s_mask, __pyx_n_s_filter); if (unlikely(!__pyx_tuple__48)) __PYX_ERR(1, 284, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__48);
  __Pyx_GIVEREF(__pyx_tuple__48);
  __pyx_codeobj__49 = (PyObject*)__Pyx_PyCode_New(10, 0, 10, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__48, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBlitFramebuffer, 284, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__49)) __PYX_ERR(1, 284, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":287
 *     renpy.uguu.gl.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
 * 
 * def glBufferData(target, size, data, usage):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glBufferData(target, size, <const void *> data_ptr.ptr, usage)
 */
  __pyx_tuple__50 = PyTuple_Pack(5, __pyx_n_s_target, __pyx_n_s_size, __pyx_n_s_data, __pyx_n_s_usage, __pyx_n_s_data_ptr); if (unlikely(!__pyx_tuple__50)) __PYX_ERR(1, 287, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__50);
  __Pyx_GIVEREF(__pyx_tuple__50);
  __pyx_codeobj__51 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__50, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBufferData, 287, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__51)) __PYX_ERR(1, 287, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":291
 *     renpy.uguu.gl.glBufferData(target, size, <const void *> data_ptr.ptr, usage)
 * 
 * def glBufferSubData(target, offset, size, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glBufferSubData(target, offset, size, <const void *> data_ptr.ptr)
 */
  __pyx_tuple__52 = PyTuple_Pack(5, __pyx_n_s_target, __pyx_n_s_offset, __pyx_n_s_size, __pyx_n_s_data, __pyx_n_s_data_ptr); if (unlikely(!__pyx_tuple__52)) __PYX_ERR(1, 291, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__52);
  __Pyx_GIVEREF(__pyx_tuple__52);
  __pyx_codeobj__53 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__52, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glBufferSubData, 291, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__53)) __PYX_ERR(1, 291, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":295
 *     renpy.uguu.gl.glBufferSubData(target, offset, size, <const void *> data_ptr.ptr)
 * 
 * def glCheckFramebufferStatus(target):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glCheckFramebufferStatus(target)
 * 
 */
  __pyx_tuple__54 = PyTuple_Pack(1, __pyx_n_s_target); if (unlikely(!__pyx_tuple__54)) __PYX_ERR(1, 295, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__54);
  __Pyx_GIVEREF(__pyx_tuple__54);
  __pyx_codeobj__55 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__54, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glCheckFramebufferStatus, 295, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__55)) __PYX_ERR(1, 295, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":298
 *     return renpy.uguu.gl.glCheckFramebufferStatus(target)
 * 
 * def glClear(mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClear(mask)
 * 
 */
  __pyx_tuple__56 = PyTuple_Pack(1, __pyx_n_s_mask); if (unlikely(!__pyx_tuple__56)) __PYX_ERR(1, 298, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__56);
  __Pyx_GIVEREF(__pyx_tuple__56);
  __pyx_codeobj__57 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__56, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glClear, 298, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__57)) __PYX_ERR(1, 298, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":301
 *     renpy.uguu.gl.glClear(mask)
 * 
 * def glClearBufferfi(buffer, drawbuffer, depth, stencil):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearBufferfi(buffer, drawbuffer, depth, stencil)
 * 
 */
  __pyx_tuple__58 = PyTuple_Pack(4, __pyx_n_s_buffer, __pyx_n_s_drawbuffer, __pyx_n_s_depth, __pyx_n_s_stencil); if (unlikely(!__pyx_tuple__58)) __PYX_ERR(1, 301, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__58);
  __Pyx_GIVEREF(__pyx_tuple__58);
  __pyx_codeobj__59 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__58, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glClearBufferfi, 301, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__59)) __PYX_ERR(1, 301, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":304
 *     renpy.uguu.gl.glClearBufferfi(buffer, drawbuffer, depth, stencil)
 * 
 * def glClearBufferfv(buffer, drawbuffer, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferfv(buffer, drawbuffer, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__60 = PyTuple_Pack(4, __pyx_n_s_buffer, __pyx_n_s_drawbuffer, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__60)) __PYX_ERR(1, 304, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__60);
  __Pyx_GIVEREF(__pyx_tuple__60);
  __pyx_codeobj__61 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__60, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glClearBufferfv, 304, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__61)) __PYX_ERR(1, 304, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":308
 *     renpy.uguu.gl.glClearBufferfv(buffer, drawbuffer, <const GLfloat *> value_ptr.ptr)
 * 
 * def glClearBufferiv(buffer, drawbuffer, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferiv(buffer, drawbuffer, <const GLint *> value_ptr.ptr)
 */
  __pyx_tuple__62 = PyTuple_Pack(4, __pyx_n_s_buffer, __pyx_n_s_drawbuffer, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__62)) __PYX_ERR(1, 308, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__62);
  __Pyx_GIVEREF(__pyx_tuple__62);
  __pyx_codeobj__63 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__62, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glClearBufferiv, 308, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__63)) __PYX_ERR(1, 308, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":312
 *     renpy.uguu.gl.glClearBufferiv(buffer, drawbuffer, <const GLint *> value_ptr.ptr)
 * 
 * def glClearBufferuiv(buffer, drawbuffer, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferuiv(buffer, drawbuffer, <const GLuint *> value_ptr.ptr)
 */
  __pyx_tuple__64 = PyTuple_Pack(4, __pyx_n_s_buffer, __pyx_n_s_drawbuffer, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__64)) __PYX_ERR(1, 312, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__64);
  __Pyx_GIVEREF(__pyx_tuple__64);
  __pyx_codeobj__65 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__64, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glClearBufferuiv, 312, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__65)) __PYX_ERR(1, 312, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":316
 *     renpy.uguu.gl.glClearBufferuiv(buffer, drawbuffer, <const GLuint *> value_ptr.ptr)
 * 
 * def glClearColor(red, green, blue, alpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearColor(red, green, blue, alpha)
 * 
 */
  __pyx_tuple__66 = PyTuple_Pack(4, __pyx_n_s_red, __pyx_n_s_green, __pyx_n_s_blue, __pyx_n_s_alpha); if (unlikely(!__pyx_tuple__66)) __PYX_ERR(1, 316, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__66);
  __Pyx_GIVEREF(__pyx_tuple__66);
  __pyx_codeobj__67 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__66, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glClearColor, 316, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__67)) __PYX_ERR(1, 316, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":319
 *     renpy.uguu.gl.glClearColor(red, green, blue, alpha)
 * 
 * def glClearStencil(s):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearStencil(s)
 * 
 */
  __pyx_tuple__68 = PyTuple_Pack(1, __pyx_n_s_s); if (unlikely(!__pyx_tuple__68)) __PYX_ERR(1, 319, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__68);
  __Pyx_GIVEREF(__pyx_tuple__68);
  __pyx_codeobj__69 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__68, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glClearStencil, 319, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__69)) __PYX_ERR(1, 319, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":322
 *     renpy.uguu.gl.glClearStencil(s)
 * 
 * def glColorMask(red, green, blue, alpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glColorMask(red, green, blue, alpha)
 * 
 */
  __pyx_tuple__70 = PyTuple_Pack(4, __pyx_n_s_red, __pyx_n_s_green, __pyx_n_s_blue, __pyx_n_s_alpha); if (unlikely(!__pyx_tuple__70)) __PYX_ERR(1, 322, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__70);
  __Pyx_GIVEREF(__pyx_tuple__70);
  __pyx_codeobj__71 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__70, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glColorMask, 322, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__71)) __PYX_ERR(1, 322, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":325
 *     renpy.uguu.gl.glColorMask(red, green, blue, alpha)
 * 
 * def glCompileShader(shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCompileShader(shader)
 * 
 */
  __pyx_tuple__72 = PyTuple_Pack(1, __pyx_n_s_shader); if (unlikely(!__pyx_tuple__72)) __PYX_ERR(1, 325, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__72);
  __Pyx_GIVEREF(__pyx_tuple__72);
  __pyx_codeobj__73 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__72, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glCompileShader, 325, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__73)) __PYX_ERR(1, 325, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":328
 *     renpy.uguu.gl.glCompileShader(shader)
 * 
 * def glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, <const void *> data_ptr.ptr)
 */
  __pyx_tuple__74 = PyTuple_Pack(9, __pyx_n_s_target, __pyx_n_s_level, __pyx_n_s_internalformat, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_border, __pyx_n_s_imageSize, __pyx_n_s_data, __pyx_n_s_data_ptr); if (unlikely(!__pyx_tuple__74)) __PYX_ERR(1, 328, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__74);
  __Pyx_GIVEREF(__pyx_tuple__74);
  __pyx_codeobj__75 = (PyObject*)__Pyx_PyCode_New(8, 0, 9, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__74, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glCompressedTexImage2D, 328, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__75)) __PYX_ERR(1, 328, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":332
 *     renpy.uguu.gl.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, <const void *> data_ptr.ptr)
 */
  __pyx_tuple__76 = PyTuple_Pack(10, __pyx_n_s_target, __pyx_n_s_level, __pyx_n_s_internalformat, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_depth, __pyx_n_s_border, __pyx_n_s_imageSize, __pyx_n_s_data, __pyx_n_s_data_ptr); if (unlikely(!__pyx_tuple__76)) __PYX_ERR(1, 332, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__76);
  __Pyx_GIVEREF(__pyx_tuple__76);
  __pyx_codeobj__77 = (PyObject*)__Pyx_PyCode_New(9, 0, 10, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__76, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glCompressedTexImage3D, 332, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__77)) __PYX_ERR(1, 332, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":336
 *     renpy.uguu.gl.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, <const void *> data_ptr.ptr)
 */
  __pyx_tuple__78 = PyTuple_Pack(10, __pyx_n_s_target, __pyx_n_s_level, __pyx_n_s_xoffset, __pyx_n_s_yoffset, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_format, __pyx_n_s_imageSize, __pyx_n_s_data, __pyx_n_s_data_ptr); if (unlikely(!__pyx_tuple__78)) __PYX_ERR(1, 336, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__78);
  __Pyx_GIVEREF(__pyx_tuple__78);
  __pyx_codeobj__79 = (PyObject*)__Pyx_PyCode_New(9, 0, 10, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__78, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glCompressedTexSubImage2D, 336, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__79)) __PYX_ERR(1, 336, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":340
 *     renpy.uguu.gl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, <const void *> data_ptr.ptr)
 */
  __pyx_tuple__80 = PyTuple_Pack(12, __pyx_n_s_target, __pyx_n_s_level, __pyx_n_s_xoffset, __pyx_n_s_yoffset, __pyx_n_s_zoffset, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_depth, __pyx_n_s_format, __pyx_n_s_imageSize, __pyx_n_s_data, __pyx_n_s_data_ptr); if (unlikely(!__pyx_tuple__80)) __PYX_ERR(1, 340, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__80);
  __Pyx_GIVEREF(__pyx_tuple__80);
  __pyx_codeobj__81 = (PyObject*)__Pyx_PyCode_New(11, 0, 12, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__80, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glCompressedTexSubImage3D, 340, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__81)) __PYX_ERR(1, 340, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":344
 *     renpy.uguu.gl.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCopyTexImage2D(target, level, internalformat, x, y, width, height, border):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)
 * 
 */
  __pyx_tuple__82 = PyTuple_Pack(8, __pyx_n_s_target, __pyx_n_s_level, __pyx_n_s_internalformat, __pyx_n_s_x, __pyx_n_s_y, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_border); if (unlikely(!__pyx_tuple__82)) __PYX_ERR(1, 344, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__82);
  __Pyx_GIVEREF(__pyx_tuple__82);
  __pyx_codeobj__83 = (PyObject*)__Pyx_PyCode_New(8, 0, 8, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__82, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glCopyTexImage2D, 344, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__83)) __PYX_ERR(1, 344, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":347
 *     renpy.uguu.gl.glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)
 * 
 * def glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)
 * 
 */
  __pyx_tuple__84 = PyTuple_Pack(8, __pyx_n_s_target, __pyx_n_s_level, __pyx_n_s_xoffset, __pyx_n_s_yoffset, __pyx_n_s_x, __pyx_n_s_y, __pyx_n_s_width, __pyx_n_s_height); if (unlikely(!__pyx_tuple__84)) __PYX_ERR(1, 347, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__84);
  __Pyx_GIVEREF(__pyx_tuple__84);
  __pyx_codeobj__85 = (PyObject*)__Pyx_PyCode_New(8, 0, 8, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__84, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glCopyTexSubImage2D, 347, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__85)) __PYX_ERR(1, 347, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":350
 *     renpy.uguu.gl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)
 * 
 * def glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)
 * 
 */
  __pyx_tuple__86 = PyTuple_Pack(9, __pyx_n_s_target, __pyx_n_s_level, __pyx_n_s_xoffset, __pyx_n_s_yoffset, __pyx_n_s_zoffset, __pyx_n_s_x, __pyx_n_s_y, __pyx_n_s_width, __pyx_n_s_height); if (unlikely(!__pyx_tuple__86)) __PYX_ERR(1, 350, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__86);
  __Pyx_GIVEREF(__pyx_tuple__86);
  __pyx_codeobj__87 = (PyObject*)__Pyx_PyCode_New(9, 0, 9, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__86, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glCopyTexSubImage3D, 350, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__87)) __PYX_ERR(1, 350, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":353
 *     renpy.uguu.gl.glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)
 * 
 * def glCreateProgram():             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glCreateProgram()
 * 
 */
  __pyx_codeobj__88 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glCreateProgram, 353, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__88)) __PYX_ERR(1, 353, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":356
 *     return renpy.uguu.gl.glCreateProgram()
 * 
 * def glCreateShader(type):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glCreateShader(type)
 * 
 */
  __pyx_tuple__89 = PyTuple_Pack(1, __pyx_n_s_type); if (unlikely(!__pyx_tuple__89)) __PYX_ERR(1, 356, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__89);
  __Pyx_GIVEREF(__pyx_tuple__89);
  __pyx_codeobj__90 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__89, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glCreateShader, 356, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__90)) __PYX_ERR(1, 356, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":359
 *     return renpy.uguu.gl.glCreateShader(type)
 * 
 * def glCullFace(mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCullFace(mode)
 * 
 */
  __pyx_tuple__91 = PyTuple_Pack(1, __pyx_n_s_mode); if (unlikely(!__pyx_tuple__91)) __PYX_ERR(1, 359, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__91);
  __Pyx_GIVEREF(__pyx_tuple__91);
  __pyx_codeobj__92 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__91, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glCullFace, 359, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__92)) __PYX_ERR(1, 359, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":362
 *     renpy.uguu.gl.glCullFace(mode)
 * 
 * def glDeleteBuffers(n, buffers):             # <<<<<<<<<<<<<<
 *     cdef ptr buffers_ptr = get_ptr(buffers)
 *     renpy.uguu.gl.glDeleteBuffers(n, <const GLuint *> buffers_ptr.ptr)
 */
  __pyx_tuple__93 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_buffers, __pyx_n_s_buffers_ptr); if (unlikely(!__pyx_tuple__93)) __PYX_ERR(1, 362, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__93);
  __Pyx_GIVEREF(__pyx_tuple__93);
  __pyx_codeobj__94 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__93, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDeleteBuffers, 362, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__94)) __PYX_ERR(1, 362, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":366
 *     renpy.uguu.gl.glDeleteBuffers(n, <const GLuint *> buffers_ptr.ptr)
 * 
 * def glDeleteFramebuffers(n, framebuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr framebuffers_ptr = get_ptr(framebuffers)
 *     renpy.uguu.gl.glDeleteFramebuffers(n, <const GLuint *> framebuffers_ptr.ptr)
 */
  __pyx_tuple__95 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_framebuffers, __pyx_n_s_framebuffers_ptr); if (unlikely(!__pyx_tuple__95)) __PYX_ERR(1, 366, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__95);
  __Pyx_GIVEREF(__pyx_tuple__95);
  __pyx_codeobj__96 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__95, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDeleteFramebuffers, 366, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__96)) __PYX_ERR(1, 366, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":370
 *     renpy.uguu.gl.glDeleteFramebuffers(n, <const GLuint *> framebuffers_ptr.ptr)
 * 
 * def glDeleteProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteProgram(program)
 * 
 */
  __pyx_tuple__97 = PyTuple_Pack(1, __pyx_n_s_program); if (unlikely(!__pyx_tuple__97)) __PYX_ERR(1, 370, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__97);
  __Pyx_GIVEREF(__pyx_tuple__97);
  __pyx_codeobj__98 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__97, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDeleteProgram, 370, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__98)) __PYX_ERR(1, 370, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":373
 *     renpy.uguu.gl.glDeleteProgram(program)
 * 
 * def glDeleteQueries(n, ids):             # <<<<<<<<<<<<<<
 *     cdef ptr ids_ptr = get_ptr(ids)
 *     renpy.uguu.gl.glDeleteQueries(n, <const GLuint *> ids_ptr.ptr)
 */
  __pyx_tuple__99 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_ids, __pyx_n_s_ids_ptr); if (unlikely(!__pyx_tuple__99)) __PYX_ERR(1, 373, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__99);
  __Pyx_GIVEREF(__pyx_tuple__99);
  __pyx_codeobj__100 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__99, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDeleteQueries, 373, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__100)) __PYX_ERR(1, 373, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":377
 *     renpy.uguu.gl.glDeleteQueries(n, <const GLuint *> ids_ptr.ptr)
 * 
 * def glDeleteRenderbuffers(n, renderbuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr renderbuffers_ptr = get_ptr(renderbuffers)
 *     renpy.uguu.gl.glDeleteRenderbuffers(n, <const GLuint *> renderbuffers_ptr.ptr)
 */
  __pyx_tuple__101 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_renderbuffers, __pyx_n_s_renderbuffers_ptr); if (unlikely(!__pyx_tuple__101)) __PYX_ERR(1, 377, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__101);
  __Pyx_GIVEREF(__pyx_tuple__101);
  __pyx_codeobj__102 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__101, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDeleteRenderbuffers, 377, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__102)) __PYX_ERR(1, 377, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":381
 *     renpy.uguu.gl.glDeleteRenderbuffers(n, <const GLuint *> renderbuffers_ptr.ptr)
 * 
 * def glDeleteShader(shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteShader(shader)
 * 
 */
  __pyx_tuple__103 = PyTuple_Pack(1, __pyx_n_s_shader); if (unlikely(!__pyx_tuple__103)) __PYX_ERR(1, 381, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__103);
  __Pyx_GIVEREF(__pyx_tuple__103);
  __pyx_codeobj__104 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__103, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDeleteShader, 381, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__104)) __PYX_ERR(1, 381, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":384
 *     renpy.uguu.gl.glDeleteShader(shader)
 * 
 * def glDeleteTextures(n, textures):             # <<<<<<<<<<<<<<
 *     cdef ptr textures_ptr = get_ptr(textures)
 *     renpy.uguu.gl.glDeleteTextures(n, <const GLuint *> textures_ptr.ptr)
 */
  __pyx_tuple__105 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_textures, __pyx_n_s_textures_ptr); if (unlikely(!__pyx_tuple__105)) __PYX_ERR(1, 384, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__105);
  __Pyx_GIVEREF(__pyx_tuple__105);
  __pyx_codeobj__106 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__105, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDeleteTextures, 384, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__106)) __PYX_ERR(1, 384, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":388
 *     renpy.uguu.gl.glDeleteTextures(n, <const GLuint *> textures_ptr.ptr)
 * 
 * def glDeleteVertexArrays(n, arrays):             # <<<<<<<<<<<<<<
 *     cdef ptr arrays_ptr = get_ptr(arrays)
 *     renpy.uguu.gl.glDeleteVertexArrays(n, <const GLuint *> arrays_ptr.ptr)
 */
  __pyx_tuple__107 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_arrays, __pyx_n_s_arrays_ptr); if (unlikely(!__pyx_tuple__107)) __PYX_ERR(1, 388, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__107);
  __Pyx_GIVEREF(__pyx_tuple__107);
  __pyx_codeobj__108 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__107, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDeleteVertexArrays, 388, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__108)) __PYX_ERR(1, 388, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":392
 *     renpy.uguu.gl.glDeleteVertexArrays(n, <const GLuint *> arrays_ptr.ptr)
 * 
 * def glDepthFunc(func):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDepthFunc(func)
 * 
 */
  __pyx_tuple__109 = PyTuple_Pack(1, __pyx_n_s_func); if (unlikely(!__pyx_tuple__109)) __PYX_ERR(1, 392, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__109);
  __Pyx_GIVEREF(__pyx_tuple__109);
  __pyx_codeobj__110 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__109, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDepthFunc, 392, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__110)) __PYX_ERR(1, 392, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":395
 *     renpy.uguu.gl.glDepthFunc(func)
 * 
 * def glDepthMask(flag):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDepthMask(flag)
 * 
 */
  __pyx_tuple__111 = PyTuple_Pack(1, __pyx_n_s_flag); if (unlikely(!__pyx_tuple__111)) __PYX_ERR(1, 395, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__111);
  __Pyx_GIVEREF(__pyx_tuple__111);
  __pyx_codeobj__112 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__111, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDepthMask, 395, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__112)) __PYX_ERR(1, 395, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":398
 *     renpy.uguu.gl.glDepthMask(flag)
 * 
 * def glDetachShader(program, shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDetachShader(program, shader)
 * 
 */
  __pyx_tuple__113 = PyTuple_Pack(2, __pyx_n_s_program, __pyx_n_s_shader); if (unlikely(!__pyx_tuple__113)) __PYX_ERR(1, 398, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__113);
  __Pyx_GIVEREF(__pyx_tuple__113);
  __pyx_codeobj__114 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__113, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDetachShader, 398, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__114)) __PYX_ERR(1, 398, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":401
 *     renpy.uguu.gl.glDetachShader(program, shader)
 * 
 * def glDisable(cap):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDisable(cap)
 * 
 */
  __pyx_tuple__115 = PyTuple_Pack(1, __pyx_n_s_cap); if (unlikely(!__pyx_tuple__115)) __PYX_ERR(1, 401, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__115);
  __Pyx_GIVEREF(__pyx_tuple__115);
  __pyx_codeobj__116 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__115, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDisable, 401, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__116)) __PYX_ERR(1, 401, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":404
 *     renpy.uguu.gl.glDisable(cap)
 * 
 * def glDisableVertexAttribArray(index):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDisableVertexAttribArray(index)
 * 
 */
  __pyx_tuple__117 = PyTuple_Pack(1, __pyx_n_s_index); if (unlikely(!__pyx_tuple__117)) __PYX_ERR(1, 404, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__117);
  __Pyx_GIVEREF(__pyx_tuple__117);
  __pyx_codeobj__118 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__117, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDisableVertexAttribArray, 404, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__118)) __PYX_ERR(1, 404, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":407
 *     renpy.uguu.gl.glDisableVertexAttribArray(index)
 * 
 * def glDrawArrays(mode, first, count):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDrawArrays(mode, first, count)
 * 
 */
  __pyx_tuple__119 = PyTuple_Pack(3, __pyx_n_s_mode, __pyx_n_s_first, __pyx_n_s_count); if (unlikely(!__pyx_tuple__119)) __PYX_ERR(1, 407, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__119);
  __Pyx_GIVEREF(__pyx_tuple__119);
  __pyx_codeobj__120 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__119, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDrawArrays, 407, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__120)) __PYX_ERR(1, 407, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":410
 *     renpy.uguu.gl.glDrawArrays(mode, first, count)
 * 
 * def glDrawBuffers(n, bufs):             # <<<<<<<<<<<<<<
 *     cdef ptr bufs_ptr = get_ptr(bufs)
 *     renpy.uguu.gl.glDrawBuffers(n, <const GLenum *> bufs_ptr.ptr)
 */
  __pyx_tuple__121 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_bufs, __pyx_n_s_bufs_ptr); if (unlikely(!__pyx_tuple__121)) __PYX_ERR(1, 410, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__121);
  __Pyx_GIVEREF(__pyx_tuple__121);
  __pyx_codeobj__122 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__121, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDrawBuffers, 410, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__122)) __PYX_ERR(1, 410, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":414
 *     renpy.uguu.gl.glDrawBuffers(n, <const GLenum *> bufs_ptr.ptr)
 * 
 * def glDrawElements(mode, count, type, indices):             # <<<<<<<<<<<<<<
 *     cdef ptr indices_ptr = get_ptr(indices)
 *     renpy.uguu.gl.glDrawElements(mode, count, type, <const void *> indices_ptr.ptr)
 */
  __pyx_tuple__123 = PyTuple_Pack(5, __pyx_n_s_mode, __pyx_n_s_count, __pyx_n_s_type, __pyx_n_s_indices, __pyx_n_s_indices_ptr); if (unlikely(!__pyx_tuple__123)) __PYX_ERR(1, 414, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__123);
  __Pyx_GIVEREF(__pyx_tuple__123);
  __pyx_codeobj__124 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__123, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDrawElements, 414, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__124)) __PYX_ERR(1, 414, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":418
 *     renpy.uguu.gl.glDrawElements(mode, count, type, <const void *> indices_ptr.ptr)
 * 
 * def glDrawRangeElements(mode, start, end, count, type, indices):             # <<<<<<<<<<<<<<
 *     cdef ptr indices_ptr = get_ptr(indices)
 *     renpy.uguu.gl.glDrawRangeElements(mode, start, end, count, type, <const void *> indices_ptr.ptr)
 */
  __pyx_tuple__125 = PyTuple_Pack(7, __pyx_n_s_mode, __pyx_n_s_start, __pyx_n_s_end, __pyx_n_s_count, __pyx_n_s_type, __pyx_n_s_indices, __pyx_n_s_indices_ptr); if (unlikely(!__pyx_tuple__125)) __PYX_ERR(1, 418, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__125);
  __Pyx_GIVEREF(__pyx_tuple__125);
  __pyx_codeobj__126 = (PyObject*)__Pyx_PyCode_New(6, 0, 7, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__125, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glDrawRangeElements, 418, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__126)) __PYX_ERR(1, 418, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":422
 *     renpy.uguu.gl.glDrawRangeElements(mode, start, end, count, type, <const void *> indices_ptr.ptr)
 * 
 * def glEnable(cap):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEnable(cap)
 * 
 */
  __pyx_tuple__127 = PyTuple_Pack(1, __pyx_n_s_cap); if (unlikely(!__pyx_tuple__127)) __PYX_ERR(1, 422, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__127);
  __Pyx_GIVEREF(__pyx_tuple__127);
  __pyx_codeobj__128 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__127, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glEnable, 422, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__128)) __PYX_ERR(1, 422, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":425
 *     renpy.uguu.gl.glEnable(cap)
 * 
 * def glEnableVertexAttribArray(index):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEnableVertexAttribArray(index)
 * 
 */
  __pyx_tuple__129 = PyTuple_Pack(1, __pyx_n_s_index); if (unlikely(!__pyx_tuple__129)) __PYX_ERR(1, 425, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__129);
  __Pyx_GIVEREF(__pyx_tuple__129);
  __pyx_codeobj__130 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__129, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glEnableVertexAttribArray, 425, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__130)) __PYX_ERR(1, 425, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":428
 *     renpy.uguu.gl.glEnableVertexAttribArray(index)
 * 
 * def glEndQuery(target):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEndQuery(target)
 * 
 */
  __pyx_tuple__131 = PyTuple_Pack(1, __pyx_n_s_target); if (unlikely(!__pyx_tuple__131)) __PYX_ERR(1, 428, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__131);
  __Pyx_GIVEREF(__pyx_tuple__131);
  __pyx_codeobj__132 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__131, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glEndQuery, 428, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__132)) __PYX_ERR(1, 428, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":431
 *     renpy.uguu.gl.glEndQuery(target)
 * 
 * def glEndTransformFeedback():             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEndTransformFeedback()
 * 
 */
  __pyx_codeobj__133 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glEndTransformFeedback, 431, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__133)) __PYX_ERR(1, 431, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":434
 *     renpy.uguu.gl.glEndTransformFeedback()
 * 
 * def glFinish():             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFinish()
 * 
 */
  __pyx_codeobj__134 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glFinish, 434, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__134)) __PYX_ERR(1, 434, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":437
 *     renpy.uguu.gl.glFinish()
 * 
 * def glFlush():             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFlush()
 * 
 */
  __pyx_codeobj__135 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glFlush, 437, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__135)) __PYX_ERR(1, 437, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":440
 *     renpy.uguu.gl.glFlush()
 * 
 * def glFlushMappedBufferRange(target, offset, length):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFlushMappedBufferRange(target, offset, length)
 * 
 */
  __pyx_tuple__136 = PyTuple_Pack(3, __pyx_n_s_target, __pyx_n_s_offset, __pyx_n_s_length); if (unlikely(!__pyx_tuple__136)) __PYX_ERR(1, 440, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__136);
  __Pyx_GIVEREF(__pyx_tuple__136);
  __pyx_codeobj__137 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__136, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glFlushMappedBufferRange, 440, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__137)) __PYX_ERR(1, 440, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":443
 *     renpy.uguu.gl.glFlushMappedBufferRange(target, offset, length)
 * 
 * def glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
 * 
 */
  __pyx_tuple__138 = PyTuple_Pack(4, __pyx_n_s_target, __pyx_n_s_attachment, __pyx_n_s_renderbuffertarget, __pyx_n_s_renderbuffer); if (unlikely(!__pyx_tuple__138)) __PYX_ERR(1, 443, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__138);
  __Pyx_GIVEREF(__pyx_tuple__138);
  __pyx_codeobj__139 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__138, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glFramebufferRenderbuffer, 443, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__139)) __PYX_ERR(1, 443, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":446
 *     renpy.uguu.gl.glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
 * 
 * def glFramebufferTexture2D(target, attachment, textarget, texture, level):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFramebufferTexture2D(target, attachment, textarget, texture, level)
 * 
 */
  __pyx_tuple__140 = PyTuple_Pack(5, __pyx_n_s_target, __pyx_n_s_attachment, __pyx_n_s_textarget, __pyx_n_s_texture, __pyx_n_s_level); if (unlikely(!__pyx_tuple__140)) __PYX_ERR(1, 446, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__140);
  __Pyx_GIVEREF(__pyx_tuple__140);
  __pyx_codeobj__141 = (PyObject*)__Pyx_PyCode_New(5, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__140, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glFramebufferTexture2D, 446, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__141)) __PYX_ERR(1, 446, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":449
 *     renpy.uguu.gl.glFramebufferTexture2D(target, attachment, textarget, texture, level)
 * 
 * def glFramebufferTextureLayer(target, attachment, texture, level, layer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFramebufferTextureLayer(target, attachment, texture, level, layer)
 * 
 */
  __pyx_tuple__142 = PyTuple_Pack(5, __pyx_n_s_target, __pyx_n_s_attachment, __pyx_n_s_texture, __pyx_n_s_level, __pyx_n_s_layer); if (unlikely(!__pyx_tuple__142)) __PYX_ERR(1, 449, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__142);
  __Pyx_GIVEREF(__pyx_tuple__142);
  __pyx_codeobj__143 = (PyObject*)__Pyx_PyCode_New(5, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__142, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glFramebufferTextureLayer, 449, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__143)) __PYX_ERR(1, 449, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":452
 *     renpy.uguu.gl.glFramebufferTextureLayer(target, attachment, texture, level, layer)
 * 
 * def glFrontFace(mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFrontFace(mode)
 * 
 */
  __pyx_tuple__144 = PyTuple_Pack(1, __pyx_n_s_mode); if (unlikely(!__pyx_tuple__144)) __PYX_ERR(1, 452, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__144);
  __Pyx_GIVEREF(__pyx_tuple__144);
  __pyx_codeobj__145 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__144, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glFrontFace, 452, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__145)) __PYX_ERR(1, 452, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":455
 *     renpy.uguu.gl.glFrontFace(mode)
 * 
 * def glGenBuffers(n, buffers):             # <<<<<<<<<<<<<<
 *     cdef ptr buffers_ptr = get_ptr(buffers)
 *     renpy.uguu.gl.glGenBuffers(n, <GLuint *> buffers_ptr.ptr)
 */
  __pyx_tuple__146 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_buffers, __pyx_n_s_buffers_ptr); if (unlikely(!__pyx_tuple__146)) __PYX_ERR(1, 455, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__146);
  __Pyx_GIVEREF(__pyx_tuple__146);
  __pyx_codeobj__147 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__146, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGenBuffers, 455, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__147)) __PYX_ERR(1, 455, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":459
 *     renpy.uguu.gl.glGenBuffers(n, <GLuint *> buffers_ptr.ptr)
 * 
 * def glGenFramebuffers(n, framebuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr framebuffers_ptr = get_ptr(framebuffers)
 *     renpy.uguu.gl.glGenFramebuffers(n, <GLuint *> framebuffers_ptr.ptr)
 */
  __pyx_tuple__148 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_framebuffers, __pyx_n_s_framebuffers_ptr); if (unlikely(!__pyx_tuple__148)) __PYX_ERR(1, 459, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__148);
  __Pyx_GIVEREF(__pyx_tuple__148);
  __pyx_codeobj__149 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__148, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGenFramebuffers, 459, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__149)) __PYX_ERR(1, 459, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":463
 *     renpy.uguu.gl.glGenFramebuffers(n, <GLuint *> framebuffers_ptr.ptr)
 * 
 * def glGenQueries(n, ids):             # <<<<<<<<<<<<<<
 *     cdef ptr ids_ptr = get_ptr(ids)
 *     renpy.uguu.gl.glGenQueries(n, <GLuint *> ids_ptr.ptr)
 */
  __pyx_tuple__150 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_ids, __pyx_n_s_ids_ptr); if (unlikely(!__pyx_tuple__150)) __PYX_ERR(1, 463, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__150);
  __Pyx_GIVEREF(__pyx_tuple__150);
  __pyx_codeobj__151 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__150, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGenQueries, 463, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__151)) __PYX_ERR(1, 463, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":467
 *     renpy.uguu.gl.glGenQueries(n, <GLuint *> ids_ptr.ptr)
 * 
 * def glGenRenderbuffers(n, renderbuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr renderbuffers_ptr = get_ptr(renderbuffers)
 *     renpy.uguu.gl.glGenRenderbuffers(n, <GLuint *> renderbuffers_ptr.ptr)
 */
  __pyx_tuple__152 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_renderbuffers, __pyx_n_s_renderbuffers_ptr); if (unlikely(!__pyx_tuple__152)) __PYX_ERR(1, 467, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__152);
  __Pyx_GIVEREF(__pyx_tuple__152);
  __pyx_codeobj__153 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__152, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGenRenderbuffers, 467, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__153)) __PYX_ERR(1, 467, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":471
 *     renpy.uguu.gl.glGenRenderbuffers(n, <GLuint *> renderbuffers_ptr.ptr)
 * 
 * def glGenTextures(n, textures):             # <<<<<<<<<<<<<<
 *     cdef ptr textures_ptr = get_ptr(textures)
 *     renpy.uguu.gl.glGenTextures(n, <GLuint *> textures_ptr.ptr)
 */
  __pyx_tuple__154 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_textures, __pyx_n_s_textures_ptr); if (unlikely(!__pyx_tuple__154)) __PYX_ERR(1, 471, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__154);
  __Pyx_GIVEREF(__pyx_tuple__154);
  __pyx_codeobj__155 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__154, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGenTextures, 471, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__155)) __PYX_ERR(1, 471, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":475
 *     renpy.uguu.gl.glGenTextures(n, <GLuint *> textures_ptr.ptr)
 * 
 * def glGenVertexArrays(n, arrays):             # <<<<<<<<<<<<<<
 *     cdef ptr arrays_ptr = get_ptr(arrays)
 *     renpy.uguu.gl.glGenVertexArrays(n, <GLuint *> arrays_ptr.ptr)
 */
  __pyx_tuple__156 = PyTuple_Pack(3, __pyx_n_s_n, __pyx_n_s_arrays, __pyx_n_s_arrays_ptr); if (unlikely(!__pyx_tuple__156)) __PYX_ERR(1, 475, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__156);
  __Pyx_GIVEREF(__pyx_tuple__156);
  __pyx_codeobj__157 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__156, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGenVertexArrays, 475, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__157)) __PYX_ERR(1, 475, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":479
 *     renpy.uguu.gl.glGenVertexArrays(n, <GLuint *> arrays_ptr.ptr)
 * 
 * def glGenerateMipmap(target):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGenerateMipmap(target)
 * 
 */
  __pyx_tuple__158 = PyTuple_Pack(1, __pyx_n_s_target); if (unlikely(!__pyx_tuple__158)) __PYX_ERR(1, 479, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__158);
  __Pyx_GIVEREF(__pyx_tuple__158);
  __pyx_codeobj__159 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__158, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGenerateMipmap, 479, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__159)) __PYX_ERR(1, 479, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":482
 *     renpy.uguu.gl.glGenerateMipmap(target)
 * 
 * def glGetActiveAttrib(program, index, bufSize, length, size, type, name):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 */
  __pyx_tuple__160 = PyTuple_Pack(11, __pyx_n_s_program, __pyx_n_s_index, __pyx_n_s_bufSize, __pyx_n_s_length, __pyx_n_s_size, __pyx_n_s_type, __pyx_n_s_name, __pyx_n_s_length_ptr, __pyx_n_s_size_ptr, __pyx_n_s_type_ptr, __pyx_n_s_name_ptr); if (unlikely(!__pyx_tuple__160)) __PYX_ERR(1, 482, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__160);
  __Pyx_GIVEREF(__pyx_tuple__160);
  __pyx_codeobj__161 = (PyObject*)__Pyx_PyCode_New(7, 0, 11, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__160, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetActiveAttrib, 482, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__161)) __PYX_ERR(1, 482, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":489
 *     renpy.uguu.gl.glGetActiveAttrib(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 * def glGetActiveUniform(program, index, bufSize, length, size, type, name):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 */
  __pyx_tuple__162 = PyTuple_Pack(11, __pyx_n_s_program, __pyx_n_s_index, __pyx_n_s_bufSize, __pyx_n_s_length, __pyx_n_s_size, __pyx_n_s_type, __pyx_n_s_name, __pyx_n_s_length_ptr, __pyx_n_s_size_ptr, __pyx_n_s_type_ptr, __pyx_n_s_name_ptr); if (unlikely(!__pyx_tuple__162)) __PYX_ERR(1, 489, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__162);
  __Pyx_GIVEREF(__pyx_tuple__162);
  __pyx_codeobj__163 = (PyObject*)__Pyx_PyCode_New(7, 0, 11, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__162, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetActiveUniform, 489, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__163)) __PYX_ERR(1, 489, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":496
 *     renpy.uguu.gl.glGetActiveUniform(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 * def glGetAttachedShaders(program, maxCount, count, shaders):             # <<<<<<<<<<<<<<
 *     cdef ptr count_ptr = get_ptr(count)
 *     cdef ptr shaders_ptr = get_ptr(shaders)
 */
  __pyx_tuple__164 = PyTuple_Pack(6, __pyx_n_s_program, __pyx_n_s_maxCount, __pyx_n_s_count, __pyx_n_s_shaders, __pyx_n_s_count_ptr, __pyx_n_s_shaders_ptr); if (unlikely(!__pyx_tuple__164)) __PYX_ERR(1, 496, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__164);
  __Pyx_GIVEREF(__pyx_tuple__164);
  __pyx_codeobj__165 = (PyObject*)__Pyx_PyCode_New(4, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__164, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetAttachedShaders, 496, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__165)) __PYX_ERR(1, 496, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":501
 *     renpy.uguu.gl.glGetAttachedShaders(program, maxCount, <GLsizei *> count_ptr.ptr, <GLuint *> shaders_ptr.ptr)
 * 
 * def glGetAttribLocation(program, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetAttribLocation(program, <const GLchar *> name_ptr.ptr)
 */
  __pyx_tuple__166 = PyTuple_Pack(3, __pyx_n_s_program, __pyx_n_s_name, __pyx_n_s_name_ptr); if (unlikely(!__pyx_tuple__166)) __PYX_ERR(1, 501, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__166);
  __Pyx_GIVEREF(__pyx_tuple__166);
  __pyx_codeobj__167 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__166, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetAttribLocation, 501, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__167)) __PYX_ERR(1, 501, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":505
 *     return renpy.uguu.gl.glGetAttribLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 * def glGetBooleanv(pname, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetBooleanv(pname, <GLboolean *> data_ptr.ptr)
 */
  __pyx_tuple__168 = PyTuple_Pack(3, __pyx_n_s_pname, __pyx_n_s_data, __pyx_n_s_data_ptr); if (unlikely(!__pyx_tuple__168)) __PYX_ERR(1, 505, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__168);
  __Pyx_GIVEREF(__pyx_tuple__168);
  __pyx_codeobj__169 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__168, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetBooleanv, 505, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__169)) __PYX_ERR(1, 505, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":509
 *     renpy.uguu.gl.glGetBooleanv(pname, <GLboolean *> data_ptr.ptr)
 * 
 * def glGetBufferParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetBufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_tuple__170 = PyTuple_Pack(4, __pyx_n_s_target, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__170)) __PYX_ERR(1, 509, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__170);
  __Pyx_GIVEREF(__pyx_tuple__170);
  __pyx_codeobj__171 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__170, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetBufferParameteriv, 509, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__171)) __PYX_ERR(1, 509, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":513
 *     renpy.uguu.gl.glGetBufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetBufferPointerv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetBufferPointerv(target, pname, <void **> params_ptr.ptr)
 */
  __pyx_tuple__172 = PyTuple_Pack(4, __pyx_n_s_target, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__172)) __PYX_ERR(1, 513, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__172);
  __Pyx_GIVEREF(__pyx_tuple__172);
  __pyx_codeobj__173 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__172, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetBufferPointerv, 513, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__173)) __PYX_ERR(1, 513, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":517
 *     renpy.uguu.gl.glGetBufferPointerv(target, pname, <void **> params_ptr.ptr)
 * 
 * def glGetError():             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glGetError()
 * 
 */
  __pyx_codeobj__174 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetError, 517, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__174)) __PYX_ERR(1, 517, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":520
 *     return renpy.uguu.gl.glGetError()
 * 
 * def glGetFloatv(pname, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetFloatv(pname, <GLfloat *> data_ptr.ptr)
 */
  __pyx_tuple__175 = PyTuple_Pack(3, __pyx_n_s_pname, __pyx_n_s_data, __pyx_n_s_data_ptr); if (unlikely(!__pyx_tuple__175)) __PYX_ERR(1, 520, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__175);
  __Pyx_GIVEREF(__pyx_tuple__175);
  __pyx_codeobj__176 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__175, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetFloatv, 520, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__176)) __PYX_ERR(1, 520, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":524
 *     renpy.uguu.gl.glGetFloatv(pname, <GLfloat *> data_ptr.ptr)
 * 
 * def glGetFragDataLocation(program, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetFragDataLocation(program, <const GLchar *> name_ptr.ptr)
 */
  __pyx_tuple__177 = PyTuple_Pack(3, __pyx_n_s_program, __pyx_n_s_name, __pyx_n_s_name_ptr); if (unlikely(!__pyx_tuple__177)) __PYX_ERR(1, 524, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__177);
  __Pyx_GIVEREF(__pyx_tuple__177);
  __pyx_codeobj__178 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__177, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetFragDataLocation, 524, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__178)) __PYX_ERR(1, 524, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":528
 *     return renpy.uguu.gl.glGetFragDataLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 * def glGetFramebufferAttachmentParameteriv(target, attachment, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_tuple__179 = PyTuple_Pack(5, __pyx_n_s_target, __pyx_n_s_attachment, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__179)) __PYX_ERR(1, 528, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__179);
  __Pyx_GIVEREF(__pyx_tuple__179);
  __pyx_codeobj__180 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__179, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetFramebufferAttachmentParame, 528, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__180)) __PYX_ERR(1, 528, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":532
 *     renpy.uguu.gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetIntegeri_v(target, index, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetIntegeri_v(target, index, <GLint *> data_ptr.ptr)
 */
  __pyx_tuple__181 = PyTuple_Pack(4, __pyx_n_s_target, __pyx_n_s_index, __pyx_n_s_data, __pyx_n_s_data_ptr); if (unlikely(!__pyx_tuple__181)) __PYX_ERR(1, 532, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__181);
  __Pyx_GIVEREF(__pyx_tuple__181);
  __pyx_codeobj__182 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__181, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetIntegeri_v, 532, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__182)) __PYX_ERR(1, 532, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":536
 *     renpy.uguu.gl.glGetIntegeri_v(target, index, <GLint *> data_ptr.ptr)
 * 
 * def glGetIntegerv(pname, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetIntegerv(pname, <GLint *> data_ptr.ptr)
 */
  __pyx_tuple__183 = PyTuple_Pack(3, __pyx_n_s_pname, __pyx_n_s_data, __pyx_n_s_data_ptr); if (unlikely(!__pyx_tuple__183)) __PYX_ERR(1, 536, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__183);
  __Pyx_GIVEREF(__pyx_tuple__183);
  __pyx_codeobj__184 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__183, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetIntegerv, 536, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__184)) __PYX_ERR(1, 536, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":540
 *     renpy.uguu.gl.glGetIntegerv(pname, <GLint *> data_ptr.ptr)
 * 
 * def glGetProgramInfoLog(program, bufSize, length, infoLog):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)
 */
  __pyx_tuple__185 = PyTuple_Pack(6, __pyx_n_s_program, __pyx_n_s_bufSize, __pyx_n_s_length, __pyx_n_s_infoLog, __pyx_n_s_length_ptr, __pyx_n_s_infoLog_ptr); if (unlikely(!__pyx_tuple__185)) __PYX_ERR(1, 540, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__185);
  __Pyx_GIVEREF(__pyx_tuple__185);
  __pyx_codeobj__186 = (PyObject*)__Pyx_PyCode_New(4, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__185, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetProgramInfoLog, 540, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__186)) __PYX_ERR(1, 540, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":545
 *     renpy.uguu.gl.glGetProgramInfoLog(program, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)
 * 
 * def glGetProgramiv(program, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetProgramiv(program, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_tuple__187 = PyTuple_Pack(4, __pyx_n_s_program, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__187)) __PYX_ERR(1, 545, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__187);
  __Pyx_GIVEREF(__pyx_tuple__187);
  __pyx_codeobj__188 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__187, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetProgramiv, 545, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__188)) __PYX_ERR(1, 545, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":549
 *     renpy.uguu.gl.glGetProgramiv(program, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetQueryObjectuiv(id, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetQueryObjectuiv(id, pname, <GLuint *> params_ptr.ptr)
 */
  __pyx_tuple__189 = PyTuple_Pack(4, __pyx_n_s_id, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__189)) __PYX_ERR(1, 549, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__189);
  __Pyx_GIVEREF(__pyx_tuple__189);
  __pyx_codeobj__190 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__189, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetQueryObjectuiv, 549, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__190)) __PYX_ERR(1, 549, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":553
 *     renpy.uguu.gl.glGetQueryObjectuiv(id, pname, <GLuint *> params_ptr.ptr)
 * 
 * def glGetQueryiv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetQueryiv(target, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_tuple__191 = PyTuple_Pack(4, __pyx_n_s_target, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__191)) __PYX_ERR(1, 553, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__191);
  __Pyx_GIVEREF(__pyx_tuple__191);
  __pyx_codeobj__192 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__191, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetQueryiv, 553, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__192)) __PYX_ERR(1, 553, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":557
 *     renpy.uguu.gl.glGetQueryiv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetRenderbufferParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetRenderbufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_tuple__193 = PyTuple_Pack(4, __pyx_n_s_target, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__193)) __PYX_ERR(1, 557, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__193);
  __Pyx_GIVEREF(__pyx_tuple__193);
  __pyx_codeobj__194 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__193, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetRenderbufferParameteriv, 557, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__194)) __PYX_ERR(1, 557, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":561
 *     renpy.uguu.gl.glGetRenderbufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetShaderInfoLog(shader, bufSize, length, infoLog):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)
 */
  __pyx_tuple__195 = PyTuple_Pack(6, __pyx_n_s_shader, __pyx_n_s_bufSize, __pyx_n_s_length, __pyx_n_s_infoLog, __pyx_n_s_length_ptr, __pyx_n_s_infoLog_ptr); if (unlikely(!__pyx_tuple__195)) __PYX_ERR(1, 561, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__195);
  __Pyx_GIVEREF(__pyx_tuple__195);
  __pyx_codeobj__196 = (PyObject*)__Pyx_PyCode_New(4, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__195, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetShaderInfoLog, 561, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__196)) __PYX_ERR(1, 561, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":566
 *     renpy.uguu.gl.glGetShaderInfoLog(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)
 * 
 * def glGetShaderSource(shader, bufSize, length, source):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr source_ptr = get_ptr(source)
 */
  __pyx_tuple__197 = PyTuple_Pack(6, __pyx_n_s_shader, __pyx_n_s_bufSize, __pyx_n_s_length, __pyx_n_s_source, __pyx_n_s_length_ptr, __pyx_n_s_source_ptr); if (unlikely(!__pyx_tuple__197)) __PYX_ERR(1, 566, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__197);
  __Pyx_GIVEREF(__pyx_tuple__197);
  __pyx_codeobj__198 = (PyObject*)__Pyx_PyCode_New(4, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__197, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetShaderSource, 566, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__198)) __PYX_ERR(1, 566, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":571
 *     renpy.uguu.gl.glGetShaderSource(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> source_ptr.ptr)
 * 
 * def glGetShaderiv(shader, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetShaderiv(shader, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_tuple__199 = PyTuple_Pack(4, __pyx_n_s_shader, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__199)) __PYX_ERR(1, 571, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__199);
  __Pyx_GIVEREF(__pyx_tuple__199);
  __pyx_codeobj__200 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__199, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetShaderiv, 571, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__200)) __PYX_ERR(1, 571, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":575
 *     renpy.uguu.gl.glGetShaderiv(shader, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetString(name):             # <<<<<<<<<<<<<<
 *     return proxy_return_string(renpy.uguu.gl.glGetString(name))
 * 
 */
  __pyx_tuple__201 = PyTuple_Pack(1, __pyx_n_s_name); if (unlikely(!__pyx_tuple__201)) __PYX_ERR(1, 575, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__201);
  __Pyx_GIVEREF(__pyx_tuple__201);
  __pyx_codeobj__202 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__201, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetString, 575, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__202)) __PYX_ERR(1, 575, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":578
 *     return proxy_return_string(renpy.uguu.gl.glGetString(name))
 * 
 * def glGetStringi(name, index):             # <<<<<<<<<<<<<<
 *     return proxy_return_string(renpy.uguu.gl.glGetStringi(name, index))
 * 
 */
  __pyx_tuple__203 = PyTuple_Pack(2, __pyx_n_s_name, __pyx_n_s_index); if (unlikely(!__pyx_tuple__203)) __PYX_ERR(1, 578, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__203);
  __Pyx_GIVEREF(__pyx_tuple__203);
  __pyx_codeobj__204 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__203, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetStringi, 578, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__204)) __PYX_ERR(1, 578, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":581
 *     return proxy_return_string(renpy.uguu.gl.glGetStringi(name, index))
 * 
 * def glGetTexParameterfv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetTexParameterfv(target, pname, <GLfloat *> params_ptr.ptr)
 */
  __pyx_tuple__205 = PyTuple_Pack(4, __pyx_n_s_target, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__205)) __PYX_ERR(1, 581, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__205);
  __Pyx_GIVEREF(__pyx_tuple__205);
  __pyx_codeobj__206 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__205, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetTexParameterfv, 581, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__206)) __PYX_ERR(1, 581, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":585
 *     renpy.uguu.gl.glGetTexParameterfv(target, pname, <GLfloat *> params_ptr.ptr)
 * 
 * def glGetTexParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetTexParameteriv(target, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_tuple__207 = PyTuple_Pack(4, __pyx_n_s_target, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__207)) __PYX_ERR(1, 585, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__207);
  __Pyx_GIVEREF(__pyx_tuple__207);
  __pyx_codeobj__208 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__207, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetTexParameteriv, 585, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__208)) __PYX_ERR(1, 585, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":589
 *     renpy.uguu.gl.glGetTexParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 */
  __pyx_tuple__209 = PyTuple_Pack(11, __pyx_n_s_program, __pyx_n_s_index, __pyx_n_s_bufSize, __pyx_n_s_length, __pyx_n_s_size, __pyx_n_s_type, __pyx_n_s_name, __pyx_n_s_length_ptr, __pyx_n_s_size_ptr, __pyx_n_s_type_ptr, __pyx_n_s_name_ptr); if (unlikely(!__pyx_tuple__209)) __PYX_ERR(1, 589, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__209);
  __Pyx_GIVEREF(__pyx_tuple__209);
  __pyx_codeobj__210 = (PyObject*)__Pyx_PyCode_New(7, 0, 11, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__209, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetTransformFeedbackVarying, 589, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__210)) __PYX_ERR(1, 589, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":596
 *     renpy.uguu.gl.glGetTransformFeedbackVarying(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLsizei *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 * def glGetUniformLocation(program, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetUniformLocation(program, <const GLchar *> name_ptr.ptr)
 */
  __pyx_tuple__211 = PyTuple_Pack(3, __pyx_n_s_program, __pyx_n_s_name, __pyx_n_s_name_ptr); if (unlikely(!__pyx_tuple__211)) __PYX_ERR(1, 596, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__211);
  __Pyx_GIVEREF(__pyx_tuple__211);
  __pyx_codeobj__212 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__211, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetUniformLocation, 596, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__212)) __PYX_ERR(1, 596, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":600
 *     return renpy.uguu.gl.glGetUniformLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 * def glGetUniformfv(program, location, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformfv(program, location, <GLfloat *> params_ptr.ptr)
 */
  __pyx_tuple__213 = PyTuple_Pack(4, __pyx_n_s_program, __pyx_n_s_location, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__213)) __PYX_ERR(1, 600, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__213);
  __Pyx_GIVEREF(__pyx_tuple__213);
  __pyx_codeobj__214 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__213, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetUniformfv, 600, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__214)) __PYX_ERR(1, 600, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":604
 *     renpy.uguu.gl.glGetUniformfv(program, location, <GLfloat *> params_ptr.ptr)
 * 
 * def glGetUniformiv(program, location, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformiv(program, location, <GLint *> params_ptr.ptr)
 */
  __pyx_tuple__215 = PyTuple_Pack(4, __pyx_n_s_program, __pyx_n_s_location, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__215)) __PYX_ERR(1, 604, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__215);
  __Pyx_GIVEREF(__pyx_tuple__215);
  __pyx_codeobj__216 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__215, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetUniformiv, 604, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__216)) __PYX_ERR(1, 604, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":608
 *     renpy.uguu.gl.glGetUniformiv(program, location, <GLint *> params_ptr.ptr)
 * 
 * def glGetUniformuiv(program, location, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformuiv(program, location, <GLuint *> params_ptr.ptr)
 */
  __pyx_tuple__217 = PyTuple_Pack(4, __pyx_n_s_program, __pyx_n_s_location, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__217)) __PYX_ERR(1, 608, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__217);
  __Pyx_GIVEREF(__pyx_tuple__217);
  __pyx_codeobj__218 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__217, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetUniformuiv, 608, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__218)) __PYX_ERR(1, 608, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":612
 *     renpy.uguu.gl.glGetUniformuiv(program, location, <GLuint *> params_ptr.ptr)
 * 
 * def glGetVertexAttribIiv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribIiv(index, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_tuple__219 = PyTuple_Pack(4, __pyx_n_s_index, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__219)) __PYX_ERR(1, 612, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__219);
  __Pyx_GIVEREF(__pyx_tuple__219);
  __pyx_codeobj__220 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__219, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetVertexAttribIiv, 612, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__220)) __PYX_ERR(1, 612, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":616
 *     renpy.uguu.gl.glGetVertexAttribIiv(index, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetVertexAttribIuiv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribIuiv(index, pname, <GLuint *> params_ptr.ptr)
 */
  __pyx_tuple__221 = PyTuple_Pack(4, __pyx_n_s_index, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__221)) __PYX_ERR(1, 616, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__221);
  __Pyx_GIVEREF(__pyx_tuple__221);
  __pyx_codeobj__222 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__221, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetVertexAttribIuiv, 616, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__222)) __PYX_ERR(1, 616, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":620
 *     renpy.uguu.gl.glGetVertexAttribIuiv(index, pname, <GLuint *> params_ptr.ptr)
 * 
 * def glGetVertexAttribPointerv(index, pname, pointer):             # <<<<<<<<<<<<<<
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glGetVertexAttribPointerv(index, pname, <void **> pointer_ptr.ptr)
 */
  __pyx_tuple__223 = PyTuple_Pack(4, __pyx_n_s_index, __pyx_n_s_pname, __pyx_n_s_pointer, __pyx_n_s_pointer_ptr); if (unlikely(!__pyx_tuple__223)) __PYX_ERR(1, 620, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__223);
  __Pyx_GIVEREF(__pyx_tuple__223);
  __pyx_codeobj__224 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__223, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetVertexAttribPointerv, 620, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__224)) __PYX_ERR(1, 620, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":624
 *     renpy.uguu.gl.glGetVertexAttribPointerv(index, pname, <void **> pointer_ptr.ptr)
 * 
 * def glGetVertexAttribfv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribfv(index, pname, <GLfloat *> params_ptr.ptr)
 */
  __pyx_tuple__225 = PyTuple_Pack(4, __pyx_n_s_index, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__225)) __PYX_ERR(1, 624, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__225);
  __Pyx_GIVEREF(__pyx_tuple__225);
  __pyx_codeobj__226 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__225, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetVertexAttribfv, 624, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__226)) __PYX_ERR(1, 624, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":628
 *     renpy.uguu.gl.glGetVertexAttribfv(index, pname, <GLfloat *> params_ptr.ptr)
 * 
 * def glGetVertexAttribiv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribiv(index, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_tuple__227 = PyTuple_Pack(4, __pyx_n_s_index, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__227)) __PYX_ERR(1, 628, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__227);
  __Pyx_GIVEREF(__pyx_tuple__227);
  __pyx_codeobj__228 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__227, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glGetVertexAttribiv, 628, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__228)) __PYX_ERR(1, 628, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":632
 *     renpy.uguu.gl.glGetVertexAttribiv(index, pname, <GLint *> params_ptr.ptr)
 * 
 * def glHint(target, mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glHint(target, mode)
 * 
 */
  __pyx_tuple__229 = PyTuple_Pack(2, __pyx_n_s_target, __pyx_n_s_mode); if (unlikely(!__pyx_tuple__229)) __PYX_ERR(1, 632, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__229);
  __Pyx_GIVEREF(__pyx_tuple__229);
  __pyx_codeobj__230 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__229, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glHint, 632, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__230)) __PYX_ERR(1, 632, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":635
 *     renpy.uguu.gl.glHint(target, mode)
 * 
 * def glIsBuffer(buffer):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsBuffer(buffer)
 * 
 */
  __pyx_tuple__231 = PyTuple_Pack(1, __pyx_n_s_buffer); if (unlikely(!__pyx_tuple__231)) __PYX_ERR(1, 635, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__231);
  __Pyx_GIVEREF(__pyx_tuple__231);
  __pyx_codeobj__232 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__231, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glIsBuffer, 635, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__232)) __PYX_ERR(1, 635, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":638
 *     return renpy.uguu.gl.glIsBuffer(buffer)
 * 
 * def glIsEnabled(cap):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsEnabled(cap)
 * 
 */
  __pyx_tuple__233 = PyTuple_Pack(1, __pyx_n_s_cap); if (unlikely(!__pyx_tuple__233)) __PYX_ERR(1, 638, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__233);
  __Pyx_GIVEREF(__pyx_tuple__233);
  __pyx_codeobj__234 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__233, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glIsEnabled, 638, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__234)) __PYX_ERR(1, 638, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":641
 *     return renpy.uguu.gl.glIsEnabled(cap)
 * 
 * def glIsFramebuffer(framebuffer):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsFramebuffer(framebuffer)
 * 
 */
  __pyx_tuple__235 = PyTuple_Pack(1, __pyx_n_s_framebuffer); if (unlikely(!__pyx_tuple__235)) __PYX_ERR(1, 641, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__235);
  __Pyx_GIVEREF(__pyx_tuple__235);
  __pyx_codeobj__236 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__235, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glIsFramebuffer, 641, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__236)) __PYX_ERR(1, 641, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":644
 *     return renpy.uguu.gl.glIsFramebuffer(framebuffer)
 * 
 * def glIsProgram(program):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsProgram(program)
 * 
 */
  __pyx_tuple__237 = PyTuple_Pack(1, __pyx_n_s_program); if (unlikely(!__pyx_tuple__237)) __PYX_ERR(1, 644, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__237);
  __Pyx_GIVEREF(__pyx_tuple__237);
  __pyx_codeobj__238 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__237, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glIsProgram, 644, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__238)) __PYX_ERR(1, 644, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":647
 *     return renpy.uguu.gl.glIsProgram(program)
 * 
 * def glIsQuery(id):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsQuery(id)
 * 
 */
  __pyx_tuple__239 = PyTuple_Pack(1, __pyx_n_s_id); if (unlikely(!__pyx_tuple__239)) __PYX_ERR(1, 647, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__239);
  __Pyx_GIVEREF(__pyx_tuple__239);
  __pyx_codeobj__240 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__239, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glIsQuery, 647, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__240)) __PYX_ERR(1, 647, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":650
 *     return renpy.uguu.gl.glIsQuery(id)
 * 
 * def glIsRenderbuffer(renderbuffer):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsRenderbuffer(renderbuffer)
 * 
 */
  __pyx_tuple__241 = PyTuple_Pack(1, __pyx_n_s_renderbuffer); if (unlikely(!__pyx_tuple__241)) __PYX_ERR(1, 650, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__241);
  __Pyx_GIVEREF(__pyx_tuple__241);
  __pyx_codeobj__242 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__241, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glIsRenderbuffer, 650, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__242)) __PYX_ERR(1, 650, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":653
 *     return renpy.uguu.gl.glIsRenderbuffer(renderbuffer)
 * 
 * def glIsShader(shader):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsShader(shader)
 * 
 */
  __pyx_tuple__243 = PyTuple_Pack(1, __pyx_n_s_shader); if (unlikely(!__pyx_tuple__243)) __PYX_ERR(1, 653, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__243);
  __Pyx_GIVEREF(__pyx_tuple__243);
  __pyx_codeobj__244 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__243, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glIsShader, 653, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__244)) __PYX_ERR(1, 653, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":656
 *     return renpy.uguu.gl.glIsShader(shader)
 * 
 * def glIsTexture(texture):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsTexture(texture)
 * 
 */
  __pyx_tuple__245 = PyTuple_Pack(1, __pyx_n_s_texture); if (unlikely(!__pyx_tuple__245)) __PYX_ERR(1, 656, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__245);
  __Pyx_GIVEREF(__pyx_tuple__245);
  __pyx_codeobj__246 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__245, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glIsTexture, 656, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__246)) __PYX_ERR(1, 656, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":659
 *     return renpy.uguu.gl.glIsTexture(texture)
 * 
 * def glIsVertexArray(array):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsVertexArray(array)
 * 
 */
  __pyx_tuple__247 = PyTuple_Pack(1, __pyx_n_s_array); if (unlikely(!__pyx_tuple__247)) __PYX_ERR(1, 659, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__247);
  __Pyx_GIVEREF(__pyx_tuple__247);
  __pyx_codeobj__248 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__247, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glIsVertexArray, 659, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__248)) __PYX_ERR(1, 659, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":662
 *     return renpy.uguu.gl.glIsVertexArray(array)
 * 
 * def glLineWidth(width):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glLineWidth(width)
 * 
 */
  __pyx_tuple__249 = PyTuple_Pack(1, __pyx_n_s_width); if (unlikely(!__pyx_tuple__249)) __PYX_ERR(1, 662, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__249);
  __Pyx_GIVEREF(__pyx_tuple__249);
  __pyx_codeobj__250 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__249, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glLineWidth, 662, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__250)) __PYX_ERR(1, 662, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":665
 *     renpy.uguu.gl.glLineWidth(width)
 * 
 * def glLinkProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glLinkProgram(program)
 * 
 */
  __pyx_tuple__251 = PyTuple_Pack(1, __pyx_n_s_program); if (unlikely(!__pyx_tuple__251)) __PYX_ERR(1, 665, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__251);
  __Pyx_GIVEREF(__pyx_tuple__251);
  __pyx_codeobj__252 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__251, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glLinkProgram, 665, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__252)) __PYX_ERR(1, 665, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":668
 *     renpy.uguu.gl.glLinkProgram(program)
 * 
 * def glPixelStorei(pname, param):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glPixelStorei(pname, param)
 * 
 */
  __pyx_tuple__253 = PyTuple_Pack(2, __pyx_n_s_pname, __pyx_n_s_param); if (unlikely(!__pyx_tuple__253)) __PYX_ERR(1, 668, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__253);
  __Pyx_GIVEREF(__pyx_tuple__253);
  __pyx_codeobj__254 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__253, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glPixelStorei, 668, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__254)) __PYX_ERR(1, 668, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":671
 *     renpy.uguu.gl.glPixelStorei(pname, param)
 * 
 * def glPolygonOffset(factor, units):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glPolygonOffset(factor, units)
 * 
 */
  __pyx_tuple__255 = PyTuple_Pack(2, __pyx_n_s_factor, __pyx_n_s_units); if (unlikely(!__pyx_tuple__255)) __PYX_ERR(1, 671, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__255);
  __Pyx_GIVEREF(__pyx_tuple__255);
  __pyx_codeobj__256 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__255, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glPolygonOffset, 671, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__256)) __PYX_ERR(1, 671, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":674
 *     renpy.uguu.gl.glPolygonOffset(factor, units)
 * 
 * def glReadBuffer(src):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glReadBuffer(src)
 * 
 */
  __pyx_tuple__257 = PyTuple_Pack(1, __pyx_n_s_src); if (unlikely(!__pyx_tuple__257)) __PYX_ERR(1, 674, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__257);
  __Pyx_GIVEREF(__pyx_tuple__257);
  __pyx_codeobj__258 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__257, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glReadBuffer, 674, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__258)) __PYX_ERR(1, 674, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":677
 *     renpy.uguu.gl.glReadBuffer(src)
 * 
 * def glReadPixels(x, y, width, height, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glReadPixels(x, y, width, height, format, type, <void *> pixels_ptr.ptr)
 */
  __pyx_tuple__259 = PyTuple_Pack(8, __pyx_n_s_x, __pyx_n_s_y, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_format, __pyx_n_s_type, __pyx_n_s_pixels, __pyx_n_s_pixels_ptr); if (unlikely(!__pyx_tuple__259)) __PYX_ERR(1, 677, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__259);
  __Pyx_GIVEREF(__pyx_tuple__259);
  __pyx_codeobj__260 = (PyObject*)__Pyx_PyCode_New(7, 0, 8, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__259, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glReadPixels, 677, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__260)) __PYX_ERR(1, 677, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":681
 *     renpy.uguu.gl.glReadPixels(x, y, width, height, format, type, <void *> pixels_ptr.ptr)
 * 
 * def glRenderbufferStorage(target, internalformat, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glRenderbufferStorage(target, internalformat, width, height)
 * 
 */
  __pyx_tuple__261 = PyTuple_Pack(4, __pyx_n_s_target, __pyx_n_s_internalformat, __pyx_n_s_width, __pyx_n_s_height); if (unlikely(!__pyx_tuple__261)) __PYX_ERR(1, 681, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__261);
  __Pyx_GIVEREF(__pyx_tuple__261);
  __pyx_codeobj__262 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__261, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glRenderbufferStorage, 681, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__262)) __PYX_ERR(1, 681, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":684
 *     renpy.uguu.gl.glRenderbufferStorage(target, internalformat, width, height)
 * 
 * def glRenderbufferStorageMultisample(target, samples, internalformat, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glRenderbufferStorageMultisample(target, samples, internalformat, width, height)
 * 
 */
  __pyx_tuple__263 = PyTuple_Pack(5, __pyx_n_s_target, __pyx_n_s_samples, __pyx_n_s_internalformat, __pyx_n_s_width, __pyx_n_s_height); if (unlikely(!__pyx_tuple__263)) __PYX_ERR(1, 684, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__263);
  __Pyx_GIVEREF(__pyx_tuple__263);
  __pyx_codeobj__264 = (PyObject*)__Pyx_PyCode_New(5, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__263, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glRenderbufferStorageMultisample, 684, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__264)) __PYX_ERR(1, 684, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":687
 *     renpy.uguu.gl.glRenderbufferStorageMultisample(target, samples, internalformat, width, height)
 * 
 * def glSampleCoverage(value, invert):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glSampleCoverage(value, invert)
 * 
 */
  __pyx_tuple__265 = PyTuple_Pack(2, __pyx_n_s_value, __pyx_n_s_invert); if (unlikely(!__pyx_tuple__265)) __PYX_ERR(1, 687, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__265);
  __Pyx_GIVEREF(__pyx_tuple__265);
  __pyx_codeobj__266 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__265, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glSampleCoverage, 687, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__266)) __PYX_ERR(1, 687, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":690
 *     renpy.uguu.gl.glSampleCoverage(value, invert)
 * 
 * def glScissor(x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glScissor(x, y, width, height)
 * 
 */
  __pyx_tuple__267 = PyTuple_Pack(4, __pyx_n_s_x, __pyx_n_s_y, __pyx_n_s_width, __pyx_n_s_height); if (unlikely(!__pyx_tuple__267)) __PYX_ERR(1, 690, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__267);
  __Pyx_GIVEREF(__pyx_tuple__267);
  __pyx_codeobj__268 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__267, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glScissor, 690, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__268)) __PYX_ERR(1, 690, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":693
 *     renpy.uguu.gl.glScissor(x, y, width, height)
 * 
 * def glShaderSource(shader, count, string, length):             # <<<<<<<<<<<<<<
 *     cdef ptr string_ptr = get_ptr(string)
 *     cdef ptr length_ptr = get_ptr(length)
 */
  __pyx_tuple__269 = PyTuple_Pack(6, __pyx_n_s_shader, __pyx_n_s_count, __pyx_n_s_string, __pyx_n_s_length, __pyx_n_s_string_ptr, __pyx_n_s_length_ptr); if (unlikely(!__pyx_tuple__269)) __PYX_ERR(1, 693, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__269);
  __Pyx_GIVEREF(__pyx_tuple__269);
  __pyx_codeobj__270 = (PyObject*)__Pyx_PyCode_New(4, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__269, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glShaderSource, 693, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__270)) __PYX_ERR(1, 693, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":698
 *     renpy.uguu.gl.glShaderSource(shader, count, <const GLchar *const*> string_ptr.ptr, <const GLint *> length_ptr.ptr)
 * 
 * def glStencilFunc(func, ref, mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilFunc(func, ref, mask)
 * 
 */
  __pyx_tuple__271 = PyTuple_Pack(3, __pyx_n_s_func, __pyx_n_s_ref, __pyx_n_s_mask); if (unlikely(!__pyx_tuple__271)) __PYX_ERR(1, 698, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__271);
  __Pyx_GIVEREF(__pyx_tuple__271);
  __pyx_codeobj__272 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__271, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glStencilFunc, 698, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__272)) __PYX_ERR(1, 698, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":701
 *     renpy.uguu.gl.glStencilFunc(func, ref, mask)
 * 
 * def glStencilFuncSeparate(face, func, ref, mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilFuncSeparate(face, func, ref, mask)
 * 
 */
  __pyx_tuple__273 = PyTuple_Pack(4, __pyx_n_s_face, __pyx_n_s_func, __pyx_n_s_ref, __pyx_n_s_mask); if (unlikely(!__pyx_tuple__273)) __PYX_ERR(1, 701, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__273);
  __Pyx_GIVEREF(__pyx_tuple__273);
  __pyx_codeobj__274 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__273, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glStencilFuncSeparate, 701, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__274)) __PYX_ERR(1, 701, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":704
 *     renpy.uguu.gl.glStencilFuncSeparate(face, func, ref, mask)
 * 
 * def glStencilMask(mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilMask(mask)
 * 
 */
  __pyx_tuple__275 = PyTuple_Pack(1, __pyx_n_s_mask); if (unlikely(!__pyx_tuple__275)) __PYX_ERR(1, 704, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__275);
  __Pyx_GIVEREF(__pyx_tuple__275);
  __pyx_codeobj__276 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__275, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glStencilMask, 704, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__276)) __PYX_ERR(1, 704, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":707
 *     renpy.uguu.gl.glStencilMask(mask)
 * 
 * def glStencilMaskSeparate(face, mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilMaskSeparate(face, mask)
 * 
 */
  __pyx_tuple__277 = PyTuple_Pack(2, __pyx_n_s_face, __pyx_n_s_mask); if (unlikely(!__pyx_tuple__277)) __PYX_ERR(1, 707, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__277);
  __Pyx_GIVEREF(__pyx_tuple__277);
  __pyx_codeobj__278 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__277, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glStencilMaskSeparate, 707, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__278)) __PYX_ERR(1, 707, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":710
 *     renpy.uguu.gl.glStencilMaskSeparate(face, mask)
 * 
 * def glStencilOp(fail, zfail, zpass):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilOp(fail, zfail, zpass)
 * 
 */
  __pyx_tuple__279 = PyTuple_Pack(3, __pyx_n_s_fail, __pyx_n_s_zfail, __pyx_n_s_zpass); if (unlikely(!__pyx_tuple__279)) __PYX_ERR(1, 710, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__279);
  __Pyx_GIVEREF(__pyx_tuple__279);
  __pyx_codeobj__280 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__279, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glStencilOp, 710, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__280)) __PYX_ERR(1, 710, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":713
 *     renpy.uguu.gl.glStencilOp(fail, zfail, zpass)
 * 
 * def glStencilOpSeparate(face, sfail, dpfail, dppass):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilOpSeparate(face, sfail, dpfail, dppass)
 * 
 */
  __pyx_tuple__281 = PyTuple_Pack(4, __pyx_n_s_face, __pyx_n_s_sfail, __pyx_n_s_dpfail, __pyx_n_s_dppass); if (unlikely(!__pyx_tuple__281)) __PYX_ERR(1, 713, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__281);
  __Pyx_GIVEREF(__pyx_tuple__281);
  __pyx_codeobj__282 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__281, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glStencilOpSeparate, 713, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__282)) __PYX_ERR(1, 713, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":716
 *     renpy.uguu.gl.glStencilOpSeparate(face, sfail, dpfail, dppass)
 * 
 * def glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexImage2D(target, level, internalformat, width, height, border, format, type, <const void *> pixels_ptr.ptr)
 */
  __pyx_tuple__283 = PyTuple_Pack(10, __pyx_n_s_target, __pyx_n_s_level, __pyx_n_s_internalformat, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_border, __pyx_n_s_format, __pyx_n_s_type, __pyx_n_s_pixels, __pyx_n_s_pixels_ptr); if (unlikely(!__pyx_tuple__283)) __PYX_ERR(1, 716, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__283);
  __Pyx_GIVEREF(__pyx_tuple__283);
  __pyx_codeobj__284 = (PyObject*)__Pyx_PyCode_New(9, 0, 10, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__283, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glTexImage2D, 716, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__284)) __PYX_ERR(1, 716, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":720
 *     renpy.uguu.gl.glTexImage2D(target, level, internalformat, width, height, border, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, <const void *> pixels_ptr.ptr)
 */
  __pyx_tuple__285 = PyTuple_Pack(11, __pyx_n_s_target, __pyx_n_s_level, __pyx_n_s_internalformat, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_depth, __pyx_n_s_border, __pyx_n_s_format, __pyx_n_s_type, __pyx_n_s_pixels, __pyx_n_s_pixels_ptr); if (unlikely(!__pyx_tuple__285)) __PYX_ERR(1, 720, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__285);
  __Pyx_GIVEREF(__pyx_tuple__285);
  __pyx_codeobj__286 = (PyObject*)__Pyx_PyCode_New(10, 0, 11, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__285, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glTexImage3D, 720, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__286)) __PYX_ERR(1, 720, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":724
 *     renpy.uguu.gl.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTexParameterf(target, pname, param):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexParameterf(target, pname, param)
 * 
 */
  __pyx_tuple__287 = PyTuple_Pack(3, __pyx_n_s_target, __pyx_n_s_pname, __pyx_n_s_param); if (unlikely(!__pyx_tuple__287)) __PYX_ERR(1, 724, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__287);
  __Pyx_GIVEREF(__pyx_tuple__287);
  __pyx_codeobj__288 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__287, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glTexParameterf, 724, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__288)) __PYX_ERR(1, 724, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":727
 *     renpy.uguu.gl.glTexParameterf(target, pname, param)
 * 
 * def glTexParameterfv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glTexParameterfv(target, pname, <const GLfloat *> params_ptr.ptr)
 */
  __pyx_tuple__289 = PyTuple_Pack(4, __pyx_n_s_target, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__289)) __PYX_ERR(1, 727, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__289);
  __Pyx_GIVEREF(__pyx_tuple__289);
  __pyx_codeobj__290 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__289, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glTexParameterfv, 727, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__290)) __PYX_ERR(1, 727, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":731
 *     renpy.uguu.gl.glTexParameterfv(target, pname, <const GLfloat *> params_ptr.ptr)
 * 
 * def glTexParameteri(target, pname, param):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexParameteri(target, pname, param)
 * 
 */
  __pyx_tuple__291 = PyTuple_Pack(3, __pyx_n_s_target, __pyx_n_s_pname, __pyx_n_s_param); if (unlikely(!__pyx_tuple__291)) __PYX_ERR(1, 731, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__291);
  __Pyx_GIVEREF(__pyx_tuple__291);
  __pyx_codeobj__292 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__291, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glTexParameteri, 731, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__292)) __PYX_ERR(1, 731, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":734
 *     renpy.uguu.gl.glTexParameteri(target, pname, param)
 * 
 * def glTexParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glTexParameteriv(target, pname, <const GLint *> params_ptr.ptr)
 */
  __pyx_tuple__293 = PyTuple_Pack(4, __pyx_n_s_target, __pyx_n_s_pname, __pyx_n_s_params, __pyx_n_s_params_ptr); if (unlikely(!__pyx_tuple__293)) __PYX_ERR(1, 734, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__293);
  __Pyx_GIVEREF(__pyx_tuple__293);
  __pyx_codeobj__294 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__293, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glTexParameteriv, 734, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__294)) __PYX_ERR(1, 734, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":738
 *     renpy.uguu.gl.glTexParameteriv(target, pname, <const GLint *> params_ptr.ptr)
 * 
 * def glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, <const void *> pixels_ptr.ptr)
 */
  __pyx_tuple__295 = PyTuple_Pack(10, __pyx_n_s_target, __pyx_n_s_level, __pyx_n_s_xoffset, __pyx_n_s_yoffset, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_format, __pyx_n_s_type, __pyx_n_s_pixels, __pyx_n_s_pixels_ptr); if (unlikely(!__pyx_tuple__295)) __PYX_ERR(1, 738, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__295);
  __Pyx_GIVEREF(__pyx_tuple__295);
  __pyx_codeobj__296 = (PyObject*)__Pyx_PyCode_New(9, 0, 10, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__295, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glTexSubImage2D, 738, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__296)) __PYX_ERR(1, 738, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":742
 *     renpy.uguu.gl.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, <const void *> pixels_ptr.ptr)
 */
  __pyx_tuple__297 = PyTuple_Pack(12, __pyx_n_s_target, __pyx_n_s_level, __pyx_n_s_xoffset, __pyx_n_s_yoffset, __pyx_n_s_zoffset, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_depth, __pyx_n_s_format, __pyx_n_s_type, __pyx_n_s_pixels, __pyx_n_s_pixels_ptr); if (unlikely(!__pyx_tuple__297)) __PYX_ERR(1, 742, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__297);
  __Pyx_GIVEREF(__pyx_tuple__297);
  __pyx_codeobj__298 = (PyObject*)__Pyx_PyCode_New(11, 0, 12, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__297, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glTexSubImage3D, 742, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__298)) __PYX_ERR(1, 742, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":746
 *     renpy.uguu.gl.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTransformFeedbackVaryings(program, count, varyings, bufferMode):             # <<<<<<<<<<<<<<
 *     cdef ptr varyings_ptr = get_ptr(varyings)
 *     renpy.uguu.gl.glTransformFeedbackVaryings(program, count, <const GLchar *const*> varyings_ptr.ptr, bufferMode)
 */
  __pyx_tuple__299 = PyTuple_Pack(5, __pyx_n_s_program, __pyx_n_s_count, __pyx_n_s_varyings, __pyx_n_s_bufferMode, __pyx_n_s_varyings_ptr); if (unlikely(!__pyx_tuple__299)) __PYX_ERR(1, 746, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__299);
  __Pyx_GIVEREF(__pyx_tuple__299);
  __pyx_codeobj__300 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__299, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glTransformFeedbackVaryings, 746, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__300)) __PYX_ERR(1, 746, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":750
 *     renpy.uguu.gl.glTransformFeedbackVaryings(program, count, <const GLchar *const*> varyings_ptr.ptr, bufferMode)
 * 
 * def glUniform1f(location, v0):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1f(location, v0)
 * 
 */
  __pyx_tuple__301 = PyTuple_Pack(2, __pyx_n_s_location, __pyx_n_s_v0); if (unlikely(!__pyx_tuple__301)) __PYX_ERR(1, 750, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__301);
  __Pyx_GIVEREF(__pyx_tuple__301);
  __pyx_codeobj__302 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__301, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform1f, 750, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__302)) __PYX_ERR(1, 750, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":753
 *     renpy.uguu.gl.glUniform1f(location, v0)
 * 
 * def glUniform1fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1fv(location, count, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__303 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__303)) __PYX_ERR(1, 753, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__303);
  __Pyx_GIVEREF(__pyx_tuple__303);
  __pyx_codeobj__304 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__303, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform1fv, 753, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__304)) __PYX_ERR(1, 753, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":757
 *     renpy.uguu.gl.glUniform1fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform1i(location, v0):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1i(location, v0)
 * 
 */
  __pyx_tuple__305 = PyTuple_Pack(2, __pyx_n_s_location, __pyx_n_s_v0); if (unlikely(!__pyx_tuple__305)) __PYX_ERR(1, 757, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__305);
  __Pyx_GIVEREF(__pyx_tuple__305);
  __pyx_codeobj__306 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__305, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform1i, 757, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__306)) __PYX_ERR(1, 757, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":760
 *     renpy.uguu.gl.glUniform1i(location, v0)
 * 
 * def glUniform1iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1iv(location, count, <const GLint *> value_ptr.ptr)
 */
  __pyx_tuple__307 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__307)) __PYX_ERR(1, 760, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__307);
  __Pyx_GIVEREF(__pyx_tuple__307);
  __pyx_codeobj__308 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__307, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform1iv, 760, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__308)) __PYX_ERR(1, 760, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":764
 *     renpy.uguu.gl.glUniform1iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform1ui(location, v0):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1ui(location, v0)
 * 
 */
  __pyx_tuple__309 = PyTuple_Pack(2, __pyx_n_s_location, __pyx_n_s_v0); if (unlikely(!__pyx_tuple__309)) __PYX_ERR(1, 764, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__309);
  __Pyx_GIVEREF(__pyx_tuple__309);
  __pyx_codeobj__310 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__309, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform1ui, 764, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__310)) __PYX_ERR(1, 764, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":767
 *     renpy.uguu.gl.glUniform1ui(location, v0)
 * 
 * def glUniform1uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1uiv(location, count, <const GLuint *> value_ptr.ptr)
 */
  __pyx_tuple__311 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__311)) __PYX_ERR(1, 767, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__311);
  __Pyx_GIVEREF(__pyx_tuple__311);
  __pyx_codeobj__312 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__311, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform1uiv, 767, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__312)) __PYX_ERR(1, 767, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":771
 *     renpy.uguu.gl.glUniform1uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniform2f(location, v0, v1):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2f(location, v0, v1)
 * 
 */
  __pyx_tuple__313 = PyTuple_Pack(3, __pyx_n_s_location, __pyx_n_s_v0, __pyx_n_s_v1); if (unlikely(!__pyx_tuple__313)) __PYX_ERR(1, 771, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__313);
  __Pyx_GIVEREF(__pyx_tuple__313);
  __pyx_codeobj__314 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__313, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform2f, 771, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__314)) __PYX_ERR(1, 771, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":774
 *     renpy.uguu.gl.glUniform2f(location, v0, v1)
 * 
 * def glUniform2fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2fv(location, count, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__315 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__315)) __PYX_ERR(1, 774, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__315);
  __Pyx_GIVEREF(__pyx_tuple__315);
  __pyx_codeobj__316 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__315, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform2fv, 774, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__316)) __PYX_ERR(1, 774, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":778
 *     renpy.uguu.gl.glUniform2fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform2i(location, v0, v1):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2i(location, v0, v1)
 * 
 */
  __pyx_tuple__317 = PyTuple_Pack(3, __pyx_n_s_location, __pyx_n_s_v0, __pyx_n_s_v1); if (unlikely(!__pyx_tuple__317)) __PYX_ERR(1, 778, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__317);
  __Pyx_GIVEREF(__pyx_tuple__317);
  __pyx_codeobj__318 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__317, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform2i, 778, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__318)) __PYX_ERR(1, 778, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":781
 *     renpy.uguu.gl.glUniform2i(location, v0, v1)
 * 
 * def glUniform2iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2iv(location, count, <const GLint *> value_ptr.ptr)
 */
  __pyx_tuple__319 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__319)) __PYX_ERR(1, 781, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__319);
  __Pyx_GIVEREF(__pyx_tuple__319);
  __pyx_codeobj__320 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__319, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform2iv, 781, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__320)) __PYX_ERR(1, 781, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":785
 *     renpy.uguu.gl.glUniform2iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform2ui(location, v0, v1):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2ui(location, v0, v1)
 * 
 */
  __pyx_tuple__321 = PyTuple_Pack(3, __pyx_n_s_location, __pyx_n_s_v0, __pyx_n_s_v1); if (unlikely(!__pyx_tuple__321)) __PYX_ERR(1, 785, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__321);
  __Pyx_GIVEREF(__pyx_tuple__321);
  __pyx_codeobj__322 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__321, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform2ui, 785, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__322)) __PYX_ERR(1, 785, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":788
 *     renpy.uguu.gl.glUniform2ui(location, v0, v1)
 * 
 * def glUniform2uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2uiv(location, count, <const GLuint *> value_ptr.ptr)
 */
  __pyx_tuple__323 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__323)) __PYX_ERR(1, 788, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__323);
  __Pyx_GIVEREF(__pyx_tuple__323);
  __pyx_codeobj__324 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__323, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform2uiv, 788, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__324)) __PYX_ERR(1, 788, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":792
 *     renpy.uguu.gl.glUniform2uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniform3f(location, v0, v1, v2):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3f(location, v0, v1, v2)
 * 
 */
  __pyx_tuple__325 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_v0, __pyx_n_s_v1, __pyx_n_s_v2); if (unlikely(!__pyx_tuple__325)) __PYX_ERR(1, 792, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__325);
  __Pyx_GIVEREF(__pyx_tuple__325);
  __pyx_codeobj__326 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__325, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform3f, 792, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__326)) __PYX_ERR(1, 792, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":795
 *     renpy.uguu.gl.glUniform3f(location, v0, v1, v2)
 * 
 * def glUniform3fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3fv(location, count, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__327 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__327)) __PYX_ERR(1, 795, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__327);
  __Pyx_GIVEREF(__pyx_tuple__327);
  __pyx_codeobj__328 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__327, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform3fv, 795, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__328)) __PYX_ERR(1, 795, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":799
 *     renpy.uguu.gl.glUniform3fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform3i(location, v0, v1, v2):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3i(location, v0, v1, v2)
 * 
 */
  __pyx_tuple__329 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_v0, __pyx_n_s_v1, __pyx_n_s_v2); if (unlikely(!__pyx_tuple__329)) __PYX_ERR(1, 799, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__329);
  __Pyx_GIVEREF(__pyx_tuple__329);
  __pyx_codeobj__330 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__329, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform3i, 799, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__330)) __PYX_ERR(1, 799, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":802
 *     renpy.uguu.gl.glUniform3i(location, v0, v1, v2)
 * 
 * def glUniform3iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3iv(location, count, <const GLint *> value_ptr.ptr)
 */
  __pyx_tuple__331 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__331)) __PYX_ERR(1, 802, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__331);
  __Pyx_GIVEREF(__pyx_tuple__331);
  __pyx_codeobj__332 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__331, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform3iv, 802, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__332)) __PYX_ERR(1, 802, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":806
 *     renpy.uguu.gl.glUniform3iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform3ui(location, v0, v1, v2):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3ui(location, v0, v1, v2)
 * 
 */
  __pyx_tuple__333 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_v0, __pyx_n_s_v1, __pyx_n_s_v2); if (unlikely(!__pyx_tuple__333)) __PYX_ERR(1, 806, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__333);
  __Pyx_GIVEREF(__pyx_tuple__333);
  __pyx_codeobj__334 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__333, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform3ui, 806, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__334)) __PYX_ERR(1, 806, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":809
 *     renpy.uguu.gl.glUniform3ui(location, v0, v1, v2)
 * 
 * def glUniform3uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3uiv(location, count, <const GLuint *> value_ptr.ptr)
 */
  __pyx_tuple__335 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__335)) __PYX_ERR(1, 809, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__335);
  __Pyx_GIVEREF(__pyx_tuple__335);
  __pyx_codeobj__336 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__335, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform3uiv, 809, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__336)) __PYX_ERR(1, 809, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":813
 *     renpy.uguu.gl.glUniform3uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniform4f(location, v0, v1, v2, v3):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4f(location, v0, v1, v2, v3)
 * 
 */
  __pyx_tuple__337 = PyTuple_Pack(5, __pyx_n_s_location, __pyx_n_s_v0, __pyx_n_s_v1, __pyx_n_s_v2, __pyx_n_s_v3); if (unlikely(!__pyx_tuple__337)) __PYX_ERR(1, 813, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__337);
  __Pyx_GIVEREF(__pyx_tuple__337);
  __pyx_codeobj__338 = (PyObject*)__Pyx_PyCode_New(5, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__337, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform4f, 813, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__338)) __PYX_ERR(1, 813, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":816
 *     renpy.uguu.gl.glUniform4f(location, v0, v1, v2, v3)
 * 
 * def glUniform4fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4fv(location, count, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__339 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__339)) __PYX_ERR(1, 816, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__339);
  __Pyx_GIVEREF(__pyx_tuple__339);
  __pyx_codeobj__340 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__339, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform4fv, 816, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__340)) __PYX_ERR(1, 816, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":820
 *     renpy.uguu.gl.glUniform4fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform4i(location, v0, v1, v2, v3):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4i(location, v0, v1, v2, v3)
 * 
 */
  __pyx_tuple__341 = PyTuple_Pack(5, __pyx_n_s_location, __pyx_n_s_v0, __pyx_n_s_v1, __pyx_n_s_v2, __pyx_n_s_v3); if (unlikely(!__pyx_tuple__341)) __PYX_ERR(1, 820, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__341);
  __Pyx_GIVEREF(__pyx_tuple__341);
  __pyx_codeobj__342 = (PyObject*)__Pyx_PyCode_New(5, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__341, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform4i, 820, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__342)) __PYX_ERR(1, 820, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":823
 *     renpy.uguu.gl.glUniform4i(location, v0, v1, v2, v3)
 * 
 * def glUniform4iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4iv(location, count, <const GLint *> value_ptr.ptr)
 */
  __pyx_tuple__343 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__343)) __PYX_ERR(1, 823, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__343);
  __Pyx_GIVEREF(__pyx_tuple__343);
  __pyx_codeobj__344 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__343, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform4iv, 823, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__344)) __PYX_ERR(1, 823, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":827
 *     renpy.uguu.gl.glUniform4iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform4ui(location, v0, v1, v2, v3):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4ui(location, v0, v1, v2, v3)
 * 
 */
  __pyx_tuple__345 = PyTuple_Pack(5, __pyx_n_s_location, __pyx_n_s_v0, __pyx_n_s_v1, __pyx_n_s_v2, __pyx_n_s_v3); if (unlikely(!__pyx_tuple__345)) __PYX_ERR(1, 827, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__345);
  __Pyx_GIVEREF(__pyx_tuple__345);
  __pyx_codeobj__346 = (PyObject*)__Pyx_PyCode_New(5, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__345, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform4ui, 827, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__346)) __PYX_ERR(1, 827, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":830
 *     renpy.uguu.gl.glUniform4ui(location, v0, v1, v2, v3)
 * 
 * def glUniform4uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4uiv(location, count, <const GLuint *> value_ptr.ptr)
 */
  __pyx_tuple__347 = PyTuple_Pack(4, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__347)) __PYX_ERR(1, 830, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__347);
  __Pyx_GIVEREF(__pyx_tuple__347);
  __pyx_codeobj__348 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__347, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniform4uiv, 830, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__348)) __PYX_ERR(1, 830, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":834
 *     renpy.uguu.gl.glUniform4uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniformMatrix2fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__349 = PyTuple_Pack(5, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_transpose, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__349)) __PYX_ERR(1, 834, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__349);
  __Pyx_GIVEREF(__pyx_tuple__349);
  __pyx_codeobj__350 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__349, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniformMatrix2fv, 834, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__350)) __PYX_ERR(1, 834, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":838
 *     renpy.uguu.gl.glUniformMatrix2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix2x3fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__351 = PyTuple_Pack(5, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_transpose, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__351)) __PYX_ERR(1, 838, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__351);
  __Pyx_GIVEREF(__pyx_tuple__351);
  __pyx_codeobj__352 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__351, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniformMatrix2x3fv, 838, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__352)) __PYX_ERR(1, 838, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":842
 *     renpy.uguu.gl.glUniformMatrix2x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix2x4fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__353 = PyTuple_Pack(5, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_transpose, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__353)) __PYX_ERR(1, 842, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__353);
  __Pyx_GIVEREF(__pyx_tuple__353);
  __pyx_codeobj__354 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__353, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniformMatrix2x4fv, 842, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__354)) __PYX_ERR(1, 842, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":846
 *     renpy.uguu.gl.glUniformMatrix2x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix3fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__355 = PyTuple_Pack(5, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_transpose, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__355)) __PYX_ERR(1, 846, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__355);
  __Pyx_GIVEREF(__pyx_tuple__355);
  __pyx_codeobj__356 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__355, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniformMatrix3fv, 846, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__356)) __PYX_ERR(1, 846, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":850
 *     renpy.uguu.gl.glUniformMatrix3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix3x2fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__357 = PyTuple_Pack(5, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_transpose, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__357)) __PYX_ERR(1, 850, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__357);
  __Pyx_GIVEREF(__pyx_tuple__357);
  __pyx_codeobj__358 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__357, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniformMatrix3x2fv, 850, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__358)) __PYX_ERR(1, 850, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":854
 *     renpy.uguu.gl.glUniformMatrix3x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix3x4fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__359 = PyTuple_Pack(5, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_transpose, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__359)) __PYX_ERR(1, 854, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__359);
  __Pyx_GIVEREF(__pyx_tuple__359);
  __pyx_codeobj__360 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__359, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniformMatrix3x4fv, 854, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__360)) __PYX_ERR(1, 854, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":858
 *     renpy.uguu.gl.glUniformMatrix3x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix4fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__361 = PyTuple_Pack(5, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_transpose, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__361)) __PYX_ERR(1, 858, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__361);
  __Pyx_GIVEREF(__pyx_tuple__361);
  __pyx_codeobj__362 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__361, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniformMatrix4fv, 858, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__362)) __PYX_ERR(1, 858, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":862
 *     renpy.uguu.gl.glUniformMatrix4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix4x2fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__363 = PyTuple_Pack(5, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_transpose, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__363)) __PYX_ERR(1, 862, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__363);
  __Pyx_GIVEREF(__pyx_tuple__363);
  __pyx_codeobj__364 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__363, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniformMatrix4x2fv, 862, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__364)) __PYX_ERR(1, 862, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":866
 *     renpy.uguu.gl.glUniformMatrix4x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix4x3fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_tuple__365 = PyTuple_Pack(5, __pyx_n_s_location, __pyx_n_s_count, __pyx_n_s_transpose, __pyx_n_s_value, __pyx_n_s_value_ptr); if (unlikely(!__pyx_tuple__365)) __PYX_ERR(1, 866, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__365);
  __Pyx_GIVEREF(__pyx_tuple__365);
  __pyx_codeobj__366 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__365, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUniformMatrix4x3fv, 866, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__366)) __PYX_ERR(1, 866, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":870
 *     renpy.uguu.gl.glUniformMatrix4x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUnmapBuffer(target):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glUnmapBuffer(target)
 * 
 */
  __pyx_tuple__367 = PyTuple_Pack(1, __pyx_n_s_target); if (unlikely(!__pyx_tuple__367)) __PYX_ERR(1, 870, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__367);
  __Pyx_GIVEREF(__pyx_tuple__367);
  __pyx_codeobj__368 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__367, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUnmapBuffer, 870, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__368)) __PYX_ERR(1, 870, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":873
 *     return renpy.uguu.gl.glUnmapBuffer(target)
 * 
 * def glUseProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUseProgram(program)
 * 
 */
  __pyx_tuple__369 = PyTuple_Pack(1, __pyx_n_s_program); if (unlikely(!__pyx_tuple__369)) __PYX_ERR(1, 873, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__369);
  __Pyx_GIVEREF(__pyx_tuple__369);
  __pyx_codeobj__370 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__369, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glUseProgram, 873, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__370)) __PYX_ERR(1, 873, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":876
 *     renpy.uguu.gl.glUseProgram(program)
 * 
 * def glValidateProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glValidateProgram(program)
 * 
 */
  __pyx_tuple__371 = PyTuple_Pack(1, __pyx_n_s_program); if (unlikely(!__pyx_tuple__371)) __PYX_ERR(1, 876, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__371);
  __Pyx_GIVEREF(__pyx_tuple__371);
  __pyx_codeobj__372 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__371, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glValidateProgram, 876, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__372)) __PYX_ERR(1, 876, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":879
 *     renpy.uguu.gl.glValidateProgram(program)
 * 
 * def glVertexAttrib1f(index, x):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib1f(index, x)
 * 
 */
  __pyx_tuple__373 = PyTuple_Pack(2, __pyx_n_s_index, __pyx_n_s_x); if (unlikely(!__pyx_tuple__373)) __PYX_ERR(1, 879, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__373);
  __Pyx_GIVEREF(__pyx_tuple__373);
  __pyx_codeobj__374 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__373, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttrib1f, 879, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__374)) __PYX_ERR(1, 879, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":882
 *     renpy.uguu.gl.glVertexAttrib1f(index, x)
 * 
 * def glVertexAttrib1fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib1fv(index, <const GLfloat *> v_ptr.ptr)
 */
  __pyx_tuple__375 = PyTuple_Pack(3, __pyx_n_s_index, __pyx_n_s_v, __pyx_n_s_v_ptr); if (unlikely(!__pyx_tuple__375)) __PYX_ERR(1, 882, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__375);
  __Pyx_GIVEREF(__pyx_tuple__375);
  __pyx_codeobj__376 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__375, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttrib1fv, 882, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__376)) __PYX_ERR(1, 882, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":886
 *     renpy.uguu.gl.glVertexAttrib1fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttrib2f(index, x, y):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib2f(index, x, y)
 * 
 */
  __pyx_tuple__377 = PyTuple_Pack(3, __pyx_n_s_index, __pyx_n_s_x, __pyx_n_s_y); if (unlikely(!__pyx_tuple__377)) __PYX_ERR(1, 886, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__377);
  __Pyx_GIVEREF(__pyx_tuple__377);
  __pyx_codeobj__378 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__377, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttrib2f, 886, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__378)) __PYX_ERR(1, 886, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":889
 *     renpy.uguu.gl.glVertexAttrib2f(index, x, y)
 * 
 * def glVertexAttrib2fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib2fv(index, <const GLfloat *> v_ptr.ptr)
 */
  __pyx_tuple__379 = PyTuple_Pack(3, __pyx_n_s_index, __pyx_n_s_v, __pyx_n_s_v_ptr); if (unlikely(!__pyx_tuple__379)) __PYX_ERR(1, 889, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__379);
  __Pyx_GIVEREF(__pyx_tuple__379);
  __pyx_codeobj__380 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__379, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttrib2fv, 889, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__380)) __PYX_ERR(1, 889, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":893
 *     renpy.uguu.gl.glVertexAttrib2fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttrib3f(index, x, y, z):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib3f(index, x, y, z)
 * 
 */
  __pyx_tuple__381 = PyTuple_Pack(4, __pyx_n_s_index, __pyx_n_s_x, __pyx_n_s_y, __pyx_n_s_z); if (unlikely(!__pyx_tuple__381)) __PYX_ERR(1, 893, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__381);
  __Pyx_GIVEREF(__pyx_tuple__381);
  __pyx_codeobj__382 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__381, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttrib3f, 893, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__382)) __PYX_ERR(1, 893, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":896
 *     renpy.uguu.gl.glVertexAttrib3f(index, x, y, z)
 * 
 * def glVertexAttrib3fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib3fv(index, <const GLfloat *> v_ptr.ptr)
 */
  __pyx_tuple__383 = PyTuple_Pack(3, __pyx_n_s_index, __pyx_n_s_v, __pyx_n_s_v_ptr); if (unlikely(!__pyx_tuple__383)) __PYX_ERR(1, 896, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__383);
  __Pyx_GIVEREF(__pyx_tuple__383);
  __pyx_codeobj__384 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__383, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttrib3fv, 896, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__384)) __PYX_ERR(1, 896, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":900
 *     renpy.uguu.gl.glVertexAttrib3fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttrib4f(index, x, y, z, w):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib4f(index, x, y, z, w)
 * 
 */
  __pyx_tuple__385 = PyTuple_Pack(5, __pyx_n_s_index, __pyx_n_s_x, __pyx_n_s_y, __pyx_n_s_z, __pyx_n_s_w); if (unlikely(!__pyx_tuple__385)) __PYX_ERR(1, 900, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__385);
  __Pyx_GIVEREF(__pyx_tuple__385);
  __pyx_codeobj__386 = (PyObject*)__Pyx_PyCode_New(5, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__385, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttrib4f, 900, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__386)) __PYX_ERR(1, 900, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":903
 *     renpy.uguu.gl.glVertexAttrib4f(index, x, y, z, w)
 * 
 * def glVertexAttrib4fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib4fv(index, <const GLfloat *> v_ptr.ptr)
 */
  __pyx_tuple__387 = PyTuple_Pack(3, __pyx_n_s_index, __pyx_n_s_v, __pyx_n_s_v_ptr); if (unlikely(!__pyx_tuple__387)) __PYX_ERR(1, 903, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__387);
  __Pyx_GIVEREF(__pyx_tuple__387);
  __pyx_codeobj__388 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__387, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttrib4fv, 903, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__388)) __PYX_ERR(1, 903, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":907
 *     renpy.uguu.gl.glVertexAttrib4fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttribI4i(index, x, y, z, w):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttribI4i(index, x, y, z, w)
 * 
 */
  __pyx_tuple__389 = PyTuple_Pack(5, __pyx_n_s_index, __pyx_n_s_x, __pyx_n_s_y, __pyx_n_s_z, __pyx_n_s_w); if (unlikely(!__pyx_tuple__389)) __PYX_ERR(1, 907, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__389);
  __Pyx_GIVEREF(__pyx_tuple__389);
  __pyx_codeobj__390 = (PyObject*)__Pyx_PyCode_New(5, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__389, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttribI4i, 907, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__390)) __PYX_ERR(1, 907, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":910
 *     renpy.uguu.gl.glVertexAttribI4i(index, x, y, z, w)
 * 
 * def glVertexAttribI4iv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttribI4iv(index, <const GLint *> v_ptr.ptr)
 */
  __pyx_tuple__391 = PyTuple_Pack(3, __pyx_n_s_index, __pyx_n_s_v, __pyx_n_s_v_ptr); if (unlikely(!__pyx_tuple__391)) __PYX_ERR(1, 910, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__391);
  __Pyx_GIVEREF(__pyx_tuple__391);
  __pyx_codeobj__392 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__391, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttribI4iv, 910, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__392)) __PYX_ERR(1, 910, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":914
 *     renpy.uguu.gl.glVertexAttribI4iv(index, <const GLint *> v_ptr.ptr)
 * 
 * def glVertexAttribI4ui(index, x, y, z, w):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttribI4ui(index, x, y, z, w)
 * 
 */
  __pyx_tuple__393 = PyTuple_Pack(5, __pyx_n_s_index, __pyx_n_s_x, __pyx_n_s_y, __pyx_n_s_z, __pyx_n_s_w); if (unlikely(!__pyx_tuple__393)) __PYX_ERR(1, 914, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__393);
  __Pyx_GIVEREF(__pyx_tuple__393);
  __pyx_codeobj__394 = (PyObject*)__Pyx_PyCode_New(5, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__393, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttribI4ui, 914, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__394)) __PYX_ERR(1, 914, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":917
 *     renpy.uguu.gl.glVertexAttribI4ui(index, x, y, z, w)
 * 
 * def glVertexAttribI4uiv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttribI4uiv(index, <const GLuint *> v_ptr.ptr)
 */
  __pyx_tuple__395 = PyTuple_Pack(3, __pyx_n_s_index, __pyx_n_s_v, __pyx_n_s_v_ptr); if (unlikely(!__pyx_tuple__395)) __PYX_ERR(1, 917, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__395);
  __Pyx_GIVEREF(__pyx_tuple__395);
  __pyx_codeobj__396 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__395, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttribI4uiv, 917, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__396)) __PYX_ERR(1, 917, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":921
 *     renpy.uguu.gl.glVertexAttribI4uiv(index, <const GLuint *> v_ptr.ptr)
 * 
 * def glVertexAttribIPointer(index, size, type, stride, pointer):             # <<<<<<<<<<<<<<
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glVertexAttribIPointer(index, size, type, stride, <const void *> pointer_ptr.ptr)
 */
  __pyx_tuple__397 = PyTuple_Pack(6, __pyx_n_s_index, __pyx_n_s_size, __pyx_n_s_type, __pyx_n_s_stride, __pyx_n_s_pointer, __pyx_n_s_pointer_ptr); if (unlikely(!__pyx_tuple__397)) __PYX_ERR(1, 921, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__397);
  __Pyx_GIVEREF(__pyx_tuple__397);
  __pyx_codeobj__398 = (PyObject*)__Pyx_PyCode_New(5, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__397, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttribIPointer, 921, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__398)) __PYX_ERR(1, 921, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":925
 *     renpy.uguu.gl.glVertexAttribIPointer(index, size, type, stride, <const void *> pointer_ptr.ptr)
 * 
 * def glVertexAttribPointer(index, size, type, normalized, stride, pointer):             # <<<<<<<<<<<<<<
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glVertexAttribPointer(index, size, type, normalized, stride, <const void *> pointer_ptr.ptr)
 */
  __pyx_tuple__399 = PyTuple_Pack(7, __pyx_n_s_index, __pyx_n_s_size, __pyx_n_s_type, __pyx_n_s_normalized, __pyx_n_s_stride, __pyx_n_s_pointer, __pyx_n_s_pointer_ptr); if (unlikely(!__pyx_tuple__399)) __PYX_ERR(1, 925, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__399);
  __Pyx_GIVEREF(__pyx_tuple__399);
  __pyx_codeobj__400 = (PyObject*)__Pyx_PyCode_New(6, 0, 7, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__399, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glVertexAttribPointer, 925, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__400)) __PYX_ERR(1, 925, __pyx_L1_error)

  /* "renpy/uguu/uguu.pyx":929
 *     renpy.uguu.gl.glVertexAttribPointer(index, size, type, normalized, stride, <const void *> pointer_ptr.ptr)
 * 
 * def glViewport(x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glViewport(x, y, width, height)
 * 
 */
  __pyx_tuple__401 = PyTuple_Pack(4, __pyx_n_s_x, __pyx_n_s_y, __pyx_n_s_width, __pyx_n_s_height); if (unlikely(!__pyx_tuple__401)) __PYX_ERR(1, 929, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__401);
  __Pyx_GIVEREF(__pyx_tuple__401);
  __pyx_codeobj__402 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__401, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_uguu_ug, __pyx_n_s_glViewport, 929, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__402)) __PYX_ERR(1, 929, __pyx_L1_error)
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_RefNannyFinishContext();
  return -1;
}

static CYTHON_SMALL_CODE int __Pyx_InitGlobals(void) {
  if (__Pyx_InitStrings(__pyx_string_tab) < 0) __PYX_ERR(1, 1, __pyx_L1_error);
  __pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) __PYX_ERR(1, 1, __pyx_L1_error)
  return 0;
  __pyx_L1_error:;
  return -1;
}

static CYTHON_SMALL_CODE int __Pyx_modinit_global_init_code(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_variable_export_code(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_function_export_code(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_type_init_code(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_type_import_code(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_variable_import_code(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_function_import_code(void); /*proto*/

static int __Pyx_modinit_global_init_code(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_modinit_global_init_code", 0);
  /*--- Global init code ---*/
  __Pyx_RefNannyFinishContext();
  return 0;
}

static int __Pyx_modinit_variable_export_code(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_modinit_variable_export_code", 0);
  /*--- Variable export code ---*/
  __Pyx_RefNannyFinishContext();
  return 0;
}

static int __Pyx_modinit_function_export_code(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_modinit_function_export_code", 0);
  /*--- Function export code ---*/
  __Pyx_RefNannyFinishContext();
  return 0;
}

static int __Pyx_modinit_type_init_code(void) {
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0);
  /*--- Type init code ---*/
  if (PyType_Ready(&__pyx_type_5renpy_4uguu_4uguu_ptr) < 0) __PYX_ERR(1, 57, __pyx_L1_error)
  #if PY_VERSION_HEX < 0x030800B1
  __pyx_type_5renpy_4uguu_4uguu_ptr.tp_print = 0;
  #endif
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_5renpy_4uguu_4uguu_ptr.tp_dictoffset && __pyx_type_5renpy_4uguu_4uguu_ptr.tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_type_5renpy_4uguu_4uguu_ptr.tp_getattro = __Pyx_PyObject_GenericGetAttr;
  }
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s_ptr, (PyObject *)&__pyx_type_5renpy_4uguu_4uguu_ptr) < 0) __PYX_ERR(1, 57, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5renpy_4uguu_4uguu_ptr) < 0) __PYX_ERR(1, 57, __pyx_L1_error)
  __pyx_ptype_5renpy_4uguu_4uguu_ptr = &__pyx_type_5renpy_4uguu_4uguu_ptr;
  __pyx_vtabptr_5renpy_4uguu_4uguu_Buffer = &__pyx_vtable_5renpy_4uguu_4uguu_Buffer;
  __pyx_vtable_5renpy_4uguu_4uguu_Buffer.setup_buffer = (PyObject *(*)(struct __pyx_obj_5renpy_4uguu_4uguu_Buffer *, Py_ssize_t, Py_ssize_t, char const *, int))__pyx_f_5renpy_4uguu_4uguu_6Buffer_setup_buffer;
  if (PyType_Ready(&__pyx_type_5renpy_4uguu_4uguu_Buffer) < 0) __PYX_ERR(1, 90, __pyx_L1_error)
  #if PY_VERSION_HEX < 0x030800B1
  __pyx_type_5renpy_4uguu_4uguu_Buffer.tp_print = 0;
  #endif
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_5renpy_4uguu_4uguu_Buffer.tp_dictoffset && __pyx_type_5renpy_4uguu_4uguu_Buffer.tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_type_5renpy_4uguu_4uguu_Buffer.tp_getattro = __Pyx_PyObject_GenericGetAttr;
  }
  if (__Pyx_SetVtable(__pyx_type_5renpy_4uguu_4uguu_Buffer.tp_dict, __pyx_vtabptr_5renpy_4uguu_4uguu_Buffer) < 0) __PYX_ERR(1, 90, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s_Buffer, (PyObject *)&__pyx_type_5renpy_4uguu_4uguu_Buffer) < 0) __PYX_ERR(1, 90, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5renpy_4uguu_4uguu_Buffer) < 0) __PYX_ERR(1, 90, __pyx_L1_error)
  __pyx_ptype_5renpy_4uguu_4uguu_Buffer = &__pyx_type_5renpy_4uguu_4uguu_Buffer;
  __pyx_vtabptr_5renpy_4uguu_4uguu_BytesBuffer = &__pyx_vtable_5renpy_4uguu_4uguu_BytesBuffer;
  __pyx_vtable_5renpy_4uguu_4uguu_BytesBuffer.__pyx_base = *__pyx_vtabptr_5renpy_4uguu_4uguu_Buffer;
  __pyx_type_5renpy_4uguu_4uguu_BytesBuffer.tp_base = __pyx_ptype_5renpy_4uguu_4uguu_Buffer;
  if (PyType_Ready(&__pyx_type_5renpy_4uguu_4uguu_BytesBuffer) < 0) __PYX_ERR(1, 144, __pyx_L1_error)
  #if PY_VERSION_HEX < 0x030800B1
  __pyx_type_5renpy_4uguu_4uguu_BytesBuffer.tp_print = 0;
  #endif
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_5renpy_4uguu_4uguu_BytesBuffer.tp_dictoffset && __pyx_type_5renpy_4uguu_4uguu_BytesBuffer.tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_type_5renpy_4uguu_4uguu_BytesBuffer.tp_getattro = __Pyx_PyObject_GenericGetAttr;
  }
  if (__Pyx_SetVtable(__pyx_type_5renpy_4uguu_4uguu_BytesBuffer.tp_dict, __pyx_vtabptr_5renpy_4uguu_4uguu_BytesBuffer) < 0) __PYX_ERR(1, 144, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s_BytesBuffer, (PyObject *)&__pyx_type_5renpy_4uguu_4uguu_BytesBuffer) < 0) __PYX_ERR(1, 144, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5renpy_4uguu_4uguu_BytesBuffer) < 0) __PYX_ERR(1, 144, __pyx_L1_error)
  __pyx_ptype_5renpy_4uguu_4uguu_BytesBuffer = &__pyx_type_5renpy_4uguu_4uguu_BytesBuffer;
  __pyx_vtabptr_5renpy_4uguu_4uguu_BytesListBuffer = &__pyx_vtable_5renpy_4uguu_4uguu_BytesListBuffer;
  __pyx_vtable_5renpy_4uguu_4uguu_BytesListBuffer.__pyx_base = *__pyx_vtabptr_5renpy_4uguu_4uguu_Buffer;
  __pyx_type_5renpy_4uguu_4uguu_BytesListBuffer.tp_base = __pyx_ptype_5renpy_4uguu_4uguu_Buffer;
  if (PyType_Ready(&__pyx_type_5renpy_4uguu_4uguu_BytesListBuffer) < 0) __PYX_ERR(1, 153, __pyx_L1_error)
  #if PY_VERSION_HEX < 0x030800B1
  __pyx_type_5renpy_4uguu_4uguu_BytesListBuffer.tp_print = 0;
  #endif
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_5renpy_4uguu_4uguu_BytesListBuffer.tp_dictoffset && __pyx_type_5renpy_4uguu_4uguu_BytesListBuffer.tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_type_5renpy_4uguu_4uguu_BytesListBuffer.tp_getattro = __Pyx_PyObject_GenericGetAttr;
  }
  if (__Pyx_SetVtable(__pyx_type_5renpy_4uguu_4uguu_BytesListBuffer.tp_dict, __pyx_vtabptr_5renpy_4uguu_4uguu_BytesListBuffer) < 0) __PYX_ERR(1, 153, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s_BytesListBuffer, (PyObject *)&__pyx_type_5renpy_4uguu_4uguu_BytesListBuffer) < 0) __PYX_ERR(1, 153, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5renpy_4uguu_4uguu_BytesListBuffer) < 0) __PYX_ERR(1, 153, __pyx_L1_error)
  __pyx_ptype_5renpy_4uguu_4uguu_BytesListBuffer = &__pyx_type_5renpy_4uguu_4uguu_BytesListBuffer;
  __pyx_vtabptr_5renpy_4uguu_4uguu_IntBuffer = &__pyx_vtable_5renpy_4uguu_4uguu_IntBuffer;
  __pyx_vtable_5renpy_4uguu_4uguu_IntBuffer.__pyx_base = *__pyx_vtabptr_5renpy_4uguu_4uguu_Buffer;
  __pyx_type_5renpy_4uguu_4uguu_IntBuffer.tp_base = __pyx_ptype_5renpy_4uguu_4uguu_Buffer;
  if (PyType_Ready(&__pyx_type_5renpy_4uguu_4uguu_IntBuffer) < 0) __PYX_ERR(1, 165, __pyx_L1_error)
  #if PY_VERSION_HEX < 0x030800B1
  __pyx_type_5renpy_4uguu_4uguu_IntBuffer.tp_print = 0;
  #endif
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_5renpy_4uguu_4uguu_IntBuffer.tp_dictoffset && __pyx_type_5renpy_4uguu_4uguu_IntBuffer.tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_type_5renpy_4uguu_4uguu_IntBuffer.tp_getattro = __Pyx_PyObject_GenericGetAttr;
  }
  if (__Pyx_SetVtable(__pyx_type_5renpy_4uguu_4uguu_IntBuffer.tp_dict, __pyx_vtabptr_5renpy_4uguu_4uguu_IntBuffer) < 0) __PYX_ERR(1, 165, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s_IntBuffer, (PyObject *)&__pyx_type_5renpy_4uguu_4uguu_IntBuffer) < 0) __PYX_ERR(1, 165, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5renpy_4uguu_4uguu_IntBuffer) < 0) __PYX_ERR(1, 165, __pyx_L1_error)
  __pyx_ptype_5renpy_4uguu_4uguu_IntBuffer = &__pyx_type_5renpy_4uguu_4uguu_IntBuffer;
  __pyx_vtabptr_5renpy_4uguu_4uguu_FloatBuffer = &__pyx_vtable_5renpy_4uguu_4uguu_FloatBuffer;
  __pyx_vtable_5renpy_4uguu_4uguu_FloatBuffer.__pyx_base = *__pyx_vtabptr_5renpy_4uguu_4uguu_Buffer;
  __pyx_type_5renpy_4uguu_4uguu_FloatBuffer.tp_base = __pyx_ptype_5renpy_4uguu_4uguu_Buffer;
  if (PyType_Ready(&__pyx_type_5renpy_4uguu_4uguu_FloatBuffer) < 0) __PYX_ERR(1, 182, __pyx_L1_error)
  #if PY_VERSION_HEX < 0x030800B1
  __pyx_type_5renpy_4uguu_4uguu_FloatBuffer.tp_print = 0;
  #endif
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_5renpy_4uguu_4uguu_FloatBuffer.tp_dictoffset && __pyx_type_5renpy_4uguu_4uguu_FloatBuffer.tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_type_5renpy_4uguu_4uguu_FloatBuffer.tp_getattro = __Pyx_PyObject_GenericGetAttr;
  }
  if (__Pyx_SetVtable(__pyx_type_5renpy_4uguu_4uguu_FloatBuffer.tp_dict, __pyx_vtabptr_5renpy_4uguu_4uguu_FloatBuffer) < 0) __PYX_ERR(1, 182, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s_FloatBuffer, (PyObject *)&__pyx_type_5renpy_4uguu_4uguu_FloatBuffer) < 0) __PYX_ERR(1, 182, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5renpy_4uguu_4uguu_FloatBuffer) < 0) __PYX_ERR(1, 182, __pyx_L1_error)
  __pyx_ptype_5renpy_4uguu_4uguu_FloatBuffer = &__pyx_type_5renpy_4uguu_4uguu_FloatBuffer;
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_RefNannyFinishContext();
  return -1;
}

static int __Pyx_modinit_type_import_code(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_modinit_type_import_code", 0);
  /*--- Type import code ---*/
  __Pyx_RefNannyFinishContext();
  return 0;
}

static int __Pyx_modinit_variable_import_code(void) {
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__Pyx_modinit_variable_import_code", 0);
  /*--- Variable import code ---*/
  __pyx_t_1 = PyImport_ImportModule("renpy.uguu.gl"); if (!__pyx_t_1) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glActiveTexture", (void **)&__pyx_vp_5renpy_4uguu_2gl_glActiveTexture, "__pyx_t_5renpy_4uguu_2gl_glActiveTexture_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glAttachShader", (void **)&__pyx_vp_5renpy_4uguu_2gl_glAttachShader, "__pyx_t_5renpy_4uguu_2gl_glAttachShader_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBeginQuery", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBeginQuery, "__pyx_t_5renpy_4uguu_2gl_glBeginQuery_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBeginTransformFeedback", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBeginTransformFeedback, "__pyx_t_5renpy_4uguu_2gl_glBeginTransformFeedback_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBindAttribLocation", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBindAttribLocation, "__pyx_t_5renpy_4uguu_2gl_glBindAttribLocation_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBindBuffer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBindBuffer, "__pyx_t_5renpy_4uguu_2gl_glBindBuffer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBindBufferBase", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBindBufferBase, "__pyx_t_5renpy_4uguu_2gl_glBindBufferBase_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBindBufferRange", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBindBufferRange, "__pyx_t_5renpy_4uguu_2gl_glBindBufferRange_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBindFramebuffer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBindFramebuffer, "__pyx_t_5renpy_4uguu_2gl_glBindFramebuffer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBindRenderbuffer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBindRenderbuffer, "__pyx_t_5renpy_4uguu_2gl_glBindRenderbuffer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBindTexture", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBindTexture, "__pyx_t_5renpy_4uguu_2gl_glBindTexture_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBindVertexArray", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBindVertexArray, "__pyx_t_5renpy_4uguu_2gl_glBindVertexArray_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBlendColor", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBlendColor, "__pyx_t_5renpy_4uguu_2gl_glBlendColor_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBlendEquation", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBlendEquation, "__pyx_t_5renpy_4uguu_2gl_glBlendEquation_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBlendEquationSeparate", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBlendEquationSeparate, "__pyx_t_5renpy_4uguu_2gl_glBlendEquationSeparate_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBlendFunc", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBlendFunc, "__pyx_t_5renpy_4uguu_2gl_glBlendFunc_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBlendFuncSeparate", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBlendFuncSeparate, "__pyx_t_5renpy_4uguu_2gl_glBlendFuncSeparate_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBlitFramebuffer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBlitFramebuffer, "__pyx_t_5renpy_4uguu_2gl_glBlitFramebuffer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBufferData", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBufferData, "__pyx_t_5renpy_4uguu_2gl_glBufferData_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glBufferSubData", (void **)&__pyx_vp_5renpy_4uguu_2gl_glBufferSubData, "__pyx_t_5renpy_4uguu_2gl_glBufferSubData_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glCheckFramebufferStatus", (void **)&__pyx_vp_5renpy_4uguu_2gl_glCheckFramebufferStatus, "__pyx_t_5renpy_4uguu_2gl_glCheckFramebufferStatus_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glClear", (void **)&__pyx_vp_5renpy_4uguu_2gl_glClear, "__pyx_t_5renpy_4uguu_2gl_glClear_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glClearBufferfi", (void **)&__pyx_vp_5renpy_4uguu_2gl_glClearBufferfi, "__pyx_t_5renpy_4uguu_2gl_glClearBufferfi_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glClearBufferfv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glClearBufferfv, "__pyx_t_5renpy_4uguu_2gl_glClearBufferfv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glClearBufferiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glClearBufferiv, "__pyx_t_5renpy_4uguu_2gl_glClearBufferiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glClearBufferuiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glClearBufferuiv, "__pyx_t_5renpy_4uguu_2gl_glClearBufferuiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glClearColor", (void **)&__pyx_vp_5renpy_4uguu_2gl_glClearColor, "__pyx_t_5renpy_4uguu_2gl_glClearColor_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glClearStencil", (void **)&__pyx_vp_5renpy_4uguu_2gl_glClearStencil, "__pyx_t_5renpy_4uguu_2gl_glClearStencil_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glColorMask", (void **)&__pyx_vp_5renpy_4uguu_2gl_glColorMask, "__pyx_t_5renpy_4uguu_2gl_glColorMask_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glCompileShader", (void **)&__pyx_vp_5renpy_4uguu_2gl_glCompileShader, "__pyx_t_5renpy_4uguu_2gl_glCompileShader_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glCompressedTexImage2D", (void **)&__pyx_vp_5renpy_4uguu_2gl_glCompressedTexImage2D, "__pyx_t_5renpy_4uguu_2gl_glCompressedTexImage2D_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glCompressedTexImage3D", (void **)&__pyx_vp_5renpy_4uguu_2gl_glCompressedTexImage3D, "__pyx_t_5renpy_4uguu_2gl_glCompressedTexImage3D_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glCompressedTexSubImage2D", (void **)&__pyx_vp_5renpy_4uguu_2gl_glCompressedTexSubImage2D, "__pyx_t_5renpy_4uguu_2gl_glCompressedTexSubImage2D_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glCompressedTexSubImage3D", (void **)&__pyx_vp_5renpy_4uguu_2gl_glCompressedTexSubImage3D, "__pyx_t_5renpy_4uguu_2gl_glCompressedTexSubImage3D_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glCopyTexImage2D", (void **)&__pyx_vp_5renpy_4uguu_2gl_glCopyTexImage2D, "__pyx_t_5renpy_4uguu_2gl_glCopyTexImage2D_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glCopyTexSubImage2D", (void **)&__pyx_vp_5renpy_4uguu_2gl_glCopyTexSubImage2D, "__pyx_t_5renpy_4uguu_2gl_glCopyTexSubImage2D_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glCopyTexSubImage3D", (void **)&__pyx_vp_5renpy_4uguu_2gl_glCopyTexSubImage3D, "__pyx_t_5renpy_4uguu_2gl_glCopyTexSubImage3D_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glCreateProgram", (void **)&__pyx_vp_5renpy_4uguu_2gl_glCreateProgram, "__pyx_t_5renpy_4uguu_2gl_glCreateProgram_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glCreateShader", (void **)&__pyx_vp_5renpy_4uguu_2gl_glCreateShader, "__pyx_t_5renpy_4uguu_2gl_glCreateShader_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glCullFace", (void **)&__pyx_vp_5renpy_4uguu_2gl_glCullFace, "__pyx_t_5renpy_4uguu_2gl_glCullFace_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDeleteBuffers", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDeleteBuffers, "__pyx_t_5renpy_4uguu_2gl_glDeleteBuffers_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDeleteFramebuffers", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDeleteFramebuffers, "__pyx_t_5renpy_4uguu_2gl_glDeleteFramebuffers_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDeleteProgram", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDeleteProgram, "__pyx_t_5renpy_4uguu_2gl_glDeleteProgram_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDeleteQueries", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDeleteQueries, "__pyx_t_5renpy_4uguu_2gl_glDeleteQueries_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDeleteRenderbuffers", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDeleteRenderbuffers, "__pyx_t_5renpy_4uguu_2gl_glDeleteRenderbuffers_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDeleteShader", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDeleteShader, "__pyx_t_5renpy_4uguu_2gl_glDeleteShader_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDeleteTextures", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDeleteTextures, "__pyx_t_5renpy_4uguu_2gl_glDeleteTextures_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDeleteVertexArrays", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDeleteVertexArrays, "__pyx_t_5renpy_4uguu_2gl_glDeleteVertexArrays_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDepthFunc", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDepthFunc, "__pyx_t_5renpy_4uguu_2gl_glDepthFunc_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDepthMask", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDepthMask, "__pyx_t_5renpy_4uguu_2gl_glDepthMask_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDetachShader", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDetachShader, "__pyx_t_5renpy_4uguu_2gl_glDetachShader_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDisable", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDisable, "__pyx_t_5renpy_4uguu_2gl_glDisable_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDisableVertexAttribArray", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDisableVertexAttribArray, "__pyx_t_5renpy_4uguu_2gl_glDisableVertexAttribArray_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDrawArrays", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDrawArrays, "__pyx_t_5renpy_4uguu_2gl_glDrawArrays_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDrawBuffers", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDrawBuffers, "__pyx_t_5renpy_4uguu_2gl_glDrawBuffers_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDrawElements", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDrawElements, "__pyx_t_5renpy_4uguu_2gl_glDrawElements_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glDrawRangeElements", (void **)&__pyx_vp_5renpy_4uguu_2gl_glDrawRangeElements, "__pyx_t_5renpy_4uguu_2gl_glDrawRangeElements_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glEnable", (void **)&__pyx_vp_5renpy_4uguu_2gl_glEnable, "__pyx_t_5renpy_4uguu_2gl_glEnable_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glEnableVertexAttribArray", (void **)&__pyx_vp_5renpy_4uguu_2gl_glEnableVertexAttribArray, "__pyx_t_5renpy_4uguu_2gl_glEnableVertexAttribArray_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glEndQuery", (void **)&__pyx_vp_5renpy_4uguu_2gl_glEndQuery, "__pyx_t_5renpy_4uguu_2gl_glEndQuery_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glEndTransformFeedback", (void **)&__pyx_vp_5renpy_4uguu_2gl_glEndTransformFeedback, "__pyx_t_5renpy_4uguu_2gl_glEndTransformFeedback_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glFinish", (void **)&__pyx_vp_5renpy_4uguu_2gl_glFinish, "__pyx_t_5renpy_4uguu_2gl_glFinish_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glFlush", (void **)&__pyx_vp_5renpy_4uguu_2gl_glFlush, "__pyx_t_5renpy_4uguu_2gl_glFlush_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glFlushMappedBufferRange", (void **)&__pyx_vp_5renpy_4uguu_2gl_glFlushMappedBufferRange, "__pyx_t_5renpy_4uguu_2gl_glFlushMappedBufferRange_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glFramebufferRenderbuffer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glFramebufferRenderbuffer, "__pyx_t_5renpy_4uguu_2gl_glFramebufferRenderbuffer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glFramebufferTexture2D", (void **)&__pyx_vp_5renpy_4uguu_2gl_glFramebufferTexture2D, "__pyx_t_5renpy_4uguu_2gl_glFramebufferTexture2D_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glFramebufferTextureLayer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glFramebufferTextureLayer, "__pyx_t_5renpy_4uguu_2gl_glFramebufferTextureLayer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glFrontFace", (void **)&__pyx_vp_5renpy_4uguu_2gl_glFrontFace, "__pyx_t_5renpy_4uguu_2gl_glFrontFace_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGenBuffers", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGenBuffers, "__pyx_t_5renpy_4uguu_2gl_glGenBuffers_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGenFramebuffers", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGenFramebuffers, "__pyx_t_5renpy_4uguu_2gl_glGenFramebuffers_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGenQueries", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGenQueries, "__pyx_t_5renpy_4uguu_2gl_glGenQueries_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGenRenderbuffers", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGenRenderbuffers, "__pyx_t_5renpy_4uguu_2gl_glGenRenderbuffers_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGenTextures", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGenTextures, "__pyx_t_5renpy_4uguu_2gl_glGenTextures_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGenVertexArrays", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGenVertexArrays, "__pyx_t_5renpy_4uguu_2gl_glGenVertexArrays_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGenerateMipmap", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGenerateMipmap, "__pyx_t_5renpy_4uguu_2gl_glGenerateMipmap_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetActiveAttrib", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetActiveAttrib, "__pyx_t_5renpy_4uguu_2gl_glGetActiveAttrib_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetActiveUniform", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetActiveUniform, "__pyx_t_5renpy_4uguu_2gl_glGetActiveUniform_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetAttachedShaders", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetAttachedShaders, "__pyx_t_5renpy_4uguu_2gl_glGetAttachedShaders_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetAttribLocation", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetAttribLocation, "__pyx_t_5renpy_4uguu_2gl_glGetAttribLocation_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetBooleanv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetBooleanv, "__pyx_t_5renpy_4uguu_2gl_glGetBooleanv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetBufferParameteriv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetBufferParameteriv, "__pyx_t_5renpy_4uguu_2gl_glGetBufferParameteriv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetBufferPointerv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetBufferPointerv, "__pyx_t_5renpy_4uguu_2gl_glGetBufferPointerv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetError", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetError, "__pyx_t_5renpy_4uguu_2gl_glGetError_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetFloatv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetFloatv, "__pyx_t_5renpy_4uguu_2gl_glGetFloatv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetFragDataLocation", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetFragDataLocation, "__pyx_t_5renpy_4uguu_2gl_glGetFragDataLocation_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetFramebufferAttachmentParameteriv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetFramebufferAttachmentParameteriv, "__pyx_t_5renpy_4uguu_2gl_glGetFramebufferAttachmentParameteriv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetIntegeri_v", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetIntegeri_v, "__pyx_t_5renpy_4uguu_2gl_glGetIntegeri_v_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetIntegerv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetIntegerv, "__pyx_t_5renpy_4uguu_2gl_glGetIntegerv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetProgramInfoLog", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetProgramInfoLog, "__pyx_t_5renpy_4uguu_2gl_glGetProgramInfoLog_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetProgramiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetProgramiv, "__pyx_t_5renpy_4uguu_2gl_glGetProgramiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetQueryObjectuiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetQueryObjectuiv, "__pyx_t_5renpy_4uguu_2gl_glGetQueryObjectuiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetQueryiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetQueryiv, "__pyx_t_5renpy_4uguu_2gl_glGetQueryiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetRenderbufferParameteriv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetRenderbufferParameteriv, "__pyx_t_5renpy_4uguu_2gl_glGetRenderbufferParameteriv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetShaderInfoLog", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetShaderInfoLog, "__pyx_t_5renpy_4uguu_2gl_glGetShaderInfoLog_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetShaderSource", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetShaderSource, "__pyx_t_5renpy_4uguu_2gl_glGetShaderSource_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetShaderiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetShaderiv, "__pyx_t_5renpy_4uguu_2gl_glGetShaderiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetString", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetString, "__pyx_t_5renpy_4uguu_2gl_glGetString_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetStringi", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetStringi, "__pyx_t_5renpy_4uguu_2gl_glGetStringi_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetTexParameterfv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetTexParameterfv, "__pyx_t_5renpy_4uguu_2gl_glGetTexParameterfv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetTexParameteriv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetTexParameteriv, "__pyx_t_5renpy_4uguu_2gl_glGetTexParameteriv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetTransformFeedbackVarying", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetTransformFeedbackVarying, "__pyx_t_5renpy_4uguu_2gl_glGetTransformFeedbackVarying_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetUniformLocation", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetUniformLocation, "__pyx_t_5renpy_4uguu_2gl_glGetUniformLocation_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetUniformfv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetUniformfv, "__pyx_t_5renpy_4uguu_2gl_glGetUniformfv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetUniformiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetUniformiv, "__pyx_t_5renpy_4uguu_2gl_glGetUniformiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetUniformuiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetUniformuiv, "__pyx_t_5renpy_4uguu_2gl_glGetUniformuiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetVertexAttribIiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribIiv, "__pyx_t_5renpy_4uguu_2gl_glGetVertexAttribIiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetVertexAttribIuiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribIuiv, "__pyx_t_5renpy_4uguu_2gl_glGetVertexAttribIuiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetVertexAttribPointerv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribPointerv, "__pyx_t_5renpy_4uguu_2gl_glGetVertexAttribPointerv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetVertexAttribfv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribfv, "__pyx_t_5renpy_4uguu_2gl_glGetVertexAttribfv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glGetVertexAttribiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glGetVertexAttribiv, "__pyx_t_5renpy_4uguu_2gl_glGetVertexAttribiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glHint", (void **)&__pyx_vp_5renpy_4uguu_2gl_glHint, "__pyx_t_5renpy_4uguu_2gl_glHint_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glIsBuffer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glIsBuffer, "__pyx_t_5renpy_4uguu_2gl_glIsBuffer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glIsEnabled", (void **)&__pyx_vp_5renpy_4uguu_2gl_glIsEnabled, "__pyx_t_5renpy_4uguu_2gl_glIsEnabled_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glIsFramebuffer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glIsFramebuffer, "__pyx_t_5renpy_4uguu_2gl_glIsFramebuffer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glIsProgram", (void **)&__pyx_vp_5renpy_4uguu_2gl_glIsProgram, "__pyx_t_5renpy_4uguu_2gl_glIsProgram_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glIsQuery", (void **)&__pyx_vp_5renpy_4uguu_2gl_glIsQuery, "__pyx_t_5renpy_4uguu_2gl_glIsQuery_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glIsRenderbuffer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glIsRenderbuffer, "__pyx_t_5renpy_4uguu_2gl_glIsRenderbuffer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glIsShader", (void **)&__pyx_vp_5renpy_4uguu_2gl_glIsShader, "__pyx_t_5renpy_4uguu_2gl_glIsShader_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glIsTexture", (void **)&__pyx_vp_5renpy_4uguu_2gl_glIsTexture, "__pyx_t_5renpy_4uguu_2gl_glIsTexture_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glIsVertexArray", (void **)&__pyx_vp_5renpy_4uguu_2gl_glIsVertexArray, "__pyx_t_5renpy_4uguu_2gl_glIsVertexArray_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glLineWidth", (void **)&__pyx_vp_5renpy_4uguu_2gl_glLineWidth, "__pyx_t_5renpy_4uguu_2gl_glLineWidth_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glLinkProgram", (void **)&__pyx_vp_5renpy_4uguu_2gl_glLinkProgram, "__pyx_t_5renpy_4uguu_2gl_glLinkProgram_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glMapBufferRange", (void **)&__pyx_vp_5renpy_4uguu_2gl_glMapBufferRange, "__pyx_t_5renpy_4uguu_2gl_glMapBufferRange_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glPixelStorei", (void **)&__pyx_vp_5renpy_4uguu_2gl_glPixelStorei, "__pyx_t_5renpy_4uguu_2gl_glPixelStorei_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glPolygonOffset", (void **)&__pyx_vp_5renpy_4uguu_2gl_glPolygonOffset, "__pyx_t_5renpy_4uguu_2gl_glPolygonOffset_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glReadBuffer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glReadBuffer, "__pyx_t_5renpy_4uguu_2gl_glReadBuffer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glReadPixels", (void **)&__pyx_vp_5renpy_4uguu_2gl_glReadPixels, "__pyx_t_5renpy_4uguu_2gl_glReadPixels_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glRenderbufferStorage", (void **)&__pyx_vp_5renpy_4uguu_2gl_glRenderbufferStorage, "__pyx_t_5renpy_4uguu_2gl_glRenderbufferStorage_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glRenderbufferStorageMultisample", (void **)&__pyx_vp_5renpy_4uguu_2gl_glRenderbufferStorageMultisample, "__pyx_t_5renpy_4uguu_2gl_glRenderbufferStorageMultisample_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glSampleCoverage", (void **)&__pyx_vp_5renpy_4uguu_2gl_glSampleCoverage, "__pyx_t_5renpy_4uguu_2gl_glSampleCoverage_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glScissor", (void **)&__pyx_vp_5renpy_4uguu_2gl_glScissor, "__pyx_t_5renpy_4uguu_2gl_glScissor_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glShaderSource", (void **)&__pyx_vp_5renpy_4uguu_2gl_glShaderSource, "__pyx_t_5renpy_4uguu_2gl_glShaderSource_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glStencilFunc", (void **)&__pyx_vp_5renpy_4uguu_2gl_glStencilFunc, "__pyx_t_5renpy_4uguu_2gl_glStencilFunc_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glStencilFuncSeparate", (void **)&__pyx_vp_5renpy_4uguu_2gl_glStencilFuncSeparate, "__pyx_t_5renpy_4uguu_2gl_glStencilFuncSeparate_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glStencilMask", (void **)&__pyx_vp_5renpy_4uguu_2gl_glStencilMask, "__pyx_t_5renpy_4uguu_2gl_glStencilMask_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glStencilMaskSeparate", (void **)&__pyx_vp_5renpy_4uguu_2gl_glStencilMaskSeparate, "__pyx_t_5renpy_4uguu_2gl_glStencilMaskSeparate_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glStencilOp", (void **)&__pyx_vp_5renpy_4uguu_2gl_glStencilOp, "__pyx_t_5renpy_4uguu_2gl_glStencilOp_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glStencilOpSeparate", (void **)&__pyx_vp_5renpy_4uguu_2gl_glStencilOpSeparate, "__pyx_t_5renpy_4uguu_2gl_glStencilOpSeparate_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glTexImage2D", (void **)&__pyx_vp_5renpy_4uguu_2gl_glTexImage2D, "__pyx_t_5renpy_4uguu_2gl_glTexImage2D_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glTexImage3D", (void **)&__pyx_vp_5renpy_4uguu_2gl_glTexImage3D, "__pyx_t_5renpy_4uguu_2gl_glTexImage3D_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glTexParameterf", (void **)&__pyx_vp_5renpy_4uguu_2gl_glTexParameterf, "__pyx_t_5renpy_4uguu_2gl_glTexParameterf_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glTexParameterfv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glTexParameterfv, "__pyx_t_5renpy_4uguu_2gl_glTexParameterfv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glTexParameteri", (void **)&__pyx_vp_5renpy_4uguu_2gl_glTexParameteri, "__pyx_t_5renpy_4uguu_2gl_glTexParameteri_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glTexParameteriv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glTexParameteriv, "__pyx_t_5renpy_4uguu_2gl_glTexParameteriv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glTexSubImage2D", (void **)&__pyx_vp_5renpy_4uguu_2gl_glTexSubImage2D, "__pyx_t_5renpy_4uguu_2gl_glTexSubImage2D_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glTexSubImage3D", (void **)&__pyx_vp_5renpy_4uguu_2gl_glTexSubImage3D, "__pyx_t_5renpy_4uguu_2gl_glTexSubImage3D_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glTransformFeedbackVaryings", (void **)&__pyx_vp_5renpy_4uguu_2gl_glTransformFeedbackVaryings, "__pyx_t_5renpy_4uguu_2gl_glTransformFeedbackVaryings_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform1f", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform1f, "__pyx_t_5renpy_4uguu_2gl_glUniform1f_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform1fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform1fv, "__pyx_t_5renpy_4uguu_2gl_glUniform1fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform1i", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform1i, "__pyx_t_5renpy_4uguu_2gl_glUniform1i_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform1iv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform1iv, "__pyx_t_5renpy_4uguu_2gl_glUniform1iv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform1ui", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform1ui, "__pyx_t_5renpy_4uguu_2gl_glUniform1ui_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform1uiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform1uiv, "__pyx_t_5renpy_4uguu_2gl_glUniform1uiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform2f", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform2f, "__pyx_t_5renpy_4uguu_2gl_glUniform2f_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform2fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform2fv, "__pyx_t_5renpy_4uguu_2gl_glUniform2fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform2i", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform2i, "__pyx_t_5renpy_4uguu_2gl_glUniform2i_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform2iv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform2iv, "__pyx_t_5renpy_4uguu_2gl_glUniform2iv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform2ui", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform2ui, "__pyx_t_5renpy_4uguu_2gl_glUniform2ui_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform2uiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform2uiv, "__pyx_t_5renpy_4uguu_2gl_glUniform2uiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform3f", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform3f, "__pyx_t_5renpy_4uguu_2gl_glUniform3f_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform3fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform3fv, "__pyx_t_5renpy_4uguu_2gl_glUniform3fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform3i", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform3i, "__pyx_t_5renpy_4uguu_2gl_glUniform3i_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform3iv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform3iv, "__pyx_t_5renpy_4uguu_2gl_glUniform3iv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform3ui", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform3ui, "__pyx_t_5renpy_4uguu_2gl_glUniform3ui_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform3uiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform3uiv, "__pyx_t_5renpy_4uguu_2gl_glUniform3uiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform4f", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform4f, "__pyx_t_5renpy_4uguu_2gl_glUniform4f_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform4fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform4fv, "__pyx_t_5renpy_4uguu_2gl_glUniform4fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform4i", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform4i, "__pyx_t_5renpy_4uguu_2gl_glUniform4i_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform4iv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform4iv, "__pyx_t_5renpy_4uguu_2gl_glUniform4iv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform4ui", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform4ui, "__pyx_t_5renpy_4uguu_2gl_glUniform4ui_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniform4uiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniform4uiv, "__pyx_t_5renpy_4uguu_2gl_glUniform4uiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniformMatrix2fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix2fv, "__pyx_t_5renpy_4uguu_2gl_glUniformMatrix2fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniformMatrix2x3fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix2x3fv, "__pyx_t_5renpy_4uguu_2gl_glUniformMatrix2x3fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniformMatrix2x4fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix2x4fv, "__pyx_t_5renpy_4uguu_2gl_glUniformMatrix2x4fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniformMatrix3fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix3fv, "__pyx_t_5renpy_4uguu_2gl_glUniformMatrix3fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniformMatrix3x2fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix3x2fv, "__pyx_t_5renpy_4uguu_2gl_glUniformMatrix3x2fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniformMatrix3x4fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix3x4fv, "__pyx_t_5renpy_4uguu_2gl_glUniformMatrix3x4fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniformMatrix4fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix4fv, "__pyx_t_5renpy_4uguu_2gl_glUniformMatrix4fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniformMatrix4x2fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix4x2fv, "__pyx_t_5renpy_4uguu_2gl_glUniformMatrix4x2fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUniformMatrix4x3fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUniformMatrix4x3fv, "__pyx_t_5renpy_4uguu_2gl_glUniformMatrix4x3fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUnmapBuffer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUnmapBuffer, "__pyx_t_5renpy_4uguu_2gl_glUnmapBuffer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glUseProgram", (void **)&__pyx_vp_5renpy_4uguu_2gl_glUseProgram, "__pyx_t_5renpy_4uguu_2gl_glUseProgram_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glValidateProgram", (void **)&__pyx_vp_5renpy_4uguu_2gl_glValidateProgram, "__pyx_t_5renpy_4uguu_2gl_glValidateProgram_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttrib1f", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib1f, "__pyx_t_5renpy_4uguu_2gl_glVertexAttrib1f_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttrib1fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib1fv, "__pyx_t_5renpy_4uguu_2gl_glVertexAttrib1fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttrib2f", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib2f, "__pyx_t_5renpy_4uguu_2gl_glVertexAttrib2f_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttrib2fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib2fv, "__pyx_t_5renpy_4uguu_2gl_glVertexAttrib2fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttrib3f", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib3f, "__pyx_t_5renpy_4uguu_2gl_glVertexAttrib3f_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttrib3fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib3fv, "__pyx_t_5renpy_4uguu_2gl_glVertexAttrib3fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttrib4f", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib4f, "__pyx_t_5renpy_4uguu_2gl_glVertexAttrib4f_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttrib4fv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttrib4fv, "__pyx_t_5renpy_4uguu_2gl_glVertexAttrib4fv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttribI4i", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttribI4i, "__pyx_t_5renpy_4uguu_2gl_glVertexAttribI4i_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttribI4iv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttribI4iv, "__pyx_t_5renpy_4uguu_2gl_glVertexAttribI4iv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttribI4ui", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttribI4ui, "__pyx_t_5renpy_4uguu_2gl_glVertexAttribI4ui_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttribI4uiv", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttribI4uiv, "__pyx_t_5renpy_4uguu_2gl_glVertexAttribI4uiv_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttribIPointer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttribIPointer, "__pyx_t_5renpy_4uguu_2gl_glVertexAttribIPointer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glVertexAttribPointer", (void **)&__pyx_vp_5renpy_4uguu_2gl_glVertexAttribPointer, "__pyx_t_5renpy_4uguu_2gl_glVertexAttribPointer_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  if (__Pyx_ImportVoidPtr(__pyx_t_1, "glViewport", (void **)&__pyx_vp_5renpy_4uguu_2gl_glViewport, "__pyx_t_5renpy_4uguu_2gl_glViewport_type") < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  Py_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_RefNannyFinishContext();
  return -1;
}

static int __Pyx_modinit_function_import_code(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_modinit_function_import_code", 0);
  /*--- Function import code ---*/
  __Pyx_RefNannyFinishContext();
  return 0;
}


#ifndef CYTHON_NO_PYINIT_EXPORT
#define __Pyx_PyMODINIT_FUNC PyMODINIT_FUNC
#elif PY_MAJOR_VERSION < 3
#ifdef __cplusplus
#define __Pyx_PyMODINIT_FUNC extern "C" void
#else
#define __Pyx_PyMODINIT_FUNC void
#endif
#else
#ifdef __cplusplus
#define __Pyx_PyMODINIT_FUNC extern "C" PyObject *
#else
#define __Pyx_PyMODINIT_FUNC PyObject *
#endif
#endif


#if PY_MAJOR_VERSION < 3
__Pyx_PyMODINIT_FUNC inituguu(void) CYTHON_SMALL_CODE; /*proto*/
__Pyx_PyMODINIT_FUNC inituguu(void)
#else
__Pyx_PyMODINIT_FUNC PyInit_uguu(void) CYTHON_SMALL_CODE; /*proto*/
__Pyx_PyMODINIT_FUNC PyInit_uguu(void)
#if CYTHON_PEP489_MULTI_PHASE_INIT
{
  return PyModuleDef_Init(&__pyx_moduledef);
}
static CYTHON_SMALL_CODE int __Pyx_check_single_interpreter(void) {
    #if PY_VERSION_HEX >= 0x030700A1
    static PY_INT64_T main_interpreter_id = -1;
    PY_INT64_T current_id = PyInterpreterState_GetID(PyThreadState_Get()->interp);
    if (main_interpreter_id == -1) {
        main_interpreter_id = current_id;
        return (unlikely(current_id == -1)) ? -1 : 0;
    } else if (unlikely(main_interpreter_id != current_id))
    #else
    static PyInterpreterState *main_interpreter = NULL;
    PyInterpreterState *current_interpreter = PyThreadState_Get()->interp;
    if (!main_interpreter) {
        main_interpreter = current_interpreter;
    } else if (unlikely(main_interpreter != current_interpreter))
    #endif
    {
        PyErr_SetString(
            PyExc_ImportError,
            "Interpreter change detected - this module can only be loaded into one interpreter per process.");
        return -1;
    }
    return 0;
}
static CYTHON_SMALL_CODE int __Pyx_copy_spec_to_module(PyObject *spec, PyObject *moddict, const char* from_name, const char* to_name, int allow_none) {
    PyObject *value = PyObject_GetAttrString(spec, from_name);
    int result = 0;
    if (likely(value)) {
        if (allow_none || value != Py_None) {
            result = PyDict_SetItemString(moddict, to_name, value);
        }
        Py_DECREF(value);
    } else if (PyErr_ExceptionMatches(PyExc_AttributeError)) {
        PyErr_Clear();
    } else {
        result = -1;
    }
    return result;
}
static CYTHON_SMALL_CODE PyObject* __pyx_pymod_create(PyObject *spec, CYTHON_UNUSED PyModuleDef *def) {
    PyObject *module = NULL, *moddict, *modname;
    if (__Pyx_check_single_interpreter())
        return NULL;
    if (__pyx_m)
        return __Pyx_NewRef(__pyx_m);
    modname = PyObject_GetAttrString(spec, "name");
    if (unlikely(!modname)) goto bad;
    module = PyModule_NewObject(modname);
    Py_DECREF(modname);
    if (unlikely(!module)) goto bad;
    moddict = PyModule_GetDict(module);
    if (unlikely(!moddict)) goto bad;
    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "loader", "__loader__", 1) < 0)) goto bad;
    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "origin", "__file__", 1) < 0)) goto bad;
    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "parent", "__package__", 1) < 0)) goto bad;
    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "submodule_search_locations", "__path__", 0) < 0)) goto bad;
    return module;
bad:
    Py_XDECREF(module);
    return NULL;
}


static CYTHON_SMALL_CODE int __pyx_pymod_exec_uguu(PyObject *__pyx_pyinit_module)
#endif
#endif
{
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannyDeclarations
  #if CYTHON_PEP489_MULTI_PHASE_INIT
  if (__pyx_m) {
    if (__pyx_m == __pyx_pyinit_module) return 0;
    PyErr_SetString(PyExc_RuntimeError, "Module 'uguu' has already been imported. Re-initialisation is not supported.");
    return -1;
  }
  #elif PY_MAJOR_VERSION >= 3
  if (__pyx_m) return __Pyx_NewRef(__pyx_m);
  #endif
  #if CYTHON_REFNANNY
__Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
if (!__Pyx_RefNanny) {
  PyErr_Clear();
  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny");
  if (!__Pyx_RefNanny)
      Py_FatalError("failed to import 'refnanny' module");
}
#endif
  __Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit_uguu(void)", 0);
  if (__Pyx_check_binary_version() < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  #ifdef __Pxy_PyFrame_Initialize_Offsets
  __Pxy_PyFrame_Initialize_Offsets();
  #endif
  __pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_empty_tuple)) __PYX_ERR(1, 1, __pyx_L1_error)
  __pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_bytes)) __PYX_ERR(1, 1, __pyx_L1_error)
  __pyx_empty_unicode = PyUnicode_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_unicode)) __PYX_ERR(1, 1, __pyx_L1_error)
  #ifdef __Pyx_CyFunction_USED
  if (__pyx_CyFunction_init() < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_FusedFunction_USED
  if (__pyx_FusedFunction_init() < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_Coroutine_USED
  if (__pyx_Coroutine_init() < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_Generator_USED
  if (__pyx_Generator_init() < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_AsyncGen_USED
  if (__pyx_AsyncGen_init() < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_StopAsyncIteration_USED
  if (__pyx_StopAsyncIteration_init() < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  #endif
  /*--- Library function declarations ---*/
  /*--- Threads initialization code ---*/
  #if defined(__PYX_FORCE_INIT_THREADS) && __PYX_FORCE_INIT_THREADS
  #ifdef WITH_THREAD /* Python build with threading support? */
  PyEval_InitThreads();
  #endif
  #endif
  /*--- Module creation code ---*/
  #if CYTHON_PEP489_MULTI_PHASE_INIT
  __pyx_m = __pyx_pyinit_module;
  Py_INCREF(__pyx_m);
  #else
  #if PY_MAJOR_VERSION < 3
  __pyx_m = Py_InitModule4("uguu", __pyx_methods, 0, 0, PYTHON_API_VERSION); Py_XINCREF(__pyx_m);
  #else
  __pyx_m = PyModule_Create(&__pyx_moduledef);
  #endif
  if (unlikely(!__pyx_m)) __PYX_ERR(1, 1, __pyx_L1_error)
  #endif
  __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(1, 1, __pyx_L1_error)
  Py_INCREF(__pyx_d);
  __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(1, 1, __pyx_L1_error)
  Py_INCREF(__pyx_b);
  __pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(1, 1, __pyx_L1_error)
  Py_INCREF(__pyx_cython_runtime);
  if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(1, 1, __pyx_L1_error);
  /*--- Initialize various global constants etc. ---*/
  if (__Pyx_InitGlobals() < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  #if PY_MAJOR_VERSION < 3 && (__PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT)
  if (__Pyx_init_sys_getdefaultencoding_params() < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  #endif
  if (__pyx_module_is_main_renpy__uguu__uguu) {
    if (PyObject_SetAttr(__pyx_m, __pyx_n_s_name_2, __pyx_n_s_main) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  }
  #if PY_MAJOR_VERSION >= 3
  {
    PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) __PYX_ERR(1, 1, __pyx_L1_error)
    if (!PyDict_GetItemString(modules, "renpy.uguu.uguu")) {
      if (unlikely(PyDict_SetItemString(modules, "renpy.uguu.uguu", __pyx_m) < 0)) __PYX_ERR(1, 1, __pyx_L1_error)
    }
  }
  #endif
  /*--- Builtin init code ---*/
  if (__Pyx_InitCachedBuiltins() < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  /*--- Constants init code ---*/
  if (__Pyx_InitCachedConstants() < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  /*--- Global type/function init code ---*/
  (void)__Pyx_modinit_global_init_code();
  (void)__Pyx_modinit_variable_export_code();
  (void)__Pyx_modinit_function_export_code();
  if (unlikely(__Pyx_modinit_type_init_code() < 0)) __PYX_ERR(1, 1, __pyx_L1_error)
  (void)__Pyx_modinit_type_import_code();
  if (unlikely(__Pyx_modinit_variable_import_code() < 0)) __PYX_ERR(1, 1, __pyx_L1_error)
  (void)__Pyx_modinit_function_import_code();
  /*--- Execution code ---*/
  #if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED)
  if (__Pyx_patch_abc() < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  #endif

  /* "renpy/uguu/uguu.pyx":41
 * 
 * cimport renpy.uguu.gl
 * import renpy.uguu.gl             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __pyx_t_1 = __Pyx_Import(__pyx_n_s_renpy_uguu_gl, 0, -1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 41, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_renpy, __pyx_t_1) < 0) __PYX_ERR(1, 41, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":232
 * from renpy.uguu.gl cimport GLuint64EXT
 * 
 * def glActiveTexture(texture):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glActiveTexture(texture)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_1glActiveTexture, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 232, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glActiveTexture, __pyx_t_1) < 0) __PYX_ERR(1, 232, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":235
 *     renpy.uguu.gl.glActiveTexture(texture)
 * 
 * def glAttachShader(program, shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glAttachShader(program, shader)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_3glAttachShader, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 235, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glAttachShader, __pyx_t_1) < 0) __PYX_ERR(1, 235, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":238
 *     renpy.uguu.gl.glAttachShader(program, shader)
 * 
 * def glBeginQuery(target, id):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBeginQuery(target, id)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_5glBeginQuery, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 238, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBeginQuery, __pyx_t_1) < 0) __PYX_ERR(1, 238, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":241
 *     renpy.uguu.gl.glBeginQuery(target, id)
 * 
 * def glBeginTransformFeedback(primitiveMode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBeginTransformFeedback(primitiveMode)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_7glBeginTransformFeedback, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 241, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBeginTransformFeedback, __pyx_t_1) < 0) __PYX_ERR(1, 241, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":244
 *     renpy.uguu.gl.glBeginTransformFeedback(primitiveMode)
 * 
 * def glBindAttribLocation(program, index, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     renpy.uguu.gl.glBindAttribLocation(program, index, <const GLchar *> name_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_9glBindAttribLocation, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 244, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBindAttribLocation, __pyx_t_1) < 0) __PYX_ERR(1, 244, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":248
 *     renpy.uguu.gl.glBindAttribLocation(program, index, <const GLchar *> name_ptr.ptr)
 * 
 * def glBindBuffer(target, buffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindBuffer(target, buffer)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_11glBindBuffer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 248, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBindBuffer, __pyx_t_1) < 0) __PYX_ERR(1, 248, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":251
 *     renpy.uguu.gl.glBindBuffer(target, buffer)
 * 
 * def glBindBufferBase(target, index, buffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindBufferBase(target, index, buffer)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_13glBindBufferBase, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 251, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBindBufferBase, __pyx_t_1) < 0) __PYX_ERR(1, 251, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":254
 *     renpy.uguu.gl.glBindBufferBase(target, index, buffer)
 * 
 * def glBindBufferRange(target, index, buffer, offset, size):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindBufferRange(target, index, buffer, offset, size)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_15glBindBufferRange, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 254, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBindBufferRange, __pyx_t_1) < 0) __PYX_ERR(1, 254, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":257
 *     renpy.uguu.gl.glBindBufferRange(target, index, buffer, offset, size)
 * 
 * def glBindFramebuffer(target, framebuffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindFramebuffer(target, framebuffer)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_17glBindFramebuffer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 257, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBindFramebuffer, __pyx_t_1) < 0) __PYX_ERR(1, 257, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":260
 *     renpy.uguu.gl.glBindFramebuffer(target, framebuffer)
 * 
 * def glBindRenderbuffer(target, renderbuffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindRenderbuffer(target, renderbuffer)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_19glBindRenderbuffer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 260, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBindRenderbuffer, __pyx_t_1) < 0) __PYX_ERR(1, 260, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":263
 *     renpy.uguu.gl.glBindRenderbuffer(target, renderbuffer)
 * 
 * def glBindTexture(target, texture):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindTexture(target, texture)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_21glBindTexture, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 263, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBindTexture, __pyx_t_1) < 0) __PYX_ERR(1, 263, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":266
 *     renpy.uguu.gl.glBindTexture(target, texture)
 * 
 * def glBindVertexArray(array):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBindVertexArray(array)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_23glBindVertexArray, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 266, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBindVertexArray, __pyx_t_1) < 0) __PYX_ERR(1, 266, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":269
 *     renpy.uguu.gl.glBindVertexArray(array)
 * 
 * def glBlendColor(red, green, blue, alpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendColor(red, green, blue, alpha)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_25glBlendColor, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 269, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBlendColor, __pyx_t_1) < 0) __PYX_ERR(1, 269, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":272
 *     renpy.uguu.gl.glBlendColor(red, green, blue, alpha)
 * 
 * def glBlendEquation(mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendEquation(mode)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_27glBlendEquation, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 272, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBlendEquation, __pyx_t_1) < 0) __PYX_ERR(1, 272, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":275
 *     renpy.uguu.gl.glBlendEquation(mode)
 * 
 * def glBlendEquationSeparate(modeRGB, modeAlpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendEquationSeparate(modeRGB, modeAlpha)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_29glBlendEquationSeparate, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 275, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBlendEquationSeparate, __pyx_t_1) < 0) __PYX_ERR(1, 275, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":278
 *     renpy.uguu.gl.glBlendEquationSeparate(modeRGB, modeAlpha)
 * 
 * def glBlendFunc(sfactor, dfactor):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendFunc(sfactor, dfactor)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_31glBlendFunc, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 278, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBlendFunc, __pyx_t_1) < 0) __PYX_ERR(1, 278, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":281
 *     renpy.uguu.gl.glBlendFunc(sfactor, dfactor)
 * 
 * def glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_33glBlendFuncSeparate, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 281, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBlendFuncSeparate, __pyx_t_1) < 0) __PYX_ERR(1, 281, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":284
 *     renpy.uguu.gl.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
 * 
 * def glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_35glBlitFramebuffer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 284, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBlitFramebuffer, __pyx_t_1) < 0) __PYX_ERR(1, 284, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":287
 *     renpy.uguu.gl.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
 * 
 * def glBufferData(target, size, data, usage):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glBufferData(target, size, <const void *> data_ptr.ptr, usage)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_37glBufferData, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 287, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBufferData, __pyx_t_1) < 0) __PYX_ERR(1, 287, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":291
 *     renpy.uguu.gl.glBufferData(target, size, <const void *> data_ptr.ptr, usage)
 * 
 * def glBufferSubData(target, offset, size, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glBufferSubData(target, offset, size, <const void *> data_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_39glBufferSubData, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 291, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glBufferSubData, __pyx_t_1) < 0) __PYX_ERR(1, 291, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":295
 *     renpy.uguu.gl.glBufferSubData(target, offset, size, <const void *> data_ptr.ptr)
 * 
 * def glCheckFramebufferStatus(target):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glCheckFramebufferStatus(target)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_41glCheckFramebufferStatus, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 295, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glCheckFramebufferStatus, __pyx_t_1) < 0) __PYX_ERR(1, 295, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":298
 *     return renpy.uguu.gl.glCheckFramebufferStatus(target)
 * 
 * def glClear(mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClear(mask)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_43glClear, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 298, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glClear, __pyx_t_1) < 0) __PYX_ERR(1, 298, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":301
 *     renpy.uguu.gl.glClear(mask)
 * 
 * def glClearBufferfi(buffer, drawbuffer, depth, stencil):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearBufferfi(buffer, drawbuffer, depth, stencil)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_45glClearBufferfi, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 301, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glClearBufferfi, __pyx_t_1) < 0) __PYX_ERR(1, 301, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":304
 *     renpy.uguu.gl.glClearBufferfi(buffer, drawbuffer, depth, stencil)
 * 
 * def glClearBufferfv(buffer, drawbuffer, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferfv(buffer, drawbuffer, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_47glClearBufferfv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 304, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glClearBufferfv, __pyx_t_1) < 0) __PYX_ERR(1, 304, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":308
 *     renpy.uguu.gl.glClearBufferfv(buffer, drawbuffer, <const GLfloat *> value_ptr.ptr)
 * 
 * def glClearBufferiv(buffer, drawbuffer, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferiv(buffer, drawbuffer, <const GLint *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_49glClearBufferiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 308, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glClearBufferiv, __pyx_t_1) < 0) __PYX_ERR(1, 308, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":312
 *     renpy.uguu.gl.glClearBufferiv(buffer, drawbuffer, <const GLint *> value_ptr.ptr)
 * 
 * def glClearBufferuiv(buffer, drawbuffer, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glClearBufferuiv(buffer, drawbuffer, <const GLuint *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_51glClearBufferuiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 312, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glClearBufferuiv, __pyx_t_1) < 0) __PYX_ERR(1, 312, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":316
 *     renpy.uguu.gl.glClearBufferuiv(buffer, drawbuffer, <const GLuint *> value_ptr.ptr)
 * 
 * def glClearColor(red, green, blue, alpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearColor(red, green, blue, alpha)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_53glClearColor, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 316, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glClearColor, __pyx_t_1) < 0) __PYX_ERR(1, 316, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":319
 *     renpy.uguu.gl.glClearColor(red, green, blue, alpha)
 * 
 * def glClearStencil(s):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glClearStencil(s)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_55glClearStencil, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 319, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glClearStencil, __pyx_t_1) < 0) __PYX_ERR(1, 319, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":322
 *     renpy.uguu.gl.glClearStencil(s)
 * 
 * def glColorMask(red, green, blue, alpha):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glColorMask(red, green, blue, alpha)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_57glColorMask, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 322, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glColorMask, __pyx_t_1) < 0) __PYX_ERR(1, 322, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":325
 *     renpy.uguu.gl.glColorMask(red, green, blue, alpha)
 * 
 * def glCompileShader(shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCompileShader(shader)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_59glCompileShader, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 325, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glCompileShader, __pyx_t_1) < 0) __PYX_ERR(1, 325, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":328
 *     renpy.uguu.gl.glCompileShader(shader)
 * 
 * def glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, <const void *> data_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_61glCompressedTexImage2D, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 328, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glCompressedTexImage2D, __pyx_t_1) < 0) __PYX_ERR(1, 328, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":332
 *     renpy.uguu.gl.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, <const void *> data_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_63glCompressedTexImage3D, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 332, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glCompressedTexImage3D, __pyx_t_1) < 0) __PYX_ERR(1, 332, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":336
 *     renpy.uguu.gl.glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, <const void *> data_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_65glCompressedTexSubImage2D, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 336, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glCompressedTexSubImage2D, __pyx_t_1) < 0) __PYX_ERR(1, 336, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":340
 *     renpy.uguu.gl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, <const void *> data_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_67glCompressedTexSubImage3D, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 340, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glCompressedTexSubImage3D, __pyx_t_1) < 0) __PYX_ERR(1, 340, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":344
 *     renpy.uguu.gl.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, <const void *> data_ptr.ptr)
 * 
 * def glCopyTexImage2D(target, level, internalformat, x, y, width, height, border):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_69glCopyTexImage2D, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 344, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glCopyTexImage2D, __pyx_t_1) < 0) __PYX_ERR(1, 344, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":347
 *     renpy.uguu.gl.glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)
 * 
 * def glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_71glCopyTexSubImage2D, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 347, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glCopyTexSubImage2D, __pyx_t_1) < 0) __PYX_ERR(1, 347, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":350
 *     renpy.uguu.gl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)
 * 
 * def glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_73glCopyTexSubImage3D, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 350, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glCopyTexSubImage3D, __pyx_t_1) < 0) __PYX_ERR(1, 350, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":353
 *     renpy.uguu.gl.glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)
 * 
 * def glCreateProgram():             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glCreateProgram()
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_75glCreateProgram, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 353, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glCreateProgram, __pyx_t_1) < 0) __PYX_ERR(1, 353, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":356
 *     return renpy.uguu.gl.glCreateProgram()
 * 
 * def glCreateShader(type):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glCreateShader(type)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_77glCreateShader, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 356, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glCreateShader, __pyx_t_1) < 0) __PYX_ERR(1, 356, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":359
 *     return renpy.uguu.gl.glCreateShader(type)
 * 
 * def glCullFace(mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glCullFace(mode)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_79glCullFace, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 359, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glCullFace, __pyx_t_1) < 0) __PYX_ERR(1, 359, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":362
 *     renpy.uguu.gl.glCullFace(mode)
 * 
 * def glDeleteBuffers(n, buffers):             # <<<<<<<<<<<<<<
 *     cdef ptr buffers_ptr = get_ptr(buffers)
 *     renpy.uguu.gl.glDeleteBuffers(n, <const GLuint *> buffers_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_81glDeleteBuffers, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 362, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDeleteBuffers, __pyx_t_1) < 0) __PYX_ERR(1, 362, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":366
 *     renpy.uguu.gl.glDeleteBuffers(n, <const GLuint *> buffers_ptr.ptr)
 * 
 * def glDeleteFramebuffers(n, framebuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr framebuffers_ptr = get_ptr(framebuffers)
 *     renpy.uguu.gl.glDeleteFramebuffers(n, <const GLuint *> framebuffers_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_83glDeleteFramebuffers, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 366, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDeleteFramebuffers, __pyx_t_1) < 0) __PYX_ERR(1, 366, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":370
 *     renpy.uguu.gl.glDeleteFramebuffers(n, <const GLuint *> framebuffers_ptr.ptr)
 * 
 * def glDeleteProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteProgram(program)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_85glDeleteProgram, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 370, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDeleteProgram, __pyx_t_1) < 0) __PYX_ERR(1, 370, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":373
 *     renpy.uguu.gl.glDeleteProgram(program)
 * 
 * def glDeleteQueries(n, ids):             # <<<<<<<<<<<<<<
 *     cdef ptr ids_ptr = get_ptr(ids)
 *     renpy.uguu.gl.glDeleteQueries(n, <const GLuint *> ids_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_87glDeleteQueries, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 373, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDeleteQueries, __pyx_t_1) < 0) __PYX_ERR(1, 373, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":377
 *     renpy.uguu.gl.glDeleteQueries(n, <const GLuint *> ids_ptr.ptr)
 * 
 * def glDeleteRenderbuffers(n, renderbuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr renderbuffers_ptr = get_ptr(renderbuffers)
 *     renpy.uguu.gl.glDeleteRenderbuffers(n, <const GLuint *> renderbuffers_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_89glDeleteRenderbuffers, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 377, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDeleteRenderbuffers, __pyx_t_1) < 0) __PYX_ERR(1, 377, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":381
 *     renpy.uguu.gl.glDeleteRenderbuffers(n, <const GLuint *> renderbuffers_ptr.ptr)
 * 
 * def glDeleteShader(shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDeleteShader(shader)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_91glDeleteShader, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 381, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDeleteShader, __pyx_t_1) < 0) __PYX_ERR(1, 381, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":384
 *     renpy.uguu.gl.glDeleteShader(shader)
 * 
 * def glDeleteTextures(n, textures):             # <<<<<<<<<<<<<<
 *     cdef ptr textures_ptr = get_ptr(textures)
 *     renpy.uguu.gl.glDeleteTextures(n, <const GLuint *> textures_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_93glDeleteTextures, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 384, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDeleteTextures, __pyx_t_1) < 0) __PYX_ERR(1, 384, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":388
 *     renpy.uguu.gl.glDeleteTextures(n, <const GLuint *> textures_ptr.ptr)
 * 
 * def glDeleteVertexArrays(n, arrays):             # <<<<<<<<<<<<<<
 *     cdef ptr arrays_ptr = get_ptr(arrays)
 *     renpy.uguu.gl.glDeleteVertexArrays(n, <const GLuint *> arrays_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_95glDeleteVertexArrays, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 388, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDeleteVertexArrays, __pyx_t_1) < 0) __PYX_ERR(1, 388, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":392
 *     renpy.uguu.gl.glDeleteVertexArrays(n, <const GLuint *> arrays_ptr.ptr)
 * 
 * def glDepthFunc(func):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDepthFunc(func)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_97glDepthFunc, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 392, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDepthFunc, __pyx_t_1) < 0) __PYX_ERR(1, 392, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":395
 *     renpy.uguu.gl.glDepthFunc(func)
 * 
 * def glDepthMask(flag):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDepthMask(flag)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_99glDepthMask, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 395, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDepthMask, __pyx_t_1) < 0) __PYX_ERR(1, 395, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":398
 *     renpy.uguu.gl.glDepthMask(flag)
 * 
 * def glDetachShader(program, shader):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDetachShader(program, shader)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_101glDetachShader, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 398, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDetachShader, __pyx_t_1) < 0) __PYX_ERR(1, 398, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":401
 *     renpy.uguu.gl.glDetachShader(program, shader)
 * 
 * def glDisable(cap):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDisable(cap)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_103glDisable, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 401, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDisable, __pyx_t_1) < 0) __PYX_ERR(1, 401, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":404
 *     renpy.uguu.gl.glDisable(cap)
 * 
 * def glDisableVertexAttribArray(index):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDisableVertexAttribArray(index)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_105glDisableVertexAttribArray, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 404, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDisableVertexAttribArray, __pyx_t_1) < 0) __PYX_ERR(1, 404, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":407
 *     renpy.uguu.gl.glDisableVertexAttribArray(index)
 * 
 * def glDrawArrays(mode, first, count):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glDrawArrays(mode, first, count)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_107glDrawArrays, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 407, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDrawArrays, __pyx_t_1) < 0) __PYX_ERR(1, 407, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":410
 *     renpy.uguu.gl.glDrawArrays(mode, first, count)
 * 
 * def glDrawBuffers(n, bufs):             # <<<<<<<<<<<<<<
 *     cdef ptr bufs_ptr = get_ptr(bufs)
 *     renpy.uguu.gl.glDrawBuffers(n, <const GLenum *> bufs_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_109glDrawBuffers, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 410, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDrawBuffers, __pyx_t_1) < 0) __PYX_ERR(1, 410, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":414
 *     renpy.uguu.gl.glDrawBuffers(n, <const GLenum *> bufs_ptr.ptr)
 * 
 * def glDrawElements(mode, count, type, indices):             # <<<<<<<<<<<<<<
 *     cdef ptr indices_ptr = get_ptr(indices)
 *     renpy.uguu.gl.glDrawElements(mode, count, type, <const void *> indices_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_111glDrawElements, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 414, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDrawElements, __pyx_t_1) < 0) __PYX_ERR(1, 414, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":418
 *     renpy.uguu.gl.glDrawElements(mode, count, type, <const void *> indices_ptr.ptr)
 * 
 * def glDrawRangeElements(mode, start, end, count, type, indices):             # <<<<<<<<<<<<<<
 *     cdef ptr indices_ptr = get_ptr(indices)
 *     renpy.uguu.gl.glDrawRangeElements(mode, start, end, count, type, <const void *> indices_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_113glDrawRangeElements, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 418, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glDrawRangeElements, __pyx_t_1) < 0) __PYX_ERR(1, 418, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":422
 *     renpy.uguu.gl.glDrawRangeElements(mode, start, end, count, type, <const void *> indices_ptr.ptr)
 * 
 * def glEnable(cap):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEnable(cap)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_115glEnable, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 422, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glEnable, __pyx_t_1) < 0) __PYX_ERR(1, 422, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":425
 *     renpy.uguu.gl.glEnable(cap)
 * 
 * def glEnableVertexAttribArray(index):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEnableVertexAttribArray(index)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_117glEnableVertexAttribArray, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 425, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glEnableVertexAttribArray, __pyx_t_1) < 0) __PYX_ERR(1, 425, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":428
 *     renpy.uguu.gl.glEnableVertexAttribArray(index)
 * 
 * def glEndQuery(target):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEndQuery(target)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_119glEndQuery, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 428, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glEndQuery, __pyx_t_1) < 0) __PYX_ERR(1, 428, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":431
 *     renpy.uguu.gl.glEndQuery(target)
 * 
 * def glEndTransformFeedback():             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glEndTransformFeedback()
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_121glEndTransformFeedback, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 431, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glEndTransformFeedback, __pyx_t_1) < 0) __PYX_ERR(1, 431, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":434
 *     renpy.uguu.gl.glEndTransformFeedback()
 * 
 * def glFinish():             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFinish()
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_123glFinish, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 434, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glFinish, __pyx_t_1) < 0) __PYX_ERR(1, 434, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":437
 *     renpy.uguu.gl.glFinish()
 * 
 * def glFlush():             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFlush()
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_125glFlush, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 437, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glFlush, __pyx_t_1) < 0) __PYX_ERR(1, 437, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":440
 *     renpy.uguu.gl.glFlush()
 * 
 * def glFlushMappedBufferRange(target, offset, length):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFlushMappedBufferRange(target, offset, length)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_127glFlushMappedBufferRange, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 440, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glFlushMappedBufferRange, __pyx_t_1) < 0) __PYX_ERR(1, 440, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":443
 *     renpy.uguu.gl.glFlushMappedBufferRange(target, offset, length)
 * 
 * def glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_129glFramebufferRenderbuffer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 443, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glFramebufferRenderbuffer, __pyx_t_1) < 0) __PYX_ERR(1, 443, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":446
 *     renpy.uguu.gl.glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
 * 
 * def glFramebufferTexture2D(target, attachment, textarget, texture, level):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFramebufferTexture2D(target, attachment, textarget, texture, level)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_131glFramebufferTexture2D, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 446, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glFramebufferTexture2D, __pyx_t_1) < 0) __PYX_ERR(1, 446, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":449
 *     renpy.uguu.gl.glFramebufferTexture2D(target, attachment, textarget, texture, level)
 * 
 * def glFramebufferTextureLayer(target, attachment, texture, level, layer):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFramebufferTextureLayer(target, attachment, texture, level, layer)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_133glFramebufferTextureLayer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 449, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glFramebufferTextureLayer, __pyx_t_1) < 0) __PYX_ERR(1, 449, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":452
 *     renpy.uguu.gl.glFramebufferTextureLayer(target, attachment, texture, level, layer)
 * 
 * def glFrontFace(mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glFrontFace(mode)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_135glFrontFace, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 452, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glFrontFace, __pyx_t_1) < 0) __PYX_ERR(1, 452, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":455
 *     renpy.uguu.gl.glFrontFace(mode)
 * 
 * def glGenBuffers(n, buffers):             # <<<<<<<<<<<<<<
 *     cdef ptr buffers_ptr = get_ptr(buffers)
 *     renpy.uguu.gl.glGenBuffers(n, <GLuint *> buffers_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_137glGenBuffers, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 455, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGenBuffers, __pyx_t_1) < 0) __PYX_ERR(1, 455, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":459
 *     renpy.uguu.gl.glGenBuffers(n, <GLuint *> buffers_ptr.ptr)
 * 
 * def glGenFramebuffers(n, framebuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr framebuffers_ptr = get_ptr(framebuffers)
 *     renpy.uguu.gl.glGenFramebuffers(n, <GLuint *> framebuffers_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_139glGenFramebuffers, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 459, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGenFramebuffers, __pyx_t_1) < 0) __PYX_ERR(1, 459, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":463
 *     renpy.uguu.gl.glGenFramebuffers(n, <GLuint *> framebuffers_ptr.ptr)
 * 
 * def glGenQueries(n, ids):             # <<<<<<<<<<<<<<
 *     cdef ptr ids_ptr = get_ptr(ids)
 *     renpy.uguu.gl.glGenQueries(n, <GLuint *> ids_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_141glGenQueries, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 463, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGenQueries, __pyx_t_1) < 0) __PYX_ERR(1, 463, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":467
 *     renpy.uguu.gl.glGenQueries(n, <GLuint *> ids_ptr.ptr)
 * 
 * def glGenRenderbuffers(n, renderbuffers):             # <<<<<<<<<<<<<<
 *     cdef ptr renderbuffers_ptr = get_ptr(renderbuffers)
 *     renpy.uguu.gl.glGenRenderbuffers(n, <GLuint *> renderbuffers_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_143glGenRenderbuffers, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 467, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGenRenderbuffers, __pyx_t_1) < 0) __PYX_ERR(1, 467, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":471
 *     renpy.uguu.gl.glGenRenderbuffers(n, <GLuint *> renderbuffers_ptr.ptr)
 * 
 * def glGenTextures(n, textures):             # <<<<<<<<<<<<<<
 *     cdef ptr textures_ptr = get_ptr(textures)
 *     renpy.uguu.gl.glGenTextures(n, <GLuint *> textures_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_145glGenTextures, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 471, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGenTextures, __pyx_t_1) < 0) __PYX_ERR(1, 471, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":475
 *     renpy.uguu.gl.glGenTextures(n, <GLuint *> textures_ptr.ptr)
 * 
 * def glGenVertexArrays(n, arrays):             # <<<<<<<<<<<<<<
 *     cdef ptr arrays_ptr = get_ptr(arrays)
 *     renpy.uguu.gl.glGenVertexArrays(n, <GLuint *> arrays_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_147glGenVertexArrays, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 475, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGenVertexArrays, __pyx_t_1) < 0) __PYX_ERR(1, 475, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":479
 *     renpy.uguu.gl.glGenVertexArrays(n, <GLuint *> arrays_ptr.ptr)
 * 
 * def glGenerateMipmap(target):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glGenerateMipmap(target)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_149glGenerateMipmap, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 479, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGenerateMipmap, __pyx_t_1) < 0) __PYX_ERR(1, 479, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":482
 *     renpy.uguu.gl.glGenerateMipmap(target)
 * 
 * def glGetActiveAttrib(program, index, bufSize, length, size, type, name):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_151glGetActiveAttrib, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 482, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetActiveAttrib, __pyx_t_1) < 0) __PYX_ERR(1, 482, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":489
 *     renpy.uguu.gl.glGetActiveAttrib(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 * def glGetActiveUniform(program, index, bufSize, length, size, type, name):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_153glGetActiveUniform, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 489, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetActiveUniform, __pyx_t_1) < 0) __PYX_ERR(1, 489, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":496
 *     renpy.uguu.gl.glGetActiveUniform(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLint *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 * def glGetAttachedShaders(program, maxCount, count, shaders):             # <<<<<<<<<<<<<<
 *     cdef ptr count_ptr = get_ptr(count)
 *     cdef ptr shaders_ptr = get_ptr(shaders)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_155glGetAttachedShaders, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 496, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetAttachedShaders, __pyx_t_1) < 0) __PYX_ERR(1, 496, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":501
 *     renpy.uguu.gl.glGetAttachedShaders(program, maxCount, <GLsizei *> count_ptr.ptr, <GLuint *> shaders_ptr.ptr)
 * 
 * def glGetAttribLocation(program, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetAttribLocation(program, <const GLchar *> name_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_157glGetAttribLocation, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 501, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetAttribLocation, __pyx_t_1) < 0) __PYX_ERR(1, 501, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":505
 *     return renpy.uguu.gl.glGetAttribLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 * def glGetBooleanv(pname, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetBooleanv(pname, <GLboolean *> data_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_159glGetBooleanv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 505, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetBooleanv, __pyx_t_1) < 0) __PYX_ERR(1, 505, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":509
 *     renpy.uguu.gl.glGetBooleanv(pname, <GLboolean *> data_ptr.ptr)
 * 
 * def glGetBufferParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetBufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_161glGetBufferParameteriv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 509, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetBufferParameteriv, __pyx_t_1) < 0) __PYX_ERR(1, 509, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":513
 *     renpy.uguu.gl.glGetBufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetBufferPointerv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetBufferPointerv(target, pname, <void **> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_163glGetBufferPointerv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 513, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetBufferPointerv, __pyx_t_1) < 0) __PYX_ERR(1, 513, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":517
 *     renpy.uguu.gl.glGetBufferPointerv(target, pname, <void **> params_ptr.ptr)
 * 
 * def glGetError():             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glGetError()
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_165glGetError, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 517, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetError, __pyx_t_1) < 0) __PYX_ERR(1, 517, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":520
 *     return renpy.uguu.gl.glGetError()
 * 
 * def glGetFloatv(pname, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetFloatv(pname, <GLfloat *> data_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_167glGetFloatv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 520, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetFloatv, __pyx_t_1) < 0) __PYX_ERR(1, 520, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":524
 *     renpy.uguu.gl.glGetFloatv(pname, <GLfloat *> data_ptr.ptr)
 * 
 * def glGetFragDataLocation(program, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetFragDataLocation(program, <const GLchar *> name_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_169glGetFragDataLocation, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 524, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetFragDataLocation, __pyx_t_1) < 0) __PYX_ERR(1, 524, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":528
 *     return renpy.uguu.gl.glGetFragDataLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 * def glGetFramebufferAttachmentParameteriv(target, attachment, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_171glGetFramebufferAttachmentParameteriv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 528, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetFramebufferAttachmentParame, __pyx_t_1) < 0) __PYX_ERR(1, 528, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":532
 *     renpy.uguu.gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetIntegeri_v(target, index, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetIntegeri_v(target, index, <GLint *> data_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_173glGetIntegeri_v, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 532, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetIntegeri_v, __pyx_t_1) < 0) __PYX_ERR(1, 532, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":536
 *     renpy.uguu.gl.glGetIntegeri_v(target, index, <GLint *> data_ptr.ptr)
 * 
 * def glGetIntegerv(pname, data):             # <<<<<<<<<<<<<<
 *     cdef ptr data_ptr = get_ptr(data)
 *     renpy.uguu.gl.glGetIntegerv(pname, <GLint *> data_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_175glGetIntegerv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 536, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetIntegerv, __pyx_t_1) < 0) __PYX_ERR(1, 536, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":540
 *     renpy.uguu.gl.glGetIntegerv(pname, <GLint *> data_ptr.ptr)
 * 
 * def glGetProgramInfoLog(program, bufSize, length, infoLog):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_177glGetProgramInfoLog, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 540, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetProgramInfoLog, __pyx_t_1) < 0) __PYX_ERR(1, 540, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":545
 *     renpy.uguu.gl.glGetProgramInfoLog(program, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)
 * 
 * def glGetProgramiv(program, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetProgramiv(program, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_179glGetProgramiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 545, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetProgramiv, __pyx_t_1) < 0) __PYX_ERR(1, 545, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":549
 *     renpy.uguu.gl.glGetProgramiv(program, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetQueryObjectuiv(id, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetQueryObjectuiv(id, pname, <GLuint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_181glGetQueryObjectuiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 549, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetQueryObjectuiv, __pyx_t_1) < 0) __PYX_ERR(1, 549, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":553
 *     renpy.uguu.gl.glGetQueryObjectuiv(id, pname, <GLuint *> params_ptr.ptr)
 * 
 * def glGetQueryiv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetQueryiv(target, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_183glGetQueryiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 553, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetQueryiv, __pyx_t_1) < 0) __PYX_ERR(1, 553, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":557
 *     renpy.uguu.gl.glGetQueryiv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetRenderbufferParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetRenderbufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_185glGetRenderbufferParameteriv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 557, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetRenderbufferParameteriv, __pyx_t_1) < 0) __PYX_ERR(1, 557, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":561
 *     renpy.uguu.gl.glGetRenderbufferParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetShaderInfoLog(shader, bufSize, length, infoLog):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr infoLog_ptr = get_ptr(infoLog)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_187glGetShaderInfoLog, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 561, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetShaderInfoLog, __pyx_t_1) < 0) __PYX_ERR(1, 561, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":566
 *     renpy.uguu.gl.glGetShaderInfoLog(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> infoLog_ptr.ptr)
 * 
 * def glGetShaderSource(shader, bufSize, length, source):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr source_ptr = get_ptr(source)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_189glGetShaderSource, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 566, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetShaderSource, __pyx_t_1) < 0) __PYX_ERR(1, 566, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":571
 *     renpy.uguu.gl.glGetShaderSource(shader, bufSize, <GLsizei *> length_ptr.ptr, <GLchar *> source_ptr.ptr)
 * 
 * def glGetShaderiv(shader, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetShaderiv(shader, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_191glGetShaderiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 571, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetShaderiv, __pyx_t_1) < 0) __PYX_ERR(1, 571, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":575
 *     renpy.uguu.gl.glGetShaderiv(shader, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetString(name):             # <<<<<<<<<<<<<<
 *     return proxy_return_string(renpy.uguu.gl.glGetString(name))
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_193glGetString, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 575, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetString, __pyx_t_1) < 0) __PYX_ERR(1, 575, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":578
 *     return proxy_return_string(renpy.uguu.gl.glGetString(name))
 * 
 * def glGetStringi(name, index):             # <<<<<<<<<<<<<<
 *     return proxy_return_string(renpy.uguu.gl.glGetStringi(name, index))
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_195glGetStringi, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 578, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetStringi, __pyx_t_1) < 0) __PYX_ERR(1, 578, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":581
 *     return proxy_return_string(renpy.uguu.gl.glGetStringi(name, index))
 * 
 * def glGetTexParameterfv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetTexParameterfv(target, pname, <GLfloat *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_197glGetTexParameterfv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 581, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetTexParameterfv, __pyx_t_1) < 0) __PYX_ERR(1, 581, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":585
 *     renpy.uguu.gl.glGetTexParameterfv(target, pname, <GLfloat *> params_ptr.ptr)
 * 
 * def glGetTexParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetTexParameteriv(target, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_199glGetTexParameteriv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 585, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetTexParameteriv, __pyx_t_1) < 0) __PYX_ERR(1, 585, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":589
 *     renpy.uguu.gl.glGetTexParameteriv(target, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name):             # <<<<<<<<<<<<<<
 *     cdef ptr length_ptr = get_ptr(length)
 *     cdef ptr size_ptr = get_ptr(size)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_201glGetTransformFeedbackVarying, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 589, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetTransformFeedbackVarying, __pyx_t_1) < 0) __PYX_ERR(1, 589, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":596
 *     renpy.uguu.gl.glGetTransformFeedbackVarying(program, index, bufSize, <GLsizei *> length_ptr.ptr, <GLsizei *> size_ptr.ptr, <GLenum *> type_ptr.ptr, <GLchar *> name_ptr.ptr)
 * 
 * def glGetUniformLocation(program, name):             # <<<<<<<<<<<<<<
 *     cdef ptr name_ptr = get_ptr(name)
 *     return renpy.uguu.gl.glGetUniformLocation(program, <const GLchar *> name_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_203glGetUniformLocation, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 596, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetUniformLocation, __pyx_t_1) < 0) __PYX_ERR(1, 596, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":600
 *     return renpy.uguu.gl.glGetUniformLocation(program, <const GLchar *> name_ptr.ptr)
 * 
 * def glGetUniformfv(program, location, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformfv(program, location, <GLfloat *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_205glGetUniformfv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 600, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetUniformfv, __pyx_t_1) < 0) __PYX_ERR(1, 600, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":604
 *     renpy.uguu.gl.glGetUniformfv(program, location, <GLfloat *> params_ptr.ptr)
 * 
 * def glGetUniformiv(program, location, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformiv(program, location, <GLint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_207glGetUniformiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 604, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetUniformiv, __pyx_t_1) < 0) __PYX_ERR(1, 604, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":608
 *     renpy.uguu.gl.glGetUniformiv(program, location, <GLint *> params_ptr.ptr)
 * 
 * def glGetUniformuiv(program, location, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetUniformuiv(program, location, <GLuint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_209glGetUniformuiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 608, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetUniformuiv, __pyx_t_1) < 0) __PYX_ERR(1, 608, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":612
 *     renpy.uguu.gl.glGetUniformuiv(program, location, <GLuint *> params_ptr.ptr)
 * 
 * def glGetVertexAttribIiv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribIiv(index, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_211glGetVertexAttribIiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 612, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetVertexAttribIiv, __pyx_t_1) < 0) __PYX_ERR(1, 612, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":616
 *     renpy.uguu.gl.glGetVertexAttribIiv(index, pname, <GLint *> params_ptr.ptr)
 * 
 * def glGetVertexAttribIuiv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribIuiv(index, pname, <GLuint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_213glGetVertexAttribIuiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 616, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetVertexAttribIuiv, __pyx_t_1) < 0) __PYX_ERR(1, 616, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":620
 *     renpy.uguu.gl.glGetVertexAttribIuiv(index, pname, <GLuint *> params_ptr.ptr)
 * 
 * def glGetVertexAttribPointerv(index, pname, pointer):             # <<<<<<<<<<<<<<
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glGetVertexAttribPointerv(index, pname, <void **> pointer_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_215glGetVertexAttribPointerv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 620, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetVertexAttribPointerv, __pyx_t_1) < 0) __PYX_ERR(1, 620, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":624
 *     renpy.uguu.gl.glGetVertexAttribPointerv(index, pname, <void **> pointer_ptr.ptr)
 * 
 * def glGetVertexAttribfv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribfv(index, pname, <GLfloat *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_217glGetVertexAttribfv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 624, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetVertexAttribfv, __pyx_t_1) < 0) __PYX_ERR(1, 624, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":628
 *     renpy.uguu.gl.glGetVertexAttribfv(index, pname, <GLfloat *> params_ptr.ptr)
 * 
 * def glGetVertexAttribiv(index, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glGetVertexAttribiv(index, pname, <GLint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_219glGetVertexAttribiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 628, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glGetVertexAttribiv, __pyx_t_1) < 0) __PYX_ERR(1, 628, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":632
 *     renpy.uguu.gl.glGetVertexAttribiv(index, pname, <GLint *> params_ptr.ptr)
 * 
 * def glHint(target, mode):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glHint(target, mode)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_221glHint, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 632, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glHint, __pyx_t_1) < 0) __PYX_ERR(1, 632, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":635
 *     renpy.uguu.gl.glHint(target, mode)
 * 
 * def glIsBuffer(buffer):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsBuffer(buffer)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_223glIsBuffer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 635, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glIsBuffer, __pyx_t_1) < 0) __PYX_ERR(1, 635, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":638
 *     return renpy.uguu.gl.glIsBuffer(buffer)
 * 
 * def glIsEnabled(cap):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsEnabled(cap)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_225glIsEnabled, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 638, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glIsEnabled, __pyx_t_1) < 0) __PYX_ERR(1, 638, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":641
 *     return renpy.uguu.gl.glIsEnabled(cap)
 * 
 * def glIsFramebuffer(framebuffer):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsFramebuffer(framebuffer)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_227glIsFramebuffer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 641, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glIsFramebuffer, __pyx_t_1) < 0) __PYX_ERR(1, 641, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":644
 *     return renpy.uguu.gl.glIsFramebuffer(framebuffer)
 * 
 * def glIsProgram(program):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsProgram(program)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_229glIsProgram, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 644, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glIsProgram, __pyx_t_1) < 0) __PYX_ERR(1, 644, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":647
 *     return renpy.uguu.gl.glIsProgram(program)
 * 
 * def glIsQuery(id):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsQuery(id)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_231glIsQuery, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 647, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glIsQuery, __pyx_t_1) < 0) __PYX_ERR(1, 647, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":650
 *     return renpy.uguu.gl.glIsQuery(id)
 * 
 * def glIsRenderbuffer(renderbuffer):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsRenderbuffer(renderbuffer)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_233glIsRenderbuffer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 650, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glIsRenderbuffer, __pyx_t_1) < 0) __PYX_ERR(1, 650, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":653
 *     return renpy.uguu.gl.glIsRenderbuffer(renderbuffer)
 * 
 * def glIsShader(shader):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsShader(shader)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_235glIsShader, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 653, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glIsShader, __pyx_t_1) < 0) __PYX_ERR(1, 653, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":656
 *     return renpy.uguu.gl.glIsShader(shader)
 * 
 * def glIsTexture(texture):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsTexture(texture)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_237glIsTexture, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 656, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glIsTexture, __pyx_t_1) < 0) __PYX_ERR(1, 656, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":659
 *     return renpy.uguu.gl.glIsTexture(texture)
 * 
 * def glIsVertexArray(array):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glIsVertexArray(array)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_239glIsVertexArray, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 659, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glIsVertexArray, __pyx_t_1) < 0) __PYX_ERR(1, 659, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":662
 *     return renpy.uguu.gl.glIsVertexArray(array)
 * 
 * def glLineWidth(width):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glLineWidth(width)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_241glLineWidth, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 662, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glLineWidth, __pyx_t_1) < 0) __PYX_ERR(1, 662, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":665
 *     renpy.uguu.gl.glLineWidth(width)
 * 
 * def glLinkProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glLinkProgram(program)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_243glLinkProgram, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 665, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glLinkProgram, __pyx_t_1) < 0) __PYX_ERR(1, 665, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":668
 *     renpy.uguu.gl.glLinkProgram(program)
 * 
 * def glPixelStorei(pname, param):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glPixelStorei(pname, param)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_245glPixelStorei, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 668, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glPixelStorei, __pyx_t_1) < 0) __PYX_ERR(1, 668, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":671
 *     renpy.uguu.gl.glPixelStorei(pname, param)
 * 
 * def glPolygonOffset(factor, units):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glPolygonOffset(factor, units)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_247glPolygonOffset, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 671, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glPolygonOffset, __pyx_t_1) < 0) __PYX_ERR(1, 671, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":674
 *     renpy.uguu.gl.glPolygonOffset(factor, units)
 * 
 * def glReadBuffer(src):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glReadBuffer(src)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_249glReadBuffer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 674, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glReadBuffer, __pyx_t_1) < 0) __PYX_ERR(1, 674, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":677
 *     renpy.uguu.gl.glReadBuffer(src)
 * 
 * def glReadPixels(x, y, width, height, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glReadPixels(x, y, width, height, format, type, <void *> pixels_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_251glReadPixels, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 677, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glReadPixels, __pyx_t_1) < 0) __PYX_ERR(1, 677, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":681
 *     renpy.uguu.gl.glReadPixels(x, y, width, height, format, type, <void *> pixels_ptr.ptr)
 * 
 * def glRenderbufferStorage(target, internalformat, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glRenderbufferStorage(target, internalformat, width, height)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_253glRenderbufferStorage, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 681, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glRenderbufferStorage, __pyx_t_1) < 0) __PYX_ERR(1, 681, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":684
 *     renpy.uguu.gl.glRenderbufferStorage(target, internalformat, width, height)
 * 
 * def glRenderbufferStorageMultisample(target, samples, internalformat, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glRenderbufferStorageMultisample(target, samples, internalformat, width, height)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_255glRenderbufferStorageMultisample, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 684, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glRenderbufferStorageMultisample, __pyx_t_1) < 0) __PYX_ERR(1, 684, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":687
 *     renpy.uguu.gl.glRenderbufferStorageMultisample(target, samples, internalformat, width, height)
 * 
 * def glSampleCoverage(value, invert):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glSampleCoverage(value, invert)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_257glSampleCoverage, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 687, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glSampleCoverage, __pyx_t_1) < 0) __PYX_ERR(1, 687, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":690
 *     renpy.uguu.gl.glSampleCoverage(value, invert)
 * 
 * def glScissor(x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glScissor(x, y, width, height)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_259glScissor, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 690, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glScissor, __pyx_t_1) < 0) __PYX_ERR(1, 690, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":693
 *     renpy.uguu.gl.glScissor(x, y, width, height)
 * 
 * def glShaderSource(shader, count, string, length):             # <<<<<<<<<<<<<<
 *     cdef ptr string_ptr = get_ptr(string)
 *     cdef ptr length_ptr = get_ptr(length)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_261glShaderSource, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 693, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glShaderSource, __pyx_t_1) < 0) __PYX_ERR(1, 693, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":698
 *     renpy.uguu.gl.glShaderSource(shader, count, <const GLchar *const*> string_ptr.ptr, <const GLint *> length_ptr.ptr)
 * 
 * def glStencilFunc(func, ref, mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilFunc(func, ref, mask)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_263glStencilFunc, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 698, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glStencilFunc, __pyx_t_1) < 0) __PYX_ERR(1, 698, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":701
 *     renpy.uguu.gl.glStencilFunc(func, ref, mask)
 * 
 * def glStencilFuncSeparate(face, func, ref, mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilFuncSeparate(face, func, ref, mask)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_265glStencilFuncSeparate, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 701, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glStencilFuncSeparate, __pyx_t_1) < 0) __PYX_ERR(1, 701, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":704
 *     renpy.uguu.gl.glStencilFuncSeparate(face, func, ref, mask)
 * 
 * def glStencilMask(mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilMask(mask)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_267glStencilMask, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 704, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glStencilMask, __pyx_t_1) < 0) __PYX_ERR(1, 704, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":707
 *     renpy.uguu.gl.glStencilMask(mask)
 * 
 * def glStencilMaskSeparate(face, mask):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilMaskSeparate(face, mask)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_269glStencilMaskSeparate, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 707, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glStencilMaskSeparate, __pyx_t_1) < 0) __PYX_ERR(1, 707, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":710
 *     renpy.uguu.gl.glStencilMaskSeparate(face, mask)
 * 
 * def glStencilOp(fail, zfail, zpass):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilOp(fail, zfail, zpass)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_271glStencilOp, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 710, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glStencilOp, __pyx_t_1) < 0) __PYX_ERR(1, 710, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":713
 *     renpy.uguu.gl.glStencilOp(fail, zfail, zpass)
 * 
 * def glStencilOpSeparate(face, sfail, dpfail, dppass):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glStencilOpSeparate(face, sfail, dpfail, dppass)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_273glStencilOpSeparate, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 713, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glStencilOpSeparate, __pyx_t_1) < 0) __PYX_ERR(1, 713, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":716
 *     renpy.uguu.gl.glStencilOpSeparate(face, sfail, dpfail, dppass)
 * 
 * def glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexImage2D(target, level, internalformat, width, height, border, format, type, <const void *> pixels_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_275glTexImage2D, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 716, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glTexImage2D, __pyx_t_1) < 0) __PYX_ERR(1, 716, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":720
 *     renpy.uguu.gl.glTexImage2D(target, level, internalformat, width, height, border, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, <const void *> pixels_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_277glTexImage3D, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 720, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glTexImage3D, __pyx_t_1) < 0) __PYX_ERR(1, 720, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":724
 *     renpy.uguu.gl.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTexParameterf(target, pname, param):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexParameterf(target, pname, param)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_279glTexParameterf, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 724, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glTexParameterf, __pyx_t_1) < 0) __PYX_ERR(1, 724, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":727
 *     renpy.uguu.gl.glTexParameterf(target, pname, param)
 * 
 * def glTexParameterfv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glTexParameterfv(target, pname, <const GLfloat *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_281glTexParameterfv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 727, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glTexParameterfv, __pyx_t_1) < 0) __PYX_ERR(1, 727, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":731
 *     renpy.uguu.gl.glTexParameterfv(target, pname, <const GLfloat *> params_ptr.ptr)
 * 
 * def glTexParameteri(target, pname, param):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glTexParameteri(target, pname, param)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_283glTexParameteri, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 731, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glTexParameteri, __pyx_t_1) < 0) __PYX_ERR(1, 731, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":734
 *     renpy.uguu.gl.glTexParameteri(target, pname, param)
 * 
 * def glTexParameteriv(target, pname, params):             # <<<<<<<<<<<<<<
 *     cdef ptr params_ptr = get_ptr(params)
 *     renpy.uguu.gl.glTexParameteriv(target, pname, <const GLint *> params_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_285glTexParameteriv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 734, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glTexParameteriv, __pyx_t_1) < 0) __PYX_ERR(1, 734, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":738
 *     renpy.uguu.gl.glTexParameteriv(target, pname, <const GLint *> params_ptr.ptr)
 * 
 * def glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, <const void *> pixels_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_287glTexSubImage2D, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 738, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glTexSubImage2D, __pyx_t_1) < 0) __PYX_ERR(1, 738, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":742
 *     renpy.uguu.gl.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels):             # <<<<<<<<<<<<<<
 *     cdef ptr pixels_ptr = get_ptr(pixels)
 *     renpy.uguu.gl.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, <const void *> pixels_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_289glTexSubImage3D, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 742, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glTexSubImage3D, __pyx_t_1) < 0) __PYX_ERR(1, 742, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":746
 *     renpy.uguu.gl.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, <const void *> pixels_ptr.ptr)
 * 
 * def glTransformFeedbackVaryings(program, count, varyings, bufferMode):             # <<<<<<<<<<<<<<
 *     cdef ptr varyings_ptr = get_ptr(varyings)
 *     renpy.uguu.gl.glTransformFeedbackVaryings(program, count, <const GLchar *const*> varyings_ptr.ptr, bufferMode)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_291glTransformFeedbackVaryings, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 746, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glTransformFeedbackVaryings, __pyx_t_1) < 0) __PYX_ERR(1, 746, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":750
 *     renpy.uguu.gl.glTransformFeedbackVaryings(program, count, <const GLchar *const*> varyings_ptr.ptr, bufferMode)
 * 
 * def glUniform1f(location, v0):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1f(location, v0)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_293glUniform1f, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 750, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform1f, __pyx_t_1) < 0) __PYX_ERR(1, 750, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":753
 *     renpy.uguu.gl.glUniform1f(location, v0)
 * 
 * def glUniform1fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1fv(location, count, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_295glUniform1fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 753, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform1fv, __pyx_t_1) < 0) __PYX_ERR(1, 753, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":757
 *     renpy.uguu.gl.glUniform1fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform1i(location, v0):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1i(location, v0)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_297glUniform1i, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 757, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform1i, __pyx_t_1) < 0) __PYX_ERR(1, 757, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":760
 *     renpy.uguu.gl.glUniform1i(location, v0)
 * 
 * def glUniform1iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1iv(location, count, <const GLint *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_299glUniform1iv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 760, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform1iv, __pyx_t_1) < 0) __PYX_ERR(1, 760, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":764
 *     renpy.uguu.gl.glUniform1iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform1ui(location, v0):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform1ui(location, v0)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_301glUniform1ui, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 764, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform1ui, __pyx_t_1) < 0) __PYX_ERR(1, 764, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":767
 *     renpy.uguu.gl.glUniform1ui(location, v0)
 * 
 * def glUniform1uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform1uiv(location, count, <const GLuint *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_303glUniform1uiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 767, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform1uiv, __pyx_t_1) < 0) __PYX_ERR(1, 767, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":771
 *     renpy.uguu.gl.glUniform1uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniform2f(location, v0, v1):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2f(location, v0, v1)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_305glUniform2f, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 771, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform2f, __pyx_t_1) < 0) __PYX_ERR(1, 771, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":774
 *     renpy.uguu.gl.glUniform2f(location, v0, v1)
 * 
 * def glUniform2fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2fv(location, count, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_307glUniform2fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 774, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform2fv, __pyx_t_1) < 0) __PYX_ERR(1, 774, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":778
 *     renpy.uguu.gl.glUniform2fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform2i(location, v0, v1):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2i(location, v0, v1)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_309glUniform2i, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 778, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform2i, __pyx_t_1) < 0) __PYX_ERR(1, 778, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":781
 *     renpy.uguu.gl.glUniform2i(location, v0, v1)
 * 
 * def glUniform2iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2iv(location, count, <const GLint *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_311glUniform2iv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 781, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform2iv, __pyx_t_1) < 0) __PYX_ERR(1, 781, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":785
 *     renpy.uguu.gl.glUniform2iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform2ui(location, v0, v1):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform2ui(location, v0, v1)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_313glUniform2ui, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 785, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform2ui, __pyx_t_1) < 0) __PYX_ERR(1, 785, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":788
 *     renpy.uguu.gl.glUniform2ui(location, v0, v1)
 * 
 * def glUniform2uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform2uiv(location, count, <const GLuint *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_315glUniform2uiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 788, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform2uiv, __pyx_t_1) < 0) __PYX_ERR(1, 788, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":792
 *     renpy.uguu.gl.glUniform2uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniform3f(location, v0, v1, v2):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3f(location, v0, v1, v2)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_317glUniform3f, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 792, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform3f, __pyx_t_1) < 0) __PYX_ERR(1, 792, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":795
 *     renpy.uguu.gl.glUniform3f(location, v0, v1, v2)
 * 
 * def glUniform3fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3fv(location, count, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_319glUniform3fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 795, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform3fv, __pyx_t_1) < 0) __PYX_ERR(1, 795, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":799
 *     renpy.uguu.gl.glUniform3fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform3i(location, v0, v1, v2):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3i(location, v0, v1, v2)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_321glUniform3i, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 799, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform3i, __pyx_t_1) < 0) __PYX_ERR(1, 799, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":802
 *     renpy.uguu.gl.glUniform3i(location, v0, v1, v2)
 * 
 * def glUniform3iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3iv(location, count, <const GLint *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_323glUniform3iv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 802, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform3iv, __pyx_t_1) < 0) __PYX_ERR(1, 802, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":806
 *     renpy.uguu.gl.glUniform3iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform3ui(location, v0, v1, v2):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform3ui(location, v0, v1, v2)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_325glUniform3ui, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 806, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform3ui, __pyx_t_1) < 0) __PYX_ERR(1, 806, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":809
 *     renpy.uguu.gl.glUniform3ui(location, v0, v1, v2)
 * 
 * def glUniform3uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform3uiv(location, count, <const GLuint *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_327glUniform3uiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 809, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform3uiv, __pyx_t_1) < 0) __PYX_ERR(1, 809, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":813
 *     renpy.uguu.gl.glUniform3uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniform4f(location, v0, v1, v2, v3):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4f(location, v0, v1, v2, v3)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_329glUniform4f, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 813, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform4f, __pyx_t_1) < 0) __PYX_ERR(1, 813, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":816
 *     renpy.uguu.gl.glUniform4f(location, v0, v1, v2, v3)
 * 
 * def glUniform4fv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4fv(location, count, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_331glUniform4fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 816, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform4fv, __pyx_t_1) < 0) __PYX_ERR(1, 816, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":820
 *     renpy.uguu.gl.glUniform4fv(location, count, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniform4i(location, v0, v1, v2, v3):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4i(location, v0, v1, v2, v3)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_333glUniform4i, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 820, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform4i, __pyx_t_1) < 0) __PYX_ERR(1, 820, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":823
 *     renpy.uguu.gl.glUniform4i(location, v0, v1, v2, v3)
 * 
 * def glUniform4iv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4iv(location, count, <const GLint *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_335glUniform4iv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 823, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform4iv, __pyx_t_1) < 0) __PYX_ERR(1, 823, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":827
 *     renpy.uguu.gl.glUniform4iv(location, count, <const GLint *> value_ptr.ptr)
 * 
 * def glUniform4ui(location, v0, v1, v2, v3):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUniform4ui(location, v0, v1, v2, v3)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_337glUniform4ui, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 827, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform4ui, __pyx_t_1) < 0) __PYX_ERR(1, 827, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":830
 *     renpy.uguu.gl.glUniform4ui(location, v0, v1, v2, v3)
 * 
 * def glUniform4uiv(location, count, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniform4uiv(location, count, <const GLuint *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_339glUniform4uiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 830, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniform4uiv, __pyx_t_1) < 0) __PYX_ERR(1, 830, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":834
 *     renpy.uguu.gl.glUniform4uiv(location, count, <const GLuint *> value_ptr.ptr)
 * 
 * def glUniformMatrix2fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_341glUniformMatrix2fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 834, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniformMatrix2fv, __pyx_t_1) < 0) __PYX_ERR(1, 834, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":838
 *     renpy.uguu.gl.glUniformMatrix2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix2x3fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_343glUniformMatrix2x3fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 838, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniformMatrix2x3fv, __pyx_t_1) < 0) __PYX_ERR(1, 838, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":842
 *     renpy.uguu.gl.glUniformMatrix2x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix2x4fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix2x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_345glUniformMatrix2x4fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 842, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniformMatrix2x4fv, __pyx_t_1) < 0) __PYX_ERR(1, 842, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":846
 *     renpy.uguu.gl.glUniformMatrix2x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix3fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_347glUniformMatrix3fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 846, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniformMatrix3fv, __pyx_t_1) < 0) __PYX_ERR(1, 846, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":850
 *     renpy.uguu.gl.glUniformMatrix3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix3x2fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_349glUniformMatrix3x2fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 850, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniformMatrix3x2fv, __pyx_t_1) < 0) __PYX_ERR(1, 850, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":854
 *     renpy.uguu.gl.glUniformMatrix3x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix3x4fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix3x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_351glUniformMatrix3x4fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 854, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniformMatrix3x4fv, __pyx_t_1) < 0) __PYX_ERR(1, 854, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":858
 *     renpy.uguu.gl.glUniformMatrix3x4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix4fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_353glUniformMatrix4fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 858, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniformMatrix4fv, __pyx_t_1) < 0) __PYX_ERR(1, 858, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":862
 *     renpy.uguu.gl.glUniformMatrix4fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix4x2fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_355glUniformMatrix4x2fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 862, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniformMatrix4x2fv, __pyx_t_1) < 0) __PYX_ERR(1, 862, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":866
 *     renpy.uguu.gl.glUniformMatrix4x2fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUniformMatrix4x3fv(location, count, transpose, value):             # <<<<<<<<<<<<<<
 *     cdef ptr value_ptr = get_ptr(value)
 *     renpy.uguu.gl.glUniformMatrix4x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_357glUniformMatrix4x3fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 866, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUniformMatrix4x3fv, __pyx_t_1) < 0) __PYX_ERR(1, 866, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":870
 *     renpy.uguu.gl.glUniformMatrix4x3fv(location, count, transpose, <const GLfloat *> value_ptr.ptr)
 * 
 * def glUnmapBuffer(target):             # <<<<<<<<<<<<<<
 *     return renpy.uguu.gl.glUnmapBuffer(target)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_359glUnmapBuffer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 870, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUnmapBuffer, __pyx_t_1) < 0) __PYX_ERR(1, 870, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":873
 *     return renpy.uguu.gl.glUnmapBuffer(target)
 * 
 * def glUseProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glUseProgram(program)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_361glUseProgram, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 873, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glUseProgram, __pyx_t_1) < 0) __PYX_ERR(1, 873, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":876
 *     renpy.uguu.gl.glUseProgram(program)
 * 
 * def glValidateProgram(program):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glValidateProgram(program)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_363glValidateProgram, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 876, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glValidateProgram, __pyx_t_1) < 0) __PYX_ERR(1, 876, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":879
 *     renpy.uguu.gl.glValidateProgram(program)
 * 
 * def glVertexAttrib1f(index, x):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib1f(index, x)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_365glVertexAttrib1f, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 879, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttrib1f, __pyx_t_1) < 0) __PYX_ERR(1, 879, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":882
 *     renpy.uguu.gl.glVertexAttrib1f(index, x)
 * 
 * def glVertexAttrib1fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib1fv(index, <const GLfloat *> v_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_367glVertexAttrib1fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 882, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttrib1fv, __pyx_t_1) < 0) __PYX_ERR(1, 882, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":886
 *     renpy.uguu.gl.glVertexAttrib1fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttrib2f(index, x, y):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib2f(index, x, y)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_369glVertexAttrib2f, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 886, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttrib2f, __pyx_t_1) < 0) __PYX_ERR(1, 886, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":889
 *     renpy.uguu.gl.glVertexAttrib2f(index, x, y)
 * 
 * def glVertexAttrib2fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib2fv(index, <const GLfloat *> v_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_371glVertexAttrib2fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 889, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttrib2fv, __pyx_t_1) < 0) __PYX_ERR(1, 889, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":893
 *     renpy.uguu.gl.glVertexAttrib2fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttrib3f(index, x, y, z):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib3f(index, x, y, z)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_373glVertexAttrib3f, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 893, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttrib3f, __pyx_t_1) < 0) __PYX_ERR(1, 893, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":896
 *     renpy.uguu.gl.glVertexAttrib3f(index, x, y, z)
 * 
 * def glVertexAttrib3fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib3fv(index, <const GLfloat *> v_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_375glVertexAttrib3fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 896, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttrib3fv, __pyx_t_1) < 0) __PYX_ERR(1, 896, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":900
 *     renpy.uguu.gl.glVertexAttrib3fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttrib4f(index, x, y, z, w):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttrib4f(index, x, y, z, w)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_377glVertexAttrib4f, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 900, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttrib4f, __pyx_t_1) < 0) __PYX_ERR(1, 900, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":903
 *     renpy.uguu.gl.glVertexAttrib4f(index, x, y, z, w)
 * 
 * def glVertexAttrib4fv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttrib4fv(index, <const GLfloat *> v_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_379glVertexAttrib4fv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 903, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttrib4fv, __pyx_t_1) < 0) __PYX_ERR(1, 903, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":907
 *     renpy.uguu.gl.glVertexAttrib4fv(index, <const GLfloat *> v_ptr.ptr)
 * 
 * def glVertexAttribI4i(index, x, y, z, w):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttribI4i(index, x, y, z, w)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_381glVertexAttribI4i, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 907, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttribI4i, __pyx_t_1) < 0) __PYX_ERR(1, 907, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":910
 *     renpy.uguu.gl.glVertexAttribI4i(index, x, y, z, w)
 * 
 * def glVertexAttribI4iv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttribI4iv(index, <const GLint *> v_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_383glVertexAttribI4iv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 910, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttribI4iv, __pyx_t_1) < 0) __PYX_ERR(1, 910, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":914
 *     renpy.uguu.gl.glVertexAttribI4iv(index, <const GLint *> v_ptr.ptr)
 * 
 * def glVertexAttribI4ui(index, x, y, z, w):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glVertexAttribI4ui(index, x, y, z, w)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_385glVertexAttribI4ui, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 914, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttribI4ui, __pyx_t_1) < 0) __PYX_ERR(1, 914, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":917
 *     renpy.uguu.gl.glVertexAttribI4ui(index, x, y, z, w)
 * 
 * def glVertexAttribI4uiv(index, v):             # <<<<<<<<<<<<<<
 *     cdef ptr v_ptr = get_ptr(v)
 *     renpy.uguu.gl.glVertexAttribI4uiv(index, <const GLuint *> v_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_387glVertexAttribI4uiv, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 917, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttribI4uiv, __pyx_t_1) < 0) __PYX_ERR(1, 917, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":921
 *     renpy.uguu.gl.glVertexAttribI4uiv(index, <const GLuint *> v_ptr.ptr)
 * 
 * def glVertexAttribIPointer(index, size, type, stride, pointer):             # <<<<<<<<<<<<<<
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glVertexAttribIPointer(index, size, type, stride, <const void *> pointer_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_389glVertexAttribIPointer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 921, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttribIPointer, __pyx_t_1) < 0) __PYX_ERR(1, 921, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":925
 *     renpy.uguu.gl.glVertexAttribIPointer(index, size, type, stride, <const void *> pointer_ptr.ptr)
 * 
 * def glVertexAttribPointer(index, size, type, normalized, stride, pointer):             # <<<<<<<<<<<<<<
 *     cdef ptr pointer_ptr = get_ptr(pointer)
 *     renpy.uguu.gl.glVertexAttribPointer(index, size, type, normalized, stride, <const void *> pointer_ptr.ptr)
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_391glVertexAttribPointer, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 925, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glVertexAttribPointer, __pyx_t_1) < 0) __PYX_ERR(1, 925, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":929
 *     renpy.uguu.gl.glVertexAttribPointer(index, size, type, normalized, stride, <const void *> pointer_ptr.ptr)
 * 
 * def glViewport(x, y, width, height):             # <<<<<<<<<<<<<<
 *     renpy.uguu.gl.glViewport(x, y, width, height)
 * 
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_4uguu_4uguu_393glViewport, NULL, __pyx_n_s_renpy_uguu_uguu); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 929, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_glViewport, __pyx_t_1) < 0) __PYX_ERR(1, 929, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":932
 *     renpy.uguu.gl.glViewport(x, y, width, height)
 * 
 * GL_FALSE = renpy.uguu.gl.GL_FALSE             # <<<<<<<<<<<<<<
 * GL_NONE = renpy.uguu.gl.GL_NONE
 * GL_NO_ERROR = renpy.uguu.gl.GL_NO_ERROR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FALSE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 932, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FALSE, __pyx_t_1) < 0) __PYX_ERR(1, 932, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":933
 * 
 * GL_FALSE = renpy.uguu.gl.GL_FALSE
 * GL_NONE = renpy.uguu.gl.GL_NONE             # <<<<<<<<<<<<<<
 * GL_NO_ERROR = renpy.uguu.gl.GL_NO_ERROR
 * GL_POINTS = renpy.uguu.gl.GL_POINTS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_NONE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 933, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_NONE, __pyx_t_1) < 0) __PYX_ERR(1, 933, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":934
 * GL_FALSE = renpy.uguu.gl.GL_FALSE
 * GL_NONE = renpy.uguu.gl.GL_NONE
 * GL_NO_ERROR = renpy.uguu.gl.GL_NO_ERROR             # <<<<<<<<<<<<<<
 * GL_POINTS = renpy.uguu.gl.GL_POINTS
 * GL_ZERO = renpy.uguu.gl.GL_ZERO
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_NO_ERROR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 934, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_NO_ERROR, __pyx_t_1) < 0) __PYX_ERR(1, 934, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":935
 * GL_NONE = renpy.uguu.gl.GL_NONE
 * GL_NO_ERROR = renpy.uguu.gl.GL_NO_ERROR
 * GL_POINTS = renpy.uguu.gl.GL_POINTS             # <<<<<<<<<<<<<<
 * GL_ZERO = renpy.uguu.gl.GL_ZERO
 * GL_LINES = renpy.uguu.gl.GL_LINES
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_POINTS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 935, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_POINTS, __pyx_t_1) < 0) __PYX_ERR(1, 935, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":936
 * GL_NO_ERROR = renpy.uguu.gl.GL_NO_ERROR
 * GL_POINTS = renpy.uguu.gl.GL_POINTS
 * GL_ZERO = renpy.uguu.gl.GL_ZERO             # <<<<<<<<<<<<<<
 * GL_LINES = renpy.uguu.gl.GL_LINES
 * GL_MAP_READ_BIT = renpy.uguu.gl.GL_MAP_READ_BIT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ZERO); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 936, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ZERO, __pyx_t_1) < 0) __PYX_ERR(1, 936, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":937
 * GL_POINTS = renpy.uguu.gl.GL_POINTS
 * GL_ZERO = renpy.uguu.gl.GL_ZERO
 * GL_LINES = renpy.uguu.gl.GL_LINES             # <<<<<<<<<<<<<<
 * GL_MAP_READ_BIT = renpy.uguu.gl.GL_MAP_READ_BIT
 * GL_ONE = renpy.uguu.gl.GL_ONE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_LINES); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 937, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_LINES, __pyx_t_1) < 0) __PYX_ERR(1, 937, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":938
 * GL_ZERO = renpy.uguu.gl.GL_ZERO
 * GL_LINES = renpy.uguu.gl.GL_LINES
 * GL_MAP_READ_BIT = renpy.uguu.gl.GL_MAP_READ_BIT             # <<<<<<<<<<<<<<
 * GL_ONE = renpy.uguu.gl.GL_ONE
 * GL_TRUE = renpy.uguu.gl.GL_TRUE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAP_READ_BIT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 938, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAP_READ_BIT, __pyx_t_1) < 0) __PYX_ERR(1, 938, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":939
 * GL_LINES = renpy.uguu.gl.GL_LINES
 * GL_MAP_READ_BIT = renpy.uguu.gl.GL_MAP_READ_BIT
 * GL_ONE = renpy.uguu.gl.GL_ONE             # <<<<<<<<<<<<<<
 * GL_TRUE = renpy.uguu.gl.GL_TRUE
 * GL_LINE_LOOP = renpy.uguu.gl.GL_LINE_LOOP
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ONE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 939, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ONE, __pyx_t_1) < 0) __PYX_ERR(1, 939, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":940
 * GL_MAP_READ_BIT = renpy.uguu.gl.GL_MAP_READ_BIT
 * GL_ONE = renpy.uguu.gl.GL_ONE
 * GL_TRUE = renpy.uguu.gl.GL_TRUE             # <<<<<<<<<<<<<<
 * GL_LINE_LOOP = renpy.uguu.gl.GL_LINE_LOOP
 * GL_MAP_WRITE_BIT = renpy.uguu.gl.GL_MAP_WRITE_BIT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TRUE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 940, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TRUE, __pyx_t_1) < 0) __PYX_ERR(1, 940, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":941
 * GL_ONE = renpy.uguu.gl.GL_ONE
 * GL_TRUE = renpy.uguu.gl.GL_TRUE
 * GL_LINE_LOOP = renpy.uguu.gl.GL_LINE_LOOP             # <<<<<<<<<<<<<<
 * GL_MAP_WRITE_BIT = renpy.uguu.gl.GL_MAP_WRITE_BIT
 * GL_LINE_STRIP = renpy.uguu.gl.GL_LINE_STRIP
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_LINE_LOOP); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 941, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_LINE_LOOP, __pyx_t_1) < 0) __PYX_ERR(1, 941, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":942
 * GL_TRUE = renpy.uguu.gl.GL_TRUE
 * GL_LINE_LOOP = renpy.uguu.gl.GL_LINE_LOOP
 * GL_MAP_WRITE_BIT = renpy.uguu.gl.GL_MAP_WRITE_BIT             # <<<<<<<<<<<<<<
 * GL_LINE_STRIP = renpy.uguu.gl.GL_LINE_STRIP
 * GL_MAP_INVALIDATE_RANGE_BIT = renpy.uguu.gl.GL_MAP_INVALIDATE_RANGE_BIT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAP_WRITE_BIT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 942, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAP_WRITE_BIT, __pyx_t_1) < 0) __PYX_ERR(1, 942, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":943
 * GL_LINE_LOOP = renpy.uguu.gl.GL_LINE_LOOP
 * GL_MAP_WRITE_BIT = renpy.uguu.gl.GL_MAP_WRITE_BIT
 * GL_LINE_STRIP = renpy.uguu.gl.GL_LINE_STRIP             # <<<<<<<<<<<<<<
 * GL_MAP_INVALIDATE_RANGE_BIT = renpy.uguu.gl.GL_MAP_INVALIDATE_RANGE_BIT
 * GL_TRIANGLES = renpy.uguu.gl.GL_TRIANGLES
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_LINE_STRIP); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 943, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_LINE_STRIP, __pyx_t_1) < 0) __PYX_ERR(1, 943, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":944
 * GL_MAP_WRITE_BIT = renpy.uguu.gl.GL_MAP_WRITE_BIT
 * GL_LINE_STRIP = renpy.uguu.gl.GL_LINE_STRIP
 * GL_MAP_INVALIDATE_RANGE_BIT = renpy.uguu.gl.GL_MAP_INVALIDATE_RANGE_BIT             # <<<<<<<<<<<<<<
 * GL_TRIANGLES = renpy.uguu.gl.GL_TRIANGLES
 * GL_TRIANGLE_STRIP = renpy.uguu.gl.GL_TRIANGLE_STRIP
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAP_INVALIDATE_RANGE_BIT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 944, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAP_INVALIDATE_RANGE_BIT, __pyx_t_1) < 0) __PYX_ERR(1, 944, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":945
 * GL_LINE_STRIP = renpy.uguu.gl.GL_LINE_STRIP
 * GL_MAP_INVALIDATE_RANGE_BIT = renpy.uguu.gl.GL_MAP_INVALIDATE_RANGE_BIT
 * GL_TRIANGLES = renpy.uguu.gl.GL_TRIANGLES             # <<<<<<<<<<<<<<
 * GL_TRIANGLE_STRIP = renpy.uguu.gl.GL_TRIANGLE_STRIP
 * GL_TRIANGLE_FAN = renpy.uguu.gl.GL_TRIANGLE_FAN
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TRIANGLES); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 945, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TRIANGLES, __pyx_t_1) < 0) __PYX_ERR(1, 945, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":946
 * GL_MAP_INVALIDATE_RANGE_BIT = renpy.uguu.gl.GL_MAP_INVALIDATE_RANGE_BIT
 * GL_TRIANGLES = renpy.uguu.gl.GL_TRIANGLES
 * GL_TRIANGLE_STRIP = renpy.uguu.gl.GL_TRIANGLE_STRIP             # <<<<<<<<<<<<<<
 * GL_TRIANGLE_FAN = renpy.uguu.gl.GL_TRIANGLE_FAN
 * GL_MAP_INVALIDATE_BUFFER_BIT = renpy.uguu.gl.GL_MAP_INVALIDATE_BUFFER_BIT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TRIANGLE_STRIP); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 946, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TRIANGLE_STRIP, __pyx_t_1) < 0) __PYX_ERR(1, 946, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":947
 * GL_TRIANGLES = renpy.uguu.gl.GL_TRIANGLES
 * GL_TRIANGLE_STRIP = renpy.uguu.gl.GL_TRIANGLE_STRIP
 * GL_TRIANGLE_FAN = renpy.uguu.gl.GL_TRIANGLE_FAN             # <<<<<<<<<<<<<<
 * GL_MAP_INVALIDATE_BUFFER_BIT = renpy.uguu.gl.GL_MAP_INVALIDATE_BUFFER_BIT
 * GL_MAP_FLUSH_EXPLICIT_BIT = renpy.uguu.gl.GL_MAP_FLUSH_EXPLICIT_BIT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TRIANGLE_FAN); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 947, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TRIANGLE_FAN, __pyx_t_1) < 0) __PYX_ERR(1, 947, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":948
 * GL_TRIANGLE_STRIP = renpy.uguu.gl.GL_TRIANGLE_STRIP
 * GL_TRIANGLE_FAN = renpy.uguu.gl.GL_TRIANGLE_FAN
 * GL_MAP_INVALIDATE_BUFFER_BIT = renpy.uguu.gl.GL_MAP_INVALIDATE_BUFFER_BIT             # <<<<<<<<<<<<<<
 * GL_MAP_FLUSH_EXPLICIT_BIT = renpy.uguu.gl.GL_MAP_FLUSH_EXPLICIT_BIT
 * GL_MAP_UNSYNCHRONIZED_BIT = renpy.uguu.gl.GL_MAP_UNSYNCHRONIZED_BIT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAP_INVALIDATE_BUFFER_BIT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 948, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAP_INVALIDATE_BUFFER_BIT, __pyx_t_1) < 0) __PYX_ERR(1, 948, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":949
 * GL_TRIANGLE_FAN = renpy.uguu.gl.GL_TRIANGLE_FAN
 * GL_MAP_INVALIDATE_BUFFER_BIT = renpy.uguu.gl.GL_MAP_INVALIDATE_BUFFER_BIT
 * GL_MAP_FLUSH_EXPLICIT_BIT = renpy.uguu.gl.GL_MAP_FLUSH_EXPLICIT_BIT             # <<<<<<<<<<<<<<
 * GL_MAP_UNSYNCHRONIZED_BIT = renpy.uguu.gl.GL_MAP_UNSYNCHRONIZED_BIT
 * GL_DEPTH_BUFFER_BIT = renpy.uguu.gl.GL_DEPTH_BUFFER_BIT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAP_FLUSH_EXPLICIT_BIT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 949, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAP_FLUSH_EXPLICIT_BIT, __pyx_t_1) < 0) __PYX_ERR(1, 949, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":950
 * GL_MAP_INVALIDATE_BUFFER_BIT = renpy.uguu.gl.GL_MAP_INVALIDATE_BUFFER_BIT
 * GL_MAP_FLUSH_EXPLICIT_BIT = renpy.uguu.gl.GL_MAP_FLUSH_EXPLICIT_BIT
 * GL_MAP_UNSYNCHRONIZED_BIT = renpy.uguu.gl.GL_MAP_UNSYNCHRONIZED_BIT             # <<<<<<<<<<<<<<
 * GL_DEPTH_BUFFER_BIT = renpy.uguu.gl.GL_DEPTH_BUFFER_BIT
 * GL_NEVER = renpy.uguu.gl.GL_NEVER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAP_UNSYNCHRONIZED_BIT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 950, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAP_UNSYNCHRONIZED_BIT, __pyx_t_1) < 0) __PYX_ERR(1, 950, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":951
 * GL_MAP_FLUSH_EXPLICIT_BIT = renpy.uguu.gl.GL_MAP_FLUSH_EXPLICIT_BIT
 * GL_MAP_UNSYNCHRONIZED_BIT = renpy.uguu.gl.GL_MAP_UNSYNCHRONIZED_BIT
 * GL_DEPTH_BUFFER_BIT = renpy.uguu.gl.GL_DEPTH_BUFFER_BIT             # <<<<<<<<<<<<<<
 * GL_NEVER = renpy.uguu.gl.GL_NEVER
 * GL_LESS = renpy.uguu.gl.GL_LESS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_BUFFER_BIT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 951, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_BUFFER_BIT, __pyx_t_1) < 0) __PYX_ERR(1, 951, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":952
 * GL_MAP_UNSYNCHRONIZED_BIT = renpy.uguu.gl.GL_MAP_UNSYNCHRONIZED_BIT
 * GL_DEPTH_BUFFER_BIT = renpy.uguu.gl.GL_DEPTH_BUFFER_BIT
 * GL_NEVER = renpy.uguu.gl.GL_NEVER             # <<<<<<<<<<<<<<
 * GL_LESS = renpy.uguu.gl.GL_LESS
 * GL_EQUAL = renpy.uguu.gl.GL_EQUAL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_NEVER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 952, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_NEVER, __pyx_t_1) < 0) __PYX_ERR(1, 952, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":953
 * GL_DEPTH_BUFFER_BIT = renpy.uguu.gl.GL_DEPTH_BUFFER_BIT
 * GL_NEVER = renpy.uguu.gl.GL_NEVER
 * GL_LESS = renpy.uguu.gl.GL_LESS             # <<<<<<<<<<<<<<
 * GL_EQUAL = renpy.uguu.gl.GL_EQUAL
 * GL_LEQUAL = renpy.uguu.gl.GL_LEQUAL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_LESS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 953, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_LESS, __pyx_t_1) < 0) __PYX_ERR(1, 953, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":954
 * GL_NEVER = renpy.uguu.gl.GL_NEVER
 * GL_LESS = renpy.uguu.gl.GL_LESS
 * GL_EQUAL = renpy.uguu.gl.GL_EQUAL             # <<<<<<<<<<<<<<
 * GL_LEQUAL = renpy.uguu.gl.GL_LEQUAL
 * GL_GREATER = renpy.uguu.gl.GL_GREATER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_EQUAL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 954, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_EQUAL, __pyx_t_1) < 0) __PYX_ERR(1, 954, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":955
 * GL_LESS = renpy.uguu.gl.GL_LESS
 * GL_EQUAL = renpy.uguu.gl.GL_EQUAL
 * GL_LEQUAL = renpy.uguu.gl.GL_LEQUAL             # <<<<<<<<<<<<<<
 * GL_GREATER = renpy.uguu.gl.GL_GREATER
 * GL_NOTEQUAL = renpy.uguu.gl.GL_NOTEQUAL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_LEQUAL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 955, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_LEQUAL, __pyx_t_1) < 0) __PYX_ERR(1, 955, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":956
 * GL_EQUAL = renpy.uguu.gl.GL_EQUAL
 * GL_LEQUAL = renpy.uguu.gl.GL_LEQUAL
 * GL_GREATER = renpy.uguu.gl.GL_GREATER             # <<<<<<<<<<<<<<
 * GL_NOTEQUAL = renpy.uguu.gl.GL_NOTEQUAL
 * GL_GEQUAL = renpy.uguu.gl.GL_GEQUAL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_GREATER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 956, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_GREATER, __pyx_t_1) < 0) __PYX_ERR(1, 956, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":957
 * GL_LEQUAL = renpy.uguu.gl.GL_LEQUAL
 * GL_GREATER = renpy.uguu.gl.GL_GREATER
 * GL_NOTEQUAL = renpy.uguu.gl.GL_NOTEQUAL             # <<<<<<<<<<<<<<
 * GL_GEQUAL = renpy.uguu.gl.GL_GEQUAL
 * GL_ALWAYS = renpy.uguu.gl.GL_ALWAYS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_NOTEQUAL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 957, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_NOTEQUAL, __pyx_t_1) < 0) __PYX_ERR(1, 957, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":958
 * GL_GREATER = renpy.uguu.gl.GL_GREATER
 * GL_NOTEQUAL = renpy.uguu.gl.GL_NOTEQUAL
 * GL_GEQUAL = renpy.uguu.gl.GL_GEQUAL             # <<<<<<<<<<<<<<
 * GL_ALWAYS = renpy.uguu.gl.GL_ALWAYS
 * GL_SRC_COLOR = renpy.uguu.gl.GL_SRC_COLOR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_GEQUAL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 958, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_GEQUAL, __pyx_t_1) < 0) __PYX_ERR(1, 958, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":959
 * GL_NOTEQUAL = renpy.uguu.gl.GL_NOTEQUAL
 * GL_GEQUAL = renpy.uguu.gl.GL_GEQUAL
 * GL_ALWAYS = renpy.uguu.gl.GL_ALWAYS             # <<<<<<<<<<<<<<
 * GL_SRC_COLOR = renpy.uguu.gl.GL_SRC_COLOR
 * GL_ONE_MINUS_SRC_COLOR = renpy.uguu.gl.GL_ONE_MINUS_SRC_COLOR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ALWAYS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 959, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ALWAYS, __pyx_t_1) < 0) __PYX_ERR(1, 959, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":960
 * GL_GEQUAL = renpy.uguu.gl.GL_GEQUAL
 * GL_ALWAYS = renpy.uguu.gl.GL_ALWAYS
 * GL_SRC_COLOR = renpy.uguu.gl.GL_SRC_COLOR             # <<<<<<<<<<<<<<
 * GL_ONE_MINUS_SRC_COLOR = renpy.uguu.gl.GL_ONE_MINUS_SRC_COLOR
 * GL_SRC_ALPHA = renpy.uguu.gl.GL_SRC_ALPHA
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SRC_COLOR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 960, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SRC_COLOR, __pyx_t_1) < 0) __PYX_ERR(1, 960, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":961
 * GL_ALWAYS = renpy.uguu.gl.GL_ALWAYS
 * GL_SRC_COLOR = renpy.uguu.gl.GL_SRC_COLOR
 * GL_ONE_MINUS_SRC_COLOR = renpy.uguu.gl.GL_ONE_MINUS_SRC_COLOR             # <<<<<<<<<<<<<<
 * GL_SRC_ALPHA = renpy.uguu.gl.GL_SRC_ALPHA
 * GL_ONE_MINUS_SRC_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_SRC_ALPHA
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ONE_MINUS_SRC_COLOR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 961, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ONE_MINUS_SRC_COLOR, __pyx_t_1) < 0) __PYX_ERR(1, 961, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":962
 * GL_SRC_COLOR = renpy.uguu.gl.GL_SRC_COLOR
 * GL_ONE_MINUS_SRC_COLOR = renpy.uguu.gl.GL_ONE_MINUS_SRC_COLOR
 * GL_SRC_ALPHA = renpy.uguu.gl.GL_SRC_ALPHA             # <<<<<<<<<<<<<<
 * GL_ONE_MINUS_SRC_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_SRC_ALPHA
 * GL_DST_ALPHA = renpy.uguu.gl.GL_DST_ALPHA
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SRC_ALPHA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 962, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SRC_ALPHA, __pyx_t_1) < 0) __PYX_ERR(1, 962, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":963
 * GL_ONE_MINUS_SRC_COLOR = renpy.uguu.gl.GL_ONE_MINUS_SRC_COLOR
 * GL_SRC_ALPHA = renpy.uguu.gl.GL_SRC_ALPHA
 * GL_ONE_MINUS_SRC_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_SRC_ALPHA             # <<<<<<<<<<<<<<
 * GL_DST_ALPHA = renpy.uguu.gl.GL_DST_ALPHA
 * GL_ONE_MINUS_DST_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_DST_ALPHA
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ONE_MINUS_SRC_ALPHA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 963, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ONE_MINUS_SRC_ALPHA, __pyx_t_1) < 0) __PYX_ERR(1, 963, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":964
 * GL_SRC_ALPHA = renpy.uguu.gl.GL_SRC_ALPHA
 * GL_ONE_MINUS_SRC_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_SRC_ALPHA
 * GL_DST_ALPHA = renpy.uguu.gl.GL_DST_ALPHA             # <<<<<<<<<<<<<<
 * GL_ONE_MINUS_DST_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_DST_ALPHA
 * GL_DST_COLOR = renpy.uguu.gl.GL_DST_COLOR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DST_ALPHA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 964, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DST_ALPHA, __pyx_t_1) < 0) __PYX_ERR(1, 964, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":965
 * GL_ONE_MINUS_SRC_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_SRC_ALPHA
 * GL_DST_ALPHA = renpy.uguu.gl.GL_DST_ALPHA
 * GL_ONE_MINUS_DST_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_DST_ALPHA             # <<<<<<<<<<<<<<
 * GL_DST_COLOR = renpy.uguu.gl.GL_DST_COLOR
 * GL_ONE_MINUS_DST_COLOR = renpy.uguu.gl.GL_ONE_MINUS_DST_COLOR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ONE_MINUS_DST_ALPHA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 965, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ONE_MINUS_DST_ALPHA, __pyx_t_1) < 0) __PYX_ERR(1, 965, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":966
 * GL_DST_ALPHA = renpy.uguu.gl.GL_DST_ALPHA
 * GL_ONE_MINUS_DST_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_DST_ALPHA
 * GL_DST_COLOR = renpy.uguu.gl.GL_DST_COLOR             # <<<<<<<<<<<<<<
 * GL_ONE_MINUS_DST_COLOR = renpy.uguu.gl.GL_ONE_MINUS_DST_COLOR
 * GL_SRC_ALPHA_SATURATE = renpy.uguu.gl.GL_SRC_ALPHA_SATURATE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DST_COLOR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 966, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DST_COLOR, __pyx_t_1) < 0) __PYX_ERR(1, 966, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":967
 * GL_ONE_MINUS_DST_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_DST_ALPHA
 * GL_DST_COLOR = renpy.uguu.gl.GL_DST_COLOR
 * GL_ONE_MINUS_DST_COLOR = renpy.uguu.gl.GL_ONE_MINUS_DST_COLOR             # <<<<<<<<<<<<<<
 * GL_SRC_ALPHA_SATURATE = renpy.uguu.gl.GL_SRC_ALPHA_SATURATE
 * GL_STENCIL_BUFFER_BIT = renpy.uguu.gl.GL_STENCIL_BUFFER_BIT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ONE_MINUS_DST_COLOR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 967, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ONE_MINUS_DST_COLOR, __pyx_t_1) < 0) __PYX_ERR(1, 967, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":968
 * GL_DST_COLOR = renpy.uguu.gl.GL_DST_COLOR
 * GL_ONE_MINUS_DST_COLOR = renpy.uguu.gl.GL_ONE_MINUS_DST_COLOR
 * GL_SRC_ALPHA_SATURATE = renpy.uguu.gl.GL_SRC_ALPHA_SATURATE             # <<<<<<<<<<<<<<
 * GL_STENCIL_BUFFER_BIT = renpy.uguu.gl.GL_STENCIL_BUFFER_BIT
 * GL_FRONT = renpy.uguu.gl.GL_FRONT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SRC_ALPHA_SATURATE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 968, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SRC_ALPHA_SATURATE, __pyx_t_1) < 0) __PYX_ERR(1, 968, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":969
 * GL_ONE_MINUS_DST_COLOR = renpy.uguu.gl.GL_ONE_MINUS_DST_COLOR
 * GL_SRC_ALPHA_SATURATE = renpy.uguu.gl.GL_SRC_ALPHA_SATURATE
 * GL_STENCIL_BUFFER_BIT = renpy.uguu.gl.GL_STENCIL_BUFFER_BIT             # <<<<<<<<<<<<<<
 * GL_FRONT = renpy.uguu.gl.GL_FRONT
 * GL_BACK = renpy.uguu.gl.GL_BACK
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_BUFFER_BIT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 969, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_BUFFER_BIT, __pyx_t_1) < 0) __PYX_ERR(1, 969, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":970
 * GL_SRC_ALPHA_SATURATE = renpy.uguu.gl.GL_SRC_ALPHA_SATURATE
 * GL_STENCIL_BUFFER_BIT = renpy.uguu.gl.GL_STENCIL_BUFFER_BIT
 * GL_FRONT = renpy.uguu.gl.GL_FRONT             # <<<<<<<<<<<<<<
 * GL_BACK = renpy.uguu.gl.GL_BACK
 * GL_FRONT_AND_BACK = renpy.uguu.gl.GL_FRONT_AND_BACK
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRONT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 970, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRONT, __pyx_t_1) < 0) __PYX_ERR(1, 970, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":971
 * GL_STENCIL_BUFFER_BIT = renpy.uguu.gl.GL_STENCIL_BUFFER_BIT
 * GL_FRONT = renpy.uguu.gl.GL_FRONT
 * GL_BACK = renpy.uguu.gl.GL_BACK             # <<<<<<<<<<<<<<
 * GL_FRONT_AND_BACK = renpy.uguu.gl.GL_FRONT_AND_BACK
 * GL_INVALID_ENUM = renpy.uguu.gl.GL_INVALID_ENUM
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BACK); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 971, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BACK, __pyx_t_1) < 0) __PYX_ERR(1, 971, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":972
 * GL_FRONT = renpy.uguu.gl.GL_FRONT
 * GL_BACK = renpy.uguu.gl.GL_BACK
 * GL_FRONT_AND_BACK = renpy.uguu.gl.GL_FRONT_AND_BACK             # <<<<<<<<<<<<<<
 * GL_INVALID_ENUM = renpy.uguu.gl.GL_INVALID_ENUM
 * GL_INVALID_VALUE = renpy.uguu.gl.GL_INVALID_VALUE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRONT_AND_BACK); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 972, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRONT_AND_BACK, __pyx_t_1) < 0) __PYX_ERR(1, 972, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":973
 * GL_BACK = renpy.uguu.gl.GL_BACK
 * GL_FRONT_AND_BACK = renpy.uguu.gl.GL_FRONT_AND_BACK
 * GL_INVALID_ENUM = renpy.uguu.gl.GL_INVALID_ENUM             # <<<<<<<<<<<<<<
 * GL_INVALID_VALUE = renpy.uguu.gl.GL_INVALID_VALUE
 * GL_INVALID_OPERATION = renpy.uguu.gl.GL_INVALID_OPERATION
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INVALID_ENUM); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 973, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INVALID_ENUM, __pyx_t_1) < 0) __PYX_ERR(1, 973, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":974
 * GL_FRONT_AND_BACK = renpy.uguu.gl.GL_FRONT_AND_BACK
 * GL_INVALID_ENUM = renpy.uguu.gl.GL_INVALID_ENUM
 * GL_INVALID_VALUE = renpy.uguu.gl.GL_INVALID_VALUE             # <<<<<<<<<<<<<<
 * GL_INVALID_OPERATION = renpy.uguu.gl.GL_INVALID_OPERATION
 * GL_OUT_OF_MEMORY = renpy.uguu.gl.GL_OUT_OF_MEMORY
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INVALID_VALUE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 974, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INVALID_VALUE, __pyx_t_1) < 0) __PYX_ERR(1, 974, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":975
 * GL_INVALID_ENUM = renpy.uguu.gl.GL_INVALID_ENUM
 * GL_INVALID_VALUE = renpy.uguu.gl.GL_INVALID_VALUE
 * GL_INVALID_OPERATION = renpy.uguu.gl.GL_INVALID_OPERATION             # <<<<<<<<<<<<<<
 * GL_OUT_OF_MEMORY = renpy.uguu.gl.GL_OUT_OF_MEMORY
 * GL_INVALID_FRAMEBUFFER_OPERATION = renpy.uguu.gl.GL_INVALID_FRAMEBUFFER_OPERATION
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INVALID_OPERATION); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 975, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INVALID_OPERATION, __pyx_t_1) < 0) __PYX_ERR(1, 975, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":976
 * GL_INVALID_VALUE = renpy.uguu.gl.GL_INVALID_VALUE
 * GL_INVALID_OPERATION = renpy.uguu.gl.GL_INVALID_OPERATION
 * GL_OUT_OF_MEMORY = renpy.uguu.gl.GL_OUT_OF_MEMORY             # <<<<<<<<<<<<<<
 * GL_INVALID_FRAMEBUFFER_OPERATION = renpy.uguu.gl.GL_INVALID_FRAMEBUFFER_OPERATION
 * GL_CW = renpy.uguu.gl.GL_CW
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_OUT_OF_MEMORY); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 976, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_OUT_OF_MEMORY, __pyx_t_1) < 0) __PYX_ERR(1, 976, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":977
 * GL_INVALID_OPERATION = renpy.uguu.gl.GL_INVALID_OPERATION
 * GL_OUT_OF_MEMORY = renpy.uguu.gl.GL_OUT_OF_MEMORY
 * GL_INVALID_FRAMEBUFFER_OPERATION = renpy.uguu.gl.GL_INVALID_FRAMEBUFFER_OPERATION             # <<<<<<<<<<<<<<
 * GL_CW = renpy.uguu.gl.GL_CW
 * GL_CCW = renpy.uguu.gl.GL_CCW
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INVALID_FRAMEBUFFER_OPERATION); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 977, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INVALID_FRAMEBUFFER_OPERATION, __pyx_t_1) < 0) __PYX_ERR(1, 977, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":978
 * GL_OUT_OF_MEMORY = renpy.uguu.gl.GL_OUT_OF_MEMORY
 * GL_INVALID_FRAMEBUFFER_OPERATION = renpy.uguu.gl.GL_INVALID_FRAMEBUFFER_OPERATION
 * GL_CW = renpy.uguu.gl.GL_CW             # <<<<<<<<<<<<<<
 * GL_CCW = renpy.uguu.gl.GL_CCW
 * GL_LINE_WIDTH = renpy.uguu.gl.GL_LINE_WIDTH
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_CW); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 978, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_CW, __pyx_t_1) < 0) __PYX_ERR(1, 978, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":979
 * GL_INVALID_FRAMEBUFFER_OPERATION = renpy.uguu.gl.GL_INVALID_FRAMEBUFFER_OPERATION
 * GL_CW = renpy.uguu.gl.GL_CW
 * GL_CCW = renpy.uguu.gl.GL_CCW             # <<<<<<<<<<<<<<
 * GL_LINE_WIDTH = renpy.uguu.gl.GL_LINE_WIDTH
 * GL_CULL_FACE = renpy.uguu.gl.GL_CULL_FACE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_CCW); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 979, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_CCW, __pyx_t_1) < 0) __PYX_ERR(1, 979, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":980
 * GL_CW = renpy.uguu.gl.GL_CW
 * GL_CCW = renpy.uguu.gl.GL_CCW
 * GL_LINE_WIDTH = renpy.uguu.gl.GL_LINE_WIDTH             # <<<<<<<<<<<<<<
 * GL_CULL_FACE = renpy.uguu.gl.GL_CULL_FACE
 * GL_CULL_FACE_MODE = renpy.uguu.gl.GL_CULL_FACE_MODE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_LINE_WIDTH); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 980, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_LINE_WIDTH, __pyx_t_1) < 0) __PYX_ERR(1, 980, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":981
 * GL_CCW = renpy.uguu.gl.GL_CCW
 * GL_LINE_WIDTH = renpy.uguu.gl.GL_LINE_WIDTH
 * GL_CULL_FACE = renpy.uguu.gl.GL_CULL_FACE             # <<<<<<<<<<<<<<
 * GL_CULL_FACE_MODE = renpy.uguu.gl.GL_CULL_FACE_MODE
 * GL_FRONT_FACE = renpy.uguu.gl.GL_FRONT_FACE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_CULL_FACE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 981, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_CULL_FACE, __pyx_t_1) < 0) __PYX_ERR(1, 981, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":982
 * GL_LINE_WIDTH = renpy.uguu.gl.GL_LINE_WIDTH
 * GL_CULL_FACE = renpy.uguu.gl.GL_CULL_FACE
 * GL_CULL_FACE_MODE = renpy.uguu.gl.GL_CULL_FACE_MODE             # <<<<<<<<<<<<<<
 * GL_FRONT_FACE = renpy.uguu.gl.GL_FRONT_FACE
 * GL_DEPTH_RANGE = renpy.uguu.gl.GL_DEPTH_RANGE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_CULL_FACE_MODE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 982, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_CULL_FACE_MODE, __pyx_t_1) < 0) __PYX_ERR(1, 982, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":983
 * GL_CULL_FACE = renpy.uguu.gl.GL_CULL_FACE
 * GL_CULL_FACE_MODE = renpy.uguu.gl.GL_CULL_FACE_MODE
 * GL_FRONT_FACE = renpy.uguu.gl.GL_FRONT_FACE             # <<<<<<<<<<<<<<
 * GL_DEPTH_RANGE = renpy.uguu.gl.GL_DEPTH_RANGE
 * GL_DEPTH_TEST = renpy.uguu.gl.GL_DEPTH_TEST
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRONT_FACE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 983, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRONT_FACE, __pyx_t_1) < 0) __PYX_ERR(1, 983, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":984
 * GL_CULL_FACE_MODE = renpy.uguu.gl.GL_CULL_FACE_MODE
 * GL_FRONT_FACE = renpy.uguu.gl.GL_FRONT_FACE
 * GL_DEPTH_RANGE = renpy.uguu.gl.GL_DEPTH_RANGE             # <<<<<<<<<<<<<<
 * GL_DEPTH_TEST = renpy.uguu.gl.GL_DEPTH_TEST
 * GL_DEPTH_WRITEMASK = renpy.uguu.gl.GL_DEPTH_WRITEMASK
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_RANGE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 984, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_RANGE, __pyx_t_1) < 0) __PYX_ERR(1, 984, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":985
 * GL_FRONT_FACE = renpy.uguu.gl.GL_FRONT_FACE
 * GL_DEPTH_RANGE = renpy.uguu.gl.GL_DEPTH_RANGE
 * GL_DEPTH_TEST = renpy.uguu.gl.GL_DEPTH_TEST             # <<<<<<<<<<<<<<
 * GL_DEPTH_WRITEMASK = renpy.uguu.gl.GL_DEPTH_WRITEMASK
 * GL_DEPTH_CLEAR_VALUE = renpy.uguu.gl.GL_DEPTH_CLEAR_VALUE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_TEST); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 985, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_TEST, __pyx_t_1) < 0) __PYX_ERR(1, 985, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":986
 * GL_DEPTH_RANGE = renpy.uguu.gl.GL_DEPTH_RANGE
 * GL_DEPTH_TEST = renpy.uguu.gl.GL_DEPTH_TEST
 * GL_DEPTH_WRITEMASK = renpy.uguu.gl.GL_DEPTH_WRITEMASK             # <<<<<<<<<<<<<<
 * GL_DEPTH_CLEAR_VALUE = renpy.uguu.gl.GL_DEPTH_CLEAR_VALUE
 * GL_DEPTH_FUNC = renpy.uguu.gl.GL_DEPTH_FUNC
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_WRITEMASK); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 986, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_WRITEMASK, __pyx_t_1) < 0) __PYX_ERR(1, 986, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":987
 * GL_DEPTH_TEST = renpy.uguu.gl.GL_DEPTH_TEST
 * GL_DEPTH_WRITEMASK = renpy.uguu.gl.GL_DEPTH_WRITEMASK
 * GL_DEPTH_CLEAR_VALUE = renpy.uguu.gl.GL_DEPTH_CLEAR_VALUE             # <<<<<<<<<<<<<<
 * GL_DEPTH_FUNC = renpy.uguu.gl.GL_DEPTH_FUNC
 * GL_STENCIL_TEST = renpy.uguu.gl.GL_STENCIL_TEST
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_CLEAR_VALUE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 987, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_CLEAR_VALUE, __pyx_t_1) < 0) __PYX_ERR(1, 987, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":988
 * GL_DEPTH_WRITEMASK = renpy.uguu.gl.GL_DEPTH_WRITEMASK
 * GL_DEPTH_CLEAR_VALUE = renpy.uguu.gl.GL_DEPTH_CLEAR_VALUE
 * GL_DEPTH_FUNC = renpy.uguu.gl.GL_DEPTH_FUNC             # <<<<<<<<<<<<<<
 * GL_STENCIL_TEST = renpy.uguu.gl.GL_STENCIL_TEST
 * GL_STENCIL_CLEAR_VALUE = renpy.uguu.gl.GL_STENCIL_CLEAR_VALUE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_FUNC); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 988, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_FUNC, __pyx_t_1) < 0) __PYX_ERR(1, 988, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":989
 * GL_DEPTH_CLEAR_VALUE = renpy.uguu.gl.GL_DEPTH_CLEAR_VALUE
 * GL_DEPTH_FUNC = renpy.uguu.gl.GL_DEPTH_FUNC
 * GL_STENCIL_TEST = renpy.uguu.gl.GL_STENCIL_TEST             # <<<<<<<<<<<<<<
 * GL_STENCIL_CLEAR_VALUE = renpy.uguu.gl.GL_STENCIL_CLEAR_VALUE
 * GL_STENCIL_FUNC = renpy.uguu.gl.GL_STENCIL_FUNC
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_TEST); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 989, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_TEST, __pyx_t_1) < 0) __PYX_ERR(1, 989, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":990
 * GL_DEPTH_FUNC = renpy.uguu.gl.GL_DEPTH_FUNC
 * GL_STENCIL_TEST = renpy.uguu.gl.GL_STENCIL_TEST
 * GL_STENCIL_CLEAR_VALUE = renpy.uguu.gl.GL_STENCIL_CLEAR_VALUE             # <<<<<<<<<<<<<<
 * GL_STENCIL_FUNC = renpy.uguu.gl.GL_STENCIL_FUNC
 * GL_STENCIL_VALUE_MASK = renpy.uguu.gl.GL_STENCIL_VALUE_MASK
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_CLEAR_VALUE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 990, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_CLEAR_VALUE, __pyx_t_1) < 0) __PYX_ERR(1, 990, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":991
 * GL_STENCIL_TEST = renpy.uguu.gl.GL_STENCIL_TEST
 * GL_STENCIL_CLEAR_VALUE = renpy.uguu.gl.GL_STENCIL_CLEAR_VALUE
 * GL_STENCIL_FUNC = renpy.uguu.gl.GL_STENCIL_FUNC             # <<<<<<<<<<<<<<
 * GL_STENCIL_VALUE_MASK = renpy.uguu.gl.GL_STENCIL_VALUE_MASK
 * GL_STENCIL_FAIL = renpy.uguu.gl.GL_STENCIL_FAIL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_FUNC); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 991, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_FUNC, __pyx_t_1) < 0) __PYX_ERR(1, 991, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":992
 * GL_STENCIL_CLEAR_VALUE = renpy.uguu.gl.GL_STENCIL_CLEAR_VALUE
 * GL_STENCIL_FUNC = renpy.uguu.gl.GL_STENCIL_FUNC
 * GL_STENCIL_VALUE_MASK = renpy.uguu.gl.GL_STENCIL_VALUE_MASK             # <<<<<<<<<<<<<<
 * GL_STENCIL_FAIL = renpy.uguu.gl.GL_STENCIL_FAIL
 * GL_STENCIL_PASS_DEPTH_FAIL = renpy.uguu.gl.GL_STENCIL_PASS_DEPTH_FAIL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_VALUE_MASK); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 992, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_VALUE_MASK, __pyx_t_1) < 0) __PYX_ERR(1, 992, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":993
 * GL_STENCIL_FUNC = renpy.uguu.gl.GL_STENCIL_FUNC
 * GL_STENCIL_VALUE_MASK = renpy.uguu.gl.GL_STENCIL_VALUE_MASK
 * GL_STENCIL_FAIL = renpy.uguu.gl.GL_STENCIL_FAIL             # <<<<<<<<<<<<<<
 * GL_STENCIL_PASS_DEPTH_FAIL = renpy.uguu.gl.GL_STENCIL_PASS_DEPTH_FAIL
 * GL_STENCIL_PASS_DEPTH_PASS = renpy.uguu.gl.GL_STENCIL_PASS_DEPTH_PASS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_FAIL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 993, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_FAIL, __pyx_t_1) < 0) __PYX_ERR(1, 993, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":994
 * GL_STENCIL_VALUE_MASK = renpy.uguu.gl.GL_STENCIL_VALUE_MASK
 * GL_STENCIL_FAIL = renpy.uguu.gl.GL_STENCIL_FAIL
 * GL_STENCIL_PASS_DEPTH_FAIL = renpy.uguu.gl.GL_STENCIL_PASS_DEPTH_FAIL             # <<<<<<<<<<<<<<
 * GL_STENCIL_PASS_DEPTH_PASS = renpy.uguu.gl.GL_STENCIL_PASS_DEPTH_PASS
 * GL_STENCIL_REF = renpy.uguu.gl.GL_STENCIL_REF
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_PASS_DEPTH_FAIL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 994, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_PASS_DEPTH_FAIL, __pyx_t_1) < 0) __PYX_ERR(1, 994, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":995
 * GL_STENCIL_FAIL = renpy.uguu.gl.GL_STENCIL_FAIL
 * GL_STENCIL_PASS_DEPTH_FAIL = renpy.uguu.gl.GL_STENCIL_PASS_DEPTH_FAIL
 * GL_STENCIL_PASS_DEPTH_PASS = renpy.uguu.gl.GL_STENCIL_PASS_DEPTH_PASS             # <<<<<<<<<<<<<<
 * GL_STENCIL_REF = renpy.uguu.gl.GL_STENCIL_REF
 * GL_STENCIL_WRITEMASK = renpy.uguu.gl.GL_STENCIL_WRITEMASK
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_PASS_DEPTH_PASS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 995, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_PASS_DEPTH_PASS, __pyx_t_1) < 0) __PYX_ERR(1, 995, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":996
 * GL_STENCIL_PASS_DEPTH_FAIL = renpy.uguu.gl.GL_STENCIL_PASS_DEPTH_FAIL
 * GL_STENCIL_PASS_DEPTH_PASS = renpy.uguu.gl.GL_STENCIL_PASS_DEPTH_PASS
 * GL_STENCIL_REF = renpy.uguu.gl.GL_STENCIL_REF             # <<<<<<<<<<<<<<
 * GL_STENCIL_WRITEMASK = renpy.uguu.gl.GL_STENCIL_WRITEMASK
 * GL_VIEWPORT = renpy.uguu.gl.GL_VIEWPORT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_REF); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 996, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_REF, __pyx_t_1) < 0) __PYX_ERR(1, 996, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":997
 * GL_STENCIL_PASS_DEPTH_PASS = renpy.uguu.gl.GL_STENCIL_PASS_DEPTH_PASS
 * GL_STENCIL_REF = renpy.uguu.gl.GL_STENCIL_REF
 * GL_STENCIL_WRITEMASK = renpy.uguu.gl.GL_STENCIL_WRITEMASK             # <<<<<<<<<<<<<<
 * GL_VIEWPORT = renpy.uguu.gl.GL_VIEWPORT
 * GL_DITHER = renpy.uguu.gl.GL_DITHER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_WRITEMASK); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 997, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_WRITEMASK, __pyx_t_1) < 0) __PYX_ERR(1, 997, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":998
 * GL_STENCIL_REF = renpy.uguu.gl.GL_STENCIL_REF
 * GL_STENCIL_WRITEMASK = renpy.uguu.gl.GL_STENCIL_WRITEMASK
 * GL_VIEWPORT = renpy.uguu.gl.GL_VIEWPORT             # <<<<<<<<<<<<<<
 * GL_DITHER = renpy.uguu.gl.GL_DITHER
 * GL_BLEND = renpy.uguu.gl.GL_BLEND
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VIEWPORT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 998, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VIEWPORT, __pyx_t_1) < 0) __PYX_ERR(1, 998, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":999
 * GL_STENCIL_WRITEMASK = renpy.uguu.gl.GL_STENCIL_WRITEMASK
 * GL_VIEWPORT = renpy.uguu.gl.GL_VIEWPORT
 * GL_DITHER = renpy.uguu.gl.GL_DITHER             # <<<<<<<<<<<<<<
 * GL_BLEND = renpy.uguu.gl.GL_BLEND
 * GL_READ_BUFFER = renpy.uguu.gl.GL_READ_BUFFER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DITHER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 999, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DITHER, __pyx_t_1) < 0) __PYX_ERR(1, 999, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1000
 * GL_VIEWPORT = renpy.uguu.gl.GL_VIEWPORT
 * GL_DITHER = renpy.uguu.gl.GL_DITHER
 * GL_BLEND = renpy.uguu.gl.GL_BLEND             # <<<<<<<<<<<<<<
 * GL_READ_BUFFER = renpy.uguu.gl.GL_READ_BUFFER
 * GL_SCISSOR_BOX = renpy.uguu.gl.GL_SCISSOR_BOX
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BLEND); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1000, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BLEND, __pyx_t_1) < 0) __PYX_ERR(1, 1000, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1001
 * GL_DITHER = renpy.uguu.gl.GL_DITHER
 * GL_BLEND = renpy.uguu.gl.GL_BLEND
 * GL_READ_BUFFER = renpy.uguu.gl.GL_READ_BUFFER             # <<<<<<<<<<<<<<
 * GL_SCISSOR_BOX = renpy.uguu.gl.GL_SCISSOR_BOX
 * GL_SCISSOR_TEST = renpy.uguu.gl.GL_SCISSOR_TEST
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_READ_BUFFER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1001, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_READ_BUFFER, __pyx_t_1) < 0) __PYX_ERR(1, 1001, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1002
 * GL_BLEND = renpy.uguu.gl.GL_BLEND
 * GL_READ_BUFFER = renpy.uguu.gl.GL_READ_BUFFER
 * GL_SCISSOR_BOX = renpy.uguu.gl.GL_SCISSOR_BOX             # <<<<<<<<<<<<<<
 * GL_SCISSOR_TEST = renpy.uguu.gl.GL_SCISSOR_TEST
 * GL_COLOR_CLEAR_VALUE = renpy.uguu.gl.GL_COLOR_CLEAR_VALUE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SCISSOR_BOX); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1002, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SCISSOR_BOX, __pyx_t_1) < 0) __PYX_ERR(1, 1002, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1003
 * GL_READ_BUFFER = renpy.uguu.gl.GL_READ_BUFFER
 * GL_SCISSOR_BOX = renpy.uguu.gl.GL_SCISSOR_BOX
 * GL_SCISSOR_TEST = renpy.uguu.gl.GL_SCISSOR_TEST             # <<<<<<<<<<<<<<
 * GL_COLOR_CLEAR_VALUE = renpy.uguu.gl.GL_COLOR_CLEAR_VALUE
 * GL_COLOR_WRITEMASK = renpy.uguu.gl.GL_COLOR_WRITEMASK
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SCISSOR_TEST); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1003, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SCISSOR_TEST, __pyx_t_1) < 0) __PYX_ERR(1, 1003, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1004
 * GL_SCISSOR_BOX = renpy.uguu.gl.GL_SCISSOR_BOX
 * GL_SCISSOR_TEST = renpy.uguu.gl.GL_SCISSOR_TEST
 * GL_COLOR_CLEAR_VALUE = renpy.uguu.gl.GL_COLOR_CLEAR_VALUE             # <<<<<<<<<<<<<<
 * GL_COLOR_WRITEMASK = renpy.uguu.gl.GL_COLOR_WRITEMASK
 * GL_UNPACK_ROW_LENGTH = renpy.uguu.gl.GL_UNPACK_ROW_LENGTH
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_CLEAR_VALUE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1004, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_CLEAR_VALUE, __pyx_t_1) < 0) __PYX_ERR(1, 1004, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1005
 * GL_SCISSOR_TEST = renpy.uguu.gl.GL_SCISSOR_TEST
 * GL_COLOR_CLEAR_VALUE = renpy.uguu.gl.GL_COLOR_CLEAR_VALUE
 * GL_COLOR_WRITEMASK = renpy.uguu.gl.GL_COLOR_WRITEMASK             # <<<<<<<<<<<<<<
 * GL_UNPACK_ROW_LENGTH = renpy.uguu.gl.GL_UNPACK_ROW_LENGTH
 * GL_UNPACK_SKIP_ROWS = renpy.uguu.gl.GL_UNPACK_SKIP_ROWS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_WRITEMASK); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1005, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_WRITEMASK, __pyx_t_1) < 0) __PYX_ERR(1, 1005, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1006
 * GL_COLOR_CLEAR_VALUE = renpy.uguu.gl.GL_COLOR_CLEAR_VALUE
 * GL_COLOR_WRITEMASK = renpy.uguu.gl.GL_COLOR_WRITEMASK
 * GL_UNPACK_ROW_LENGTH = renpy.uguu.gl.GL_UNPACK_ROW_LENGTH             # <<<<<<<<<<<<<<
 * GL_UNPACK_SKIP_ROWS = renpy.uguu.gl.GL_UNPACK_SKIP_ROWS
 * GL_UNPACK_SKIP_PIXELS = renpy.uguu.gl.GL_UNPACK_SKIP_PIXELS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNPACK_ROW_LENGTH); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1006, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNPACK_ROW_LENGTH, __pyx_t_1) < 0) __PYX_ERR(1, 1006, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1007
 * GL_COLOR_WRITEMASK = renpy.uguu.gl.GL_COLOR_WRITEMASK
 * GL_UNPACK_ROW_LENGTH = renpy.uguu.gl.GL_UNPACK_ROW_LENGTH
 * GL_UNPACK_SKIP_ROWS = renpy.uguu.gl.GL_UNPACK_SKIP_ROWS             # <<<<<<<<<<<<<<
 * GL_UNPACK_SKIP_PIXELS = renpy.uguu.gl.GL_UNPACK_SKIP_PIXELS
 * GL_UNPACK_ALIGNMENT = renpy.uguu.gl.GL_UNPACK_ALIGNMENT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNPACK_SKIP_ROWS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1007, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNPACK_SKIP_ROWS, __pyx_t_1) < 0) __PYX_ERR(1, 1007, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1008
 * GL_UNPACK_ROW_LENGTH = renpy.uguu.gl.GL_UNPACK_ROW_LENGTH
 * GL_UNPACK_SKIP_ROWS = renpy.uguu.gl.GL_UNPACK_SKIP_ROWS
 * GL_UNPACK_SKIP_PIXELS = renpy.uguu.gl.GL_UNPACK_SKIP_PIXELS             # <<<<<<<<<<<<<<
 * GL_UNPACK_ALIGNMENT = renpy.uguu.gl.GL_UNPACK_ALIGNMENT
 * GL_PACK_ROW_LENGTH = renpy.uguu.gl.GL_PACK_ROW_LENGTH
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNPACK_SKIP_PIXELS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1008, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNPACK_SKIP_PIXELS, __pyx_t_1) < 0) __PYX_ERR(1, 1008, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1009
 * GL_UNPACK_SKIP_ROWS = renpy.uguu.gl.GL_UNPACK_SKIP_ROWS
 * GL_UNPACK_SKIP_PIXELS = renpy.uguu.gl.GL_UNPACK_SKIP_PIXELS
 * GL_UNPACK_ALIGNMENT = renpy.uguu.gl.GL_UNPACK_ALIGNMENT             # <<<<<<<<<<<<<<
 * GL_PACK_ROW_LENGTH = renpy.uguu.gl.GL_PACK_ROW_LENGTH
 * GL_PACK_SKIP_ROWS = renpy.uguu.gl.GL_PACK_SKIP_ROWS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNPACK_ALIGNMENT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1009, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNPACK_ALIGNMENT, __pyx_t_1) < 0) __PYX_ERR(1, 1009, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1010
 * GL_UNPACK_SKIP_PIXELS = renpy.uguu.gl.GL_UNPACK_SKIP_PIXELS
 * GL_UNPACK_ALIGNMENT = renpy.uguu.gl.GL_UNPACK_ALIGNMENT
 * GL_PACK_ROW_LENGTH = renpy.uguu.gl.GL_PACK_ROW_LENGTH             # <<<<<<<<<<<<<<
 * GL_PACK_SKIP_ROWS = renpy.uguu.gl.GL_PACK_SKIP_ROWS
 * GL_PACK_SKIP_PIXELS = renpy.uguu.gl.GL_PACK_SKIP_PIXELS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_PACK_ROW_LENGTH); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1010, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_PACK_ROW_LENGTH, __pyx_t_1) < 0) __PYX_ERR(1, 1010, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1011
 * GL_UNPACK_ALIGNMENT = renpy.uguu.gl.GL_UNPACK_ALIGNMENT
 * GL_PACK_ROW_LENGTH = renpy.uguu.gl.GL_PACK_ROW_LENGTH
 * GL_PACK_SKIP_ROWS = renpy.uguu.gl.GL_PACK_SKIP_ROWS             # <<<<<<<<<<<<<<
 * GL_PACK_SKIP_PIXELS = renpy.uguu.gl.GL_PACK_SKIP_PIXELS
 * GL_PACK_ALIGNMENT = renpy.uguu.gl.GL_PACK_ALIGNMENT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_PACK_SKIP_ROWS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1011, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_PACK_SKIP_ROWS, __pyx_t_1) < 0) __PYX_ERR(1, 1011, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1012
 * GL_PACK_ROW_LENGTH = renpy.uguu.gl.GL_PACK_ROW_LENGTH
 * GL_PACK_SKIP_ROWS = renpy.uguu.gl.GL_PACK_SKIP_ROWS
 * GL_PACK_SKIP_PIXELS = renpy.uguu.gl.GL_PACK_SKIP_PIXELS             # <<<<<<<<<<<<<<
 * GL_PACK_ALIGNMENT = renpy.uguu.gl.GL_PACK_ALIGNMENT
 * GL_MAX_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_TEXTURE_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_PACK_SKIP_PIXELS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1012, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_PACK_SKIP_PIXELS, __pyx_t_1) < 0) __PYX_ERR(1, 1012, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1013
 * GL_PACK_SKIP_ROWS = renpy.uguu.gl.GL_PACK_SKIP_ROWS
 * GL_PACK_SKIP_PIXELS = renpy.uguu.gl.GL_PACK_SKIP_PIXELS
 * GL_PACK_ALIGNMENT = renpy.uguu.gl.GL_PACK_ALIGNMENT             # <<<<<<<<<<<<<<
 * GL_MAX_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_TEXTURE_SIZE
 * GL_MAX_VIEWPORT_DIMS = renpy.uguu.gl.GL_MAX_VIEWPORT_DIMS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_PACK_ALIGNMENT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1013, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_PACK_ALIGNMENT, __pyx_t_1) < 0) __PYX_ERR(1, 1013, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1014
 * GL_PACK_SKIP_PIXELS = renpy.uguu.gl.GL_PACK_SKIP_PIXELS
 * GL_PACK_ALIGNMENT = renpy.uguu.gl.GL_PACK_ALIGNMENT
 * GL_MAX_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_TEXTURE_SIZE             # <<<<<<<<<<<<<<
 * GL_MAX_VIEWPORT_DIMS = renpy.uguu.gl.GL_MAX_VIEWPORT_DIMS
 * GL_SUBPIXEL_BITS = renpy.uguu.gl.GL_SUBPIXEL_BITS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_TEXTURE_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1014, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_TEXTURE_SIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1014, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1015
 * GL_PACK_ALIGNMENT = renpy.uguu.gl.GL_PACK_ALIGNMENT
 * GL_MAX_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_TEXTURE_SIZE
 * GL_MAX_VIEWPORT_DIMS = renpy.uguu.gl.GL_MAX_VIEWPORT_DIMS             # <<<<<<<<<<<<<<
 * GL_SUBPIXEL_BITS = renpy.uguu.gl.GL_SUBPIXEL_BITS
 * GL_RED_BITS = renpy.uguu.gl.GL_RED_BITS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_VIEWPORT_DIMS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1015, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_VIEWPORT_DIMS, __pyx_t_1) < 0) __PYX_ERR(1, 1015, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1016
 * GL_MAX_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_TEXTURE_SIZE
 * GL_MAX_VIEWPORT_DIMS = renpy.uguu.gl.GL_MAX_VIEWPORT_DIMS
 * GL_SUBPIXEL_BITS = renpy.uguu.gl.GL_SUBPIXEL_BITS             # <<<<<<<<<<<<<<
 * GL_RED_BITS = renpy.uguu.gl.GL_RED_BITS
 * GL_GREEN_BITS = renpy.uguu.gl.GL_GREEN_BITS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SUBPIXEL_BITS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1016, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SUBPIXEL_BITS, __pyx_t_1) < 0) __PYX_ERR(1, 1016, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1017
 * GL_MAX_VIEWPORT_DIMS = renpy.uguu.gl.GL_MAX_VIEWPORT_DIMS
 * GL_SUBPIXEL_BITS = renpy.uguu.gl.GL_SUBPIXEL_BITS
 * GL_RED_BITS = renpy.uguu.gl.GL_RED_BITS             # <<<<<<<<<<<<<<
 * GL_GREEN_BITS = renpy.uguu.gl.GL_GREEN_BITS
 * GL_BLUE_BITS = renpy.uguu.gl.GL_BLUE_BITS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RED_BITS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1017, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RED_BITS, __pyx_t_1) < 0) __PYX_ERR(1, 1017, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1018
 * GL_SUBPIXEL_BITS = renpy.uguu.gl.GL_SUBPIXEL_BITS
 * GL_RED_BITS = renpy.uguu.gl.GL_RED_BITS
 * GL_GREEN_BITS = renpy.uguu.gl.GL_GREEN_BITS             # <<<<<<<<<<<<<<
 * GL_BLUE_BITS = renpy.uguu.gl.GL_BLUE_BITS
 * GL_ALPHA_BITS = renpy.uguu.gl.GL_ALPHA_BITS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_GREEN_BITS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1018, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_GREEN_BITS, __pyx_t_1) < 0) __PYX_ERR(1, 1018, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1019
 * GL_RED_BITS = renpy.uguu.gl.GL_RED_BITS
 * GL_GREEN_BITS = renpy.uguu.gl.GL_GREEN_BITS
 * GL_BLUE_BITS = renpy.uguu.gl.GL_BLUE_BITS             # <<<<<<<<<<<<<<
 * GL_ALPHA_BITS = renpy.uguu.gl.GL_ALPHA_BITS
 * GL_DEPTH_BITS = renpy.uguu.gl.GL_DEPTH_BITS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BLUE_BITS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1019, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BLUE_BITS, __pyx_t_1) < 0) __PYX_ERR(1, 1019, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1020
 * GL_GREEN_BITS = renpy.uguu.gl.GL_GREEN_BITS
 * GL_BLUE_BITS = renpy.uguu.gl.GL_BLUE_BITS
 * GL_ALPHA_BITS = renpy.uguu.gl.GL_ALPHA_BITS             # <<<<<<<<<<<<<<
 * GL_DEPTH_BITS = renpy.uguu.gl.GL_DEPTH_BITS
 * GL_STENCIL_BITS = renpy.uguu.gl.GL_STENCIL_BITS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ALPHA_BITS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1020, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ALPHA_BITS, __pyx_t_1) < 0) __PYX_ERR(1, 1020, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1021
 * GL_BLUE_BITS = renpy.uguu.gl.GL_BLUE_BITS
 * GL_ALPHA_BITS = renpy.uguu.gl.GL_ALPHA_BITS
 * GL_DEPTH_BITS = renpy.uguu.gl.GL_DEPTH_BITS             # <<<<<<<<<<<<<<
 * GL_STENCIL_BITS = renpy.uguu.gl.GL_STENCIL_BITS
 * GL_TEXTURE_2D = renpy.uguu.gl.GL_TEXTURE_2D
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_BITS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1021, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_BITS, __pyx_t_1) < 0) __PYX_ERR(1, 1021, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1022
 * GL_ALPHA_BITS = renpy.uguu.gl.GL_ALPHA_BITS
 * GL_DEPTH_BITS = renpy.uguu.gl.GL_DEPTH_BITS
 * GL_STENCIL_BITS = renpy.uguu.gl.GL_STENCIL_BITS             # <<<<<<<<<<<<<<
 * GL_TEXTURE_2D = renpy.uguu.gl.GL_TEXTURE_2D
 * GL_DONT_CARE = renpy.uguu.gl.GL_DONT_CARE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_BITS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1022, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_BITS, __pyx_t_1) < 0) __PYX_ERR(1, 1022, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1023
 * GL_DEPTH_BITS = renpy.uguu.gl.GL_DEPTH_BITS
 * GL_STENCIL_BITS = renpy.uguu.gl.GL_STENCIL_BITS
 * GL_TEXTURE_2D = renpy.uguu.gl.GL_TEXTURE_2D             # <<<<<<<<<<<<<<
 * GL_DONT_CARE = renpy.uguu.gl.GL_DONT_CARE
 * GL_FASTEST = renpy.uguu.gl.GL_FASTEST
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_2D); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1023, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_2D, __pyx_t_1) < 0) __PYX_ERR(1, 1023, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1024
 * GL_STENCIL_BITS = renpy.uguu.gl.GL_STENCIL_BITS
 * GL_TEXTURE_2D = renpy.uguu.gl.GL_TEXTURE_2D
 * GL_DONT_CARE = renpy.uguu.gl.GL_DONT_CARE             # <<<<<<<<<<<<<<
 * GL_FASTEST = renpy.uguu.gl.GL_FASTEST
 * GL_NICEST = renpy.uguu.gl.GL_NICEST
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DONT_CARE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1024, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DONT_CARE, __pyx_t_1) < 0) __PYX_ERR(1, 1024, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1025
 * GL_TEXTURE_2D = renpy.uguu.gl.GL_TEXTURE_2D
 * GL_DONT_CARE = renpy.uguu.gl.GL_DONT_CARE
 * GL_FASTEST = renpy.uguu.gl.GL_FASTEST             # <<<<<<<<<<<<<<
 * GL_NICEST = renpy.uguu.gl.GL_NICEST
 * GL_BYTE = renpy.uguu.gl.GL_BYTE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FASTEST); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1025, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FASTEST, __pyx_t_1) < 0) __PYX_ERR(1, 1025, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1026
 * GL_DONT_CARE = renpy.uguu.gl.GL_DONT_CARE
 * GL_FASTEST = renpy.uguu.gl.GL_FASTEST
 * GL_NICEST = renpy.uguu.gl.GL_NICEST             # <<<<<<<<<<<<<<
 * GL_BYTE = renpy.uguu.gl.GL_BYTE
 * GL_UNSIGNED_BYTE = renpy.uguu.gl.GL_UNSIGNED_BYTE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_NICEST); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1026, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_NICEST, __pyx_t_1) < 0) __PYX_ERR(1, 1026, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1027
 * GL_FASTEST = renpy.uguu.gl.GL_FASTEST
 * GL_NICEST = renpy.uguu.gl.GL_NICEST
 * GL_BYTE = renpy.uguu.gl.GL_BYTE             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_BYTE = renpy.uguu.gl.GL_UNSIGNED_BYTE
 * GL_SHORT = renpy.uguu.gl.GL_SHORT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BYTE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1027, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BYTE, __pyx_t_1) < 0) __PYX_ERR(1, 1027, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1028
 * GL_NICEST = renpy.uguu.gl.GL_NICEST
 * GL_BYTE = renpy.uguu.gl.GL_BYTE
 * GL_UNSIGNED_BYTE = renpy.uguu.gl.GL_UNSIGNED_BYTE             # <<<<<<<<<<<<<<
 * GL_SHORT = renpy.uguu.gl.GL_SHORT
 * GL_UNSIGNED_SHORT = renpy.uguu.gl.GL_UNSIGNED_SHORT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_BYTE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1028, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_BYTE, __pyx_t_1) < 0) __PYX_ERR(1, 1028, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1029
 * GL_BYTE = renpy.uguu.gl.GL_BYTE
 * GL_UNSIGNED_BYTE = renpy.uguu.gl.GL_UNSIGNED_BYTE
 * GL_SHORT = renpy.uguu.gl.GL_SHORT             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_SHORT = renpy.uguu.gl.GL_UNSIGNED_SHORT
 * GL_INT = renpy.uguu.gl.GL_INT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SHORT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1029, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SHORT, __pyx_t_1) < 0) __PYX_ERR(1, 1029, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1030
 * GL_UNSIGNED_BYTE = renpy.uguu.gl.GL_UNSIGNED_BYTE
 * GL_SHORT = renpy.uguu.gl.GL_SHORT
 * GL_UNSIGNED_SHORT = renpy.uguu.gl.GL_UNSIGNED_SHORT             # <<<<<<<<<<<<<<
 * GL_INT = renpy.uguu.gl.GL_INT
 * GL_UNSIGNED_INT = renpy.uguu.gl.GL_UNSIGNED_INT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_SHORT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1030, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_SHORT, __pyx_t_1) < 0) __PYX_ERR(1, 1030, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1031
 * GL_SHORT = renpy.uguu.gl.GL_SHORT
 * GL_UNSIGNED_SHORT = renpy.uguu.gl.GL_UNSIGNED_SHORT
 * GL_INT = renpy.uguu.gl.GL_INT             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_INT = renpy.uguu.gl.GL_UNSIGNED_INT
 * GL_FLOAT = renpy.uguu.gl.GL_FLOAT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1031, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INT, __pyx_t_1) < 0) __PYX_ERR(1, 1031, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1032
 * GL_UNSIGNED_SHORT = renpy.uguu.gl.GL_UNSIGNED_SHORT
 * GL_INT = renpy.uguu.gl.GL_INT
 * GL_UNSIGNED_INT = renpy.uguu.gl.GL_UNSIGNED_INT             # <<<<<<<<<<<<<<
 * GL_FLOAT = renpy.uguu.gl.GL_FLOAT
 * GL_HALF_FLOAT = renpy.uguu.gl.GL_HALF_FLOAT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_INT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1032, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_INT, __pyx_t_1) < 0) __PYX_ERR(1, 1032, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1033
 * GL_INT = renpy.uguu.gl.GL_INT
 * GL_UNSIGNED_INT = renpy.uguu.gl.GL_UNSIGNED_INT
 * GL_FLOAT = renpy.uguu.gl.GL_FLOAT             # <<<<<<<<<<<<<<
 * GL_HALF_FLOAT = renpy.uguu.gl.GL_HALF_FLOAT
 * GL_INVERT = renpy.uguu.gl.GL_INVERT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1033, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT, __pyx_t_1) < 0) __PYX_ERR(1, 1033, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1034
 * GL_UNSIGNED_INT = renpy.uguu.gl.GL_UNSIGNED_INT
 * GL_FLOAT = renpy.uguu.gl.GL_FLOAT
 * GL_HALF_FLOAT = renpy.uguu.gl.GL_HALF_FLOAT             # <<<<<<<<<<<<<<
 * GL_INVERT = renpy.uguu.gl.GL_INVERT
 * GL_TEXTURE = renpy.uguu.gl.GL_TEXTURE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_HALF_FLOAT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1034, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_HALF_FLOAT, __pyx_t_1) < 0) __PYX_ERR(1, 1034, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1035
 * GL_FLOAT = renpy.uguu.gl.GL_FLOAT
 * GL_HALF_FLOAT = renpy.uguu.gl.GL_HALF_FLOAT
 * GL_INVERT = renpy.uguu.gl.GL_INVERT             # <<<<<<<<<<<<<<
 * GL_TEXTURE = renpy.uguu.gl.GL_TEXTURE
 * GL_COLOR = renpy.uguu.gl.GL_COLOR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INVERT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1035, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INVERT, __pyx_t_1) < 0) __PYX_ERR(1, 1035, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1036
 * GL_HALF_FLOAT = renpy.uguu.gl.GL_HALF_FLOAT
 * GL_INVERT = renpy.uguu.gl.GL_INVERT
 * GL_TEXTURE = renpy.uguu.gl.GL_TEXTURE             # <<<<<<<<<<<<<<
 * GL_COLOR = renpy.uguu.gl.GL_COLOR
 * GL_DEPTH = renpy.uguu.gl.GL_DEPTH
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1036, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE, __pyx_t_1) < 0) __PYX_ERR(1, 1036, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1037
 * GL_INVERT = renpy.uguu.gl.GL_INVERT
 * GL_TEXTURE = renpy.uguu.gl.GL_TEXTURE
 * GL_COLOR = renpy.uguu.gl.GL_COLOR             # <<<<<<<<<<<<<<
 * GL_DEPTH = renpy.uguu.gl.GL_DEPTH
 * GL_STENCIL = renpy.uguu.gl.GL_STENCIL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1037, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR, __pyx_t_1) < 0) __PYX_ERR(1, 1037, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1038
 * GL_TEXTURE = renpy.uguu.gl.GL_TEXTURE
 * GL_COLOR = renpy.uguu.gl.GL_COLOR
 * GL_DEPTH = renpy.uguu.gl.GL_DEPTH             # <<<<<<<<<<<<<<
 * GL_STENCIL = renpy.uguu.gl.GL_STENCIL
 * GL_DEPTH_COMPONENT = renpy.uguu.gl.GL_DEPTH_COMPONENT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1038, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH, __pyx_t_1) < 0) __PYX_ERR(1, 1038, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1039
 * GL_COLOR = renpy.uguu.gl.GL_COLOR
 * GL_DEPTH = renpy.uguu.gl.GL_DEPTH
 * GL_STENCIL = renpy.uguu.gl.GL_STENCIL             # <<<<<<<<<<<<<<
 * GL_DEPTH_COMPONENT = renpy.uguu.gl.GL_DEPTH_COMPONENT
 * GL_RED = renpy.uguu.gl.GL_RED
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1039, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL, __pyx_t_1) < 0) __PYX_ERR(1, 1039, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1040
 * GL_DEPTH = renpy.uguu.gl.GL_DEPTH
 * GL_STENCIL = renpy.uguu.gl.GL_STENCIL
 * GL_DEPTH_COMPONENT = renpy.uguu.gl.GL_DEPTH_COMPONENT             # <<<<<<<<<<<<<<
 * GL_RED = renpy.uguu.gl.GL_RED
 * GL_GREEN = renpy.uguu.gl.GL_GREEN
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_COMPONENT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1040, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_COMPONENT, __pyx_t_1) < 0) __PYX_ERR(1, 1040, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1041
 * GL_STENCIL = renpy.uguu.gl.GL_STENCIL
 * GL_DEPTH_COMPONENT = renpy.uguu.gl.GL_DEPTH_COMPONENT
 * GL_RED = renpy.uguu.gl.GL_RED             # <<<<<<<<<<<<<<
 * GL_GREEN = renpy.uguu.gl.GL_GREEN
 * GL_BLUE = renpy.uguu.gl.GL_BLUE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1041, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RED, __pyx_t_1) < 0) __PYX_ERR(1, 1041, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1042
 * GL_DEPTH_COMPONENT = renpy.uguu.gl.GL_DEPTH_COMPONENT
 * GL_RED = renpy.uguu.gl.GL_RED
 * GL_GREEN = renpy.uguu.gl.GL_GREEN             # <<<<<<<<<<<<<<
 * GL_BLUE = renpy.uguu.gl.GL_BLUE
 * GL_ALPHA = renpy.uguu.gl.GL_ALPHA
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_GREEN); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1042, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_GREEN, __pyx_t_1) < 0) __PYX_ERR(1, 1042, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1043
 * GL_RED = renpy.uguu.gl.GL_RED
 * GL_GREEN = renpy.uguu.gl.GL_GREEN
 * GL_BLUE = renpy.uguu.gl.GL_BLUE             # <<<<<<<<<<<<<<
 * GL_ALPHA = renpy.uguu.gl.GL_ALPHA
 * GL_RGB = renpy.uguu.gl.GL_RGB
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BLUE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1043, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BLUE, __pyx_t_1) < 0) __PYX_ERR(1, 1043, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1044
 * GL_GREEN = renpy.uguu.gl.GL_GREEN
 * GL_BLUE = renpy.uguu.gl.GL_BLUE
 * GL_ALPHA = renpy.uguu.gl.GL_ALPHA             # <<<<<<<<<<<<<<
 * GL_RGB = renpy.uguu.gl.GL_RGB
 * GL_RGBA = renpy.uguu.gl.GL_RGBA
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ALPHA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1044, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ALPHA, __pyx_t_1) < 0) __PYX_ERR(1, 1044, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1045
 * GL_BLUE = renpy.uguu.gl.GL_BLUE
 * GL_ALPHA = renpy.uguu.gl.GL_ALPHA
 * GL_RGB = renpy.uguu.gl.GL_RGB             # <<<<<<<<<<<<<<
 * GL_RGBA = renpy.uguu.gl.GL_RGBA
 * GL_LUMINANCE = renpy.uguu.gl.GL_LUMINANCE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1045, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB, __pyx_t_1) < 0) __PYX_ERR(1, 1045, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1046
 * GL_ALPHA = renpy.uguu.gl.GL_ALPHA
 * GL_RGB = renpy.uguu.gl.GL_RGB
 * GL_RGBA = renpy.uguu.gl.GL_RGBA             # <<<<<<<<<<<<<<
 * GL_LUMINANCE = renpy.uguu.gl.GL_LUMINANCE
 * GL_LUMINANCE_ALPHA = renpy.uguu.gl.GL_LUMINANCE_ALPHA
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGBA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1046, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGBA, __pyx_t_1) < 0) __PYX_ERR(1, 1046, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1047
 * GL_RGB = renpy.uguu.gl.GL_RGB
 * GL_RGBA = renpy.uguu.gl.GL_RGBA
 * GL_LUMINANCE = renpy.uguu.gl.GL_LUMINANCE             # <<<<<<<<<<<<<<
 * GL_LUMINANCE_ALPHA = renpy.uguu.gl.GL_LUMINANCE_ALPHA
 * GL_KEEP = renpy.uguu.gl.GL_KEEP
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_LUMINANCE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1047, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_LUMINANCE, __pyx_t_1) < 0) __PYX_ERR(1, 1047, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1048
 * GL_RGBA = renpy.uguu.gl.GL_RGBA
 * GL_LUMINANCE = renpy.uguu.gl.GL_LUMINANCE
 * GL_LUMINANCE_ALPHA = renpy.uguu.gl.GL_LUMINANCE_ALPHA             # <<<<<<<<<<<<<<
 * GL_KEEP = renpy.uguu.gl.GL_KEEP
 * GL_REPLACE = renpy.uguu.gl.GL_REPLACE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_LUMINANCE_ALPHA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1048, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_LUMINANCE_ALPHA, __pyx_t_1) < 0) __PYX_ERR(1, 1048, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1049
 * GL_LUMINANCE = renpy.uguu.gl.GL_LUMINANCE
 * GL_LUMINANCE_ALPHA = renpy.uguu.gl.GL_LUMINANCE_ALPHA
 * GL_KEEP = renpy.uguu.gl.GL_KEEP             # <<<<<<<<<<<<<<
 * GL_REPLACE = renpy.uguu.gl.GL_REPLACE
 * GL_INCR = renpy.uguu.gl.GL_INCR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_KEEP); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1049, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_KEEP, __pyx_t_1) < 0) __PYX_ERR(1, 1049, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1050
 * GL_LUMINANCE_ALPHA = renpy.uguu.gl.GL_LUMINANCE_ALPHA
 * GL_KEEP = renpy.uguu.gl.GL_KEEP
 * GL_REPLACE = renpy.uguu.gl.GL_REPLACE             # <<<<<<<<<<<<<<
 * GL_INCR = renpy.uguu.gl.GL_INCR
 * GL_DECR = renpy.uguu.gl.GL_DECR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_REPLACE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1050, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_REPLACE, __pyx_t_1) < 0) __PYX_ERR(1, 1050, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1051
 * GL_KEEP = renpy.uguu.gl.GL_KEEP
 * GL_REPLACE = renpy.uguu.gl.GL_REPLACE
 * GL_INCR = renpy.uguu.gl.GL_INCR             # <<<<<<<<<<<<<<
 * GL_DECR = renpy.uguu.gl.GL_DECR
 * GL_VENDOR = renpy.uguu.gl.GL_VENDOR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INCR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1051, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INCR, __pyx_t_1) < 0) __PYX_ERR(1, 1051, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1052
 * GL_REPLACE = renpy.uguu.gl.GL_REPLACE
 * GL_INCR = renpy.uguu.gl.GL_INCR
 * GL_DECR = renpy.uguu.gl.GL_DECR             # <<<<<<<<<<<<<<
 * GL_VENDOR = renpy.uguu.gl.GL_VENDOR
 * GL_RENDERER = renpy.uguu.gl.GL_RENDERER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DECR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1052, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DECR, __pyx_t_1) < 0) __PYX_ERR(1, 1052, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1053
 * GL_INCR = renpy.uguu.gl.GL_INCR
 * GL_DECR = renpy.uguu.gl.GL_DECR
 * GL_VENDOR = renpy.uguu.gl.GL_VENDOR             # <<<<<<<<<<<<<<
 * GL_RENDERER = renpy.uguu.gl.GL_RENDERER
 * GL_VERSION = renpy.uguu.gl.GL_VERSION
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VENDOR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1053, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VENDOR, __pyx_t_1) < 0) __PYX_ERR(1, 1053, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1054
 * GL_DECR = renpy.uguu.gl.GL_DECR
 * GL_VENDOR = renpy.uguu.gl.GL_VENDOR
 * GL_RENDERER = renpy.uguu.gl.GL_RENDERER             # <<<<<<<<<<<<<<
 * GL_VERSION = renpy.uguu.gl.GL_VERSION
 * GL_EXTENSIONS = renpy.uguu.gl.GL_EXTENSIONS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1054, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERER, __pyx_t_1) < 0) __PYX_ERR(1, 1054, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1055
 * GL_VENDOR = renpy.uguu.gl.GL_VENDOR
 * GL_RENDERER = renpy.uguu.gl.GL_RENDERER
 * GL_VERSION = renpy.uguu.gl.GL_VERSION             # <<<<<<<<<<<<<<
 * GL_EXTENSIONS = renpy.uguu.gl.GL_EXTENSIONS
 * GL_NEAREST = renpy.uguu.gl.GL_NEAREST
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VERSION); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1055, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VERSION, __pyx_t_1) < 0) __PYX_ERR(1, 1055, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1056
 * GL_RENDERER = renpy.uguu.gl.GL_RENDERER
 * GL_VERSION = renpy.uguu.gl.GL_VERSION
 * GL_EXTENSIONS = renpy.uguu.gl.GL_EXTENSIONS             # <<<<<<<<<<<<<<
 * GL_NEAREST = renpy.uguu.gl.GL_NEAREST
 * GL_LINEAR = renpy.uguu.gl.GL_LINEAR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_EXTENSIONS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1056, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_EXTENSIONS, __pyx_t_1) < 0) __PYX_ERR(1, 1056, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1057
 * GL_VERSION = renpy.uguu.gl.GL_VERSION
 * GL_EXTENSIONS = renpy.uguu.gl.GL_EXTENSIONS
 * GL_NEAREST = renpy.uguu.gl.GL_NEAREST             # <<<<<<<<<<<<<<
 * GL_LINEAR = renpy.uguu.gl.GL_LINEAR
 * GL_NEAREST_MIPMAP_NEAREST = renpy.uguu.gl.GL_NEAREST_MIPMAP_NEAREST
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_NEAREST); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1057, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_NEAREST, __pyx_t_1) < 0) __PYX_ERR(1, 1057, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1058
 * GL_EXTENSIONS = renpy.uguu.gl.GL_EXTENSIONS
 * GL_NEAREST = renpy.uguu.gl.GL_NEAREST
 * GL_LINEAR = renpy.uguu.gl.GL_LINEAR             # <<<<<<<<<<<<<<
 * GL_NEAREST_MIPMAP_NEAREST = renpy.uguu.gl.GL_NEAREST_MIPMAP_NEAREST
 * GL_LINEAR_MIPMAP_NEAREST = renpy.uguu.gl.GL_LINEAR_MIPMAP_NEAREST
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_LINEAR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1058, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_LINEAR, __pyx_t_1) < 0) __PYX_ERR(1, 1058, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1059
 * GL_NEAREST = renpy.uguu.gl.GL_NEAREST
 * GL_LINEAR = renpy.uguu.gl.GL_LINEAR
 * GL_NEAREST_MIPMAP_NEAREST = renpy.uguu.gl.GL_NEAREST_MIPMAP_NEAREST             # <<<<<<<<<<<<<<
 * GL_LINEAR_MIPMAP_NEAREST = renpy.uguu.gl.GL_LINEAR_MIPMAP_NEAREST
 * GL_NEAREST_MIPMAP_LINEAR = renpy.uguu.gl.GL_NEAREST_MIPMAP_LINEAR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_NEAREST_MIPMAP_NEAREST); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1059, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_NEAREST_MIPMAP_NEAREST, __pyx_t_1) < 0) __PYX_ERR(1, 1059, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1060
 * GL_LINEAR = renpy.uguu.gl.GL_LINEAR
 * GL_NEAREST_MIPMAP_NEAREST = renpy.uguu.gl.GL_NEAREST_MIPMAP_NEAREST
 * GL_LINEAR_MIPMAP_NEAREST = renpy.uguu.gl.GL_LINEAR_MIPMAP_NEAREST             # <<<<<<<<<<<<<<
 * GL_NEAREST_MIPMAP_LINEAR = renpy.uguu.gl.GL_NEAREST_MIPMAP_LINEAR
 * GL_LINEAR_MIPMAP_LINEAR = renpy.uguu.gl.GL_LINEAR_MIPMAP_LINEAR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_LINEAR_MIPMAP_NEAREST); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1060, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_LINEAR_MIPMAP_NEAREST, __pyx_t_1) < 0) __PYX_ERR(1, 1060, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1061
 * GL_NEAREST_MIPMAP_NEAREST = renpy.uguu.gl.GL_NEAREST_MIPMAP_NEAREST
 * GL_LINEAR_MIPMAP_NEAREST = renpy.uguu.gl.GL_LINEAR_MIPMAP_NEAREST
 * GL_NEAREST_MIPMAP_LINEAR = renpy.uguu.gl.GL_NEAREST_MIPMAP_LINEAR             # <<<<<<<<<<<<<<
 * GL_LINEAR_MIPMAP_LINEAR = renpy.uguu.gl.GL_LINEAR_MIPMAP_LINEAR
 * GL_TEXTURE_MAG_FILTER = renpy.uguu.gl.GL_TEXTURE_MAG_FILTER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_NEAREST_MIPMAP_LINEAR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1061, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_NEAREST_MIPMAP_LINEAR, __pyx_t_1) < 0) __PYX_ERR(1, 1061, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1062
 * GL_LINEAR_MIPMAP_NEAREST = renpy.uguu.gl.GL_LINEAR_MIPMAP_NEAREST
 * GL_NEAREST_MIPMAP_LINEAR = renpy.uguu.gl.GL_NEAREST_MIPMAP_LINEAR
 * GL_LINEAR_MIPMAP_LINEAR = renpy.uguu.gl.GL_LINEAR_MIPMAP_LINEAR             # <<<<<<<<<<<<<<
 * GL_TEXTURE_MAG_FILTER = renpy.uguu.gl.GL_TEXTURE_MAG_FILTER
 * GL_TEXTURE_MIN_FILTER = renpy.uguu.gl.GL_TEXTURE_MIN_FILTER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_LINEAR_MIPMAP_LINEAR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1062, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_LINEAR_MIPMAP_LINEAR, __pyx_t_1) < 0) __PYX_ERR(1, 1062, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1063
 * GL_NEAREST_MIPMAP_LINEAR = renpy.uguu.gl.GL_NEAREST_MIPMAP_LINEAR
 * GL_LINEAR_MIPMAP_LINEAR = renpy.uguu.gl.GL_LINEAR_MIPMAP_LINEAR
 * GL_TEXTURE_MAG_FILTER = renpy.uguu.gl.GL_TEXTURE_MAG_FILTER             # <<<<<<<<<<<<<<
 * GL_TEXTURE_MIN_FILTER = renpy.uguu.gl.GL_TEXTURE_MIN_FILTER
 * GL_TEXTURE_WRAP_S = renpy.uguu.gl.GL_TEXTURE_WRAP_S
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_MAG_FILTER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1063, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_MAG_FILTER, __pyx_t_1) < 0) __PYX_ERR(1, 1063, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1064
 * GL_LINEAR_MIPMAP_LINEAR = renpy.uguu.gl.GL_LINEAR_MIPMAP_LINEAR
 * GL_TEXTURE_MAG_FILTER = renpy.uguu.gl.GL_TEXTURE_MAG_FILTER
 * GL_TEXTURE_MIN_FILTER = renpy.uguu.gl.GL_TEXTURE_MIN_FILTER             # <<<<<<<<<<<<<<
 * GL_TEXTURE_WRAP_S = renpy.uguu.gl.GL_TEXTURE_WRAP_S
 * GL_TEXTURE_WRAP_T = renpy.uguu.gl.GL_TEXTURE_WRAP_T
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_MIN_FILTER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1064, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_MIN_FILTER, __pyx_t_1) < 0) __PYX_ERR(1, 1064, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1065
 * GL_TEXTURE_MAG_FILTER = renpy.uguu.gl.GL_TEXTURE_MAG_FILTER
 * GL_TEXTURE_MIN_FILTER = renpy.uguu.gl.GL_TEXTURE_MIN_FILTER
 * GL_TEXTURE_WRAP_S = renpy.uguu.gl.GL_TEXTURE_WRAP_S             # <<<<<<<<<<<<<<
 * GL_TEXTURE_WRAP_T = renpy.uguu.gl.GL_TEXTURE_WRAP_T
 * GL_REPEAT = renpy.uguu.gl.GL_REPEAT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_WRAP_S); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1065, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_WRAP_S, __pyx_t_1) < 0) __PYX_ERR(1, 1065, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1066
 * GL_TEXTURE_MIN_FILTER = renpy.uguu.gl.GL_TEXTURE_MIN_FILTER
 * GL_TEXTURE_WRAP_S = renpy.uguu.gl.GL_TEXTURE_WRAP_S
 * GL_TEXTURE_WRAP_T = renpy.uguu.gl.GL_TEXTURE_WRAP_T             # <<<<<<<<<<<<<<
 * GL_REPEAT = renpy.uguu.gl.GL_REPEAT
 * GL_POLYGON_OFFSET_UNITS = renpy.uguu.gl.GL_POLYGON_OFFSET_UNITS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_WRAP_T); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1066, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_WRAP_T, __pyx_t_1) < 0) __PYX_ERR(1, 1066, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1067
 * GL_TEXTURE_WRAP_S = renpy.uguu.gl.GL_TEXTURE_WRAP_S
 * GL_TEXTURE_WRAP_T = renpy.uguu.gl.GL_TEXTURE_WRAP_T
 * GL_REPEAT = renpy.uguu.gl.GL_REPEAT             # <<<<<<<<<<<<<<
 * GL_POLYGON_OFFSET_UNITS = renpy.uguu.gl.GL_POLYGON_OFFSET_UNITS
 * GL_COLOR_BUFFER_BIT = renpy.uguu.gl.GL_COLOR_BUFFER_BIT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_REPEAT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1067, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_REPEAT, __pyx_t_1) < 0) __PYX_ERR(1, 1067, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1068
 * GL_TEXTURE_WRAP_T = renpy.uguu.gl.GL_TEXTURE_WRAP_T
 * GL_REPEAT = renpy.uguu.gl.GL_REPEAT
 * GL_POLYGON_OFFSET_UNITS = renpy.uguu.gl.GL_POLYGON_OFFSET_UNITS             # <<<<<<<<<<<<<<
 * GL_COLOR_BUFFER_BIT = renpy.uguu.gl.GL_COLOR_BUFFER_BIT
 * GL_CONSTANT_COLOR = renpy.uguu.gl.GL_CONSTANT_COLOR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_POLYGON_OFFSET_UNITS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1068, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_POLYGON_OFFSET_UNITS, __pyx_t_1) < 0) __PYX_ERR(1, 1068, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1069
 * GL_REPEAT = renpy.uguu.gl.GL_REPEAT
 * GL_POLYGON_OFFSET_UNITS = renpy.uguu.gl.GL_POLYGON_OFFSET_UNITS
 * GL_COLOR_BUFFER_BIT = renpy.uguu.gl.GL_COLOR_BUFFER_BIT             # <<<<<<<<<<<<<<
 * GL_CONSTANT_COLOR = renpy.uguu.gl.GL_CONSTANT_COLOR
 * GL_ONE_MINUS_CONSTANT_COLOR = renpy.uguu.gl.GL_ONE_MINUS_CONSTANT_COLOR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_BUFFER_BIT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1069, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_BUFFER_BIT, __pyx_t_1) < 0) __PYX_ERR(1, 1069, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1070
 * GL_POLYGON_OFFSET_UNITS = renpy.uguu.gl.GL_POLYGON_OFFSET_UNITS
 * GL_COLOR_BUFFER_BIT = renpy.uguu.gl.GL_COLOR_BUFFER_BIT
 * GL_CONSTANT_COLOR = renpy.uguu.gl.GL_CONSTANT_COLOR             # <<<<<<<<<<<<<<
 * GL_ONE_MINUS_CONSTANT_COLOR = renpy.uguu.gl.GL_ONE_MINUS_CONSTANT_COLOR
 * GL_CONSTANT_ALPHA = renpy.uguu.gl.GL_CONSTANT_ALPHA
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_CONSTANT_COLOR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1070, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_CONSTANT_COLOR, __pyx_t_1) < 0) __PYX_ERR(1, 1070, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1071
 * GL_COLOR_BUFFER_BIT = renpy.uguu.gl.GL_COLOR_BUFFER_BIT
 * GL_CONSTANT_COLOR = renpy.uguu.gl.GL_CONSTANT_COLOR
 * GL_ONE_MINUS_CONSTANT_COLOR = renpy.uguu.gl.GL_ONE_MINUS_CONSTANT_COLOR             # <<<<<<<<<<<<<<
 * GL_CONSTANT_ALPHA = renpy.uguu.gl.GL_CONSTANT_ALPHA
 * GL_ONE_MINUS_CONSTANT_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_CONSTANT_ALPHA
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ONE_MINUS_CONSTANT_COLOR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1071, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ONE_MINUS_CONSTANT_COLOR, __pyx_t_1) < 0) __PYX_ERR(1, 1071, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1072
 * GL_CONSTANT_COLOR = renpy.uguu.gl.GL_CONSTANT_COLOR
 * GL_ONE_MINUS_CONSTANT_COLOR = renpy.uguu.gl.GL_ONE_MINUS_CONSTANT_COLOR
 * GL_CONSTANT_ALPHA = renpy.uguu.gl.GL_CONSTANT_ALPHA             # <<<<<<<<<<<<<<
 * GL_ONE_MINUS_CONSTANT_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_CONSTANT_ALPHA
 * GL_BLEND_COLOR = renpy.uguu.gl.GL_BLEND_COLOR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_CONSTANT_ALPHA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1072, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_CONSTANT_ALPHA, __pyx_t_1) < 0) __PYX_ERR(1, 1072, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1073
 * GL_ONE_MINUS_CONSTANT_COLOR = renpy.uguu.gl.GL_ONE_MINUS_CONSTANT_COLOR
 * GL_CONSTANT_ALPHA = renpy.uguu.gl.GL_CONSTANT_ALPHA
 * GL_ONE_MINUS_CONSTANT_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_CONSTANT_ALPHA             # <<<<<<<<<<<<<<
 * GL_BLEND_COLOR = renpy.uguu.gl.GL_BLEND_COLOR
 * GL_FUNC_ADD = renpy.uguu.gl.GL_FUNC_ADD
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ONE_MINUS_CONSTANT_ALPHA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1073, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ONE_MINUS_CONSTANT_ALPHA, __pyx_t_1) < 0) __PYX_ERR(1, 1073, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1074
 * GL_CONSTANT_ALPHA = renpy.uguu.gl.GL_CONSTANT_ALPHA
 * GL_ONE_MINUS_CONSTANT_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_CONSTANT_ALPHA
 * GL_BLEND_COLOR = renpy.uguu.gl.GL_BLEND_COLOR             # <<<<<<<<<<<<<<
 * GL_FUNC_ADD = renpy.uguu.gl.GL_FUNC_ADD
 * GL_MIN = renpy.uguu.gl.GL_MIN
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BLEND_COLOR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1074, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BLEND_COLOR, __pyx_t_1) < 0) __PYX_ERR(1, 1074, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1075
 * GL_ONE_MINUS_CONSTANT_ALPHA = renpy.uguu.gl.GL_ONE_MINUS_CONSTANT_ALPHA
 * GL_BLEND_COLOR = renpy.uguu.gl.GL_BLEND_COLOR
 * GL_FUNC_ADD = renpy.uguu.gl.GL_FUNC_ADD             # <<<<<<<<<<<<<<
 * GL_MIN = renpy.uguu.gl.GL_MIN
 * GL_MAX = renpy.uguu.gl.GL_MAX
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FUNC_ADD); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1075, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FUNC_ADD, __pyx_t_1) < 0) __PYX_ERR(1, 1075, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1076
 * GL_BLEND_COLOR = renpy.uguu.gl.GL_BLEND_COLOR
 * GL_FUNC_ADD = renpy.uguu.gl.GL_FUNC_ADD
 * GL_MIN = renpy.uguu.gl.GL_MIN             # <<<<<<<<<<<<<<
 * GL_MAX = renpy.uguu.gl.GL_MAX
 * GL_BLEND_EQUATION = renpy.uguu.gl.GL_BLEND_EQUATION
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MIN); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1076, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MIN, __pyx_t_1) < 0) __PYX_ERR(1, 1076, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1077
 * GL_FUNC_ADD = renpy.uguu.gl.GL_FUNC_ADD
 * GL_MIN = renpy.uguu.gl.GL_MIN
 * GL_MAX = renpy.uguu.gl.GL_MAX             # <<<<<<<<<<<<<<
 * GL_BLEND_EQUATION = renpy.uguu.gl.GL_BLEND_EQUATION
 * GL_BLEND_EQUATION_RGB = renpy.uguu.gl.GL_BLEND_EQUATION_RGB
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1077, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX, __pyx_t_1) < 0) __PYX_ERR(1, 1077, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1078
 * GL_MIN = renpy.uguu.gl.GL_MIN
 * GL_MAX = renpy.uguu.gl.GL_MAX
 * GL_BLEND_EQUATION = renpy.uguu.gl.GL_BLEND_EQUATION             # <<<<<<<<<<<<<<
 * GL_BLEND_EQUATION_RGB = renpy.uguu.gl.GL_BLEND_EQUATION_RGB
 * GL_FUNC_SUBTRACT = renpy.uguu.gl.GL_FUNC_SUBTRACT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BLEND_EQUATION); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1078, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BLEND_EQUATION, __pyx_t_1) < 0) __PYX_ERR(1, 1078, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1079
 * GL_MAX = renpy.uguu.gl.GL_MAX
 * GL_BLEND_EQUATION = renpy.uguu.gl.GL_BLEND_EQUATION
 * GL_BLEND_EQUATION_RGB = renpy.uguu.gl.GL_BLEND_EQUATION_RGB             # <<<<<<<<<<<<<<
 * GL_FUNC_SUBTRACT = renpy.uguu.gl.GL_FUNC_SUBTRACT
 * GL_FUNC_REVERSE_SUBTRACT = renpy.uguu.gl.GL_FUNC_REVERSE_SUBTRACT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BLEND_EQUATION_RGB); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1079, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BLEND_EQUATION_RGB, __pyx_t_1) < 0) __PYX_ERR(1, 1079, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1080
 * GL_BLEND_EQUATION = renpy.uguu.gl.GL_BLEND_EQUATION
 * GL_BLEND_EQUATION_RGB = renpy.uguu.gl.GL_BLEND_EQUATION_RGB
 * GL_FUNC_SUBTRACT = renpy.uguu.gl.GL_FUNC_SUBTRACT             # <<<<<<<<<<<<<<
 * GL_FUNC_REVERSE_SUBTRACT = renpy.uguu.gl.GL_FUNC_REVERSE_SUBTRACT
 * GL_UNSIGNED_SHORT_4_4_4_4 = renpy.uguu.gl.GL_UNSIGNED_SHORT_4_4_4_4
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FUNC_SUBTRACT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1080, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FUNC_SUBTRACT, __pyx_t_1) < 0) __PYX_ERR(1, 1080, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1081
 * GL_BLEND_EQUATION_RGB = renpy.uguu.gl.GL_BLEND_EQUATION_RGB
 * GL_FUNC_SUBTRACT = renpy.uguu.gl.GL_FUNC_SUBTRACT
 * GL_FUNC_REVERSE_SUBTRACT = renpy.uguu.gl.GL_FUNC_REVERSE_SUBTRACT             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_SHORT_4_4_4_4 = renpy.uguu.gl.GL_UNSIGNED_SHORT_4_4_4_4
 * GL_UNSIGNED_SHORT_5_5_5_1 = renpy.uguu.gl.GL_UNSIGNED_SHORT_5_5_5_1
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FUNC_REVERSE_SUBTRACT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1081, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FUNC_REVERSE_SUBTRACT, __pyx_t_1) < 0) __PYX_ERR(1, 1081, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1082
 * GL_FUNC_SUBTRACT = renpy.uguu.gl.GL_FUNC_SUBTRACT
 * GL_FUNC_REVERSE_SUBTRACT = renpy.uguu.gl.GL_FUNC_REVERSE_SUBTRACT
 * GL_UNSIGNED_SHORT_4_4_4_4 = renpy.uguu.gl.GL_UNSIGNED_SHORT_4_4_4_4             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_SHORT_5_5_5_1 = renpy.uguu.gl.GL_UNSIGNED_SHORT_5_5_5_1
 * GL_POLYGON_OFFSET_FILL = renpy.uguu.gl.GL_POLYGON_OFFSET_FILL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_SHORT_4_4_4_4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1082, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_SHORT_4_4_4_4, __pyx_t_1) < 0) __PYX_ERR(1, 1082, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1083
 * GL_FUNC_REVERSE_SUBTRACT = renpy.uguu.gl.GL_FUNC_REVERSE_SUBTRACT
 * GL_UNSIGNED_SHORT_4_4_4_4 = renpy.uguu.gl.GL_UNSIGNED_SHORT_4_4_4_4
 * GL_UNSIGNED_SHORT_5_5_5_1 = renpy.uguu.gl.GL_UNSIGNED_SHORT_5_5_5_1             # <<<<<<<<<<<<<<
 * GL_POLYGON_OFFSET_FILL = renpy.uguu.gl.GL_POLYGON_OFFSET_FILL
 * GL_POLYGON_OFFSET_FACTOR = renpy.uguu.gl.GL_POLYGON_OFFSET_FACTOR
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_SHORT_5_5_5_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1083, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_SHORT_5_5_5_1, __pyx_t_1) < 0) __PYX_ERR(1, 1083, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1084
 * GL_UNSIGNED_SHORT_4_4_4_4 = renpy.uguu.gl.GL_UNSIGNED_SHORT_4_4_4_4
 * GL_UNSIGNED_SHORT_5_5_5_1 = renpy.uguu.gl.GL_UNSIGNED_SHORT_5_5_5_1
 * GL_POLYGON_OFFSET_FILL = renpy.uguu.gl.GL_POLYGON_OFFSET_FILL             # <<<<<<<<<<<<<<
 * GL_POLYGON_OFFSET_FACTOR = renpy.uguu.gl.GL_POLYGON_OFFSET_FACTOR
 * GL_RGB8 = renpy.uguu.gl.GL_RGB8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_POLYGON_OFFSET_FILL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1084, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_POLYGON_OFFSET_FILL, __pyx_t_1) < 0) __PYX_ERR(1, 1084, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1085
 * GL_UNSIGNED_SHORT_5_5_5_1 = renpy.uguu.gl.GL_UNSIGNED_SHORT_5_5_5_1
 * GL_POLYGON_OFFSET_FILL = renpy.uguu.gl.GL_POLYGON_OFFSET_FILL
 * GL_POLYGON_OFFSET_FACTOR = renpy.uguu.gl.GL_POLYGON_OFFSET_FACTOR             # <<<<<<<<<<<<<<
 * GL_RGB8 = renpy.uguu.gl.GL_RGB8
 * GL_RGBA4 = renpy.uguu.gl.GL_RGBA4
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_POLYGON_OFFSET_FACTOR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1085, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_POLYGON_OFFSET_FACTOR, __pyx_t_1) < 0) __PYX_ERR(1, 1085, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1086
 * GL_POLYGON_OFFSET_FILL = renpy.uguu.gl.GL_POLYGON_OFFSET_FILL
 * GL_POLYGON_OFFSET_FACTOR = renpy.uguu.gl.GL_POLYGON_OFFSET_FACTOR
 * GL_RGB8 = renpy.uguu.gl.GL_RGB8             # <<<<<<<<<<<<<<
 * GL_RGBA4 = renpy.uguu.gl.GL_RGBA4
 * GL_RGB5_A1 = renpy.uguu.gl.GL_RGB5_A1
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1086, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB8, __pyx_t_1) < 0) __PYX_ERR(1, 1086, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1087
 * GL_POLYGON_OFFSET_FACTOR = renpy.uguu.gl.GL_POLYGON_OFFSET_FACTOR
 * GL_RGB8 = renpy.uguu.gl.GL_RGB8
 * GL_RGBA4 = renpy.uguu.gl.GL_RGBA4             # <<<<<<<<<<<<<<
 * GL_RGB5_A1 = renpy.uguu.gl.GL_RGB5_A1
 * GL_RGBA8 = renpy.uguu.gl.GL_RGBA8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGBA4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1087, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGBA4, __pyx_t_1) < 0) __PYX_ERR(1, 1087, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1088
 * GL_RGB8 = renpy.uguu.gl.GL_RGB8
 * GL_RGBA4 = renpy.uguu.gl.GL_RGBA4
 * GL_RGB5_A1 = renpy.uguu.gl.GL_RGB5_A1             # <<<<<<<<<<<<<<
 * GL_RGBA8 = renpy.uguu.gl.GL_RGBA8
 * GL_RGB10_A2 = renpy.uguu.gl.GL_RGB10_A2
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB5_A1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1088, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB5_A1, __pyx_t_1) < 0) __PYX_ERR(1, 1088, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1089
 * GL_RGBA4 = renpy.uguu.gl.GL_RGBA4
 * GL_RGB5_A1 = renpy.uguu.gl.GL_RGB5_A1
 * GL_RGBA8 = renpy.uguu.gl.GL_RGBA8             # <<<<<<<<<<<<<<
 * GL_RGB10_A2 = renpy.uguu.gl.GL_RGB10_A2
 * GL_TEXTURE_BINDING_2D = renpy.uguu.gl.GL_TEXTURE_BINDING_2D
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGBA8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1089, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGBA8, __pyx_t_1) < 0) __PYX_ERR(1, 1089, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1090
 * GL_RGB5_A1 = renpy.uguu.gl.GL_RGB5_A1
 * GL_RGBA8 = renpy.uguu.gl.GL_RGBA8
 * GL_RGB10_A2 = renpy.uguu.gl.GL_RGB10_A2             # <<<<<<<<<<<<<<
 * GL_TEXTURE_BINDING_2D = renpy.uguu.gl.GL_TEXTURE_BINDING_2D
 * GL_TEXTURE_BINDING_3D = renpy.uguu.gl.GL_TEXTURE_BINDING_3D
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB10_A2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1090, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB10_A2, __pyx_t_1) < 0) __PYX_ERR(1, 1090, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1091
 * GL_RGBA8 = renpy.uguu.gl.GL_RGBA8
 * GL_RGB10_A2 = renpy.uguu.gl.GL_RGB10_A2
 * GL_TEXTURE_BINDING_2D = renpy.uguu.gl.GL_TEXTURE_BINDING_2D             # <<<<<<<<<<<<<<
 * GL_TEXTURE_BINDING_3D = renpy.uguu.gl.GL_TEXTURE_BINDING_3D
 * GL_UNPACK_SKIP_IMAGES = renpy.uguu.gl.GL_UNPACK_SKIP_IMAGES
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_BINDING_2D); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1091, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_BINDING_2D, __pyx_t_1) < 0) __PYX_ERR(1, 1091, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1092
 * GL_RGB10_A2 = renpy.uguu.gl.GL_RGB10_A2
 * GL_TEXTURE_BINDING_2D = renpy.uguu.gl.GL_TEXTURE_BINDING_2D
 * GL_TEXTURE_BINDING_3D = renpy.uguu.gl.GL_TEXTURE_BINDING_3D             # <<<<<<<<<<<<<<
 * GL_UNPACK_SKIP_IMAGES = renpy.uguu.gl.GL_UNPACK_SKIP_IMAGES
 * GL_UNPACK_IMAGE_HEIGHT = renpy.uguu.gl.GL_UNPACK_IMAGE_HEIGHT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_BINDING_3D); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1092, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_BINDING_3D, __pyx_t_1) < 0) __PYX_ERR(1, 1092, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1093
 * GL_TEXTURE_BINDING_2D = renpy.uguu.gl.GL_TEXTURE_BINDING_2D
 * GL_TEXTURE_BINDING_3D = renpy.uguu.gl.GL_TEXTURE_BINDING_3D
 * GL_UNPACK_SKIP_IMAGES = renpy.uguu.gl.GL_UNPACK_SKIP_IMAGES             # <<<<<<<<<<<<<<
 * GL_UNPACK_IMAGE_HEIGHT = renpy.uguu.gl.GL_UNPACK_IMAGE_HEIGHT
 * GL_TEXTURE_3D = renpy.uguu.gl.GL_TEXTURE_3D
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNPACK_SKIP_IMAGES); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1093, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNPACK_SKIP_IMAGES, __pyx_t_1) < 0) __PYX_ERR(1, 1093, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1094
 * GL_TEXTURE_BINDING_3D = renpy.uguu.gl.GL_TEXTURE_BINDING_3D
 * GL_UNPACK_SKIP_IMAGES = renpy.uguu.gl.GL_UNPACK_SKIP_IMAGES
 * GL_UNPACK_IMAGE_HEIGHT = renpy.uguu.gl.GL_UNPACK_IMAGE_HEIGHT             # <<<<<<<<<<<<<<
 * GL_TEXTURE_3D = renpy.uguu.gl.GL_TEXTURE_3D
 * GL_TEXTURE_WRAP_R = renpy.uguu.gl.GL_TEXTURE_WRAP_R
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNPACK_IMAGE_HEIGHT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1094, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNPACK_IMAGE_HEIGHT, __pyx_t_1) < 0) __PYX_ERR(1, 1094, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1095
 * GL_UNPACK_SKIP_IMAGES = renpy.uguu.gl.GL_UNPACK_SKIP_IMAGES
 * GL_UNPACK_IMAGE_HEIGHT = renpy.uguu.gl.GL_UNPACK_IMAGE_HEIGHT
 * GL_TEXTURE_3D = renpy.uguu.gl.GL_TEXTURE_3D             # <<<<<<<<<<<<<<
 * GL_TEXTURE_WRAP_R = renpy.uguu.gl.GL_TEXTURE_WRAP_R
 * GL_MAX_3D_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_3D_TEXTURE_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_3D); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1095, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_3D, __pyx_t_1) < 0) __PYX_ERR(1, 1095, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1096
 * GL_UNPACK_IMAGE_HEIGHT = renpy.uguu.gl.GL_UNPACK_IMAGE_HEIGHT
 * GL_TEXTURE_3D = renpy.uguu.gl.GL_TEXTURE_3D
 * GL_TEXTURE_WRAP_R = renpy.uguu.gl.GL_TEXTURE_WRAP_R             # <<<<<<<<<<<<<<
 * GL_MAX_3D_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_3D_TEXTURE_SIZE
 * GL_SAMPLE_ALPHA_TO_COVERAGE = renpy.uguu.gl.GL_SAMPLE_ALPHA_TO_COVERAGE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_WRAP_R); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1096, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_WRAP_R, __pyx_t_1) < 0) __PYX_ERR(1, 1096, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1097
 * GL_TEXTURE_3D = renpy.uguu.gl.GL_TEXTURE_3D
 * GL_TEXTURE_WRAP_R = renpy.uguu.gl.GL_TEXTURE_WRAP_R
 * GL_MAX_3D_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_3D_TEXTURE_SIZE             # <<<<<<<<<<<<<<
 * GL_SAMPLE_ALPHA_TO_COVERAGE = renpy.uguu.gl.GL_SAMPLE_ALPHA_TO_COVERAGE
 * GL_SAMPLE_COVERAGE = renpy.uguu.gl.GL_SAMPLE_COVERAGE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_3D_TEXTURE_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1097, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_3D_TEXTURE_SIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1097, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1098
 * GL_TEXTURE_WRAP_R = renpy.uguu.gl.GL_TEXTURE_WRAP_R
 * GL_MAX_3D_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_3D_TEXTURE_SIZE
 * GL_SAMPLE_ALPHA_TO_COVERAGE = renpy.uguu.gl.GL_SAMPLE_ALPHA_TO_COVERAGE             # <<<<<<<<<<<<<<
 * GL_SAMPLE_COVERAGE = renpy.uguu.gl.GL_SAMPLE_COVERAGE
 * GL_SAMPLE_BUFFERS = renpy.uguu.gl.GL_SAMPLE_BUFFERS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLE_ALPHA_TO_COVERAGE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1098, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLE_ALPHA_TO_COVERAGE, __pyx_t_1) < 0) __PYX_ERR(1, 1098, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1099
 * GL_MAX_3D_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_3D_TEXTURE_SIZE
 * GL_SAMPLE_ALPHA_TO_COVERAGE = renpy.uguu.gl.GL_SAMPLE_ALPHA_TO_COVERAGE
 * GL_SAMPLE_COVERAGE = renpy.uguu.gl.GL_SAMPLE_COVERAGE             # <<<<<<<<<<<<<<
 * GL_SAMPLE_BUFFERS = renpy.uguu.gl.GL_SAMPLE_BUFFERS
 * GL_SAMPLES = renpy.uguu.gl.GL_SAMPLES
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLE_COVERAGE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1099, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLE_COVERAGE, __pyx_t_1) < 0) __PYX_ERR(1, 1099, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1100
 * GL_SAMPLE_ALPHA_TO_COVERAGE = renpy.uguu.gl.GL_SAMPLE_ALPHA_TO_COVERAGE
 * GL_SAMPLE_COVERAGE = renpy.uguu.gl.GL_SAMPLE_COVERAGE
 * GL_SAMPLE_BUFFERS = renpy.uguu.gl.GL_SAMPLE_BUFFERS             # <<<<<<<<<<<<<<
 * GL_SAMPLES = renpy.uguu.gl.GL_SAMPLES
 * GL_SAMPLE_COVERAGE_VALUE = renpy.uguu.gl.GL_SAMPLE_COVERAGE_VALUE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLE_BUFFERS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1100, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLE_BUFFERS, __pyx_t_1) < 0) __PYX_ERR(1, 1100, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1101
 * GL_SAMPLE_COVERAGE = renpy.uguu.gl.GL_SAMPLE_COVERAGE
 * GL_SAMPLE_BUFFERS = renpy.uguu.gl.GL_SAMPLE_BUFFERS
 * GL_SAMPLES = renpy.uguu.gl.GL_SAMPLES             # <<<<<<<<<<<<<<
 * GL_SAMPLE_COVERAGE_VALUE = renpy.uguu.gl.GL_SAMPLE_COVERAGE_VALUE
 * GL_SAMPLE_COVERAGE_INVERT = renpy.uguu.gl.GL_SAMPLE_COVERAGE_INVERT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLES); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1101, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLES, __pyx_t_1) < 0) __PYX_ERR(1, 1101, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1102
 * GL_SAMPLE_BUFFERS = renpy.uguu.gl.GL_SAMPLE_BUFFERS
 * GL_SAMPLES = renpy.uguu.gl.GL_SAMPLES
 * GL_SAMPLE_COVERAGE_VALUE = renpy.uguu.gl.GL_SAMPLE_COVERAGE_VALUE             # <<<<<<<<<<<<<<
 * GL_SAMPLE_COVERAGE_INVERT = renpy.uguu.gl.GL_SAMPLE_COVERAGE_INVERT
 * GL_BLEND_DST_RGB = renpy.uguu.gl.GL_BLEND_DST_RGB
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLE_COVERAGE_VALUE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1102, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLE_COVERAGE_VALUE, __pyx_t_1) < 0) __PYX_ERR(1, 1102, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1103
 * GL_SAMPLES = renpy.uguu.gl.GL_SAMPLES
 * GL_SAMPLE_COVERAGE_VALUE = renpy.uguu.gl.GL_SAMPLE_COVERAGE_VALUE
 * GL_SAMPLE_COVERAGE_INVERT = renpy.uguu.gl.GL_SAMPLE_COVERAGE_INVERT             # <<<<<<<<<<<<<<
 * GL_BLEND_DST_RGB = renpy.uguu.gl.GL_BLEND_DST_RGB
 * GL_BLEND_SRC_RGB = renpy.uguu.gl.GL_BLEND_SRC_RGB
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLE_COVERAGE_INVERT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1103, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLE_COVERAGE_INVERT, __pyx_t_1) < 0) __PYX_ERR(1, 1103, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1104
 * GL_SAMPLE_COVERAGE_VALUE = renpy.uguu.gl.GL_SAMPLE_COVERAGE_VALUE
 * GL_SAMPLE_COVERAGE_INVERT = renpy.uguu.gl.GL_SAMPLE_COVERAGE_INVERT
 * GL_BLEND_DST_RGB = renpy.uguu.gl.GL_BLEND_DST_RGB             # <<<<<<<<<<<<<<
 * GL_BLEND_SRC_RGB = renpy.uguu.gl.GL_BLEND_SRC_RGB
 * GL_BLEND_DST_ALPHA = renpy.uguu.gl.GL_BLEND_DST_ALPHA
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BLEND_DST_RGB); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1104, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BLEND_DST_RGB, __pyx_t_1) < 0) __PYX_ERR(1, 1104, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1105
 * GL_SAMPLE_COVERAGE_INVERT = renpy.uguu.gl.GL_SAMPLE_COVERAGE_INVERT
 * GL_BLEND_DST_RGB = renpy.uguu.gl.GL_BLEND_DST_RGB
 * GL_BLEND_SRC_RGB = renpy.uguu.gl.GL_BLEND_SRC_RGB             # <<<<<<<<<<<<<<
 * GL_BLEND_DST_ALPHA = renpy.uguu.gl.GL_BLEND_DST_ALPHA
 * GL_BLEND_SRC_ALPHA = renpy.uguu.gl.GL_BLEND_SRC_ALPHA
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BLEND_SRC_RGB); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1105, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BLEND_SRC_RGB, __pyx_t_1) < 0) __PYX_ERR(1, 1105, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1106
 * GL_BLEND_DST_RGB = renpy.uguu.gl.GL_BLEND_DST_RGB
 * GL_BLEND_SRC_RGB = renpy.uguu.gl.GL_BLEND_SRC_RGB
 * GL_BLEND_DST_ALPHA = renpy.uguu.gl.GL_BLEND_DST_ALPHA             # <<<<<<<<<<<<<<
 * GL_BLEND_SRC_ALPHA = renpy.uguu.gl.GL_BLEND_SRC_ALPHA
 * GL_MAX_ELEMENTS_VERTICES = renpy.uguu.gl.GL_MAX_ELEMENTS_VERTICES
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BLEND_DST_ALPHA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1106, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BLEND_DST_ALPHA, __pyx_t_1) < 0) __PYX_ERR(1, 1106, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1107
 * GL_BLEND_SRC_RGB = renpy.uguu.gl.GL_BLEND_SRC_RGB
 * GL_BLEND_DST_ALPHA = renpy.uguu.gl.GL_BLEND_DST_ALPHA
 * GL_BLEND_SRC_ALPHA = renpy.uguu.gl.GL_BLEND_SRC_ALPHA             # <<<<<<<<<<<<<<
 * GL_MAX_ELEMENTS_VERTICES = renpy.uguu.gl.GL_MAX_ELEMENTS_VERTICES
 * GL_MAX_ELEMENTS_INDICES = renpy.uguu.gl.GL_MAX_ELEMENTS_INDICES
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BLEND_SRC_ALPHA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1107, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BLEND_SRC_ALPHA, __pyx_t_1) < 0) __PYX_ERR(1, 1107, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1108
 * GL_BLEND_DST_ALPHA = renpy.uguu.gl.GL_BLEND_DST_ALPHA
 * GL_BLEND_SRC_ALPHA = renpy.uguu.gl.GL_BLEND_SRC_ALPHA
 * GL_MAX_ELEMENTS_VERTICES = renpy.uguu.gl.GL_MAX_ELEMENTS_VERTICES             # <<<<<<<<<<<<<<
 * GL_MAX_ELEMENTS_INDICES = renpy.uguu.gl.GL_MAX_ELEMENTS_INDICES
 * GL_CLAMP_TO_EDGE = renpy.uguu.gl.GL_CLAMP_TO_EDGE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_ELEMENTS_VERTICES); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1108, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_ELEMENTS_VERTICES, __pyx_t_1) < 0) __PYX_ERR(1, 1108, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1109
 * GL_BLEND_SRC_ALPHA = renpy.uguu.gl.GL_BLEND_SRC_ALPHA
 * GL_MAX_ELEMENTS_VERTICES = renpy.uguu.gl.GL_MAX_ELEMENTS_VERTICES
 * GL_MAX_ELEMENTS_INDICES = renpy.uguu.gl.GL_MAX_ELEMENTS_INDICES             # <<<<<<<<<<<<<<
 * GL_CLAMP_TO_EDGE = renpy.uguu.gl.GL_CLAMP_TO_EDGE
 * GL_TEXTURE_MIN_LOD = renpy.uguu.gl.GL_TEXTURE_MIN_LOD
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_ELEMENTS_INDICES); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1109, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_ELEMENTS_INDICES, __pyx_t_1) < 0) __PYX_ERR(1, 1109, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1110
 * GL_MAX_ELEMENTS_VERTICES = renpy.uguu.gl.GL_MAX_ELEMENTS_VERTICES
 * GL_MAX_ELEMENTS_INDICES = renpy.uguu.gl.GL_MAX_ELEMENTS_INDICES
 * GL_CLAMP_TO_EDGE = renpy.uguu.gl.GL_CLAMP_TO_EDGE             # <<<<<<<<<<<<<<
 * GL_TEXTURE_MIN_LOD = renpy.uguu.gl.GL_TEXTURE_MIN_LOD
 * GL_TEXTURE_MAX_LOD = renpy.uguu.gl.GL_TEXTURE_MAX_LOD
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_CLAMP_TO_EDGE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1110, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_CLAMP_TO_EDGE, __pyx_t_1) < 0) __PYX_ERR(1, 1110, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1111
 * GL_MAX_ELEMENTS_INDICES = renpy.uguu.gl.GL_MAX_ELEMENTS_INDICES
 * GL_CLAMP_TO_EDGE = renpy.uguu.gl.GL_CLAMP_TO_EDGE
 * GL_TEXTURE_MIN_LOD = renpy.uguu.gl.GL_TEXTURE_MIN_LOD             # <<<<<<<<<<<<<<
 * GL_TEXTURE_MAX_LOD = renpy.uguu.gl.GL_TEXTURE_MAX_LOD
 * GL_TEXTURE_BASE_LEVEL = renpy.uguu.gl.GL_TEXTURE_BASE_LEVEL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_MIN_LOD); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1111, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_MIN_LOD, __pyx_t_1) < 0) __PYX_ERR(1, 1111, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1112
 * GL_CLAMP_TO_EDGE = renpy.uguu.gl.GL_CLAMP_TO_EDGE
 * GL_TEXTURE_MIN_LOD = renpy.uguu.gl.GL_TEXTURE_MIN_LOD
 * GL_TEXTURE_MAX_LOD = renpy.uguu.gl.GL_TEXTURE_MAX_LOD             # <<<<<<<<<<<<<<
 * GL_TEXTURE_BASE_LEVEL = renpy.uguu.gl.GL_TEXTURE_BASE_LEVEL
 * GL_TEXTURE_MAX_LEVEL = renpy.uguu.gl.GL_TEXTURE_MAX_LEVEL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_MAX_LOD); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1112, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_MAX_LOD, __pyx_t_1) < 0) __PYX_ERR(1, 1112, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1113
 * GL_TEXTURE_MIN_LOD = renpy.uguu.gl.GL_TEXTURE_MIN_LOD
 * GL_TEXTURE_MAX_LOD = renpy.uguu.gl.GL_TEXTURE_MAX_LOD
 * GL_TEXTURE_BASE_LEVEL = renpy.uguu.gl.GL_TEXTURE_BASE_LEVEL             # <<<<<<<<<<<<<<
 * GL_TEXTURE_MAX_LEVEL = renpy.uguu.gl.GL_TEXTURE_MAX_LEVEL
 * GL_GENERATE_MIPMAP_HINT = renpy.uguu.gl.GL_GENERATE_MIPMAP_HINT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_BASE_LEVEL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1113, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_BASE_LEVEL, __pyx_t_1) < 0) __PYX_ERR(1, 1113, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1114
 * GL_TEXTURE_MAX_LOD = renpy.uguu.gl.GL_TEXTURE_MAX_LOD
 * GL_TEXTURE_BASE_LEVEL = renpy.uguu.gl.GL_TEXTURE_BASE_LEVEL
 * GL_TEXTURE_MAX_LEVEL = renpy.uguu.gl.GL_TEXTURE_MAX_LEVEL             # <<<<<<<<<<<<<<
 * GL_GENERATE_MIPMAP_HINT = renpy.uguu.gl.GL_GENERATE_MIPMAP_HINT
 * GL_DEPTH_COMPONENT16 = renpy.uguu.gl.GL_DEPTH_COMPONENT16
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_MAX_LEVEL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1114, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_MAX_LEVEL, __pyx_t_1) < 0) __PYX_ERR(1, 1114, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1115
 * GL_TEXTURE_BASE_LEVEL = renpy.uguu.gl.GL_TEXTURE_BASE_LEVEL
 * GL_TEXTURE_MAX_LEVEL = renpy.uguu.gl.GL_TEXTURE_MAX_LEVEL
 * GL_GENERATE_MIPMAP_HINT = renpy.uguu.gl.GL_GENERATE_MIPMAP_HINT             # <<<<<<<<<<<<<<
 * GL_DEPTH_COMPONENT16 = renpy.uguu.gl.GL_DEPTH_COMPONENT16
 * GL_DEPTH_COMPONENT24 = renpy.uguu.gl.GL_DEPTH_COMPONENT24
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_GENERATE_MIPMAP_HINT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1115, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_GENERATE_MIPMAP_HINT, __pyx_t_1) < 0) __PYX_ERR(1, 1115, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1116
 * GL_TEXTURE_MAX_LEVEL = renpy.uguu.gl.GL_TEXTURE_MAX_LEVEL
 * GL_GENERATE_MIPMAP_HINT = renpy.uguu.gl.GL_GENERATE_MIPMAP_HINT
 * GL_DEPTH_COMPONENT16 = renpy.uguu.gl.GL_DEPTH_COMPONENT16             # <<<<<<<<<<<<<<
 * GL_DEPTH_COMPONENT24 = renpy.uguu.gl.GL_DEPTH_COMPONENT24
 * GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_COMPONENT16); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1116, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_COMPONENT16, __pyx_t_1) < 0) __PYX_ERR(1, 1116, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1117
 * GL_GENERATE_MIPMAP_HINT = renpy.uguu.gl.GL_GENERATE_MIPMAP_HINT
 * GL_DEPTH_COMPONENT16 = renpy.uguu.gl.GL_DEPTH_COMPONENT16
 * GL_DEPTH_COMPONENT24 = renpy.uguu.gl.GL_DEPTH_COMPONENT24             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING
 * GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_COMPONENT24); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1117, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_COMPONENT24, __pyx_t_1) < 0) __PYX_ERR(1, 1117, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1118
 * GL_DEPTH_COMPONENT16 = renpy.uguu.gl.GL_DEPTH_COMPONENT16
 * GL_DEPTH_COMPONENT24 = renpy.uguu.gl.GL_DEPTH_COMPONENT24
 * GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE
 * GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1118, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_COLOR, __pyx_t_1) < 0) __PYX_ERR(1, 1118, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1119
 * GL_DEPTH_COMPONENT24 = renpy.uguu.gl.GL_DEPTH_COMPONENT24
 * GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING
 * GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1119, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_COMPON, __pyx_t_1) < 0) __PYX_ERR(1, 1119, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1120
 * GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING
 * GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE
 * GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1120, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_RED_SI, __pyx_t_1) < 0) __PYX_ERR(1, 1120, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1121
 * GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE
 * GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1121, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_GREEN, __pyx_t_1) < 0) __PYX_ERR(1, 1121, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1122
 * GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1122, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_BLUE_S, __pyx_t_1) < 0) __PYX_ERR(1, 1122, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1123
 * GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1123, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_ALPHA, __pyx_t_1) < 0) __PYX_ERR(1, 1123, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1124
 * GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
 * GL_FRAMEBUFFER_DEFAULT = renpy.uguu.gl.GL_FRAMEBUFFER_DEFAULT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1124, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_DEPTH, __pyx_t_1) < 0) __PYX_ERR(1, 1124, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1125
 * GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_DEFAULT = renpy.uguu.gl.GL_FRAMEBUFFER_DEFAULT
 * GL_FRAMEBUFFER_UNDEFINED = renpy.uguu.gl.GL_FRAMEBUFFER_UNDEFINED
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1125, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_STENCI, __pyx_t_1) < 0) __PYX_ERR(1, 1125, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1126
 * GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE
 * GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
 * GL_FRAMEBUFFER_DEFAULT = renpy.uguu.gl.GL_FRAMEBUFFER_DEFAULT             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_UNDEFINED = renpy.uguu.gl.GL_FRAMEBUFFER_UNDEFINED
 * GL_DEPTH_STENCIL_ATTACHMENT = renpy.uguu.gl.GL_DEPTH_STENCIL_ATTACHMENT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_DEFAULT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1126, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_DEFAULT, __pyx_t_1) < 0) __PYX_ERR(1, 1126, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1127
 * GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
 * GL_FRAMEBUFFER_DEFAULT = renpy.uguu.gl.GL_FRAMEBUFFER_DEFAULT
 * GL_FRAMEBUFFER_UNDEFINED = renpy.uguu.gl.GL_FRAMEBUFFER_UNDEFINED             # <<<<<<<<<<<<<<
 * GL_DEPTH_STENCIL_ATTACHMENT = renpy.uguu.gl.GL_DEPTH_STENCIL_ATTACHMENT
 * GL_MAJOR_VERSION = renpy.uguu.gl.GL_MAJOR_VERSION
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1127, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_UNDEFINED, __pyx_t_1) < 0) __PYX_ERR(1, 1127, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1128
 * GL_FRAMEBUFFER_DEFAULT = renpy.uguu.gl.GL_FRAMEBUFFER_DEFAULT
 * GL_FRAMEBUFFER_UNDEFINED = renpy.uguu.gl.GL_FRAMEBUFFER_UNDEFINED
 * GL_DEPTH_STENCIL_ATTACHMENT = renpy.uguu.gl.GL_DEPTH_STENCIL_ATTACHMENT             # <<<<<<<<<<<<<<
 * GL_MAJOR_VERSION = renpy.uguu.gl.GL_MAJOR_VERSION
 * GL_MINOR_VERSION = renpy.uguu.gl.GL_MINOR_VERSION
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_STENCIL_ATTACHMENT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1128, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_STENCIL_ATTACHMENT, __pyx_t_1) < 0) __PYX_ERR(1, 1128, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1129
 * GL_FRAMEBUFFER_UNDEFINED = renpy.uguu.gl.GL_FRAMEBUFFER_UNDEFINED
 * GL_DEPTH_STENCIL_ATTACHMENT = renpy.uguu.gl.GL_DEPTH_STENCIL_ATTACHMENT
 * GL_MAJOR_VERSION = renpy.uguu.gl.GL_MAJOR_VERSION             # <<<<<<<<<<<<<<
 * GL_MINOR_VERSION = renpy.uguu.gl.GL_MINOR_VERSION
 * GL_NUM_EXTENSIONS = renpy.uguu.gl.GL_NUM_EXTENSIONS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAJOR_VERSION); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1129, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAJOR_VERSION, __pyx_t_1) < 0) __PYX_ERR(1, 1129, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1130
 * GL_DEPTH_STENCIL_ATTACHMENT = renpy.uguu.gl.GL_DEPTH_STENCIL_ATTACHMENT
 * GL_MAJOR_VERSION = renpy.uguu.gl.GL_MAJOR_VERSION
 * GL_MINOR_VERSION = renpy.uguu.gl.GL_MINOR_VERSION             # <<<<<<<<<<<<<<
 * GL_NUM_EXTENSIONS = renpy.uguu.gl.GL_NUM_EXTENSIONS
 * GL_RG = renpy.uguu.gl.GL_RG
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MINOR_VERSION); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1130, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MINOR_VERSION, __pyx_t_1) < 0) __PYX_ERR(1, 1130, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1131
 * GL_MAJOR_VERSION = renpy.uguu.gl.GL_MAJOR_VERSION
 * GL_MINOR_VERSION = renpy.uguu.gl.GL_MINOR_VERSION
 * GL_NUM_EXTENSIONS = renpy.uguu.gl.GL_NUM_EXTENSIONS             # <<<<<<<<<<<<<<
 * GL_RG = renpy.uguu.gl.GL_RG
 * GL_RG_INTEGER = renpy.uguu.gl.GL_RG_INTEGER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_NUM_EXTENSIONS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1131, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_NUM_EXTENSIONS, __pyx_t_1) < 0) __PYX_ERR(1, 1131, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1132
 * GL_MINOR_VERSION = renpy.uguu.gl.GL_MINOR_VERSION
 * GL_NUM_EXTENSIONS = renpy.uguu.gl.GL_NUM_EXTENSIONS
 * GL_RG = renpy.uguu.gl.GL_RG             # <<<<<<<<<<<<<<
 * GL_RG_INTEGER = renpy.uguu.gl.GL_RG_INTEGER
 * GL_R8 = renpy.uguu.gl.GL_R8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RG); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1132, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RG, __pyx_t_1) < 0) __PYX_ERR(1, 1132, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1133
 * GL_NUM_EXTENSIONS = renpy.uguu.gl.GL_NUM_EXTENSIONS
 * GL_RG = renpy.uguu.gl.GL_RG
 * GL_RG_INTEGER = renpy.uguu.gl.GL_RG_INTEGER             # <<<<<<<<<<<<<<
 * GL_R8 = renpy.uguu.gl.GL_R8
 * GL_RG8 = renpy.uguu.gl.GL_RG8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RG_INTEGER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1133, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RG_INTEGER, __pyx_t_1) < 0) __PYX_ERR(1, 1133, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1134
 * GL_RG = renpy.uguu.gl.GL_RG
 * GL_RG_INTEGER = renpy.uguu.gl.GL_RG_INTEGER
 * GL_R8 = renpy.uguu.gl.GL_R8             # <<<<<<<<<<<<<<
 * GL_RG8 = renpy.uguu.gl.GL_RG8
 * GL_R16F = renpy.uguu.gl.GL_R16F
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_R8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1134, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_R8, __pyx_t_1) < 0) __PYX_ERR(1, 1134, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1135
 * GL_RG_INTEGER = renpy.uguu.gl.GL_RG_INTEGER
 * GL_R8 = renpy.uguu.gl.GL_R8
 * GL_RG8 = renpy.uguu.gl.GL_RG8             # <<<<<<<<<<<<<<
 * GL_R16F = renpy.uguu.gl.GL_R16F
 * GL_R32F = renpy.uguu.gl.GL_R32F
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RG8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1135, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RG8, __pyx_t_1) < 0) __PYX_ERR(1, 1135, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1136
 * GL_R8 = renpy.uguu.gl.GL_R8
 * GL_RG8 = renpy.uguu.gl.GL_RG8
 * GL_R16F = renpy.uguu.gl.GL_R16F             # <<<<<<<<<<<<<<
 * GL_R32F = renpy.uguu.gl.GL_R32F
 * GL_RG16F = renpy.uguu.gl.GL_RG16F
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_R16F); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1136, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_R16F, __pyx_t_1) < 0) __PYX_ERR(1, 1136, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1137
 * GL_RG8 = renpy.uguu.gl.GL_RG8
 * GL_R16F = renpy.uguu.gl.GL_R16F
 * GL_R32F = renpy.uguu.gl.GL_R32F             # <<<<<<<<<<<<<<
 * GL_RG16F = renpy.uguu.gl.GL_RG16F
 * GL_RG32F = renpy.uguu.gl.GL_RG32F
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_R32F); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1137, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_R32F, __pyx_t_1) < 0) __PYX_ERR(1, 1137, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1138
 * GL_R16F = renpy.uguu.gl.GL_R16F
 * GL_R32F = renpy.uguu.gl.GL_R32F
 * GL_RG16F = renpy.uguu.gl.GL_RG16F             # <<<<<<<<<<<<<<
 * GL_RG32F = renpy.uguu.gl.GL_RG32F
 * GL_R8I = renpy.uguu.gl.GL_R8I
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RG16F); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1138, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RG16F, __pyx_t_1) < 0) __PYX_ERR(1, 1138, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1139
 * GL_R32F = renpy.uguu.gl.GL_R32F
 * GL_RG16F = renpy.uguu.gl.GL_RG16F
 * GL_RG32F = renpy.uguu.gl.GL_RG32F             # <<<<<<<<<<<<<<
 * GL_R8I = renpy.uguu.gl.GL_R8I
 * GL_R8UI = renpy.uguu.gl.GL_R8UI
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RG32F); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1139, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RG32F, __pyx_t_1) < 0) __PYX_ERR(1, 1139, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1140
 * GL_RG16F = renpy.uguu.gl.GL_RG16F
 * GL_RG32F = renpy.uguu.gl.GL_RG32F
 * GL_R8I = renpy.uguu.gl.GL_R8I             # <<<<<<<<<<<<<<
 * GL_R8UI = renpy.uguu.gl.GL_R8UI
 * GL_R16I = renpy.uguu.gl.GL_R16I
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_R8I); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1140, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_R8I, __pyx_t_1) < 0) __PYX_ERR(1, 1140, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1141
 * GL_RG32F = renpy.uguu.gl.GL_RG32F
 * GL_R8I = renpy.uguu.gl.GL_R8I
 * GL_R8UI = renpy.uguu.gl.GL_R8UI             # <<<<<<<<<<<<<<
 * GL_R16I = renpy.uguu.gl.GL_R16I
 * GL_R16UI = renpy.uguu.gl.GL_R16UI
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_R8UI); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1141, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_R8UI, __pyx_t_1) < 0) __PYX_ERR(1, 1141, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1142
 * GL_R8I = renpy.uguu.gl.GL_R8I
 * GL_R8UI = renpy.uguu.gl.GL_R8UI
 * GL_R16I = renpy.uguu.gl.GL_R16I             # <<<<<<<<<<<<<<
 * GL_R16UI = renpy.uguu.gl.GL_R16UI
 * GL_R32I = renpy.uguu.gl.GL_R32I
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_R16I); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1142, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_R16I, __pyx_t_1) < 0) __PYX_ERR(1, 1142, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1143
 * GL_R8UI = renpy.uguu.gl.GL_R8UI
 * GL_R16I = renpy.uguu.gl.GL_R16I
 * GL_R16UI = renpy.uguu.gl.GL_R16UI             # <<<<<<<<<<<<<<
 * GL_R32I = renpy.uguu.gl.GL_R32I
 * GL_R32UI = renpy.uguu.gl.GL_R32UI
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_R16UI); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1143, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_R16UI, __pyx_t_1) < 0) __PYX_ERR(1, 1143, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1144
 * GL_R16I = renpy.uguu.gl.GL_R16I
 * GL_R16UI = renpy.uguu.gl.GL_R16UI
 * GL_R32I = renpy.uguu.gl.GL_R32I             # <<<<<<<<<<<<<<
 * GL_R32UI = renpy.uguu.gl.GL_R32UI
 * GL_RG8I = renpy.uguu.gl.GL_RG8I
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_R32I); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1144, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_R32I, __pyx_t_1) < 0) __PYX_ERR(1, 1144, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1145
 * GL_R16UI = renpy.uguu.gl.GL_R16UI
 * GL_R32I = renpy.uguu.gl.GL_R32I
 * GL_R32UI = renpy.uguu.gl.GL_R32UI             # <<<<<<<<<<<<<<
 * GL_RG8I = renpy.uguu.gl.GL_RG8I
 * GL_RG8UI = renpy.uguu.gl.GL_RG8UI
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_R32UI); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1145, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_R32UI, __pyx_t_1) < 0) __PYX_ERR(1, 1145, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1146
 * GL_R32I = renpy.uguu.gl.GL_R32I
 * GL_R32UI = renpy.uguu.gl.GL_R32UI
 * GL_RG8I = renpy.uguu.gl.GL_RG8I             # <<<<<<<<<<<<<<
 * GL_RG8UI = renpy.uguu.gl.GL_RG8UI
 * GL_RG16I = renpy.uguu.gl.GL_RG16I
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RG8I); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1146, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RG8I, __pyx_t_1) < 0) __PYX_ERR(1, 1146, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1147
 * GL_R32UI = renpy.uguu.gl.GL_R32UI
 * GL_RG8I = renpy.uguu.gl.GL_RG8I
 * GL_RG8UI = renpy.uguu.gl.GL_RG8UI             # <<<<<<<<<<<<<<
 * GL_RG16I = renpy.uguu.gl.GL_RG16I
 * GL_RG16UI = renpy.uguu.gl.GL_RG16UI
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RG8UI); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1147, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RG8UI, __pyx_t_1) < 0) __PYX_ERR(1, 1147, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1148
 * GL_RG8I = renpy.uguu.gl.GL_RG8I
 * GL_RG8UI = renpy.uguu.gl.GL_RG8UI
 * GL_RG16I = renpy.uguu.gl.GL_RG16I             # <<<<<<<<<<<<<<
 * GL_RG16UI = renpy.uguu.gl.GL_RG16UI
 * GL_RG32I = renpy.uguu.gl.GL_RG32I
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RG16I); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1148, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RG16I, __pyx_t_1) < 0) __PYX_ERR(1, 1148, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1149
 * GL_RG8UI = renpy.uguu.gl.GL_RG8UI
 * GL_RG16I = renpy.uguu.gl.GL_RG16I
 * GL_RG16UI = renpy.uguu.gl.GL_RG16UI             # <<<<<<<<<<<<<<
 * GL_RG32I = renpy.uguu.gl.GL_RG32I
 * GL_RG32UI = renpy.uguu.gl.GL_RG32UI
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RG16UI); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1149, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RG16UI, __pyx_t_1) < 0) __PYX_ERR(1, 1149, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1150
 * GL_RG16I = renpy.uguu.gl.GL_RG16I
 * GL_RG16UI = renpy.uguu.gl.GL_RG16UI
 * GL_RG32I = renpy.uguu.gl.GL_RG32I             # <<<<<<<<<<<<<<
 * GL_RG32UI = renpy.uguu.gl.GL_RG32UI
 * GL_UNSIGNED_SHORT_5_6_5 = renpy.uguu.gl.GL_UNSIGNED_SHORT_5_6_5
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RG32I); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1150, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RG32I, __pyx_t_1) < 0) __PYX_ERR(1, 1150, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1151
 * GL_RG16UI = renpy.uguu.gl.GL_RG16UI
 * GL_RG32I = renpy.uguu.gl.GL_RG32I
 * GL_RG32UI = renpy.uguu.gl.GL_RG32UI             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_SHORT_5_6_5 = renpy.uguu.gl.GL_UNSIGNED_SHORT_5_6_5
 * GL_UNSIGNED_INT_2_10_10_10_REV = renpy.uguu.gl.GL_UNSIGNED_INT_2_10_10_10_REV
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RG32UI); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1151, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RG32UI, __pyx_t_1) < 0) __PYX_ERR(1, 1151, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1152
 * GL_RG32I = renpy.uguu.gl.GL_RG32I
 * GL_RG32UI = renpy.uguu.gl.GL_RG32UI
 * GL_UNSIGNED_SHORT_5_6_5 = renpy.uguu.gl.GL_UNSIGNED_SHORT_5_6_5             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_INT_2_10_10_10_REV = renpy.uguu.gl.GL_UNSIGNED_INT_2_10_10_10_REV
 * GL_MIRRORED_REPEAT = renpy.uguu.gl.GL_MIRRORED_REPEAT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_SHORT_5_6_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1152, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_SHORT_5_6_5, __pyx_t_1) < 0) __PYX_ERR(1, 1152, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1153
 * GL_RG32UI = renpy.uguu.gl.GL_RG32UI
 * GL_UNSIGNED_SHORT_5_6_5 = renpy.uguu.gl.GL_UNSIGNED_SHORT_5_6_5
 * GL_UNSIGNED_INT_2_10_10_10_REV = renpy.uguu.gl.GL_UNSIGNED_INT_2_10_10_10_REV             # <<<<<<<<<<<<<<
 * GL_MIRRORED_REPEAT = renpy.uguu.gl.GL_MIRRORED_REPEAT
 * GL_ALIASED_POINT_SIZE_RANGE = renpy.uguu.gl.GL_ALIASED_POINT_SIZE_RANGE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_INT_2_10_10_10_REV); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1153, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_INT_2_10_10_10_REV, __pyx_t_1) < 0) __PYX_ERR(1, 1153, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1154
 * GL_UNSIGNED_SHORT_5_6_5 = renpy.uguu.gl.GL_UNSIGNED_SHORT_5_6_5
 * GL_UNSIGNED_INT_2_10_10_10_REV = renpy.uguu.gl.GL_UNSIGNED_INT_2_10_10_10_REV
 * GL_MIRRORED_REPEAT = renpy.uguu.gl.GL_MIRRORED_REPEAT             # <<<<<<<<<<<<<<
 * GL_ALIASED_POINT_SIZE_RANGE = renpy.uguu.gl.GL_ALIASED_POINT_SIZE_RANGE
 * GL_ALIASED_LINE_WIDTH_RANGE = renpy.uguu.gl.GL_ALIASED_LINE_WIDTH_RANGE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MIRRORED_REPEAT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1154, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MIRRORED_REPEAT, __pyx_t_1) < 0) __PYX_ERR(1, 1154, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1155
 * GL_UNSIGNED_INT_2_10_10_10_REV = renpy.uguu.gl.GL_UNSIGNED_INT_2_10_10_10_REV
 * GL_MIRRORED_REPEAT = renpy.uguu.gl.GL_MIRRORED_REPEAT
 * GL_ALIASED_POINT_SIZE_RANGE = renpy.uguu.gl.GL_ALIASED_POINT_SIZE_RANGE             # <<<<<<<<<<<<<<
 * GL_ALIASED_LINE_WIDTH_RANGE = renpy.uguu.gl.GL_ALIASED_LINE_WIDTH_RANGE
 * GL_TEXTURE0 = renpy.uguu.gl.GL_TEXTURE0
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ALIASED_POINT_SIZE_RANGE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1155, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ALIASED_POINT_SIZE_RANGE, __pyx_t_1) < 0) __PYX_ERR(1, 1155, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1156
 * GL_MIRRORED_REPEAT = renpy.uguu.gl.GL_MIRRORED_REPEAT
 * GL_ALIASED_POINT_SIZE_RANGE = renpy.uguu.gl.GL_ALIASED_POINT_SIZE_RANGE
 * GL_ALIASED_LINE_WIDTH_RANGE = renpy.uguu.gl.GL_ALIASED_LINE_WIDTH_RANGE             # <<<<<<<<<<<<<<
 * GL_TEXTURE0 = renpy.uguu.gl.GL_TEXTURE0
 * GL_TEXTURE1 = renpy.uguu.gl.GL_TEXTURE1
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ALIASED_LINE_WIDTH_RANGE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1156, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ALIASED_LINE_WIDTH_RANGE, __pyx_t_1) < 0) __PYX_ERR(1, 1156, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1157
 * GL_ALIASED_POINT_SIZE_RANGE = renpy.uguu.gl.GL_ALIASED_POINT_SIZE_RANGE
 * GL_ALIASED_LINE_WIDTH_RANGE = renpy.uguu.gl.GL_ALIASED_LINE_WIDTH_RANGE
 * GL_TEXTURE0 = renpy.uguu.gl.GL_TEXTURE0             # <<<<<<<<<<<<<<
 * GL_TEXTURE1 = renpy.uguu.gl.GL_TEXTURE1
 * GL_TEXTURE2 = renpy.uguu.gl.GL_TEXTURE2
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1157, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE0, __pyx_t_1) < 0) __PYX_ERR(1, 1157, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1158
 * GL_ALIASED_LINE_WIDTH_RANGE = renpy.uguu.gl.GL_ALIASED_LINE_WIDTH_RANGE
 * GL_TEXTURE0 = renpy.uguu.gl.GL_TEXTURE0
 * GL_TEXTURE1 = renpy.uguu.gl.GL_TEXTURE1             # <<<<<<<<<<<<<<
 * GL_TEXTURE2 = renpy.uguu.gl.GL_TEXTURE2
 * GL_TEXTURE3 = renpy.uguu.gl.GL_TEXTURE3
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1158, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE1, __pyx_t_1) < 0) __PYX_ERR(1, 1158, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1159
 * GL_TEXTURE0 = renpy.uguu.gl.GL_TEXTURE0
 * GL_TEXTURE1 = renpy.uguu.gl.GL_TEXTURE1
 * GL_TEXTURE2 = renpy.uguu.gl.GL_TEXTURE2             # <<<<<<<<<<<<<<
 * GL_TEXTURE3 = renpy.uguu.gl.GL_TEXTURE3
 * GL_TEXTURE4 = renpy.uguu.gl.GL_TEXTURE4
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1159, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE2, __pyx_t_1) < 0) __PYX_ERR(1, 1159, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1160
 * GL_TEXTURE1 = renpy.uguu.gl.GL_TEXTURE1
 * GL_TEXTURE2 = renpy.uguu.gl.GL_TEXTURE2
 * GL_TEXTURE3 = renpy.uguu.gl.GL_TEXTURE3             # <<<<<<<<<<<<<<
 * GL_TEXTURE4 = renpy.uguu.gl.GL_TEXTURE4
 * GL_TEXTURE5 = renpy.uguu.gl.GL_TEXTURE5
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1160, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE3, __pyx_t_1) < 0) __PYX_ERR(1, 1160, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1161
 * GL_TEXTURE2 = renpy.uguu.gl.GL_TEXTURE2
 * GL_TEXTURE3 = renpy.uguu.gl.GL_TEXTURE3
 * GL_TEXTURE4 = renpy.uguu.gl.GL_TEXTURE4             # <<<<<<<<<<<<<<
 * GL_TEXTURE5 = renpy.uguu.gl.GL_TEXTURE5
 * GL_TEXTURE6 = renpy.uguu.gl.GL_TEXTURE6
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1161, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE4, __pyx_t_1) < 0) __PYX_ERR(1, 1161, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1162
 * GL_TEXTURE3 = renpy.uguu.gl.GL_TEXTURE3
 * GL_TEXTURE4 = renpy.uguu.gl.GL_TEXTURE4
 * GL_TEXTURE5 = renpy.uguu.gl.GL_TEXTURE5             # <<<<<<<<<<<<<<
 * GL_TEXTURE6 = renpy.uguu.gl.GL_TEXTURE6
 * GL_TEXTURE7 = renpy.uguu.gl.GL_TEXTURE7
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE5); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1162, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE5, __pyx_t_1) < 0) __PYX_ERR(1, 1162, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1163
 * GL_TEXTURE4 = renpy.uguu.gl.GL_TEXTURE4
 * GL_TEXTURE5 = renpy.uguu.gl.GL_TEXTURE5
 * GL_TEXTURE6 = renpy.uguu.gl.GL_TEXTURE6             # <<<<<<<<<<<<<<
 * GL_TEXTURE7 = renpy.uguu.gl.GL_TEXTURE7
 * GL_TEXTURE8 = renpy.uguu.gl.GL_TEXTURE8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE6); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1163, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE6, __pyx_t_1) < 0) __PYX_ERR(1, 1163, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1164
 * GL_TEXTURE5 = renpy.uguu.gl.GL_TEXTURE5
 * GL_TEXTURE6 = renpy.uguu.gl.GL_TEXTURE6
 * GL_TEXTURE7 = renpy.uguu.gl.GL_TEXTURE7             # <<<<<<<<<<<<<<
 * GL_TEXTURE8 = renpy.uguu.gl.GL_TEXTURE8
 * GL_TEXTURE9 = renpy.uguu.gl.GL_TEXTURE9
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE7); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1164, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE7, __pyx_t_1) < 0) __PYX_ERR(1, 1164, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1165
 * GL_TEXTURE6 = renpy.uguu.gl.GL_TEXTURE6
 * GL_TEXTURE7 = renpy.uguu.gl.GL_TEXTURE7
 * GL_TEXTURE8 = renpy.uguu.gl.GL_TEXTURE8             # <<<<<<<<<<<<<<
 * GL_TEXTURE9 = renpy.uguu.gl.GL_TEXTURE9
 * GL_TEXTURE10 = renpy.uguu.gl.GL_TEXTURE10
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1165, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE8, __pyx_t_1) < 0) __PYX_ERR(1, 1165, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1166
 * GL_TEXTURE7 = renpy.uguu.gl.GL_TEXTURE7
 * GL_TEXTURE8 = renpy.uguu.gl.GL_TEXTURE8
 * GL_TEXTURE9 = renpy.uguu.gl.GL_TEXTURE9             # <<<<<<<<<<<<<<
 * GL_TEXTURE10 = renpy.uguu.gl.GL_TEXTURE10
 * GL_TEXTURE11 = renpy.uguu.gl.GL_TEXTURE11
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE9); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1166, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE9, __pyx_t_1) < 0) __PYX_ERR(1, 1166, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1167
 * GL_TEXTURE8 = renpy.uguu.gl.GL_TEXTURE8
 * GL_TEXTURE9 = renpy.uguu.gl.GL_TEXTURE9
 * GL_TEXTURE10 = renpy.uguu.gl.GL_TEXTURE10             # <<<<<<<<<<<<<<
 * GL_TEXTURE11 = renpy.uguu.gl.GL_TEXTURE11
 * GL_TEXTURE12 = renpy.uguu.gl.GL_TEXTURE12
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE10); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1167, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE10, __pyx_t_1) < 0) __PYX_ERR(1, 1167, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1168
 * GL_TEXTURE9 = renpy.uguu.gl.GL_TEXTURE9
 * GL_TEXTURE10 = renpy.uguu.gl.GL_TEXTURE10
 * GL_TEXTURE11 = renpy.uguu.gl.GL_TEXTURE11             # <<<<<<<<<<<<<<
 * GL_TEXTURE12 = renpy.uguu.gl.GL_TEXTURE12
 * GL_TEXTURE13 = renpy.uguu.gl.GL_TEXTURE13
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE11); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1168, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE11, __pyx_t_1) < 0) __PYX_ERR(1, 1168, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1169
 * GL_TEXTURE10 = renpy.uguu.gl.GL_TEXTURE10
 * GL_TEXTURE11 = renpy.uguu.gl.GL_TEXTURE11
 * GL_TEXTURE12 = renpy.uguu.gl.GL_TEXTURE12             # <<<<<<<<<<<<<<
 * GL_TEXTURE13 = renpy.uguu.gl.GL_TEXTURE13
 * GL_TEXTURE14 = renpy.uguu.gl.GL_TEXTURE14
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE12); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1169, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE12, __pyx_t_1) < 0) __PYX_ERR(1, 1169, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1170
 * GL_TEXTURE11 = renpy.uguu.gl.GL_TEXTURE11
 * GL_TEXTURE12 = renpy.uguu.gl.GL_TEXTURE12
 * GL_TEXTURE13 = renpy.uguu.gl.GL_TEXTURE13             # <<<<<<<<<<<<<<
 * GL_TEXTURE14 = renpy.uguu.gl.GL_TEXTURE14
 * GL_TEXTURE15 = renpy.uguu.gl.GL_TEXTURE15
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE13); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1170, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE13, __pyx_t_1) < 0) __PYX_ERR(1, 1170, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1171
 * GL_TEXTURE12 = renpy.uguu.gl.GL_TEXTURE12
 * GL_TEXTURE13 = renpy.uguu.gl.GL_TEXTURE13
 * GL_TEXTURE14 = renpy.uguu.gl.GL_TEXTURE14             # <<<<<<<<<<<<<<
 * GL_TEXTURE15 = renpy.uguu.gl.GL_TEXTURE15
 * GL_TEXTURE16 = renpy.uguu.gl.GL_TEXTURE16
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE14); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1171, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE14, __pyx_t_1) < 0) __PYX_ERR(1, 1171, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1172
 * GL_TEXTURE13 = renpy.uguu.gl.GL_TEXTURE13
 * GL_TEXTURE14 = renpy.uguu.gl.GL_TEXTURE14
 * GL_TEXTURE15 = renpy.uguu.gl.GL_TEXTURE15             # <<<<<<<<<<<<<<
 * GL_TEXTURE16 = renpy.uguu.gl.GL_TEXTURE16
 * GL_TEXTURE17 = renpy.uguu.gl.GL_TEXTURE17
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE15); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1172, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE15, __pyx_t_1) < 0) __PYX_ERR(1, 1172, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1173
 * GL_TEXTURE14 = renpy.uguu.gl.GL_TEXTURE14
 * GL_TEXTURE15 = renpy.uguu.gl.GL_TEXTURE15
 * GL_TEXTURE16 = renpy.uguu.gl.GL_TEXTURE16             # <<<<<<<<<<<<<<
 * GL_TEXTURE17 = renpy.uguu.gl.GL_TEXTURE17
 * GL_TEXTURE18 = renpy.uguu.gl.GL_TEXTURE18
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE16); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1173, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE16, __pyx_t_1) < 0) __PYX_ERR(1, 1173, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1174
 * GL_TEXTURE15 = renpy.uguu.gl.GL_TEXTURE15
 * GL_TEXTURE16 = renpy.uguu.gl.GL_TEXTURE16
 * GL_TEXTURE17 = renpy.uguu.gl.GL_TEXTURE17             # <<<<<<<<<<<<<<
 * GL_TEXTURE18 = renpy.uguu.gl.GL_TEXTURE18
 * GL_TEXTURE19 = renpy.uguu.gl.GL_TEXTURE19
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE17); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1174, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE17, __pyx_t_1) < 0) __PYX_ERR(1, 1174, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1175
 * GL_TEXTURE16 = renpy.uguu.gl.GL_TEXTURE16
 * GL_TEXTURE17 = renpy.uguu.gl.GL_TEXTURE17
 * GL_TEXTURE18 = renpy.uguu.gl.GL_TEXTURE18             # <<<<<<<<<<<<<<
 * GL_TEXTURE19 = renpy.uguu.gl.GL_TEXTURE19
 * GL_TEXTURE20 = renpy.uguu.gl.GL_TEXTURE20
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE18); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1175, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE18, __pyx_t_1) < 0) __PYX_ERR(1, 1175, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1176
 * GL_TEXTURE17 = renpy.uguu.gl.GL_TEXTURE17
 * GL_TEXTURE18 = renpy.uguu.gl.GL_TEXTURE18
 * GL_TEXTURE19 = renpy.uguu.gl.GL_TEXTURE19             # <<<<<<<<<<<<<<
 * GL_TEXTURE20 = renpy.uguu.gl.GL_TEXTURE20
 * GL_TEXTURE21 = renpy.uguu.gl.GL_TEXTURE21
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE19); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1176, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE19, __pyx_t_1) < 0) __PYX_ERR(1, 1176, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1177
 * GL_TEXTURE18 = renpy.uguu.gl.GL_TEXTURE18
 * GL_TEXTURE19 = renpy.uguu.gl.GL_TEXTURE19
 * GL_TEXTURE20 = renpy.uguu.gl.GL_TEXTURE20             # <<<<<<<<<<<<<<
 * GL_TEXTURE21 = renpy.uguu.gl.GL_TEXTURE21
 * GL_TEXTURE22 = renpy.uguu.gl.GL_TEXTURE22
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE20); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1177, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE20, __pyx_t_1) < 0) __PYX_ERR(1, 1177, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1178
 * GL_TEXTURE19 = renpy.uguu.gl.GL_TEXTURE19
 * GL_TEXTURE20 = renpy.uguu.gl.GL_TEXTURE20
 * GL_TEXTURE21 = renpy.uguu.gl.GL_TEXTURE21             # <<<<<<<<<<<<<<
 * GL_TEXTURE22 = renpy.uguu.gl.GL_TEXTURE22
 * GL_TEXTURE23 = renpy.uguu.gl.GL_TEXTURE23
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE21); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1178, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE21, __pyx_t_1) < 0) __PYX_ERR(1, 1178, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1179
 * GL_TEXTURE20 = renpy.uguu.gl.GL_TEXTURE20
 * GL_TEXTURE21 = renpy.uguu.gl.GL_TEXTURE21
 * GL_TEXTURE22 = renpy.uguu.gl.GL_TEXTURE22             # <<<<<<<<<<<<<<
 * GL_TEXTURE23 = renpy.uguu.gl.GL_TEXTURE23
 * GL_TEXTURE24 = renpy.uguu.gl.GL_TEXTURE24
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE22); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1179, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE22, __pyx_t_1) < 0) __PYX_ERR(1, 1179, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1180
 * GL_TEXTURE21 = renpy.uguu.gl.GL_TEXTURE21
 * GL_TEXTURE22 = renpy.uguu.gl.GL_TEXTURE22
 * GL_TEXTURE23 = renpy.uguu.gl.GL_TEXTURE23             # <<<<<<<<<<<<<<
 * GL_TEXTURE24 = renpy.uguu.gl.GL_TEXTURE24
 * GL_TEXTURE25 = renpy.uguu.gl.GL_TEXTURE25
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE23); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1180, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE23, __pyx_t_1) < 0) __PYX_ERR(1, 1180, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1181
 * GL_TEXTURE22 = renpy.uguu.gl.GL_TEXTURE22
 * GL_TEXTURE23 = renpy.uguu.gl.GL_TEXTURE23
 * GL_TEXTURE24 = renpy.uguu.gl.GL_TEXTURE24             # <<<<<<<<<<<<<<
 * GL_TEXTURE25 = renpy.uguu.gl.GL_TEXTURE25
 * GL_TEXTURE26 = renpy.uguu.gl.GL_TEXTURE26
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE24); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1181, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE24, __pyx_t_1) < 0) __PYX_ERR(1, 1181, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1182
 * GL_TEXTURE23 = renpy.uguu.gl.GL_TEXTURE23
 * GL_TEXTURE24 = renpy.uguu.gl.GL_TEXTURE24
 * GL_TEXTURE25 = renpy.uguu.gl.GL_TEXTURE25             # <<<<<<<<<<<<<<
 * GL_TEXTURE26 = renpy.uguu.gl.GL_TEXTURE26
 * GL_TEXTURE27 = renpy.uguu.gl.GL_TEXTURE27
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE25); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1182, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE25, __pyx_t_1) < 0) __PYX_ERR(1, 1182, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1183
 * GL_TEXTURE24 = renpy.uguu.gl.GL_TEXTURE24
 * GL_TEXTURE25 = renpy.uguu.gl.GL_TEXTURE25
 * GL_TEXTURE26 = renpy.uguu.gl.GL_TEXTURE26             # <<<<<<<<<<<<<<
 * GL_TEXTURE27 = renpy.uguu.gl.GL_TEXTURE27
 * GL_TEXTURE28 = renpy.uguu.gl.GL_TEXTURE28
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE26); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1183, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE26, __pyx_t_1) < 0) __PYX_ERR(1, 1183, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1184
 * GL_TEXTURE25 = renpy.uguu.gl.GL_TEXTURE25
 * GL_TEXTURE26 = renpy.uguu.gl.GL_TEXTURE26
 * GL_TEXTURE27 = renpy.uguu.gl.GL_TEXTURE27             # <<<<<<<<<<<<<<
 * GL_TEXTURE28 = renpy.uguu.gl.GL_TEXTURE28
 * GL_TEXTURE29 = renpy.uguu.gl.GL_TEXTURE29
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE27); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1184, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE27, __pyx_t_1) < 0) __PYX_ERR(1, 1184, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1185
 * GL_TEXTURE26 = renpy.uguu.gl.GL_TEXTURE26
 * GL_TEXTURE27 = renpy.uguu.gl.GL_TEXTURE27
 * GL_TEXTURE28 = renpy.uguu.gl.GL_TEXTURE28             # <<<<<<<<<<<<<<
 * GL_TEXTURE29 = renpy.uguu.gl.GL_TEXTURE29
 * GL_TEXTURE30 = renpy.uguu.gl.GL_TEXTURE30
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE28); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1185, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE28, __pyx_t_1) < 0) __PYX_ERR(1, 1185, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1186
 * GL_TEXTURE27 = renpy.uguu.gl.GL_TEXTURE27
 * GL_TEXTURE28 = renpy.uguu.gl.GL_TEXTURE28
 * GL_TEXTURE29 = renpy.uguu.gl.GL_TEXTURE29             # <<<<<<<<<<<<<<
 * GL_TEXTURE30 = renpy.uguu.gl.GL_TEXTURE30
 * GL_TEXTURE31 = renpy.uguu.gl.GL_TEXTURE31
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE29); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1186, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE29, __pyx_t_1) < 0) __PYX_ERR(1, 1186, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1187
 * GL_TEXTURE28 = renpy.uguu.gl.GL_TEXTURE28
 * GL_TEXTURE29 = renpy.uguu.gl.GL_TEXTURE29
 * GL_TEXTURE30 = renpy.uguu.gl.GL_TEXTURE30             # <<<<<<<<<<<<<<
 * GL_TEXTURE31 = renpy.uguu.gl.GL_TEXTURE31
 * GL_ACTIVE_TEXTURE = renpy.uguu.gl.GL_ACTIVE_TEXTURE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE30); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1187, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE30, __pyx_t_1) < 0) __PYX_ERR(1, 1187, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1188
 * GL_TEXTURE29 = renpy.uguu.gl.GL_TEXTURE29
 * GL_TEXTURE30 = renpy.uguu.gl.GL_TEXTURE30
 * GL_TEXTURE31 = renpy.uguu.gl.GL_TEXTURE31             # <<<<<<<<<<<<<<
 * GL_ACTIVE_TEXTURE = renpy.uguu.gl.GL_ACTIVE_TEXTURE
 * GL_MAX_RENDERBUFFER_SIZE = renpy.uguu.gl.GL_MAX_RENDERBUFFER_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE31); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1188, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE31, __pyx_t_1) < 0) __PYX_ERR(1, 1188, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1189
 * GL_TEXTURE30 = renpy.uguu.gl.GL_TEXTURE30
 * GL_TEXTURE31 = renpy.uguu.gl.GL_TEXTURE31
 * GL_ACTIVE_TEXTURE = renpy.uguu.gl.GL_ACTIVE_TEXTURE             # <<<<<<<<<<<<<<
 * GL_MAX_RENDERBUFFER_SIZE = renpy.uguu.gl.GL_MAX_RENDERBUFFER_SIZE
 * GL_DEPTH_STENCIL = renpy.uguu.gl.GL_DEPTH_STENCIL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ACTIVE_TEXTURE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1189, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ACTIVE_TEXTURE, __pyx_t_1) < 0) __PYX_ERR(1, 1189, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1190
 * GL_TEXTURE31 = renpy.uguu.gl.GL_TEXTURE31
 * GL_ACTIVE_TEXTURE = renpy.uguu.gl.GL_ACTIVE_TEXTURE
 * GL_MAX_RENDERBUFFER_SIZE = renpy.uguu.gl.GL_MAX_RENDERBUFFER_SIZE             # <<<<<<<<<<<<<<
 * GL_DEPTH_STENCIL = renpy.uguu.gl.GL_DEPTH_STENCIL
 * GL_UNSIGNED_INT_24_8 = renpy.uguu.gl.GL_UNSIGNED_INT_24_8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_RENDERBUFFER_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1190, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_RENDERBUFFER_SIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1190, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1191
 * GL_ACTIVE_TEXTURE = renpy.uguu.gl.GL_ACTIVE_TEXTURE
 * GL_MAX_RENDERBUFFER_SIZE = renpy.uguu.gl.GL_MAX_RENDERBUFFER_SIZE
 * GL_DEPTH_STENCIL = renpy.uguu.gl.GL_DEPTH_STENCIL             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_INT_24_8 = renpy.uguu.gl.GL_UNSIGNED_INT_24_8
 * GL_MAX_TEXTURE_LOD_BIAS = renpy.uguu.gl.GL_MAX_TEXTURE_LOD_BIAS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_STENCIL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1191, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_STENCIL, __pyx_t_1) < 0) __PYX_ERR(1, 1191, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1192
 * GL_MAX_RENDERBUFFER_SIZE = renpy.uguu.gl.GL_MAX_RENDERBUFFER_SIZE
 * GL_DEPTH_STENCIL = renpy.uguu.gl.GL_DEPTH_STENCIL
 * GL_UNSIGNED_INT_24_8 = renpy.uguu.gl.GL_UNSIGNED_INT_24_8             # <<<<<<<<<<<<<<
 * GL_MAX_TEXTURE_LOD_BIAS = renpy.uguu.gl.GL_MAX_TEXTURE_LOD_BIAS
 * GL_INCR_WRAP = renpy.uguu.gl.GL_INCR_WRAP
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_INT_24_8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1192, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_INT_24_8, __pyx_t_1) < 0) __PYX_ERR(1, 1192, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1193
 * GL_DEPTH_STENCIL = renpy.uguu.gl.GL_DEPTH_STENCIL
 * GL_UNSIGNED_INT_24_8 = renpy.uguu.gl.GL_UNSIGNED_INT_24_8
 * GL_MAX_TEXTURE_LOD_BIAS = renpy.uguu.gl.GL_MAX_TEXTURE_LOD_BIAS             # <<<<<<<<<<<<<<
 * GL_INCR_WRAP = renpy.uguu.gl.GL_INCR_WRAP
 * GL_DECR_WRAP = renpy.uguu.gl.GL_DECR_WRAP
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_TEXTURE_LOD_BIAS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1193, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_TEXTURE_LOD_BIAS, __pyx_t_1) < 0) __PYX_ERR(1, 1193, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1194
 * GL_UNSIGNED_INT_24_8 = renpy.uguu.gl.GL_UNSIGNED_INT_24_8
 * GL_MAX_TEXTURE_LOD_BIAS = renpy.uguu.gl.GL_MAX_TEXTURE_LOD_BIAS
 * GL_INCR_WRAP = renpy.uguu.gl.GL_INCR_WRAP             # <<<<<<<<<<<<<<
 * GL_DECR_WRAP = renpy.uguu.gl.GL_DECR_WRAP
 * GL_TEXTURE_CUBE_MAP = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INCR_WRAP); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1194, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INCR_WRAP, __pyx_t_1) < 0) __PYX_ERR(1, 1194, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1195
 * GL_MAX_TEXTURE_LOD_BIAS = renpy.uguu.gl.GL_MAX_TEXTURE_LOD_BIAS
 * GL_INCR_WRAP = renpy.uguu.gl.GL_INCR_WRAP
 * GL_DECR_WRAP = renpy.uguu.gl.GL_DECR_WRAP             # <<<<<<<<<<<<<<
 * GL_TEXTURE_CUBE_MAP = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP
 * GL_TEXTURE_BINDING_CUBE_MAP = renpy.uguu.gl.GL_TEXTURE_BINDING_CUBE_MAP
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DECR_WRAP); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1195, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DECR_WRAP, __pyx_t_1) < 0) __PYX_ERR(1, 1195, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1196
 * GL_INCR_WRAP = renpy.uguu.gl.GL_INCR_WRAP
 * GL_DECR_WRAP = renpy.uguu.gl.GL_DECR_WRAP
 * GL_TEXTURE_CUBE_MAP = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP             # <<<<<<<<<<<<<<
 * GL_TEXTURE_BINDING_CUBE_MAP = renpy.uguu.gl.GL_TEXTURE_BINDING_CUBE_MAP
 * GL_TEXTURE_CUBE_MAP_POSITIVE_X = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_X
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_CUBE_MAP); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1196, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_CUBE_MAP, __pyx_t_1) < 0) __PYX_ERR(1, 1196, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1197
 * GL_DECR_WRAP = renpy.uguu.gl.GL_DECR_WRAP
 * GL_TEXTURE_CUBE_MAP = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP
 * GL_TEXTURE_BINDING_CUBE_MAP = renpy.uguu.gl.GL_TEXTURE_BINDING_CUBE_MAP             # <<<<<<<<<<<<<<
 * GL_TEXTURE_CUBE_MAP_POSITIVE_X = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_X
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_X = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_X
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_BINDING_CUBE_MAP); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1197, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_BINDING_CUBE_MAP, __pyx_t_1) < 0) __PYX_ERR(1, 1197, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1198
 * GL_TEXTURE_CUBE_MAP = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP
 * GL_TEXTURE_BINDING_CUBE_MAP = renpy.uguu.gl.GL_TEXTURE_BINDING_CUBE_MAP
 * GL_TEXTURE_CUBE_MAP_POSITIVE_X = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_X             # <<<<<<<<<<<<<<
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_X = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_X
 * GL_TEXTURE_CUBE_MAP_POSITIVE_Y = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_Y
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_CUBE_MAP_POSITIVE_X); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1198, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_CUBE_MAP_POSITIVE_X, __pyx_t_1) < 0) __PYX_ERR(1, 1198, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1199
 * GL_TEXTURE_BINDING_CUBE_MAP = renpy.uguu.gl.GL_TEXTURE_BINDING_CUBE_MAP
 * GL_TEXTURE_CUBE_MAP_POSITIVE_X = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_X
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_X = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_X             # <<<<<<<<<<<<<<
 * GL_TEXTURE_CUBE_MAP_POSITIVE_Y = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_Y
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_CUBE_MAP_NEGATIVE_X); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1199, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_CUBE_MAP_NEGATIVE_X, __pyx_t_1) < 0) __PYX_ERR(1, 1199, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1200
 * GL_TEXTURE_CUBE_MAP_POSITIVE_X = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_X
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_X = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_X
 * GL_TEXTURE_CUBE_MAP_POSITIVE_Y = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_Y             # <<<<<<<<<<<<<<
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
 * GL_TEXTURE_CUBE_MAP_POSITIVE_Z = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_Z
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_CUBE_MAP_POSITIVE_Y); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1200, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_CUBE_MAP_POSITIVE_Y, __pyx_t_1) < 0) __PYX_ERR(1, 1200, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1201
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_X = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_X
 * GL_TEXTURE_CUBE_MAP_POSITIVE_Y = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_Y
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_Y             # <<<<<<<<<<<<<<
 * GL_TEXTURE_CUBE_MAP_POSITIVE_Z = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_Z
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1201, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, __pyx_t_1) < 0) __PYX_ERR(1, 1201, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1202
 * GL_TEXTURE_CUBE_MAP_POSITIVE_Y = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_Y
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
 * GL_TEXTURE_CUBE_MAP_POSITIVE_Z = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_Z             # <<<<<<<<<<<<<<
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
 * GL_MAX_CUBE_MAP_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_CUBE_MAP_TEXTURE_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_CUBE_MAP_POSITIVE_Z); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1202, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_CUBE_MAP_POSITIVE_Z, __pyx_t_1) < 0) __PYX_ERR(1, 1202, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1203
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
 * GL_TEXTURE_CUBE_MAP_POSITIVE_Z = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_Z
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_Z             # <<<<<<<<<<<<<<
 * GL_MAX_CUBE_MAP_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_CUBE_MAP_TEXTURE_SIZE
 * GL_VERTEX_ARRAY_BINDING = renpy.uguu.gl.GL_VERTEX_ARRAY_BINDING
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1203, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, __pyx_t_1) < 0) __PYX_ERR(1, 1203, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1204
 * GL_TEXTURE_CUBE_MAP_POSITIVE_Z = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_POSITIVE_Z
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
 * GL_MAX_CUBE_MAP_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_CUBE_MAP_TEXTURE_SIZE             # <<<<<<<<<<<<<<
 * GL_VERTEX_ARRAY_BINDING = renpy.uguu.gl.GL_VERTEX_ARRAY_BINDING
 * GL_VERTEX_ATTRIB_ARRAY_ENABLED = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_ENABLED
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_CUBE_MAP_TEXTURE_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1204, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_CUBE_MAP_TEXTURE_SIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1204, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1205
 * GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = renpy.uguu.gl.GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
 * GL_MAX_CUBE_MAP_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_CUBE_MAP_TEXTURE_SIZE
 * GL_VERTEX_ARRAY_BINDING = renpy.uguu.gl.GL_VERTEX_ARRAY_BINDING             # <<<<<<<<<<<<<<
 * GL_VERTEX_ATTRIB_ARRAY_ENABLED = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_ENABLED
 * GL_VERTEX_ATTRIB_ARRAY_SIZE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VERTEX_ARRAY_BINDING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1205, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VERTEX_ARRAY_BINDING, __pyx_t_1) < 0) __PYX_ERR(1, 1205, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1206
 * GL_MAX_CUBE_MAP_TEXTURE_SIZE = renpy.uguu.gl.GL_MAX_CUBE_MAP_TEXTURE_SIZE
 * GL_VERTEX_ARRAY_BINDING = renpy.uguu.gl.GL_VERTEX_ARRAY_BINDING
 * GL_VERTEX_ATTRIB_ARRAY_ENABLED = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_ENABLED             # <<<<<<<<<<<<<<
 * GL_VERTEX_ATTRIB_ARRAY_SIZE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_SIZE
 * GL_VERTEX_ATTRIB_ARRAY_STRIDE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_STRIDE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VERTEX_ATTRIB_ARRAY_ENABLED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1206, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_ENABLED, __pyx_t_1) < 0) __PYX_ERR(1, 1206, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1207
 * GL_VERTEX_ARRAY_BINDING = renpy.uguu.gl.GL_VERTEX_ARRAY_BINDING
 * GL_VERTEX_ATTRIB_ARRAY_ENABLED = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_ENABLED
 * GL_VERTEX_ATTRIB_ARRAY_SIZE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_SIZE             # <<<<<<<<<<<<<<
 * GL_VERTEX_ATTRIB_ARRAY_STRIDE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_STRIDE
 * GL_VERTEX_ATTRIB_ARRAY_TYPE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_TYPE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VERTEX_ATTRIB_ARRAY_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1207, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_SIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1207, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1208
 * GL_VERTEX_ATTRIB_ARRAY_ENABLED = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_ENABLED
 * GL_VERTEX_ATTRIB_ARRAY_SIZE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_SIZE
 * GL_VERTEX_ATTRIB_ARRAY_STRIDE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_STRIDE             # <<<<<<<<<<<<<<
 * GL_VERTEX_ATTRIB_ARRAY_TYPE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_TYPE
 * GL_CURRENT_VERTEX_ATTRIB = renpy.uguu.gl.GL_CURRENT_VERTEX_ATTRIB
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VERTEX_ATTRIB_ARRAY_STRIDE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1208, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_STRIDE, __pyx_t_1) < 0) __PYX_ERR(1, 1208, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1209
 * GL_VERTEX_ATTRIB_ARRAY_SIZE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_SIZE
 * GL_VERTEX_ATTRIB_ARRAY_STRIDE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_STRIDE
 * GL_VERTEX_ATTRIB_ARRAY_TYPE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_TYPE             # <<<<<<<<<<<<<<
 * GL_CURRENT_VERTEX_ATTRIB = renpy.uguu.gl.GL_CURRENT_VERTEX_ATTRIB
 * GL_VERTEX_ATTRIB_ARRAY_POINTER = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_POINTER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VERTEX_ATTRIB_ARRAY_TYPE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1209, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_TYPE, __pyx_t_1) < 0) __PYX_ERR(1, 1209, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1210
 * GL_VERTEX_ATTRIB_ARRAY_STRIDE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_STRIDE
 * GL_VERTEX_ATTRIB_ARRAY_TYPE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_TYPE
 * GL_CURRENT_VERTEX_ATTRIB = renpy.uguu.gl.GL_CURRENT_VERTEX_ATTRIB             # <<<<<<<<<<<<<<
 * GL_VERTEX_ATTRIB_ARRAY_POINTER = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_POINTER
 * GL_NUM_COMPRESSED_TEXTURE_FORMATS = renpy.uguu.gl.GL_NUM_COMPRESSED_TEXTURE_FORMATS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_CURRENT_VERTEX_ATTRIB); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1210, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_CURRENT_VERTEX_ATTRIB, __pyx_t_1) < 0) __PYX_ERR(1, 1210, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1211
 * GL_VERTEX_ATTRIB_ARRAY_TYPE = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_TYPE
 * GL_CURRENT_VERTEX_ATTRIB = renpy.uguu.gl.GL_CURRENT_VERTEX_ATTRIB
 * GL_VERTEX_ATTRIB_ARRAY_POINTER = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_POINTER             # <<<<<<<<<<<<<<
 * GL_NUM_COMPRESSED_TEXTURE_FORMATS = renpy.uguu.gl.GL_NUM_COMPRESSED_TEXTURE_FORMATS
 * GL_COMPRESSED_TEXTURE_FORMATS = renpy.uguu.gl.GL_COMPRESSED_TEXTURE_FORMATS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VERTEX_ATTRIB_ARRAY_POINTER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1211, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_POINTER, __pyx_t_1) < 0) __PYX_ERR(1, 1211, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1212
 * GL_CURRENT_VERTEX_ATTRIB = renpy.uguu.gl.GL_CURRENT_VERTEX_ATTRIB
 * GL_VERTEX_ATTRIB_ARRAY_POINTER = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_POINTER
 * GL_NUM_COMPRESSED_TEXTURE_FORMATS = renpy.uguu.gl.GL_NUM_COMPRESSED_TEXTURE_FORMATS             # <<<<<<<<<<<<<<
 * GL_COMPRESSED_TEXTURE_FORMATS = renpy.uguu.gl.GL_COMPRESSED_TEXTURE_FORMATS
 * GL_BUFFER_SIZE = renpy.uguu.gl.GL_BUFFER_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_NUM_COMPRESSED_TEXTURE_FORMATS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1212, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_NUM_COMPRESSED_TEXTURE_FORMAT, __pyx_t_1) < 0) __PYX_ERR(1, 1212, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1213
 * GL_VERTEX_ATTRIB_ARRAY_POINTER = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_POINTER
 * GL_NUM_COMPRESSED_TEXTURE_FORMATS = renpy.uguu.gl.GL_NUM_COMPRESSED_TEXTURE_FORMATS
 * GL_COMPRESSED_TEXTURE_FORMATS = renpy.uguu.gl.GL_COMPRESSED_TEXTURE_FORMATS             # <<<<<<<<<<<<<<
 * GL_BUFFER_SIZE = renpy.uguu.gl.GL_BUFFER_SIZE
 * GL_BUFFER_USAGE = renpy.uguu.gl.GL_BUFFER_USAGE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COMPRESSED_TEXTURE_FORMATS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1213, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COMPRESSED_TEXTURE_FORMATS, __pyx_t_1) < 0) __PYX_ERR(1, 1213, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1214
 * GL_NUM_COMPRESSED_TEXTURE_FORMATS = renpy.uguu.gl.GL_NUM_COMPRESSED_TEXTURE_FORMATS
 * GL_COMPRESSED_TEXTURE_FORMATS = renpy.uguu.gl.GL_COMPRESSED_TEXTURE_FORMATS
 * GL_BUFFER_SIZE = renpy.uguu.gl.GL_BUFFER_SIZE             # <<<<<<<<<<<<<<
 * GL_BUFFER_USAGE = renpy.uguu.gl.GL_BUFFER_USAGE
 * GL_STENCIL_BACK_FUNC = renpy.uguu.gl.GL_STENCIL_BACK_FUNC
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BUFFER_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1214, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BUFFER_SIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1214, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1215
 * GL_COMPRESSED_TEXTURE_FORMATS = renpy.uguu.gl.GL_COMPRESSED_TEXTURE_FORMATS
 * GL_BUFFER_SIZE = renpy.uguu.gl.GL_BUFFER_SIZE
 * GL_BUFFER_USAGE = renpy.uguu.gl.GL_BUFFER_USAGE             # <<<<<<<<<<<<<<
 * GL_STENCIL_BACK_FUNC = renpy.uguu.gl.GL_STENCIL_BACK_FUNC
 * GL_STENCIL_BACK_FAIL = renpy.uguu.gl.GL_STENCIL_BACK_FAIL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BUFFER_USAGE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1215, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BUFFER_USAGE, __pyx_t_1) < 0) __PYX_ERR(1, 1215, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1216
 * GL_BUFFER_SIZE = renpy.uguu.gl.GL_BUFFER_SIZE
 * GL_BUFFER_USAGE = renpy.uguu.gl.GL_BUFFER_USAGE
 * GL_STENCIL_BACK_FUNC = renpy.uguu.gl.GL_STENCIL_BACK_FUNC             # <<<<<<<<<<<<<<
 * GL_STENCIL_BACK_FAIL = renpy.uguu.gl.GL_STENCIL_BACK_FAIL
 * GL_STENCIL_BACK_PASS_DEPTH_FAIL = renpy.uguu.gl.GL_STENCIL_BACK_PASS_DEPTH_FAIL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_BACK_FUNC); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1216, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_BACK_FUNC, __pyx_t_1) < 0) __PYX_ERR(1, 1216, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1217
 * GL_BUFFER_USAGE = renpy.uguu.gl.GL_BUFFER_USAGE
 * GL_STENCIL_BACK_FUNC = renpy.uguu.gl.GL_STENCIL_BACK_FUNC
 * GL_STENCIL_BACK_FAIL = renpy.uguu.gl.GL_STENCIL_BACK_FAIL             # <<<<<<<<<<<<<<
 * GL_STENCIL_BACK_PASS_DEPTH_FAIL = renpy.uguu.gl.GL_STENCIL_BACK_PASS_DEPTH_FAIL
 * GL_STENCIL_BACK_PASS_DEPTH_PASS = renpy.uguu.gl.GL_STENCIL_BACK_PASS_DEPTH_PASS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_BACK_FAIL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1217, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_BACK_FAIL, __pyx_t_1) < 0) __PYX_ERR(1, 1217, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1218
 * GL_STENCIL_BACK_FUNC = renpy.uguu.gl.GL_STENCIL_BACK_FUNC
 * GL_STENCIL_BACK_FAIL = renpy.uguu.gl.GL_STENCIL_BACK_FAIL
 * GL_STENCIL_BACK_PASS_DEPTH_FAIL = renpy.uguu.gl.GL_STENCIL_BACK_PASS_DEPTH_FAIL             # <<<<<<<<<<<<<<
 * GL_STENCIL_BACK_PASS_DEPTH_PASS = renpy.uguu.gl.GL_STENCIL_BACK_PASS_DEPTH_PASS
 * GL_RGBA32F = renpy.uguu.gl.GL_RGBA32F
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_BACK_PASS_DEPTH_FAIL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1218, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_BACK_PASS_DEPTH_FAIL, __pyx_t_1) < 0) __PYX_ERR(1, 1218, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1219
 * GL_STENCIL_BACK_FAIL = renpy.uguu.gl.GL_STENCIL_BACK_FAIL
 * GL_STENCIL_BACK_PASS_DEPTH_FAIL = renpy.uguu.gl.GL_STENCIL_BACK_PASS_DEPTH_FAIL
 * GL_STENCIL_BACK_PASS_DEPTH_PASS = renpy.uguu.gl.GL_STENCIL_BACK_PASS_DEPTH_PASS             # <<<<<<<<<<<<<<
 * GL_RGBA32F = renpy.uguu.gl.GL_RGBA32F
 * GL_RGB32F = renpy.uguu.gl.GL_RGB32F
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_BACK_PASS_DEPTH_PASS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1219, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_BACK_PASS_DEPTH_PASS, __pyx_t_1) < 0) __PYX_ERR(1, 1219, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1220
 * GL_STENCIL_BACK_PASS_DEPTH_FAIL = renpy.uguu.gl.GL_STENCIL_BACK_PASS_DEPTH_FAIL
 * GL_STENCIL_BACK_PASS_DEPTH_PASS = renpy.uguu.gl.GL_STENCIL_BACK_PASS_DEPTH_PASS
 * GL_RGBA32F = renpy.uguu.gl.GL_RGBA32F             # <<<<<<<<<<<<<<
 * GL_RGB32F = renpy.uguu.gl.GL_RGB32F
 * GL_RGBA16F = renpy.uguu.gl.GL_RGBA16F
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGBA32F); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1220, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGBA32F, __pyx_t_1) < 0) __PYX_ERR(1, 1220, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1221
 * GL_STENCIL_BACK_PASS_DEPTH_PASS = renpy.uguu.gl.GL_STENCIL_BACK_PASS_DEPTH_PASS
 * GL_RGBA32F = renpy.uguu.gl.GL_RGBA32F
 * GL_RGB32F = renpy.uguu.gl.GL_RGB32F             # <<<<<<<<<<<<<<
 * GL_RGBA16F = renpy.uguu.gl.GL_RGBA16F
 * GL_RGB16F = renpy.uguu.gl.GL_RGB16F
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB32F); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1221, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB32F, __pyx_t_1) < 0) __PYX_ERR(1, 1221, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1222
 * GL_RGBA32F = renpy.uguu.gl.GL_RGBA32F
 * GL_RGB32F = renpy.uguu.gl.GL_RGB32F
 * GL_RGBA16F = renpy.uguu.gl.GL_RGBA16F             # <<<<<<<<<<<<<<
 * GL_RGB16F = renpy.uguu.gl.GL_RGB16F
 * GL_MAX_DRAW_BUFFERS = renpy.uguu.gl.GL_MAX_DRAW_BUFFERS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGBA16F); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1222, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGBA16F, __pyx_t_1) < 0) __PYX_ERR(1, 1222, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1223
 * GL_RGB32F = renpy.uguu.gl.GL_RGB32F
 * GL_RGBA16F = renpy.uguu.gl.GL_RGBA16F
 * GL_RGB16F = renpy.uguu.gl.GL_RGB16F             # <<<<<<<<<<<<<<
 * GL_MAX_DRAW_BUFFERS = renpy.uguu.gl.GL_MAX_DRAW_BUFFERS
 * GL_DRAW_BUFFER0 = renpy.uguu.gl.GL_DRAW_BUFFER0
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB16F); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1223, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB16F, __pyx_t_1) < 0) __PYX_ERR(1, 1223, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1224
 * GL_RGBA16F = renpy.uguu.gl.GL_RGBA16F
 * GL_RGB16F = renpy.uguu.gl.GL_RGB16F
 * GL_MAX_DRAW_BUFFERS = renpy.uguu.gl.GL_MAX_DRAW_BUFFERS             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER0 = renpy.uguu.gl.GL_DRAW_BUFFER0
 * GL_DRAW_BUFFER1 = renpy.uguu.gl.GL_DRAW_BUFFER1
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_DRAW_BUFFERS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1224, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_DRAW_BUFFERS, __pyx_t_1) < 0) __PYX_ERR(1, 1224, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1225
 * GL_RGB16F = renpy.uguu.gl.GL_RGB16F
 * GL_MAX_DRAW_BUFFERS = renpy.uguu.gl.GL_MAX_DRAW_BUFFERS
 * GL_DRAW_BUFFER0 = renpy.uguu.gl.GL_DRAW_BUFFER0             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER1 = renpy.uguu.gl.GL_DRAW_BUFFER1
 * GL_DRAW_BUFFER2 = renpy.uguu.gl.GL_DRAW_BUFFER2
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1225, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER0, __pyx_t_1) < 0) __PYX_ERR(1, 1225, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1226
 * GL_MAX_DRAW_BUFFERS = renpy.uguu.gl.GL_MAX_DRAW_BUFFERS
 * GL_DRAW_BUFFER0 = renpy.uguu.gl.GL_DRAW_BUFFER0
 * GL_DRAW_BUFFER1 = renpy.uguu.gl.GL_DRAW_BUFFER1             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER2 = renpy.uguu.gl.GL_DRAW_BUFFER2
 * GL_DRAW_BUFFER3 = renpy.uguu.gl.GL_DRAW_BUFFER3
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1226, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER1, __pyx_t_1) < 0) __PYX_ERR(1, 1226, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1227
 * GL_DRAW_BUFFER0 = renpy.uguu.gl.GL_DRAW_BUFFER0
 * GL_DRAW_BUFFER1 = renpy.uguu.gl.GL_DRAW_BUFFER1
 * GL_DRAW_BUFFER2 = renpy.uguu.gl.GL_DRAW_BUFFER2             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER3 = renpy.uguu.gl.GL_DRAW_BUFFER3
 * GL_DRAW_BUFFER4 = renpy.uguu.gl.GL_DRAW_BUFFER4
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1227, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER2, __pyx_t_1) < 0) __PYX_ERR(1, 1227, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1228
 * GL_DRAW_BUFFER1 = renpy.uguu.gl.GL_DRAW_BUFFER1
 * GL_DRAW_BUFFER2 = renpy.uguu.gl.GL_DRAW_BUFFER2
 * GL_DRAW_BUFFER3 = renpy.uguu.gl.GL_DRAW_BUFFER3             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER4 = renpy.uguu.gl.GL_DRAW_BUFFER4
 * GL_DRAW_BUFFER5 = renpy.uguu.gl.GL_DRAW_BUFFER5
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1228, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER3, __pyx_t_1) < 0) __PYX_ERR(1, 1228, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1229
 * GL_DRAW_BUFFER2 = renpy.uguu.gl.GL_DRAW_BUFFER2
 * GL_DRAW_BUFFER3 = renpy.uguu.gl.GL_DRAW_BUFFER3
 * GL_DRAW_BUFFER4 = renpy.uguu.gl.GL_DRAW_BUFFER4             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER5 = renpy.uguu.gl.GL_DRAW_BUFFER5
 * GL_DRAW_BUFFER6 = renpy.uguu.gl.GL_DRAW_BUFFER6
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1229, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER4, __pyx_t_1) < 0) __PYX_ERR(1, 1229, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1230
 * GL_DRAW_BUFFER3 = renpy.uguu.gl.GL_DRAW_BUFFER3
 * GL_DRAW_BUFFER4 = renpy.uguu.gl.GL_DRAW_BUFFER4
 * GL_DRAW_BUFFER5 = renpy.uguu.gl.GL_DRAW_BUFFER5             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER6 = renpy.uguu.gl.GL_DRAW_BUFFER6
 * GL_DRAW_BUFFER7 = renpy.uguu.gl.GL_DRAW_BUFFER7
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER5); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1230, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER5, __pyx_t_1) < 0) __PYX_ERR(1, 1230, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1231
 * GL_DRAW_BUFFER4 = renpy.uguu.gl.GL_DRAW_BUFFER4
 * GL_DRAW_BUFFER5 = renpy.uguu.gl.GL_DRAW_BUFFER5
 * GL_DRAW_BUFFER6 = renpy.uguu.gl.GL_DRAW_BUFFER6             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER7 = renpy.uguu.gl.GL_DRAW_BUFFER7
 * GL_DRAW_BUFFER8 = renpy.uguu.gl.GL_DRAW_BUFFER8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER6); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1231, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER6, __pyx_t_1) < 0) __PYX_ERR(1, 1231, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1232
 * GL_DRAW_BUFFER5 = renpy.uguu.gl.GL_DRAW_BUFFER5
 * GL_DRAW_BUFFER6 = renpy.uguu.gl.GL_DRAW_BUFFER6
 * GL_DRAW_BUFFER7 = renpy.uguu.gl.GL_DRAW_BUFFER7             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER8 = renpy.uguu.gl.GL_DRAW_BUFFER8
 * GL_DRAW_BUFFER9 = renpy.uguu.gl.GL_DRAW_BUFFER9
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER7); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1232, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER7, __pyx_t_1) < 0) __PYX_ERR(1, 1232, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1233
 * GL_DRAW_BUFFER6 = renpy.uguu.gl.GL_DRAW_BUFFER6
 * GL_DRAW_BUFFER7 = renpy.uguu.gl.GL_DRAW_BUFFER7
 * GL_DRAW_BUFFER8 = renpy.uguu.gl.GL_DRAW_BUFFER8             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER9 = renpy.uguu.gl.GL_DRAW_BUFFER9
 * GL_DRAW_BUFFER10 = renpy.uguu.gl.GL_DRAW_BUFFER10
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1233, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER8, __pyx_t_1) < 0) __PYX_ERR(1, 1233, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1234
 * GL_DRAW_BUFFER7 = renpy.uguu.gl.GL_DRAW_BUFFER7
 * GL_DRAW_BUFFER8 = renpy.uguu.gl.GL_DRAW_BUFFER8
 * GL_DRAW_BUFFER9 = renpy.uguu.gl.GL_DRAW_BUFFER9             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER10 = renpy.uguu.gl.GL_DRAW_BUFFER10
 * GL_DRAW_BUFFER11 = renpy.uguu.gl.GL_DRAW_BUFFER11
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER9); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1234, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER9, __pyx_t_1) < 0) __PYX_ERR(1, 1234, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1235
 * GL_DRAW_BUFFER8 = renpy.uguu.gl.GL_DRAW_BUFFER8
 * GL_DRAW_BUFFER9 = renpy.uguu.gl.GL_DRAW_BUFFER9
 * GL_DRAW_BUFFER10 = renpy.uguu.gl.GL_DRAW_BUFFER10             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER11 = renpy.uguu.gl.GL_DRAW_BUFFER11
 * GL_DRAW_BUFFER12 = renpy.uguu.gl.GL_DRAW_BUFFER12
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER10); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1235, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER10, __pyx_t_1) < 0) __PYX_ERR(1, 1235, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1236
 * GL_DRAW_BUFFER9 = renpy.uguu.gl.GL_DRAW_BUFFER9
 * GL_DRAW_BUFFER10 = renpy.uguu.gl.GL_DRAW_BUFFER10
 * GL_DRAW_BUFFER11 = renpy.uguu.gl.GL_DRAW_BUFFER11             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER12 = renpy.uguu.gl.GL_DRAW_BUFFER12
 * GL_DRAW_BUFFER13 = renpy.uguu.gl.GL_DRAW_BUFFER13
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER11); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1236, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER11, __pyx_t_1) < 0) __PYX_ERR(1, 1236, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1237
 * GL_DRAW_BUFFER10 = renpy.uguu.gl.GL_DRAW_BUFFER10
 * GL_DRAW_BUFFER11 = renpy.uguu.gl.GL_DRAW_BUFFER11
 * GL_DRAW_BUFFER12 = renpy.uguu.gl.GL_DRAW_BUFFER12             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER13 = renpy.uguu.gl.GL_DRAW_BUFFER13
 * GL_DRAW_BUFFER14 = renpy.uguu.gl.GL_DRAW_BUFFER14
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER12); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1237, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER12, __pyx_t_1) < 0) __PYX_ERR(1, 1237, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1238
 * GL_DRAW_BUFFER11 = renpy.uguu.gl.GL_DRAW_BUFFER11
 * GL_DRAW_BUFFER12 = renpy.uguu.gl.GL_DRAW_BUFFER12
 * GL_DRAW_BUFFER13 = renpy.uguu.gl.GL_DRAW_BUFFER13             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER14 = renpy.uguu.gl.GL_DRAW_BUFFER14
 * GL_DRAW_BUFFER15 = renpy.uguu.gl.GL_DRAW_BUFFER15
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER13); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1238, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER13, __pyx_t_1) < 0) __PYX_ERR(1, 1238, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1239
 * GL_DRAW_BUFFER12 = renpy.uguu.gl.GL_DRAW_BUFFER12
 * GL_DRAW_BUFFER13 = renpy.uguu.gl.GL_DRAW_BUFFER13
 * GL_DRAW_BUFFER14 = renpy.uguu.gl.GL_DRAW_BUFFER14             # <<<<<<<<<<<<<<
 * GL_DRAW_BUFFER15 = renpy.uguu.gl.GL_DRAW_BUFFER15
 * GL_BLEND_EQUATION_ALPHA = renpy.uguu.gl.GL_BLEND_EQUATION_ALPHA
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER14); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1239, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER14, __pyx_t_1) < 0) __PYX_ERR(1, 1239, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1240
 * GL_DRAW_BUFFER13 = renpy.uguu.gl.GL_DRAW_BUFFER13
 * GL_DRAW_BUFFER14 = renpy.uguu.gl.GL_DRAW_BUFFER14
 * GL_DRAW_BUFFER15 = renpy.uguu.gl.GL_DRAW_BUFFER15             # <<<<<<<<<<<<<<
 * GL_BLEND_EQUATION_ALPHA = renpy.uguu.gl.GL_BLEND_EQUATION_ALPHA
 * GL_TEXTURE_COMPARE_MODE = renpy.uguu.gl.GL_TEXTURE_COMPARE_MODE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_BUFFER15); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1240, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_BUFFER15, __pyx_t_1) < 0) __PYX_ERR(1, 1240, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1241
 * GL_DRAW_BUFFER14 = renpy.uguu.gl.GL_DRAW_BUFFER14
 * GL_DRAW_BUFFER15 = renpy.uguu.gl.GL_DRAW_BUFFER15
 * GL_BLEND_EQUATION_ALPHA = renpy.uguu.gl.GL_BLEND_EQUATION_ALPHA             # <<<<<<<<<<<<<<
 * GL_TEXTURE_COMPARE_MODE = renpy.uguu.gl.GL_TEXTURE_COMPARE_MODE
 * GL_TEXTURE_COMPARE_FUNC = renpy.uguu.gl.GL_TEXTURE_COMPARE_FUNC
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BLEND_EQUATION_ALPHA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1241, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BLEND_EQUATION_ALPHA, __pyx_t_1) < 0) __PYX_ERR(1, 1241, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1242
 * GL_DRAW_BUFFER15 = renpy.uguu.gl.GL_DRAW_BUFFER15
 * GL_BLEND_EQUATION_ALPHA = renpy.uguu.gl.GL_BLEND_EQUATION_ALPHA
 * GL_TEXTURE_COMPARE_MODE = renpy.uguu.gl.GL_TEXTURE_COMPARE_MODE             # <<<<<<<<<<<<<<
 * GL_TEXTURE_COMPARE_FUNC = renpy.uguu.gl.GL_TEXTURE_COMPARE_FUNC
 * GL_COMPARE_REF_TO_TEXTURE = renpy.uguu.gl.GL_COMPARE_REF_TO_TEXTURE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_COMPARE_MODE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1242, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_COMPARE_MODE, __pyx_t_1) < 0) __PYX_ERR(1, 1242, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1243
 * GL_BLEND_EQUATION_ALPHA = renpy.uguu.gl.GL_BLEND_EQUATION_ALPHA
 * GL_TEXTURE_COMPARE_MODE = renpy.uguu.gl.GL_TEXTURE_COMPARE_MODE
 * GL_TEXTURE_COMPARE_FUNC = renpy.uguu.gl.GL_TEXTURE_COMPARE_FUNC             # <<<<<<<<<<<<<<
 * GL_COMPARE_REF_TO_TEXTURE = renpy.uguu.gl.GL_COMPARE_REF_TO_TEXTURE
 * GL_CURRENT_QUERY = renpy.uguu.gl.GL_CURRENT_QUERY
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_COMPARE_FUNC); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1243, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_COMPARE_FUNC, __pyx_t_1) < 0) __PYX_ERR(1, 1243, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1244
 * GL_TEXTURE_COMPARE_MODE = renpy.uguu.gl.GL_TEXTURE_COMPARE_MODE
 * GL_TEXTURE_COMPARE_FUNC = renpy.uguu.gl.GL_TEXTURE_COMPARE_FUNC
 * GL_COMPARE_REF_TO_TEXTURE = renpy.uguu.gl.GL_COMPARE_REF_TO_TEXTURE             # <<<<<<<<<<<<<<
 * GL_CURRENT_QUERY = renpy.uguu.gl.GL_CURRENT_QUERY
 * GL_QUERY_RESULT = renpy.uguu.gl.GL_QUERY_RESULT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COMPARE_REF_TO_TEXTURE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1244, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COMPARE_REF_TO_TEXTURE, __pyx_t_1) < 0) __PYX_ERR(1, 1244, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1245
 * GL_TEXTURE_COMPARE_FUNC = renpy.uguu.gl.GL_TEXTURE_COMPARE_FUNC
 * GL_COMPARE_REF_TO_TEXTURE = renpy.uguu.gl.GL_COMPARE_REF_TO_TEXTURE
 * GL_CURRENT_QUERY = renpy.uguu.gl.GL_CURRENT_QUERY             # <<<<<<<<<<<<<<
 * GL_QUERY_RESULT = renpy.uguu.gl.GL_QUERY_RESULT
 * GL_QUERY_RESULT_AVAILABLE = renpy.uguu.gl.GL_QUERY_RESULT_AVAILABLE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_CURRENT_QUERY); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1245, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_CURRENT_QUERY, __pyx_t_1) < 0) __PYX_ERR(1, 1245, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1246
 * GL_COMPARE_REF_TO_TEXTURE = renpy.uguu.gl.GL_COMPARE_REF_TO_TEXTURE
 * GL_CURRENT_QUERY = renpy.uguu.gl.GL_CURRENT_QUERY
 * GL_QUERY_RESULT = renpy.uguu.gl.GL_QUERY_RESULT             # <<<<<<<<<<<<<<
 * GL_QUERY_RESULT_AVAILABLE = renpy.uguu.gl.GL_QUERY_RESULT_AVAILABLE
 * GL_MAX_VERTEX_ATTRIBS = renpy.uguu.gl.GL_MAX_VERTEX_ATTRIBS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_QUERY_RESULT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1246, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_QUERY_RESULT, __pyx_t_1) < 0) __PYX_ERR(1, 1246, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1247
 * GL_CURRENT_QUERY = renpy.uguu.gl.GL_CURRENT_QUERY
 * GL_QUERY_RESULT = renpy.uguu.gl.GL_QUERY_RESULT
 * GL_QUERY_RESULT_AVAILABLE = renpy.uguu.gl.GL_QUERY_RESULT_AVAILABLE             # <<<<<<<<<<<<<<
 * GL_MAX_VERTEX_ATTRIBS = renpy.uguu.gl.GL_MAX_VERTEX_ATTRIBS
 * GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_QUERY_RESULT_AVAILABLE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1247, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_QUERY_RESULT_AVAILABLE, __pyx_t_1) < 0) __PYX_ERR(1, 1247, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1248
 * GL_QUERY_RESULT = renpy.uguu.gl.GL_QUERY_RESULT
 * GL_QUERY_RESULT_AVAILABLE = renpy.uguu.gl.GL_QUERY_RESULT_AVAILABLE
 * GL_MAX_VERTEX_ATTRIBS = renpy.uguu.gl.GL_MAX_VERTEX_ATTRIBS             # <<<<<<<<<<<<<<
 * GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
 * GL_MAX_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_TEXTURE_IMAGE_UNITS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_VERTEX_ATTRIBS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1248, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_VERTEX_ATTRIBS, __pyx_t_1) < 0) __PYX_ERR(1, 1248, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1249
 * GL_QUERY_RESULT_AVAILABLE = renpy.uguu.gl.GL_QUERY_RESULT_AVAILABLE
 * GL_MAX_VERTEX_ATTRIBS = renpy.uguu.gl.GL_MAX_VERTEX_ATTRIBS
 * GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_NORMALIZED             # <<<<<<<<<<<<<<
 * GL_MAX_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_TEXTURE_IMAGE_UNITS
 * GL_ARRAY_BUFFER = renpy.uguu.gl.GL_ARRAY_BUFFER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VERTEX_ATTRIB_ARRAY_NORMALIZED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1249, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_NORMALIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1249, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1250
 * GL_MAX_VERTEX_ATTRIBS = renpy.uguu.gl.GL_MAX_VERTEX_ATTRIBS
 * GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
 * GL_MAX_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_TEXTURE_IMAGE_UNITS             # <<<<<<<<<<<<<<
 * GL_ARRAY_BUFFER = renpy.uguu.gl.GL_ARRAY_BUFFER
 * GL_ELEMENT_ARRAY_BUFFER = renpy.uguu.gl.GL_ELEMENT_ARRAY_BUFFER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_TEXTURE_IMAGE_UNITS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1250, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_TEXTURE_IMAGE_UNITS, __pyx_t_1) < 0) __PYX_ERR(1, 1250, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1251
 * GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
 * GL_MAX_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_TEXTURE_IMAGE_UNITS
 * GL_ARRAY_BUFFER = renpy.uguu.gl.GL_ARRAY_BUFFER             # <<<<<<<<<<<<<<
 * GL_ELEMENT_ARRAY_BUFFER = renpy.uguu.gl.GL_ELEMENT_ARRAY_BUFFER
 * GL_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_ARRAY_BUFFER_BINDING
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ARRAY_BUFFER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1251, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ARRAY_BUFFER, __pyx_t_1) < 0) __PYX_ERR(1, 1251, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1252
 * GL_MAX_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_TEXTURE_IMAGE_UNITS
 * GL_ARRAY_BUFFER = renpy.uguu.gl.GL_ARRAY_BUFFER
 * GL_ELEMENT_ARRAY_BUFFER = renpy.uguu.gl.GL_ELEMENT_ARRAY_BUFFER             # <<<<<<<<<<<<<<
 * GL_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_ARRAY_BUFFER_BINDING
 * GL_ELEMENT_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_ELEMENT_ARRAY_BUFFER_BINDING
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ELEMENT_ARRAY_BUFFER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1252, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ELEMENT_ARRAY_BUFFER, __pyx_t_1) < 0) __PYX_ERR(1, 1252, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1253
 * GL_ARRAY_BUFFER = renpy.uguu.gl.GL_ARRAY_BUFFER
 * GL_ELEMENT_ARRAY_BUFFER = renpy.uguu.gl.GL_ELEMENT_ARRAY_BUFFER
 * GL_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_ARRAY_BUFFER_BINDING             # <<<<<<<<<<<<<<
 * GL_ELEMENT_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_ELEMENT_ARRAY_BUFFER_BINDING
 * GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ARRAY_BUFFER_BINDING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1253, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ARRAY_BUFFER_BINDING, __pyx_t_1) < 0) __PYX_ERR(1, 1253, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1254
 * GL_ELEMENT_ARRAY_BUFFER = renpy.uguu.gl.GL_ELEMENT_ARRAY_BUFFER
 * GL_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_ARRAY_BUFFER_BINDING
 * GL_ELEMENT_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_ELEMENT_ARRAY_BUFFER_BINDING             # <<<<<<<<<<<<<<
 * GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
 * GL_BUFFER_MAPPED = renpy.uguu.gl.GL_BUFFER_MAPPED
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ELEMENT_ARRAY_BUFFER_BINDING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1254, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ELEMENT_ARRAY_BUFFER_BINDING, __pyx_t_1) < 0) __PYX_ERR(1, 1254, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1255
 * GL_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_ARRAY_BUFFER_BINDING
 * GL_ELEMENT_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_ELEMENT_ARRAY_BUFFER_BINDING
 * GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING             # <<<<<<<<<<<<<<
 * GL_BUFFER_MAPPED = renpy.uguu.gl.GL_BUFFER_MAPPED
 * GL_BUFFER_MAP_POINTER = renpy.uguu.gl.GL_BUFFER_MAP_POINTER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1255, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_BUFFER_BI, __pyx_t_1) < 0) __PYX_ERR(1, 1255, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1256
 * GL_ELEMENT_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_ELEMENT_ARRAY_BUFFER_BINDING
 * GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
 * GL_BUFFER_MAPPED = renpy.uguu.gl.GL_BUFFER_MAPPED             # <<<<<<<<<<<<<<
 * GL_BUFFER_MAP_POINTER = renpy.uguu.gl.GL_BUFFER_MAP_POINTER
 * GL_STREAM_DRAW = renpy.uguu.gl.GL_STREAM_DRAW
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BUFFER_MAPPED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1256, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BUFFER_MAPPED, __pyx_t_1) < 0) __PYX_ERR(1, 1256, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1257
 * GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
 * GL_BUFFER_MAPPED = renpy.uguu.gl.GL_BUFFER_MAPPED
 * GL_BUFFER_MAP_POINTER = renpy.uguu.gl.GL_BUFFER_MAP_POINTER             # <<<<<<<<<<<<<<
 * GL_STREAM_DRAW = renpy.uguu.gl.GL_STREAM_DRAW
 * GL_STREAM_READ = renpy.uguu.gl.GL_STREAM_READ
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BUFFER_MAP_POINTER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1257, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BUFFER_MAP_POINTER, __pyx_t_1) < 0) __PYX_ERR(1, 1257, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1258
 * GL_BUFFER_MAPPED = renpy.uguu.gl.GL_BUFFER_MAPPED
 * GL_BUFFER_MAP_POINTER = renpy.uguu.gl.GL_BUFFER_MAP_POINTER
 * GL_STREAM_DRAW = renpy.uguu.gl.GL_STREAM_DRAW             # <<<<<<<<<<<<<<
 * GL_STREAM_READ = renpy.uguu.gl.GL_STREAM_READ
 * GL_STREAM_COPY = renpy.uguu.gl.GL_STREAM_COPY
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STREAM_DRAW); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1258, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STREAM_DRAW, __pyx_t_1) < 0) __PYX_ERR(1, 1258, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1259
 * GL_BUFFER_MAP_POINTER = renpy.uguu.gl.GL_BUFFER_MAP_POINTER
 * GL_STREAM_DRAW = renpy.uguu.gl.GL_STREAM_DRAW
 * GL_STREAM_READ = renpy.uguu.gl.GL_STREAM_READ             # <<<<<<<<<<<<<<
 * GL_STREAM_COPY = renpy.uguu.gl.GL_STREAM_COPY
 * GL_STATIC_DRAW = renpy.uguu.gl.GL_STATIC_DRAW
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STREAM_READ); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1259, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STREAM_READ, __pyx_t_1) < 0) __PYX_ERR(1, 1259, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1260
 * GL_STREAM_DRAW = renpy.uguu.gl.GL_STREAM_DRAW
 * GL_STREAM_READ = renpy.uguu.gl.GL_STREAM_READ
 * GL_STREAM_COPY = renpy.uguu.gl.GL_STREAM_COPY             # <<<<<<<<<<<<<<
 * GL_STATIC_DRAW = renpy.uguu.gl.GL_STATIC_DRAW
 * GL_STATIC_READ = renpy.uguu.gl.GL_STATIC_READ
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STREAM_COPY); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1260, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STREAM_COPY, __pyx_t_1) < 0) __PYX_ERR(1, 1260, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1261
 * GL_STREAM_READ = renpy.uguu.gl.GL_STREAM_READ
 * GL_STREAM_COPY = renpy.uguu.gl.GL_STREAM_COPY
 * GL_STATIC_DRAW = renpy.uguu.gl.GL_STATIC_DRAW             # <<<<<<<<<<<<<<
 * GL_STATIC_READ = renpy.uguu.gl.GL_STATIC_READ
 * GL_STATIC_COPY = renpy.uguu.gl.GL_STATIC_COPY
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STATIC_DRAW); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1261, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STATIC_DRAW, __pyx_t_1) < 0) __PYX_ERR(1, 1261, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1262
 * GL_STREAM_COPY = renpy.uguu.gl.GL_STREAM_COPY
 * GL_STATIC_DRAW = renpy.uguu.gl.GL_STATIC_DRAW
 * GL_STATIC_READ = renpy.uguu.gl.GL_STATIC_READ             # <<<<<<<<<<<<<<
 * GL_STATIC_COPY = renpy.uguu.gl.GL_STATIC_COPY
 * GL_DYNAMIC_DRAW = renpy.uguu.gl.GL_DYNAMIC_DRAW
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STATIC_READ); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1262, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STATIC_READ, __pyx_t_1) < 0) __PYX_ERR(1, 1262, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1263
 * GL_STATIC_DRAW = renpy.uguu.gl.GL_STATIC_DRAW
 * GL_STATIC_READ = renpy.uguu.gl.GL_STATIC_READ
 * GL_STATIC_COPY = renpy.uguu.gl.GL_STATIC_COPY             # <<<<<<<<<<<<<<
 * GL_DYNAMIC_DRAW = renpy.uguu.gl.GL_DYNAMIC_DRAW
 * GL_DYNAMIC_READ = renpy.uguu.gl.GL_DYNAMIC_READ
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STATIC_COPY); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1263, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STATIC_COPY, __pyx_t_1) < 0) __PYX_ERR(1, 1263, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1264
 * GL_STATIC_READ = renpy.uguu.gl.GL_STATIC_READ
 * GL_STATIC_COPY = renpy.uguu.gl.GL_STATIC_COPY
 * GL_DYNAMIC_DRAW = renpy.uguu.gl.GL_DYNAMIC_DRAW             # <<<<<<<<<<<<<<
 * GL_DYNAMIC_READ = renpy.uguu.gl.GL_DYNAMIC_READ
 * GL_DYNAMIC_COPY = renpy.uguu.gl.GL_DYNAMIC_COPY
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DYNAMIC_DRAW); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1264, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DYNAMIC_DRAW, __pyx_t_1) < 0) __PYX_ERR(1, 1264, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1265
 * GL_STATIC_COPY = renpy.uguu.gl.GL_STATIC_COPY
 * GL_DYNAMIC_DRAW = renpy.uguu.gl.GL_DYNAMIC_DRAW
 * GL_DYNAMIC_READ = renpy.uguu.gl.GL_DYNAMIC_READ             # <<<<<<<<<<<<<<
 * GL_DYNAMIC_COPY = renpy.uguu.gl.GL_DYNAMIC_COPY
 * GL_PIXEL_PACK_BUFFER = renpy.uguu.gl.GL_PIXEL_PACK_BUFFER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DYNAMIC_READ); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1265, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DYNAMIC_READ, __pyx_t_1) < 0) __PYX_ERR(1, 1265, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1266
 * GL_DYNAMIC_DRAW = renpy.uguu.gl.GL_DYNAMIC_DRAW
 * GL_DYNAMIC_READ = renpy.uguu.gl.GL_DYNAMIC_READ
 * GL_DYNAMIC_COPY = renpy.uguu.gl.GL_DYNAMIC_COPY             # <<<<<<<<<<<<<<
 * GL_PIXEL_PACK_BUFFER = renpy.uguu.gl.GL_PIXEL_PACK_BUFFER
 * GL_PIXEL_UNPACK_BUFFER = renpy.uguu.gl.GL_PIXEL_UNPACK_BUFFER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DYNAMIC_COPY); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1266, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DYNAMIC_COPY, __pyx_t_1) < 0) __PYX_ERR(1, 1266, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1267
 * GL_DYNAMIC_READ = renpy.uguu.gl.GL_DYNAMIC_READ
 * GL_DYNAMIC_COPY = renpy.uguu.gl.GL_DYNAMIC_COPY
 * GL_PIXEL_PACK_BUFFER = renpy.uguu.gl.GL_PIXEL_PACK_BUFFER             # <<<<<<<<<<<<<<
 * GL_PIXEL_UNPACK_BUFFER = renpy.uguu.gl.GL_PIXEL_UNPACK_BUFFER
 * GL_PIXEL_PACK_BUFFER_BINDING = renpy.uguu.gl.GL_PIXEL_PACK_BUFFER_BINDING
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_PIXEL_PACK_BUFFER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1267, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_PIXEL_PACK_BUFFER, __pyx_t_1) < 0) __PYX_ERR(1, 1267, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1268
 * GL_DYNAMIC_COPY = renpy.uguu.gl.GL_DYNAMIC_COPY
 * GL_PIXEL_PACK_BUFFER = renpy.uguu.gl.GL_PIXEL_PACK_BUFFER
 * GL_PIXEL_UNPACK_BUFFER = renpy.uguu.gl.GL_PIXEL_UNPACK_BUFFER             # <<<<<<<<<<<<<<
 * GL_PIXEL_PACK_BUFFER_BINDING = renpy.uguu.gl.GL_PIXEL_PACK_BUFFER_BINDING
 * GL_PIXEL_UNPACK_BUFFER_BINDING = renpy.uguu.gl.GL_PIXEL_UNPACK_BUFFER_BINDING
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_PIXEL_UNPACK_BUFFER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1268, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_PIXEL_UNPACK_BUFFER, __pyx_t_1) < 0) __PYX_ERR(1, 1268, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1269
 * GL_PIXEL_PACK_BUFFER = renpy.uguu.gl.GL_PIXEL_PACK_BUFFER
 * GL_PIXEL_UNPACK_BUFFER = renpy.uguu.gl.GL_PIXEL_UNPACK_BUFFER
 * GL_PIXEL_PACK_BUFFER_BINDING = renpy.uguu.gl.GL_PIXEL_PACK_BUFFER_BINDING             # <<<<<<<<<<<<<<
 * GL_PIXEL_UNPACK_BUFFER_BINDING = renpy.uguu.gl.GL_PIXEL_UNPACK_BUFFER_BINDING
 * GL_DEPTH24_STENCIL8 = renpy.uguu.gl.GL_DEPTH24_STENCIL8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_PIXEL_PACK_BUFFER_BINDING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1269, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_PIXEL_PACK_BUFFER_BINDING, __pyx_t_1) < 0) __PYX_ERR(1, 1269, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1270
 * GL_PIXEL_UNPACK_BUFFER = renpy.uguu.gl.GL_PIXEL_UNPACK_BUFFER
 * GL_PIXEL_PACK_BUFFER_BINDING = renpy.uguu.gl.GL_PIXEL_PACK_BUFFER_BINDING
 * GL_PIXEL_UNPACK_BUFFER_BINDING = renpy.uguu.gl.GL_PIXEL_UNPACK_BUFFER_BINDING             # <<<<<<<<<<<<<<
 * GL_DEPTH24_STENCIL8 = renpy.uguu.gl.GL_DEPTH24_STENCIL8
 * GL_VERTEX_ATTRIB_ARRAY_INTEGER = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_INTEGER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_PIXEL_UNPACK_BUFFER_BINDING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1270, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_PIXEL_UNPACK_BUFFER_BINDING, __pyx_t_1) < 0) __PYX_ERR(1, 1270, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1271
 * GL_PIXEL_PACK_BUFFER_BINDING = renpy.uguu.gl.GL_PIXEL_PACK_BUFFER_BINDING
 * GL_PIXEL_UNPACK_BUFFER_BINDING = renpy.uguu.gl.GL_PIXEL_UNPACK_BUFFER_BINDING
 * GL_DEPTH24_STENCIL8 = renpy.uguu.gl.GL_DEPTH24_STENCIL8             # <<<<<<<<<<<<<<
 * GL_VERTEX_ATTRIB_ARRAY_INTEGER = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_INTEGER
 * GL_MAX_ARRAY_TEXTURE_LAYERS = renpy.uguu.gl.GL_MAX_ARRAY_TEXTURE_LAYERS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH24_STENCIL8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1271, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH24_STENCIL8, __pyx_t_1) < 0) __PYX_ERR(1, 1271, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1272
 * GL_PIXEL_UNPACK_BUFFER_BINDING = renpy.uguu.gl.GL_PIXEL_UNPACK_BUFFER_BINDING
 * GL_DEPTH24_STENCIL8 = renpy.uguu.gl.GL_DEPTH24_STENCIL8
 * GL_VERTEX_ATTRIB_ARRAY_INTEGER = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_INTEGER             # <<<<<<<<<<<<<<
 * GL_MAX_ARRAY_TEXTURE_LAYERS = renpy.uguu.gl.GL_MAX_ARRAY_TEXTURE_LAYERS
 * GL_MIN_PROGRAM_TEXEL_OFFSET = renpy.uguu.gl.GL_MIN_PROGRAM_TEXEL_OFFSET
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VERTEX_ATTRIB_ARRAY_INTEGER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1272, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VERTEX_ATTRIB_ARRAY_INTEGER, __pyx_t_1) < 0) __PYX_ERR(1, 1272, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1273
 * GL_DEPTH24_STENCIL8 = renpy.uguu.gl.GL_DEPTH24_STENCIL8
 * GL_VERTEX_ATTRIB_ARRAY_INTEGER = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_INTEGER
 * GL_MAX_ARRAY_TEXTURE_LAYERS = renpy.uguu.gl.GL_MAX_ARRAY_TEXTURE_LAYERS             # <<<<<<<<<<<<<<
 * GL_MIN_PROGRAM_TEXEL_OFFSET = renpy.uguu.gl.GL_MIN_PROGRAM_TEXEL_OFFSET
 * GL_MAX_PROGRAM_TEXEL_OFFSET = renpy.uguu.gl.GL_MAX_PROGRAM_TEXEL_OFFSET
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_ARRAY_TEXTURE_LAYERS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1273, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_ARRAY_TEXTURE_LAYERS, __pyx_t_1) < 0) __PYX_ERR(1, 1273, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1274
 * GL_VERTEX_ATTRIB_ARRAY_INTEGER = renpy.uguu.gl.GL_VERTEX_ATTRIB_ARRAY_INTEGER
 * GL_MAX_ARRAY_TEXTURE_LAYERS = renpy.uguu.gl.GL_MAX_ARRAY_TEXTURE_LAYERS
 * GL_MIN_PROGRAM_TEXEL_OFFSET = renpy.uguu.gl.GL_MIN_PROGRAM_TEXEL_OFFSET             # <<<<<<<<<<<<<<
 * GL_MAX_PROGRAM_TEXEL_OFFSET = renpy.uguu.gl.GL_MAX_PROGRAM_TEXEL_OFFSET
 * GL_FRAGMENT_SHADER = renpy.uguu.gl.GL_FRAGMENT_SHADER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MIN_PROGRAM_TEXEL_OFFSET); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1274, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MIN_PROGRAM_TEXEL_OFFSET, __pyx_t_1) < 0) __PYX_ERR(1, 1274, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1275
 * GL_MAX_ARRAY_TEXTURE_LAYERS = renpy.uguu.gl.GL_MAX_ARRAY_TEXTURE_LAYERS
 * GL_MIN_PROGRAM_TEXEL_OFFSET = renpy.uguu.gl.GL_MIN_PROGRAM_TEXEL_OFFSET
 * GL_MAX_PROGRAM_TEXEL_OFFSET = renpy.uguu.gl.GL_MAX_PROGRAM_TEXEL_OFFSET             # <<<<<<<<<<<<<<
 * GL_FRAGMENT_SHADER = renpy.uguu.gl.GL_FRAGMENT_SHADER
 * GL_VERTEX_SHADER = renpy.uguu.gl.GL_VERTEX_SHADER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_PROGRAM_TEXEL_OFFSET); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1275, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_PROGRAM_TEXEL_OFFSET, __pyx_t_1) < 0) __PYX_ERR(1, 1275, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1276
 * GL_MIN_PROGRAM_TEXEL_OFFSET = renpy.uguu.gl.GL_MIN_PROGRAM_TEXEL_OFFSET
 * GL_MAX_PROGRAM_TEXEL_OFFSET = renpy.uguu.gl.GL_MAX_PROGRAM_TEXEL_OFFSET
 * GL_FRAGMENT_SHADER = renpy.uguu.gl.GL_FRAGMENT_SHADER             # <<<<<<<<<<<<<<
 * GL_VERTEX_SHADER = renpy.uguu.gl.GL_VERTEX_SHADER
 * GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = renpy.uguu.gl.GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAGMENT_SHADER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1276, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAGMENT_SHADER, __pyx_t_1) < 0) __PYX_ERR(1, 1276, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1277
 * GL_MAX_PROGRAM_TEXEL_OFFSET = renpy.uguu.gl.GL_MAX_PROGRAM_TEXEL_OFFSET
 * GL_FRAGMENT_SHADER = renpy.uguu.gl.GL_FRAGMENT_SHADER
 * GL_VERTEX_SHADER = renpy.uguu.gl.GL_VERTEX_SHADER             # <<<<<<<<<<<<<<
 * GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = renpy.uguu.gl.GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
 * GL_MAX_VERTEX_UNIFORM_COMPONENTS = renpy.uguu.gl.GL_MAX_VERTEX_UNIFORM_COMPONENTS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VERTEX_SHADER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1277, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VERTEX_SHADER, __pyx_t_1) < 0) __PYX_ERR(1, 1277, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1278
 * GL_FRAGMENT_SHADER = renpy.uguu.gl.GL_FRAGMENT_SHADER
 * GL_VERTEX_SHADER = renpy.uguu.gl.GL_VERTEX_SHADER
 * GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = renpy.uguu.gl.GL_MAX_FRAGMENT_UNIFORM_COMPONENTS             # <<<<<<<<<<<<<<
 * GL_MAX_VERTEX_UNIFORM_COMPONENTS = renpy.uguu.gl.GL_MAX_VERTEX_UNIFORM_COMPONENTS
 * GL_MAX_VARYING_COMPONENTS = renpy.uguu.gl.GL_MAX_VARYING_COMPONENTS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_FRAGMENT_UNIFORM_COMPONENTS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1278, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_FRAGMENT_UNIFORM_COMPONEN, __pyx_t_1) < 0) __PYX_ERR(1, 1278, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1279
 * GL_VERTEX_SHADER = renpy.uguu.gl.GL_VERTEX_SHADER
 * GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = renpy.uguu.gl.GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
 * GL_MAX_VERTEX_UNIFORM_COMPONENTS = renpy.uguu.gl.GL_MAX_VERTEX_UNIFORM_COMPONENTS             # <<<<<<<<<<<<<<
 * GL_MAX_VARYING_COMPONENTS = renpy.uguu.gl.GL_MAX_VARYING_COMPONENTS
 * GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_VERTEX_UNIFORM_COMPONENTS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1279, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_VERTEX_UNIFORM_COMPONENTS, __pyx_t_1) < 0) __PYX_ERR(1, 1279, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1280
 * GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = renpy.uguu.gl.GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
 * GL_MAX_VERTEX_UNIFORM_COMPONENTS = renpy.uguu.gl.GL_MAX_VERTEX_UNIFORM_COMPONENTS
 * GL_MAX_VARYING_COMPONENTS = renpy.uguu.gl.GL_MAX_VARYING_COMPONENTS             # <<<<<<<<<<<<<<
 * GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
 * GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_VARYING_COMPONENTS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1280, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_VARYING_COMPONENTS, __pyx_t_1) < 0) __PYX_ERR(1, 1280, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1281
 * GL_MAX_VERTEX_UNIFORM_COMPONENTS = renpy.uguu.gl.GL_MAX_VERTEX_UNIFORM_COMPONENTS
 * GL_MAX_VARYING_COMPONENTS = renpy.uguu.gl.GL_MAX_VARYING_COMPONENTS
 * GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS             # <<<<<<<<<<<<<<
 * GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
 * GL_SHADER_TYPE = renpy.uguu.gl.GL_SHADER_TYPE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1281, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_VERTEX_TEXTURE_IMAGE_UNIT, __pyx_t_1) < 0) __PYX_ERR(1, 1281, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1282
 * GL_MAX_VARYING_COMPONENTS = renpy.uguu.gl.GL_MAX_VARYING_COMPONENTS
 * GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
 * GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS             # <<<<<<<<<<<<<<
 * GL_SHADER_TYPE = renpy.uguu.gl.GL_SHADER_TYPE
 * GL_FLOAT_VEC2 = renpy.uguu.gl.GL_FLOAT_VEC2
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1282, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_COMBINED_TEXTURE_IMAGE_UN, __pyx_t_1) < 0) __PYX_ERR(1, 1282, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1283
 * GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
 * GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
 * GL_SHADER_TYPE = renpy.uguu.gl.GL_SHADER_TYPE             # <<<<<<<<<<<<<<
 * GL_FLOAT_VEC2 = renpy.uguu.gl.GL_FLOAT_VEC2
 * GL_FLOAT_VEC3 = renpy.uguu.gl.GL_FLOAT_VEC3
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SHADER_TYPE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1283, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SHADER_TYPE, __pyx_t_1) < 0) __PYX_ERR(1, 1283, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1284
 * GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = renpy.uguu.gl.GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
 * GL_SHADER_TYPE = renpy.uguu.gl.GL_SHADER_TYPE
 * GL_FLOAT_VEC2 = renpy.uguu.gl.GL_FLOAT_VEC2             # <<<<<<<<<<<<<<
 * GL_FLOAT_VEC3 = renpy.uguu.gl.GL_FLOAT_VEC3
 * GL_FLOAT_VEC4 = renpy.uguu.gl.GL_FLOAT_VEC4
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_VEC2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1284, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_VEC2, __pyx_t_1) < 0) __PYX_ERR(1, 1284, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1285
 * GL_SHADER_TYPE = renpy.uguu.gl.GL_SHADER_TYPE
 * GL_FLOAT_VEC2 = renpy.uguu.gl.GL_FLOAT_VEC2
 * GL_FLOAT_VEC3 = renpy.uguu.gl.GL_FLOAT_VEC3             # <<<<<<<<<<<<<<
 * GL_FLOAT_VEC4 = renpy.uguu.gl.GL_FLOAT_VEC4
 * GL_INT_VEC2 = renpy.uguu.gl.GL_INT_VEC2
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_VEC3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1285, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_VEC3, __pyx_t_1) < 0) __PYX_ERR(1, 1285, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1286
 * GL_FLOAT_VEC2 = renpy.uguu.gl.GL_FLOAT_VEC2
 * GL_FLOAT_VEC3 = renpy.uguu.gl.GL_FLOAT_VEC3
 * GL_FLOAT_VEC4 = renpy.uguu.gl.GL_FLOAT_VEC4             # <<<<<<<<<<<<<<
 * GL_INT_VEC2 = renpy.uguu.gl.GL_INT_VEC2
 * GL_INT_VEC3 = renpy.uguu.gl.GL_INT_VEC3
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_VEC4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1286, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_VEC4, __pyx_t_1) < 0) __PYX_ERR(1, 1286, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1287
 * GL_FLOAT_VEC3 = renpy.uguu.gl.GL_FLOAT_VEC3
 * GL_FLOAT_VEC4 = renpy.uguu.gl.GL_FLOAT_VEC4
 * GL_INT_VEC2 = renpy.uguu.gl.GL_INT_VEC2             # <<<<<<<<<<<<<<
 * GL_INT_VEC3 = renpy.uguu.gl.GL_INT_VEC3
 * GL_INT_VEC4 = renpy.uguu.gl.GL_INT_VEC4
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INT_VEC2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1287, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INT_VEC2, __pyx_t_1) < 0) __PYX_ERR(1, 1287, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1288
 * GL_FLOAT_VEC4 = renpy.uguu.gl.GL_FLOAT_VEC4
 * GL_INT_VEC2 = renpy.uguu.gl.GL_INT_VEC2
 * GL_INT_VEC3 = renpy.uguu.gl.GL_INT_VEC3             # <<<<<<<<<<<<<<
 * GL_INT_VEC4 = renpy.uguu.gl.GL_INT_VEC4
 * GL_BOOL = renpy.uguu.gl.GL_BOOL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INT_VEC3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1288, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INT_VEC3, __pyx_t_1) < 0) __PYX_ERR(1, 1288, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1289
 * GL_INT_VEC2 = renpy.uguu.gl.GL_INT_VEC2
 * GL_INT_VEC3 = renpy.uguu.gl.GL_INT_VEC3
 * GL_INT_VEC4 = renpy.uguu.gl.GL_INT_VEC4             # <<<<<<<<<<<<<<
 * GL_BOOL = renpy.uguu.gl.GL_BOOL
 * GL_BOOL_VEC2 = renpy.uguu.gl.GL_BOOL_VEC2
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INT_VEC4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1289, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INT_VEC4, __pyx_t_1) < 0) __PYX_ERR(1, 1289, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1290
 * GL_INT_VEC3 = renpy.uguu.gl.GL_INT_VEC3
 * GL_INT_VEC4 = renpy.uguu.gl.GL_INT_VEC4
 * GL_BOOL = renpy.uguu.gl.GL_BOOL             # <<<<<<<<<<<<<<
 * GL_BOOL_VEC2 = renpy.uguu.gl.GL_BOOL_VEC2
 * GL_BOOL_VEC3 = renpy.uguu.gl.GL_BOOL_VEC3
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BOOL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1290, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BOOL, __pyx_t_1) < 0) __PYX_ERR(1, 1290, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1291
 * GL_INT_VEC4 = renpy.uguu.gl.GL_INT_VEC4
 * GL_BOOL = renpy.uguu.gl.GL_BOOL
 * GL_BOOL_VEC2 = renpy.uguu.gl.GL_BOOL_VEC2             # <<<<<<<<<<<<<<
 * GL_BOOL_VEC3 = renpy.uguu.gl.GL_BOOL_VEC3
 * GL_BOOL_VEC4 = renpy.uguu.gl.GL_BOOL_VEC4
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BOOL_VEC2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1291, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BOOL_VEC2, __pyx_t_1) < 0) __PYX_ERR(1, 1291, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1292
 * GL_BOOL = renpy.uguu.gl.GL_BOOL
 * GL_BOOL_VEC2 = renpy.uguu.gl.GL_BOOL_VEC2
 * GL_BOOL_VEC3 = renpy.uguu.gl.GL_BOOL_VEC3             # <<<<<<<<<<<<<<
 * GL_BOOL_VEC4 = renpy.uguu.gl.GL_BOOL_VEC4
 * GL_FLOAT_MAT2 = renpy.uguu.gl.GL_FLOAT_MAT2
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BOOL_VEC3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1292, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BOOL_VEC3, __pyx_t_1) < 0) __PYX_ERR(1, 1292, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1293
 * GL_BOOL_VEC2 = renpy.uguu.gl.GL_BOOL_VEC2
 * GL_BOOL_VEC3 = renpy.uguu.gl.GL_BOOL_VEC3
 * GL_BOOL_VEC4 = renpy.uguu.gl.GL_BOOL_VEC4             # <<<<<<<<<<<<<<
 * GL_FLOAT_MAT2 = renpy.uguu.gl.GL_FLOAT_MAT2
 * GL_FLOAT_MAT3 = renpy.uguu.gl.GL_FLOAT_MAT3
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BOOL_VEC4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1293, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BOOL_VEC4, __pyx_t_1) < 0) __PYX_ERR(1, 1293, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1294
 * GL_BOOL_VEC3 = renpy.uguu.gl.GL_BOOL_VEC3
 * GL_BOOL_VEC4 = renpy.uguu.gl.GL_BOOL_VEC4
 * GL_FLOAT_MAT2 = renpy.uguu.gl.GL_FLOAT_MAT2             # <<<<<<<<<<<<<<
 * GL_FLOAT_MAT3 = renpy.uguu.gl.GL_FLOAT_MAT3
 * GL_FLOAT_MAT4 = renpy.uguu.gl.GL_FLOAT_MAT4
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_MAT2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1294, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_MAT2, __pyx_t_1) < 0) __PYX_ERR(1, 1294, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1295
 * GL_BOOL_VEC4 = renpy.uguu.gl.GL_BOOL_VEC4
 * GL_FLOAT_MAT2 = renpy.uguu.gl.GL_FLOAT_MAT2
 * GL_FLOAT_MAT3 = renpy.uguu.gl.GL_FLOAT_MAT3             # <<<<<<<<<<<<<<
 * GL_FLOAT_MAT4 = renpy.uguu.gl.GL_FLOAT_MAT4
 * GL_SAMPLER_2D = renpy.uguu.gl.GL_SAMPLER_2D
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_MAT3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1295, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_MAT3, __pyx_t_1) < 0) __PYX_ERR(1, 1295, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1296
 * GL_FLOAT_MAT2 = renpy.uguu.gl.GL_FLOAT_MAT2
 * GL_FLOAT_MAT3 = renpy.uguu.gl.GL_FLOAT_MAT3
 * GL_FLOAT_MAT4 = renpy.uguu.gl.GL_FLOAT_MAT4             # <<<<<<<<<<<<<<
 * GL_SAMPLER_2D = renpy.uguu.gl.GL_SAMPLER_2D
 * GL_SAMPLER_3D = renpy.uguu.gl.GL_SAMPLER_3D
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_MAT4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1296, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_MAT4, __pyx_t_1) < 0) __PYX_ERR(1, 1296, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1297
 * GL_FLOAT_MAT3 = renpy.uguu.gl.GL_FLOAT_MAT3
 * GL_FLOAT_MAT4 = renpy.uguu.gl.GL_FLOAT_MAT4
 * GL_SAMPLER_2D = renpy.uguu.gl.GL_SAMPLER_2D             # <<<<<<<<<<<<<<
 * GL_SAMPLER_3D = renpy.uguu.gl.GL_SAMPLER_3D
 * GL_SAMPLER_CUBE = renpy.uguu.gl.GL_SAMPLER_CUBE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLER_2D); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1297, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLER_2D, __pyx_t_1) < 0) __PYX_ERR(1, 1297, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1298
 * GL_FLOAT_MAT4 = renpy.uguu.gl.GL_FLOAT_MAT4
 * GL_SAMPLER_2D = renpy.uguu.gl.GL_SAMPLER_2D
 * GL_SAMPLER_3D = renpy.uguu.gl.GL_SAMPLER_3D             # <<<<<<<<<<<<<<
 * GL_SAMPLER_CUBE = renpy.uguu.gl.GL_SAMPLER_CUBE
 * GL_SAMPLER_2D_SHADOW = renpy.uguu.gl.GL_SAMPLER_2D_SHADOW
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLER_3D); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1298, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLER_3D, __pyx_t_1) < 0) __PYX_ERR(1, 1298, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1299
 * GL_SAMPLER_2D = renpy.uguu.gl.GL_SAMPLER_2D
 * GL_SAMPLER_3D = renpy.uguu.gl.GL_SAMPLER_3D
 * GL_SAMPLER_CUBE = renpy.uguu.gl.GL_SAMPLER_CUBE             # <<<<<<<<<<<<<<
 * GL_SAMPLER_2D_SHADOW = renpy.uguu.gl.GL_SAMPLER_2D_SHADOW
 * GL_FLOAT_MAT2x3 = renpy.uguu.gl.GL_FLOAT_MAT2x3
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLER_CUBE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1299, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLER_CUBE, __pyx_t_1) < 0) __PYX_ERR(1, 1299, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1300
 * GL_SAMPLER_3D = renpy.uguu.gl.GL_SAMPLER_3D
 * GL_SAMPLER_CUBE = renpy.uguu.gl.GL_SAMPLER_CUBE
 * GL_SAMPLER_2D_SHADOW = renpy.uguu.gl.GL_SAMPLER_2D_SHADOW             # <<<<<<<<<<<<<<
 * GL_FLOAT_MAT2x3 = renpy.uguu.gl.GL_FLOAT_MAT2x3
 * GL_FLOAT_MAT2x4 = renpy.uguu.gl.GL_FLOAT_MAT2x4
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLER_2D_SHADOW); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1300, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLER_2D_SHADOW, __pyx_t_1) < 0) __PYX_ERR(1, 1300, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1301
 * GL_SAMPLER_CUBE = renpy.uguu.gl.GL_SAMPLER_CUBE
 * GL_SAMPLER_2D_SHADOW = renpy.uguu.gl.GL_SAMPLER_2D_SHADOW
 * GL_FLOAT_MAT2x3 = renpy.uguu.gl.GL_FLOAT_MAT2x3             # <<<<<<<<<<<<<<
 * GL_FLOAT_MAT2x4 = renpy.uguu.gl.GL_FLOAT_MAT2x4
 * GL_FLOAT_MAT3x2 = renpy.uguu.gl.GL_FLOAT_MAT3x2
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_MAT2x3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1301, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_MAT2x3, __pyx_t_1) < 0) __PYX_ERR(1, 1301, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1302
 * GL_SAMPLER_2D_SHADOW = renpy.uguu.gl.GL_SAMPLER_2D_SHADOW
 * GL_FLOAT_MAT2x3 = renpy.uguu.gl.GL_FLOAT_MAT2x3
 * GL_FLOAT_MAT2x4 = renpy.uguu.gl.GL_FLOAT_MAT2x4             # <<<<<<<<<<<<<<
 * GL_FLOAT_MAT3x2 = renpy.uguu.gl.GL_FLOAT_MAT3x2
 * GL_FLOAT_MAT3x4 = renpy.uguu.gl.GL_FLOAT_MAT3x4
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_MAT2x4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1302, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_MAT2x4, __pyx_t_1) < 0) __PYX_ERR(1, 1302, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1303
 * GL_FLOAT_MAT2x3 = renpy.uguu.gl.GL_FLOAT_MAT2x3
 * GL_FLOAT_MAT2x4 = renpy.uguu.gl.GL_FLOAT_MAT2x4
 * GL_FLOAT_MAT3x2 = renpy.uguu.gl.GL_FLOAT_MAT3x2             # <<<<<<<<<<<<<<
 * GL_FLOAT_MAT3x4 = renpy.uguu.gl.GL_FLOAT_MAT3x4
 * GL_FLOAT_MAT4x2 = renpy.uguu.gl.GL_FLOAT_MAT4x2
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_MAT3x2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1303, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_MAT3x2, __pyx_t_1) < 0) __PYX_ERR(1, 1303, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1304
 * GL_FLOAT_MAT2x4 = renpy.uguu.gl.GL_FLOAT_MAT2x4
 * GL_FLOAT_MAT3x2 = renpy.uguu.gl.GL_FLOAT_MAT3x2
 * GL_FLOAT_MAT3x4 = renpy.uguu.gl.GL_FLOAT_MAT3x4             # <<<<<<<<<<<<<<
 * GL_FLOAT_MAT4x2 = renpy.uguu.gl.GL_FLOAT_MAT4x2
 * GL_FLOAT_MAT4x3 = renpy.uguu.gl.GL_FLOAT_MAT4x3
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_MAT3x4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1304, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_MAT3x4, __pyx_t_1) < 0) __PYX_ERR(1, 1304, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1305
 * GL_FLOAT_MAT3x2 = renpy.uguu.gl.GL_FLOAT_MAT3x2
 * GL_FLOAT_MAT3x4 = renpy.uguu.gl.GL_FLOAT_MAT3x4
 * GL_FLOAT_MAT4x2 = renpy.uguu.gl.GL_FLOAT_MAT4x2             # <<<<<<<<<<<<<<
 * GL_FLOAT_MAT4x3 = renpy.uguu.gl.GL_FLOAT_MAT4x3
 * GL_DELETE_STATUS = renpy.uguu.gl.GL_DELETE_STATUS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_MAT4x2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1305, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_MAT4x2, __pyx_t_1) < 0) __PYX_ERR(1, 1305, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1306
 * GL_FLOAT_MAT3x4 = renpy.uguu.gl.GL_FLOAT_MAT3x4
 * GL_FLOAT_MAT4x2 = renpy.uguu.gl.GL_FLOAT_MAT4x2
 * GL_FLOAT_MAT4x3 = renpy.uguu.gl.GL_FLOAT_MAT4x3             # <<<<<<<<<<<<<<
 * GL_DELETE_STATUS = renpy.uguu.gl.GL_DELETE_STATUS
 * GL_COMPILE_STATUS = renpy.uguu.gl.GL_COMPILE_STATUS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_MAT4x3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1306, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_MAT4x3, __pyx_t_1) < 0) __PYX_ERR(1, 1306, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1307
 * GL_FLOAT_MAT4x2 = renpy.uguu.gl.GL_FLOAT_MAT4x2
 * GL_FLOAT_MAT4x3 = renpy.uguu.gl.GL_FLOAT_MAT4x3
 * GL_DELETE_STATUS = renpy.uguu.gl.GL_DELETE_STATUS             # <<<<<<<<<<<<<<
 * GL_COMPILE_STATUS = renpy.uguu.gl.GL_COMPILE_STATUS
 * GL_LINK_STATUS = renpy.uguu.gl.GL_LINK_STATUS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DELETE_STATUS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1307, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DELETE_STATUS, __pyx_t_1) < 0) __PYX_ERR(1, 1307, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1308
 * GL_FLOAT_MAT4x3 = renpy.uguu.gl.GL_FLOAT_MAT4x3
 * GL_DELETE_STATUS = renpy.uguu.gl.GL_DELETE_STATUS
 * GL_COMPILE_STATUS = renpy.uguu.gl.GL_COMPILE_STATUS             # <<<<<<<<<<<<<<
 * GL_LINK_STATUS = renpy.uguu.gl.GL_LINK_STATUS
 * GL_VALIDATE_STATUS = renpy.uguu.gl.GL_VALIDATE_STATUS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COMPILE_STATUS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1308, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COMPILE_STATUS, __pyx_t_1) < 0) __PYX_ERR(1, 1308, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1309
 * GL_DELETE_STATUS = renpy.uguu.gl.GL_DELETE_STATUS
 * GL_COMPILE_STATUS = renpy.uguu.gl.GL_COMPILE_STATUS
 * GL_LINK_STATUS = renpy.uguu.gl.GL_LINK_STATUS             # <<<<<<<<<<<<<<
 * GL_VALIDATE_STATUS = renpy.uguu.gl.GL_VALIDATE_STATUS
 * GL_INFO_LOG_LENGTH = renpy.uguu.gl.GL_INFO_LOG_LENGTH
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_LINK_STATUS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1309, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_LINK_STATUS, __pyx_t_1) < 0) __PYX_ERR(1, 1309, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1310
 * GL_COMPILE_STATUS = renpy.uguu.gl.GL_COMPILE_STATUS
 * GL_LINK_STATUS = renpy.uguu.gl.GL_LINK_STATUS
 * GL_VALIDATE_STATUS = renpy.uguu.gl.GL_VALIDATE_STATUS             # <<<<<<<<<<<<<<
 * GL_INFO_LOG_LENGTH = renpy.uguu.gl.GL_INFO_LOG_LENGTH
 * GL_ATTACHED_SHADERS = renpy.uguu.gl.GL_ATTACHED_SHADERS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_VALIDATE_STATUS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1310, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_VALIDATE_STATUS, __pyx_t_1) < 0) __PYX_ERR(1, 1310, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1311
 * GL_LINK_STATUS = renpy.uguu.gl.GL_LINK_STATUS
 * GL_VALIDATE_STATUS = renpy.uguu.gl.GL_VALIDATE_STATUS
 * GL_INFO_LOG_LENGTH = renpy.uguu.gl.GL_INFO_LOG_LENGTH             # <<<<<<<<<<<<<<
 * GL_ATTACHED_SHADERS = renpy.uguu.gl.GL_ATTACHED_SHADERS
 * GL_ACTIVE_UNIFORMS = renpy.uguu.gl.GL_ACTIVE_UNIFORMS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INFO_LOG_LENGTH); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1311, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INFO_LOG_LENGTH, __pyx_t_1) < 0) __PYX_ERR(1, 1311, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1312
 * GL_VALIDATE_STATUS = renpy.uguu.gl.GL_VALIDATE_STATUS
 * GL_INFO_LOG_LENGTH = renpy.uguu.gl.GL_INFO_LOG_LENGTH
 * GL_ATTACHED_SHADERS = renpy.uguu.gl.GL_ATTACHED_SHADERS             # <<<<<<<<<<<<<<
 * GL_ACTIVE_UNIFORMS = renpy.uguu.gl.GL_ACTIVE_UNIFORMS
 * GL_ACTIVE_UNIFORM_MAX_LENGTH = renpy.uguu.gl.GL_ACTIVE_UNIFORM_MAX_LENGTH
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ATTACHED_SHADERS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1312, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ATTACHED_SHADERS, __pyx_t_1) < 0) __PYX_ERR(1, 1312, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1313
 * GL_INFO_LOG_LENGTH = renpy.uguu.gl.GL_INFO_LOG_LENGTH
 * GL_ATTACHED_SHADERS = renpy.uguu.gl.GL_ATTACHED_SHADERS
 * GL_ACTIVE_UNIFORMS = renpy.uguu.gl.GL_ACTIVE_UNIFORMS             # <<<<<<<<<<<<<<
 * GL_ACTIVE_UNIFORM_MAX_LENGTH = renpy.uguu.gl.GL_ACTIVE_UNIFORM_MAX_LENGTH
 * GL_SHADER_SOURCE_LENGTH = renpy.uguu.gl.GL_SHADER_SOURCE_LENGTH
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ACTIVE_UNIFORMS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1313, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ACTIVE_UNIFORMS, __pyx_t_1) < 0) __PYX_ERR(1, 1313, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1314
 * GL_ATTACHED_SHADERS = renpy.uguu.gl.GL_ATTACHED_SHADERS
 * GL_ACTIVE_UNIFORMS = renpy.uguu.gl.GL_ACTIVE_UNIFORMS
 * GL_ACTIVE_UNIFORM_MAX_LENGTH = renpy.uguu.gl.GL_ACTIVE_UNIFORM_MAX_LENGTH             # <<<<<<<<<<<<<<
 * GL_SHADER_SOURCE_LENGTH = renpy.uguu.gl.GL_SHADER_SOURCE_LENGTH
 * GL_ACTIVE_ATTRIBUTES = renpy.uguu.gl.GL_ACTIVE_ATTRIBUTES
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ACTIVE_UNIFORM_MAX_LENGTH); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1314, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ACTIVE_UNIFORM_MAX_LENGTH, __pyx_t_1) < 0) __PYX_ERR(1, 1314, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1315
 * GL_ACTIVE_UNIFORMS = renpy.uguu.gl.GL_ACTIVE_UNIFORMS
 * GL_ACTIVE_UNIFORM_MAX_LENGTH = renpy.uguu.gl.GL_ACTIVE_UNIFORM_MAX_LENGTH
 * GL_SHADER_SOURCE_LENGTH = renpy.uguu.gl.GL_SHADER_SOURCE_LENGTH             # <<<<<<<<<<<<<<
 * GL_ACTIVE_ATTRIBUTES = renpy.uguu.gl.GL_ACTIVE_ATTRIBUTES
 * GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = renpy.uguu.gl.GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SHADER_SOURCE_LENGTH); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1315, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SHADER_SOURCE_LENGTH, __pyx_t_1) < 0) __PYX_ERR(1, 1315, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1316
 * GL_ACTIVE_UNIFORM_MAX_LENGTH = renpy.uguu.gl.GL_ACTIVE_UNIFORM_MAX_LENGTH
 * GL_SHADER_SOURCE_LENGTH = renpy.uguu.gl.GL_SHADER_SOURCE_LENGTH
 * GL_ACTIVE_ATTRIBUTES = renpy.uguu.gl.GL_ACTIVE_ATTRIBUTES             # <<<<<<<<<<<<<<
 * GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = renpy.uguu.gl.GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
 * GL_FRAGMENT_SHADER_DERIVATIVE_HINT = renpy.uguu.gl.GL_FRAGMENT_SHADER_DERIVATIVE_HINT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ACTIVE_ATTRIBUTES); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1316, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ACTIVE_ATTRIBUTES, __pyx_t_1) < 0) __PYX_ERR(1, 1316, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1317
 * GL_SHADER_SOURCE_LENGTH = renpy.uguu.gl.GL_SHADER_SOURCE_LENGTH
 * GL_ACTIVE_ATTRIBUTES = renpy.uguu.gl.GL_ACTIVE_ATTRIBUTES
 * GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = renpy.uguu.gl.GL_ACTIVE_ATTRIBUTE_MAX_LENGTH             # <<<<<<<<<<<<<<
 * GL_FRAGMENT_SHADER_DERIVATIVE_HINT = renpy.uguu.gl.GL_FRAGMENT_SHADER_DERIVATIVE_HINT
 * GL_SHADING_LANGUAGE_VERSION = renpy.uguu.gl.GL_SHADING_LANGUAGE_VERSION
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_ACTIVE_ATTRIBUTE_MAX_LENGTH); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1317, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, __pyx_t_1) < 0) __PYX_ERR(1, 1317, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1318
 * GL_ACTIVE_ATTRIBUTES = renpy.uguu.gl.GL_ACTIVE_ATTRIBUTES
 * GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = renpy.uguu.gl.GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
 * GL_FRAGMENT_SHADER_DERIVATIVE_HINT = renpy.uguu.gl.GL_FRAGMENT_SHADER_DERIVATIVE_HINT             # <<<<<<<<<<<<<<
 * GL_SHADING_LANGUAGE_VERSION = renpy.uguu.gl.GL_SHADING_LANGUAGE_VERSION
 * GL_CURRENT_PROGRAM = renpy.uguu.gl.GL_CURRENT_PROGRAM
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAGMENT_SHADER_DERIVATIVE_HINT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1318, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAGMENT_SHADER_DERIVATIVE_HI, __pyx_t_1) < 0) __PYX_ERR(1, 1318, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1319
 * GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = renpy.uguu.gl.GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
 * GL_FRAGMENT_SHADER_DERIVATIVE_HINT = renpy.uguu.gl.GL_FRAGMENT_SHADER_DERIVATIVE_HINT
 * GL_SHADING_LANGUAGE_VERSION = renpy.uguu.gl.GL_SHADING_LANGUAGE_VERSION             # <<<<<<<<<<<<<<
 * GL_CURRENT_PROGRAM = renpy.uguu.gl.GL_CURRENT_PROGRAM
 * GL_UNSIGNED_NORMALIZED = renpy.uguu.gl.GL_UNSIGNED_NORMALIZED
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SHADING_LANGUAGE_VERSION); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1319, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SHADING_LANGUAGE_VERSION, __pyx_t_1) < 0) __PYX_ERR(1, 1319, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1320
 * GL_FRAGMENT_SHADER_DERIVATIVE_HINT = renpy.uguu.gl.GL_FRAGMENT_SHADER_DERIVATIVE_HINT
 * GL_SHADING_LANGUAGE_VERSION = renpy.uguu.gl.GL_SHADING_LANGUAGE_VERSION
 * GL_CURRENT_PROGRAM = renpy.uguu.gl.GL_CURRENT_PROGRAM             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_NORMALIZED = renpy.uguu.gl.GL_UNSIGNED_NORMALIZED
 * GL_TEXTURE_2D_ARRAY = renpy.uguu.gl.GL_TEXTURE_2D_ARRAY
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_CURRENT_PROGRAM); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1320, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_CURRENT_PROGRAM, __pyx_t_1) < 0) __PYX_ERR(1, 1320, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1321
 * GL_SHADING_LANGUAGE_VERSION = renpy.uguu.gl.GL_SHADING_LANGUAGE_VERSION
 * GL_CURRENT_PROGRAM = renpy.uguu.gl.GL_CURRENT_PROGRAM
 * GL_UNSIGNED_NORMALIZED = renpy.uguu.gl.GL_UNSIGNED_NORMALIZED             # <<<<<<<<<<<<<<
 * GL_TEXTURE_2D_ARRAY = renpy.uguu.gl.GL_TEXTURE_2D_ARRAY
 * GL_TEXTURE_BINDING_2D_ARRAY = renpy.uguu.gl.GL_TEXTURE_BINDING_2D_ARRAY
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_NORMALIZED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1321, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_NORMALIZED, __pyx_t_1) < 0) __PYX_ERR(1, 1321, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1322
 * GL_CURRENT_PROGRAM = renpy.uguu.gl.GL_CURRENT_PROGRAM
 * GL_UNSIGNED_NORMALIZED = renpy.uguu.gl.GL_UNSIGNED_NORMALIZED
 * GL_TEXTURE_2D_ARRAY = renpy.uguu.gl.GL_TEXTURE_2D_ARRAY             # <<<<<<<<<<<<<<
 * GL_TEXTURE_BINDING_2D_ARRAY = renpy.uguu.gl.GL_TEXTURE_BINDING_2D_ARRAY
 * GL_R11F_G11F_B10F = renpy.uguu.gl.GL_R11F_G11F_B10F
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_2D_ARRAY); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1322, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_2D_ARRAY, __pyx_t_1) < 0) __PYX_ERR(1, 1322, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1323
 * GL_UNSIGNED_NORMALIZED = renpy.uguu.gl.GL_UNSIGNED_NORMALIZED
 * GL_TEXTURE_2D_ARRAY = renpy.uguu.gl.GL_TEXTURE_2D_ARRAY
 * GL_TEXTURE_BINDING_2D_ARRAY = renpy.uguu.gl.GL_TEXTURE_BINDING_2D_ARRAY             # <<<<<<<<<<<<<<
 * GL_R11F_G11F_B10F = renpy.uguu.gl.GL_R11F_G11F_B10F
 * GL_UNSIGNED_INT_10F_11F_11F_REV = renpy.uguu.gl.GL_UNSIGNED_INT_10F_11F_11F_REV
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TEXTURE_BINDING_2D_ARRAY); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1323, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TEXTURE_BINDING_2D_ARRAY, __pyx_t_1) < 0) __PYX_ERR(1, 1323, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1324
 * GL_TEXTURE_2D_ARRAY = renpy.uguu.gl.GL_TEXTURE_2D_ARRAY
 * GL_TEXTURE_BINDING_2D_ARRAY = renpy.uguu.gl.GL_TEXTURE_BINDING_2D_ARRAY
 * GL_R11F_G11F_B10F = renpy.uguu.gl.GL_R11F_G11F_B10F             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_INT_10F_11F_11F_REV = renpy.uguu.gl.GL_UNSIGNED_INT_10F_11F_11F_REV
 * GL_RGB9_E5 = renpy.uguu.gl.GL_RGB9_E5
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_R11F_G11F_B10F); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1324, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_R11F_G11F_B10F, __pyx_t_1) < 0) __PYX_ERR(1, 1324, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1325
 * GL_TEXTURE_BINDING_2D_ARRAY = renpy.uguu.gl.GL_TEXTURE_BINDING_2D_ARRAY
 * GL_R11F_G11F_B10F = renpy.uguu.gl.GL_R11F_G11F_B10F
 * GL_UNSIGNED_INT_10F_11F_11F_REV = renpy.uguu.gl.GL_UNSIGNED_INT_10F_11F_11F_REV             # <<<<<<<<<<<<<<
 * GL_RGB9_E5 = renpy.uguu.gl.GL_RGB9_E5
 * GL_UNSIGNED_INT_5_9_9_9_REV = renpy.uguu.gl.GL_UNSIGNED_INT_5_9_9_9_REV
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_INT_10F_11F_11F_REV); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1325, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_INT_10F_11F_11F_REV, __pyx_t_1) < 0) __PYX_ERR(1, 1325, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1326
 * GL_R11F_G11F_B10F = renpy.uguu.gl.GL_R11F_G11F_B10F
 * GL_UNSIGNED_INT_10F_11F_11F_REV = renpy.uguu.gl.GL_UNSIGNED_INT_10F_11F_11F_REV
 * GL_RGB9_E5 = renpy.uguu.gl.GL_RGB9_E5             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_INT_5_9_9_9_REV = renpy.uguu.gl.GL_UNSIGNED_INT_5_9_9_9_REV
 * GL_SRGB = renpy.uguu.gl.GL_SRGB
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB9_E5); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1326, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB9_E5, __pyx_t_1) < 0) __PYX_ERR(1, 1326, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1327
 * GL_UNSIGNED_INT_10F_11F_11F_REV = renpy.uguu.gl.GL_UNSIGNED_INT_10F_11F_11F_REV
 * GL_RGB9_E5 = renpy.uguu.gl.GL_RGB9_E5
 * GL_UNSIGNED_INT_5_9_9_9_REV = renpy.uguu.gl.GL_UNSIGNED_INT_5_9_9_9_REV             # <<<<<<<<<<<<<<
 * GL_SRGB = renpy.uguu.gl.GL_SRGB
 * GL_SRGB8 = renpy.uguu.gl.GL_SRGB8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_INT_5_9_9_9_REV); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1327, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_INT_5_9_9_9_REV, __pyx_t_1) < 0) __PYX_ERR(1, 1327, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1328
 * GL_RGB9_E5 = renpy.uguu.gl.GL_RGB9_E5
 * GL_UNSIGNED_INT_5_9_9_9_REV = renpy.uguu.gl.GL_UNSIGNED_INT_5_9_9_9_REV
 * GL_SRGB = renpy.uguu.gl.GL_SRGB             # <<<<<<<<<<<<<<
 * GL_SRGB8 = renpy.uguu.gl.GL_SRGB8
 * GL_SRGB8_ALPHA8 = renpy.uguu.gl.GL_SRGB8_ALPHA8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SRGB); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1328, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SRGB, __pyx_t_1) < 0) __PYX_ERR(1, 1328, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1329
 * GL_UNSIGNED_INT_5_9_9_9_REV = renpy.uguu.gl.GL_UNSIGNED_INT_5_9_9_9_REV
 * GL_SRGB = renpy.uguu.gl.GL_SRGB
 * GL_SRGB8 = renpy.uguu.gl.GL_SRGB8             # <<<<<<<<<<<<<<
 * GL_SRGB8_ALPHA8 = renpy.uguu.gl.GL_SRGB8_ALPHA8
 * GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SRGB8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1329, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SRGB8, __pyx_t_1) < 0) __PYX_ERR(1, 1329, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1330
 * GL_SRGB = renpy.uguu.gl.GL_SRGB
 * GL_SRGB8 = renpy.uguu.gl.GL_SRGB8
 * GL_SRGB8_ALPHA8 = renpy.uguu.gl.GL_SRGB8_ALPHA8             # <<<<<<<<<<<<<<
 * GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH
 * GL_TRANSFORM_FEEDBACK_BUFFER_MODE = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_MODE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SRGB8_ALPHA8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1330, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SRGB8_ALPHA8, __pyx_t_1) < 0) __PYX_ERR(1, 1330, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1331
 * GL_SRGB8 = renpy.uguu.gl.GL_SRGB8
 * GL_SRGB8_ALPHA8 = renpy.uguu.gl.GL_SRGB8_ALPHA8
 * GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH             # <<<<<<<<<<<<<<
 * GL_TRANSFORM_FEEDBACK_BUFFER_MODE = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_MODE
 * GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1331, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TRANSFORM_FEEDBACK_VARYING_MA, __pyx_t_1) < 0) __PYX_ERR(1, 1331, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1332
 * GL_SRGB8_ALPHA8 = renpy.uguu.gl.GL_SRGB8_ALPHA8
 * GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH
 * GL_TRANSFORM_FEEDBACK_BUFFER_MODE = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_MODE             # <<<<<<<<<<<<<<
 * GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS
 * GL_TRANSFORM_FEEDBACK_VARYINGS = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_VARYINGS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TRANSFORM_FEEDBACK_BUFFER_MODE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1332, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER_MOD, __pyx_t_1) < 0) __PYX_ERR(1, 1332, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1333
 * GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH
 * GL_TRANSFORM_FEEDBACK_BUFFER_MODE = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_MODE
 * GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS             # <<<<<<<<<<<<<<
 * GL_TRANSFORM_FEEDBACK_VARYINGS = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_VARYINGS
 * GL_TRANSFORM_FEEDBACK_BUFFER_START = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_START
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1333, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_TRANSFORM_FEEDBACK_SEPARA, __pyx_t_1) < 0) __PYX_ERR(1, 1333, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1334
 * GL_TRANSFORM_FEEDBACK_BUFFER_MODE = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_MODE
 * GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS
 * GL_TRANSFORM_FEEDBACK_VARYINGS = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_VARYINGS             # <<<<<<<<<<<<<<
 * GL_TRANSFORM_FEEDBACK_BUFFER_START = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_START
 * GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TRANSFORM_FEEDBACK_VARYINGS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1334, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TRANSFORM_FEEDBACK_VARYINGS, __pyx_t_1) < 0) __PYX_ERR(1, 1334, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1335
 * GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS
 * GL_TRANSFORM_FEEDBACK_VARYINGS = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_VARYINGS
 * GL_TRANSFORM_FEEDBACK_BUFFER_START = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_START             # <<<<<<<<<<<<<<
 * GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_SIZE
 * GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TRANSFORM_FEEDBACK_BUFFER_START); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1335, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER_STA, __pyx_t_1) < 0) __PYX_ERR(1, 1335, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1336
 * GL_TRANSFORM_FEEDBACK_VARYINGS = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_VARYINGS
 * GL_TRANSFORM_FEEDBACK_BUFFER_START = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_START
 * GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_SIZE             # <<<<<<<<<<<<<<
 * GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
 * GL_RASTERIZER_DISCARD = renpy.uguu.gl.GL_RASTERIZER_DISCARD
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TRANSFORM_FEEDBACK_BUFFER_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1336, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER_SIZ, __pyx_t_1) < 0) __PYX_ERR(1, 1336, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1337
 * GL_TRANSFORM_FEEDBACK_BUFFER_START = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_START
 * GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_SIZE
 * GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN             # <<<<<<<<<<<<<<
 * GL_RASTERIZER_DISCARD = renpy.uguu.gl.GL_RASTERIZER_DISCARD
 * GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1337, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TRANSFORM_FEEDBACK_PRIMITIVES, __pyx_t_1) < 0) __PYX_ERR(1, 1337, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1338
 * GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_SIZE
 * GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
 * GL_RASTERIZER_DISCARD = renpy.uguu.gl.GL_RASTERIZER_DISCARD             # <<<<<<<<<<<<<<
 * GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS
 * GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RASTERIZER_DISCARD); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1338, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RASTERIZER_DISCARD, __pyx_t_1) < 0) __PYX_ERR(1, 1338, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1339
 * GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
 * GL_RASTERIZER_DISCARD = renpy.uguu.gl.GL_RASTERIZER_DISCARD
 * GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS             # <<<<<<<<<<<<<<
 * GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS
 * GL_INTERLEAVED_ATTRIBS = renpy.uguu.gl.GL_INTERLEAVED_ATTRIBS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1339, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_TRANSFORM_FEEDBACK_INTERL, __pyx_t_1) < 0) __PYX_ERR(1, 1339, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1340
 * GL_RASTERIZER_DISCARD = renpy.uguu.gl.GL_RASTERIZER_DISCARD
 * GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS
 * GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS             # <<<<<<<<<<<<<<
 * GL_INTERLEAVED_ATTRIBS = renpy.uguu.gl.GL_INTERLEAVED_ATTRIBS
 * GL_SEPARATE_ATTRIBS = renpy.uguu.gl.GL_SEPARATE_ATTRIBS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1340, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_TRANSFORM_FEEDBACK_SEPARA_2, __pyx_t_1) < 0) __PYX_ERR(1, 1340, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1341
 * GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS
 * GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS
 * GL_INTERLEAVED_ATTRIBS = renpy.uguu.gl.GL_INTERLEAVED_ATTRIBS             # <<<<<<<<<<<<<<
 * GL_SEPARATE_ATTRIBS = renpy.uguu.gl.GL_SEPARATE_ATTRIBS
 * GL_TRANSFORM_FEEDBACK_BUFFER = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INTERLEAVED_ATTRIBS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1341, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INTERLEAVED_ATTRIBS, __pyx_t_1) < 0) __PYX_ERR(1, 1341, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1342
 * GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = renpy.uguu.gl.GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS
 * GL_INTERLEAVED_ATTRIBS = renpy.uguu.gl.GL_INTERLEAVED_ATTRIBS
 * GL_SEPARATE_ATTRIBS = renpy.uguu.gl.GL_SEPARATE_ATTRIBS             # <<<<<<<<<<<<<<
 * GL_TRANSFORM_FEEDBACK_BUFFER = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER
 * GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_BINDING
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SEPARATE_ATTRIBS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1342, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SEPARATE_ATTRIBS, __pyx_t_1) < 0) __PYX_ERR(1, 1342, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1343
 * GL_INTERLEAVED_ATTRIBS = renpy.uguu.gl.GL_INTERLEAVED_ATTRIBS
 * GL_SEPARATE_ATTRIBS = renpy.uguu.gl.GL_SEPARATE_ATTRIBS
 * GL_TRANSFORM_FEEDBACK_BUFFER = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER             # <<<<<<<<<<<<<<
 * GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_BINDING
 * GL_STENCIL_BACK_REF = renpy.uguu.gl.GL_STENCIL_BACK_REF
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TRANSFORM_FEEDBACK_BUFFER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1343, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER, __pyx_t_1) < 0) __PYX_ERR(1, 1343, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1344
 * GL_SEPARATE_ATTRIBS = renpy.uguu.gl.GL_SEPARATE_ATTRIBS
 * GL_TRANSFORM_FEEDBACK_BUFFER = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER
 * GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_BINDING             # <<<<<<<<<<<<<<
 * GL_STENCIL_BACK_REF = renpy.uguu.gl.GL_STENCIL_BACK_REF
 * GL_STENCIL_BACK_VALUE_MASK = renpy.uguu.gl.GL_STENCIL_BACK_VALUE_MASK
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_TRANSFORM_FEEDBACK_BUFFER_BINDING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1344, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_TRANSFORM_FEEDBACK_BUFFER_BIN, __pyx_t_1) < 0) __PYX_ERR(1, 1344, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1345
 * GL_TRANSFORM_FEEDBACK_BUFFER = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER
 * GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_BINDING
 * GL_STENCIL_BACK_REF = renpy.uguu.gl.GL_STENCIL_BACK_REF             # <<<<<<<<<<<<<<
 * GL_STENCIL_BACK_VALUE_MASK = renpy.uguu.gl.GL_STENCIL_BACK_VALUE_MASK
 * GL_STENCIL_BACK_WRITEMASK = renpy.uguu.gl.GL_STENCIL_BACK_WRITEMASK
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_BACK_REF); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1345, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_BACK_REF, __pyx_t_1) < 0) __PYX_ERR(1, 1345, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1346
 * GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = renpy.uguu.gl.GL_TRANSFORM_FEEDBACK_BUFFER_BINDING
 * GL_STENCIL_BACK_REF = renpy.uguu.gl.GL_STENCIL_BACK_REF
 * GL_STENCIL_BACK_VALUE_MASK = renpy.uguu.gl.GL_STENCIL_BACK_VALUE_MASK             # <<<<<<<<<<<<<<
 * GL_STENCIL_BACK_WRITEMASK = renpy.uguu.gl.GL_STENCIL_BACK_WRITEMASK
 * GL_DRAW_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_DRAW_FRAMEBUFFER_BINDING
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_BACK_VALUE_MASK); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1346, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_BACK_VALUE_MASK, __pyx_t_1) < 0) __PYX_ERR(1, 1346, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1347
 * GL_STENCIL_BACK_REF = renpy.uguu.gl.GL_STENCIL_BACK_REF
 * GL_STENCIL_BACK_VALUE_MASK = renpy.uguu.gl.GL_STENCIL_BACK_VALUE_MASK
 * GL_STENCIL_BACK_WRITEMASK = renpy.uguu.gl.GL_STENCIL_BACK_WRITEMASK             # <<<<<<<<<<<<<<
 * GL_DRAW_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_DRAW_FRAMEBUFFER_BINDING
 * GL_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_FRAMEBUFFER_BINDING
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_BACK_WRITEMASK); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1347, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_BACK_WRITEMASK, __pyx_t_1) < 0) __PYX_ERR(1, 1347, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1348
 * GL_STENCIL_BACK_VALUE_MASK = renpy.uguu.gl.GL_STENCIL_BACK_VALUE_MASK
 * GL_STENCIL_BACK_WRITEMASK = renpy.uguu.gl.GL_STENCIL_BACK_WRITEMASK
 * GL_DRAW_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_DRAW_FRAMEBUFFER_BINDING             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_FRAMEBUFFER_BINDING
 * GL_RENDERBUFFER_BINDING = renpy.uguu.gl.GL_RENDERBUFFER_BINDING
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_FRAMEBUFFER_BINDING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1348, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_FRAMEBUFFER_BINDING, __pyx_t_1) < 0) __PYX_ERR(1, 1348, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1349
 * GL_STENCIL_BACK_WRITEMASK = renpy.uguu.gl.GL_STENCIL_BACK_WRITEMASK
 * GL_DRAW_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_DRAW_FRAMEBUFFER_BINDING
 * GL_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_FRAMEBUFFER_BINDING             # <<<<<<<<<<<<<<
 * GL_RENDERBUFFER_BINDING = renpy.uguu.gl.GL_RENDERBUFFER_BINDING
 * GL_READ_FRAMEBUFFER = renpy.uguu.gl.GL_READ_FRAMEBUFFER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_BINDING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1349, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_BINDING, __pyx_t_1) < 0) __PYX_ERR(1, 1349, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1350
 * GL_DRAW_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_DRAW_FRAMEBUFFER_BINDING
 * GL_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_FRAMEBUFFER_BINDING
 * GL_RENDERBUFFER_BINDING = renpy.uguu.gl.GL_RENDERBUFFER_BINDING             # <<<<<<<<<<<<<<
 * GL_READ_FRAMEBUFFER = renpy.uguu.gl.GL_READ_FRAMEBUFFER
 * GL_DRAW_FRAMEBUFFER = renpy.uguu.gl.GL_DRAW_FRAMEBUFFER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERBUFFER_BINDING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1350, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERBUFFER_BINDING, __pyx_t_1) < 0) __PYX_ERR(1, 1350, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1351
 * GL_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_FRAMEBUFFER_BINDING
 * GL_RENDERBUFFER_BINDING = renpy.uguu.gl.GL_RENDERBUFFER_BINDING
 * GL_READ_FRAMEBUFFER = renpy.uguu.gl.GL_READ_FRAMEBUFFER             # <<<<<<<<<<<<<<
 * GL_DRAW_FRAMEBUFFER = renpy.uguu.gl.GL_DRAW_FRAMEBUFFER
 * GL_READ_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_READ_FRAMEBUFFER_BINDING
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_READ_FRAMEBUFFER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1351, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_READ_FRAMEBUFFER, __pyx_t_1) < 0) __PYX_ERR(1, 1351, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1352
 * GL_RENDERBUFFER_BINDING = renpy.uguu.gl.GL_RENDERBUFFER_BINDING
 * GL_READ_FRAMEBUFFER = renpy.uguu.gl.GL_READ_FRAMEBUFFER
 * GL_DRAW_FRAMEBUFFER = renpy.uguu.gl.GL_DRAW_FRAMEBUFFER             # <<<<<<<<<<<<<<
 * GL_READ_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_READ_FRAMEBUFFER_BINDING
 * GL_RENDERBUFFER_SAMPLES = renpy.uguu.gl.GL_RENDERBUFFER_SAMPLES
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DRAW_FRAMEBUFFER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1352, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DRAW_FRAMEBUFFER, __pyx_t_1) < 0) __PYX_ERR(1, 1352, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1353
 * GL_READ_FRAMEBUFFER = renpy.uguu.gl.GL_READ_FRAMEBUFFER
 * GL_DRAW_FRAMEBUFFER = renpy.uguu.gl.GL_DRAW_FRAMEBUFFER
 * GL_READ_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_READ_FRAMEBUFFER_BINDING             # <<<<<<<<<<<<<<
 * GL_RENDERBUFFER_SAMPLES = renpy.uguu.gl.GL_RENDERBUFFER_SAMPLES
 * GL_DEPTH_COMPONENT32F = renpy.uguu.gl.GL_DEPTH_COMPONENT32F
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_READ_FRAMEBUFFER_BINDING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1353, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_READ_FRAMEBUFFER_BINDING, __pyx_t_1) < 0) __PYX_ERR(1, 1353, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1354
 * GL_DRAW_FRAMEBUFFER = renpy.uguu.gl.GL_DRAW_FRAMEBUFFER
 * GL_READ_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_READ_FRAMEBUFFER_BINDING
 * GL_RENDERBUFFER_SAMPLES = renpy.uguu.gl.GL_RENDERBUFFER_SAMPLES             # <<<<<<<<<<<<<<
 * GL_DEPTH_COMPONENT32F = renpy.uguu.gl.GL_DEPTH_COMPONENT32F
 * GL_DEPTH32F_STENCIL8 = renpy.uguu.gl.GL_DEPTH32F_STENCIL8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERBUFFER_SAMPLES); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1354, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERBUFFER_SAMPLES, __pyx_t_1) < 0) __PYX_ERR(1, 1354, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1355
 * GL_READ_FRAMEBUFFER_BINDING = renpy.uguu.gl.GL_READ_FRAMEBUFFER_BINDING
 * GL_RENDERBUFFER_SAMPLES = renpy.uguu.gl.GL_RENDERBUFFER_SAMPLES
 * GL_DEPTH_COMPONENT32F = renpy.uguu.gl.GL_DEPTH_COMPONENT32F             # <<<<<<<<<<<<<<
 * GL_DEPTH32F_STENCIL8 = renpy.uguu.gl.GL_DEPTH32F_STENCIL8
 * GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_COMPONENT32F); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1355, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_COMPONENT32F, __pyx_t_1) < 0) __PYX_ERR(1, 1355, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1356
 * GL_RENDERBUFFER_SAMPLES = renpy.uguu.gl.GL_RENDERBUFFER_SAMPLES
 * GL_DEPTH_COMPONENT32F = renpy.uguu.gl.GL_DEPTH_COMPONENT32F
 * GL_DEPTH32F_STENCIL8 = renpy.uguu.gl.GL_DEPTH32F_STENCIL8             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
 * GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH32F_STENCIL8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1356, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH32F_STENCIL8, __pyx_t_1) < 0) __PYX_ERR(1, 1356, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1357
 * GL_DEPTH_COMPONENT32F = renpy.uguu.gl.GL_DEPTH_COMPONENT32F
 * GL_DEPTH32F_STENCIL8 = renpy.uguu.gl.GL_DEPTH32F_STENCIL8
 * GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1357, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_OBJECT, __pyx_t_1) < 0) __PYX_ERR(1, 1357, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1358
 * GL_DEPTH32F_STENCIL8 = renpy.uguu.gl.GL_DEPTH32F_STENCIL8
 * GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
 * GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1358, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_OBJECT_2, __pyx_t_1) < 0) __PYX_ERR(1, 1358, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1359
 * GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
 * GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1359, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR, __pyx_t_1) < 0) __PYX_ERR(1, 1359, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1360
 * GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER
 * GL_FRAMEBUFFER_COMPLETE = renpy.uguu.gl.GL_FRAMEBUFFER_COMPLETE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1360, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR_2, __pyx_t_1) < 0) __PYX_ERR(1, 1360, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1361
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_COMPLETE = renpy.uguu.gl.GL_FRAMEBUFFER_COMPLETE
 * GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1361, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_ATTACHMENT_TEXTUR_3, __pyx_t_1) < 0) __PYX_ERR(1, 1361, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1362
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER
 * GL_FRAMEBUFFER_COMPLETE = renpy.uguu.gl.GL_FRAMEBUFFER_COMPLETE             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
 * GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_COMPLETE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1362, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_COMPLETE, __pyx_t_1) < 0) __PYX_ERR(1, 1362, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1363
 * GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = renpy.uguu.gl.GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER
 * GL_FRAMEBUFFER_COMPLETE = renpy.uguu.gl.GL_FRAMEBUFFER_COMPLETE
 * GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
 * GL_FRAMEBUFFER_UNSUPPORTED = renpy.uguu.gl.GL_FRAMEBUFFER_UNSUPPORTED
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1363, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_INCOMPLETE_ATTACH, __pyx_t_1) < 0) __PYX_ERR(1, 1363, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1364
 * GL_FRAMEBUFFER_COMPLETE = renpy.uguu.gl.GL_FRAMEBUFFER_COMPLETE
 * GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
 * GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_UNSUPPORTED = renpy.uguu.gl.GL_FRAMEBUFFER_UNSUPPORTED
 * GL_MAX_COLOR_ATTACHMENTS = renpy.uguu.gl.GL_MAX_COLOR_ATTACHMENTS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1364, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_INCOMPLETE_MISSIN, __pyx_t_1) < 0) __PYX_ERR(1, 1364, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1365
 * GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
 * GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
 * GL_FRAMEBUFFER_UNSUPPORTED = renpy.uguu.gl.GL_FRAMEBUFFER_UNSUPPORTED             # <<<<<<<<<<<<<<
 * GL_MAX_COLOR_ATTACHMENTS = renpy.uguu.gl.GL_MAX_COLOR_ATTACHMENTS
 * GL_COLOR_ATTACHMENT0 = renpy.uguu.gl.GL_COLOR_ATTACHMENT0
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_UNSUPPORTED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1365, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_UNSUPPORTED, __pyx_t_1) < 0) __PYX_ERR(1, 1365, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1366
 * GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
 * GL_FRAMEBUFFER_UNSUPPORTED = renpy.uguu.gl.GL_FRAMEBUFFER_UNSUPPORTED
 * GL_MAX_COLOR_ATTACHMENTS = renpy.uguu.gl.GL_MAX_COLOR_ATTACHMENTS             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT0 = renpy.uguu.gl.GL_COLOR_ATTACHMENT0
 * GL_COLOR_ATTACHMENT1 = renpy.uguu.gl.GL_COLOR_ATTACHMENT1
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_COLOR_ATTACHMENTS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1366, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_COLOR_ATTACHMENTS, __pyx_t_1) < 0) __PYX_ERR(1, 1366, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1367
 * GL_FRAMEBUFFER_UNSUPPORTED = renpy.uguu.gl.GL_FRAMEBUFFER_UNSUPPORTED
 * GL_MAX_COLOR_ATTACHMENTS = renpy.uguu.gl.GL_MAX_COLOR_ATTACHMENTS
 * GL_COLOR_ATTACHMENT0 = renpy.uguu.gl.GL_COLOR_ATTACHMENT0             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT1 = renpy.uguu.gl.GL_COLOR_ATTACHMENT1
 * GL_COLOR_ATTACHMENT2 = renpy.uguu.gl.GL_COLOR_ATTACHMENT2
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1367, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT0, __pyx_t_1) < 0) __PYX_ERR(1, 1367, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1368
 * GL_MAX_COLOR_ATTACHMENTS = renpy.uguu.gl.GL_MAX_COLOR_ATTACHMENTS
 * GL_COLOR_ATTACHMENT0 = renpy.uguu.gl.GL_COLOR_ATTACHMENT0
 * GL_COLOR_ATTACHMENT1 = renpy.uguu.gl.GL_COLOR_ATTACHMENT1             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT2 = renpy.uguu.gl.GL_COLOR_ATTACHMENT2
 * GL_COLOR_ATTACHMENT3 = renpy.uguu.gl.GL_COLOR_ATTACHMENT3
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1368, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT1, __pyx_t_1) < 0) __PYX_ERR(1, 1368, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1369
 * GL_COLOR_ATTACHMENT0 = renpy.uguu.gl.GL_COLOR_ATTACHMENT0
 * GL_COLOR_ATTACHMENT1 = renpy.uguu.gl.GL_COLOR_ATTACHMENT1
 * GL_COLOR_ATTACHMENT2 = renpy.uguu.gl.GL_COLOR_ATTACHMENT2             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT3 = renpy.uguu.gl.GL_COLOR_ATTACHMENT3
 * GL_COLOR_ATTACHMENT4 = renpy.uguu.gl.GL_COLOR_ATTACHMENT4
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1369, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT2, __pyx_t_1) < 0) __PYX_ERR(1, 1369, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1370
 * GL_COLOR_ATTACHMENT1 = renpy.uguu.gl.GL_COLOR_ATTACHMENT1
 * GL_COLOR_ATTACHMENT2 = renpy.uguu.gl.GL_COLOR_ATTACHMENT2
 * GL_COLOR_ATTACHMENT3 = renpy.uguu.gl.GL_COLOR_ATTACHMENT3             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT4 = renpy.uguu.gl.GL_COLOR_ATTACHMENT4
 * GL_COLOR_ATTACHMENT5 = renpy.uguu.gl.GL_COLOR_ATTACHMENT5
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1370, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT3, __pyx_t_1) < 0) __PYX_ERR(1, 1370, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1371
 * GL_COLOR_ATTACHMENT2 = renpy.uguu.gl.GL_COLOR_ATTACHMENT2
 * GL_COLOR_ATTACHMENT3 = renpy.uguu.gl.GL_COLOR_ATTACHMENT3
 * GL_COLOR_ATTACHMENT4 = renpy.uguu.gl.GL_COLOR_ATTACHMENT4             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT5 = renpy.uguu.gl.GL_COLOR_ATTACHMENT5
 * GL_COLOR_ATTACHMENT6 = renpy.uguu.gl.GL_COLOR_ATTACHMENT6
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1371, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT4, __pyx_t_1) < 0) __PYX_ERR(1, 1371, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1372
 * GL_COLOR_ATTACHMENT3 = renpy.uguu.gl.GL_COLOR_ATTACHMENT3
 * GL_COLOR_ATTACHMENT4 = renpy.uguu.gl.GL_COLOR_ATTACHMENT4
 * GL_COLOR_ATTACHMENT5 = renpy.uguu.gl.GL_COLOR_ATTACHMENT5             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT6 = renpy.uguu.gl.GL_COLOR_ATTACHMENT6
 * GL_COLOR_ATTACHMENT7 = renpy.uguu.gl.GL_COLOR_ATTACHMENT7
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT5); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1372, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT5, __pyx_t_1) < 0) __PYX_ERR(1, 1372, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1373
 * GL_COLOR_ATTACHMENT4 = renpy.uguu.gl.GL_COLOR_ATTACHMENT4
 * GL_COLOR_ATTACHMENT5 = renpy.uguu.gl.GL_COLOR_ATTACHMENT5
 * GL_COLOR_ATTACHMENT6 = renpy.uguu.gl.GL_COLOR_ATTACHMENT6             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT7 = renpy.uguu.gl.GL_COLOR_ATTACHMENT7
 * GL_COLOR_ATTACHMENT8 = renpy.uguu.gl.GL_COLOR_ATTACHMENT8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT6); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1373, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT6, __pyx_t_1) < 0) __PYX_ERR(1, 1373, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1374
 * GL_COLOR_ATTACHMENT5 = renpy.uguu.gl.GL_COLOR_ATTACHMENT5
 * GL_COLOR_ATTACHMENT6 = renpy.uguu.gl.GL_COLOR_ATTACHMENT6
 * GL_COLOR_ATTACHMENT7 = renpy.uguu.gl.GL_COLOR_ATTACHMENT7             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT8 = renpy.uguu.gl.GL_COLOR_ATTACHMENT8
 * GL_COLOR_ATTACHMENT9 = renpy.uguu.gl.GL_COLOR_ATTACHMENT9
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT7); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1374, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT7, __pyx_t_1) < 0) __PYX_ERR(1, 1374, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1375
 * GL_COLOR_ATTACHMENT6 = renpy.uguu.gl.GL_COLOR_ATTACHMENT6
 * GL_COLOR_ATTACHMENT7 = renpy.uguu.gl.GL_COLOR_ATTACHMENT7
 * GL_COLOR_ATTACHMENT8 = renpy.uguu.gl.GL_COLOR_ATTACHMENT8             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT9 = renpy.uguu.gl.GL_COLOR_ATTACHMENT9
 * GL_COLOR_ATTACHMENT10 = renpy.uguu.gl.GL_COLOR_ATTACHMENT10
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1375, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT8, __pyx_t_1) < 0) __PYX_ERR(1, 1375, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1376
 * GL_COLOR_ATTACHMENT7 = renpy.uguu.gl.GL_COLOR_ATTACHMENT7
 * GL_COLOR_ATTACHMENT8 = renpy.uguu.gl.GL_COLOR_ATTACHMENT8
 * GL_COLOR_ATTACHMENT9 = renpy.uguu.gl.GL_COLOR_ATTACHMENT9             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT10 = renpy.uguu.gl.GL_COLOR_ATTACHMENT10
 * GL_COLOR_ATTACHMENT11 = renpy.uguu.gl.GL_COLOR_ATTACHMENT11
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT9); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1376, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT9, __pyx_t_1) < 0) __PYX_ERR(1, 1376, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1377
 * GL_COLOR_ATTACHMENT8 = renpy.uguu.gl.GL_COLOR_ATTACHMENT8
 * GL_COLOR_ATTACHMENT9 = renpy.uguu.gl.GL_COLOR_ATTACHMENT9
 * GL_COLOR_ATTACHMENT10 = renpy.uguu.gl.GL_COLOR_ATTACHMENT10             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT11 = renpy.uguu.gl.GL_COLOR_ATTACHMENT11
 * GL_COLOR_ATTACHMENT12 = renpy.uguu.gl.GL_COLOR_ATTACHMENT12
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT10); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1377, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT10, __pyx_t_1) < 0) __PYX_ERR(1, 1377, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1378
 * GL_COLOR_ATTACHMENT9 = renpy.uguu.gl.GL_COLOR_ATTACHMENT9
 * GL_COLOR_ATTACHMENT10 = renpy.uguu.gl.GL_COLOR_ATTACHMENT10
 * GL_COLOR_ATTACHMENT11 = renpy.uguu.gl.GL_COLOR_ATTACHMENT11             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT12 = renpy.uguu.gl.GL_COLOR_ATTACHMENT12
 * GL_COLOR_ATTACHMENT13 = renpy.uguu.gl.GL_COLOR_ATTACHMENT13
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT11); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1378, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT11, __pyx_t_1) < 0) __PYX_ERR(1, 1378, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1379
 * GL_COLOR_ATTACHMENT10 = renpy.uguu.gl.GL_COLOR_ATTACHMENT10
 * GL_COLOR_ATTACHMENT11 = renpy.uguu.gl.GL_COLOR_ATTACHMENT11
 * GL_COLOR_ATTACHMENT12 = renpy.uguu.gl.GL_COLOR_ATTACHMENT12             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT13 = renpy.uguu.gl.GL_COLOR_ATTACHMENT13
 * GL_COLOR_ATTACHMENT14 = renpy.uguu.gl.GL_COLOR_ATTACHMENT14
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT12); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1379, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT12, __pyx_t_1) < 0) __PYX_ERR(1, 1379, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1380
 * GL_COLOR_ATTACHMENT11 = renpy.uguu.gl.GL_COLOR_ATTACHMENT11
 * GL_COLOR_ATTACHMENT12 = renpy.uguu.gl.GL_COLOR_ATTACHMENT12
 * GL_COLOR_ATTACHMENT13 = renpy.uguu.gl.GL_COLOR_ATTACHMENT13             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT14 = renpy.uguu.gl.GL_COLOR_ATTACHMENT14
 * GL_COLOR_ATTACHMENT15 = renpy.uguu.gl.GL_COLOR_ATTACHMENT15
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT13); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1380, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT13, __pyx_t_1) < 0) __PYX_ERR(1, 1380, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1381
 * GL_COLOR_ATTACHMENT12 = renpy.uguu.gl.GL_COLOR_ATTACHMENT12
 * GL_COLOR_ATTACHMENT13 = renpy.uguu.gl.GL_COLOR_ATTACHMENT13
 * GL_COLOR_ATTACHMENT14 = renpy.uguu.gl.GL_COLOR_ATTACHMENT14             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT15 = renpy.uguu.gl.GL_COLOR_ATTACHMENT15
 * GL_COLOR_ATTACHMENT16 = renpy.uguu.gl.GL_COLOR_ATTACHMENT16
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT14); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1381, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT14, __pyx_t_1) < 0) __PYX_ERR(1, 1381, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1382
 * GL_COLOR_ATTACHMENT13 = renpy.uguu.gl.GL_COLOR_ATTACHMENT13
 * GL_COLOR_ATTACHMENT14 = renpy.uguu.gl.GL_COLOR_ATTACHMENT14
 * GL_COLOR_ATTACHMENT15 = renpy.uguu.gl.GL_COLOR_ATTACHMENT15             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT16 = renpy.uguu.gl.GL_COLOR_ATTACHMENT16
 * GL_COLOR_ATTACHMENT17 = renpy.uguu.gl.GL_COLOR_ATTACHMENT17
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT15); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1382, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT15, __pyx_t_1) < 0) __PYX_ERR(1, 1382, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1383
 * GL_COLOR_ATTACHMENT14 = renpy.uguu.gl.GL_COLOR_ATTACHMENT14
 * GL_COLOR_ATTACHMENT15 = renpy.uguu.gl.GL_COLOR_ATTACHMENT15
 * GL_COLOR_ATTACHMENT16 = renpy.uguu.gl.GL_COLOR_ATTACHMENT16             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT17 = renpy.uguu.gl.GL_COLOR_ATTACHMENT17
 * GL_COLOR_ATTACHMENT18 = renpy.uguu.gl.GL_COLOR_ATTACHMENT18
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT16); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1383, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT16, __pyx_t_1) < 0) __PYX_ERR(1, 1383, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1384
 * GL_COLOR_ATTACHMENT15 = renpy.uguu.gl.GL_COLOR_ATTACHMENT15
 * GL_COLOR_ATTACHMENT16 = renpy.uguu.gl.GL_COLOR_ATTACHMENT16
 * GL_COLOR_ATTACHMENT17 = renpy.uguu.gl.GL_COLOR_ATTACHMENT17             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT18 = renpy.uguu.gl.GL_COLOR_ATTACHMENT18
 * GL_COLOR_ATTACHMENT19 = renpy.uguu.gl.GL_COLOR_ATTACHMENT19
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT17); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1384, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT17, __pyx_t_1) < 0) __PYX_ERR(1, 1384, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1385
 * GL_COLOR_ATTACHMENT16 = renpy.uguu.gl.GL_COLOR_ATTACHMENT16
 * GL_COLOR_ATTACHMENT17 = renpy.uguu.gl.GL_COLOR_ATTACHMENT17
 * GL_COLOR_ATTACHMENT18 = renpy.uguu.gl.GL_COLOR_ATTACHMENT18             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT19 = renpy.uguu.gl.GL_COLOR_ATTACHMENT19
 * GL_COLOR_ATTACHMENT20 = renpy.uguu.gl.GL_COLOR_ATTACHMENT20
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT18); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1385, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT18, __pyx_t_1) < 0) __PYX_ERR(1, 1385, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1386
 * GL_COLOR_ATTACHMENT17 = renpy.uguu.gl.GL_COLOR_ATTACHMENT17
 * GL_COLOR_ATTACHMENT18 = renpy.uguu.gl.GL_COLOR_ATTACHMENT18
 * GL_COLOR_ATTACHMENT19 = renpy.uguu.gl.GL_COLOR_ATTACHMENT19             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT20 = renpy.uguu.gl.GL_COLOR_ATTACHMENT20
 * GL_COLOR_ATTACHMENT21 = renpy.uguu.gl.GL_COLOR_ATTACHMENT21
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT19); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1386, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT19, __pyx_t_1) < 0) __PYX_ERR(1, 1386, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1387
 * GL_COLOR_ATTACHMENT18 = renpy.uguu.gl.GL_COLOR_ATTACHMENT18
 * GL_COLOR_ATTACHMENT19 = renpy.uguu.gl.GL_COLOR_ATTACHMENT19
 * GL_COLOR_ATTACHMENT20 = renpy.uguu.gl.GL_COLOR_ATTACHMENT20             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT21 = renpy.uguu.gl.GL_COLOR_ATTACHMENT21
 * GL_COLOR_ATTACHMENT22 = renpy.uguu.gl.GL_COLOR_ATTACHMENT22
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT20); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1387, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT20, __pyx_t_1) < 0) __PYX_ERR(1, 1387, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1388
 * GL_COLOR_ATTACHMENT19 = renpy.uguu.gl.GL_COLOR_ATTACHMENT19
 * GL_COLOR_ATTACHMENT20 = renpy.uguu.gl.GL_COLOR_ATTACHMENT20
 * GL_COLOR_ATTACHMENT21 = renpy.uguu.gl.GL_COLOR_ATTACHMENT21             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT22 = renpy.uguu.gl.GL_COLOR_ATTACHMENT22
 * GL_COLOR_ATTACHMENT23 = renpy.uguu.gl.GL_COLOR_ATTACHMENT23
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT21); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1388, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT21, __pyx_t_1) < 0) __PYX_ERR(1, 1388, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1389
 * GL_COLOR_ATTACHMENT20 = renpy.uguu.gl.GL_COLOR_ATTACHMENT20
 * GL_COLOR_ATTACHMENT21 = renpy.uguu.gl.GL_COLOR_ATTACHMENT21
 * GL_COLOR_ATTACHMENT22 = renpy.uguu.gl.GL_COLOR_ATTACHMENT22             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT23 = renpy.uguu.gl.GL_COLOR_ATTACHMENT23
 * GL_COLOR_ATTACHMENT24 = renpy.uguu.gl.GL_COLOR_ATTACHMENT24
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT22); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1389, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT22, __pyx_t_1) < 0) __PYX_ERR(1, 1389, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1390
 * GL_COLOR_ATTACHMENT21 = renpy.uguu.gl.GL_COLOR_ATTACHMENT21
 * GL_COLOR_ATTACHMENT22 = renpy.uguu.gl.GL_COLOR_ATTACHMENT22
 * GL_COLOR_ATTACHMENT23 = renpy.uguu.gl.GL_COLOR_ATTACHMENT23             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT24 = renpy.uguu.gl.GL_COLOR_ATTACHMENT24
 * GL_COLOR_ATTACHMENT25 = renpy.uguu.gl.GL_COLOR_ATTACHMENT25
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT23); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1390, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT23, __pyx_t_1) < 0) __PYX_ERR(1, 1390, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1391
 * GL_COLOR_ATTACHMENT22 = renpy.uguu.gl.GL_COLOR_ATTACHMENT22
 * GL_COLOR_ATTACHMENT23 = renpy.uguu.gl.GL_COLOR_ATTACHMENT23
 * GL_COLOR_ATTACHMENT24 = renpy.uguu.gl.GL_COLOR_ATTACHMENT24             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT25 = renpy.uguu.gl.GL_COLOR_ATTACHMENT25
 * GL_COLOR_ATTACHMENT26 = renpy.uguu.gl.GL_COLOR_ATTACHMENT26
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT24); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1391, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT24, __pyx_t_1) < 0) __PYX_ERR(1, 1391, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1392
 * GL_COLOR_ATTACHMENT23 = renpy.uguu.gl.GL_COLOR_ATTACHMENT23
 * GL_COLOR_ATTACHMENT24 = renpy.uguu.gl.GL_COLOR_ATTACHMENT24
 * GL_COLOR_ATTACHMENT25 = renpy.uguu.gl.GL_COLOR_ATTACHMENT25             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT26 = renpy.uguu.gl.GL_COLOR_ATTACHMENT26
 * GL_COLOR_ATTACHMENT27 = renpy.uguu.gl.GL_COLOR_ATTACHMENT27
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT25); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1392, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT25, __pyx_t_1) < 0) __PYX_ERR(1, 1392, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1393
 * GL_COLOR_ATTACHMENT24 = renpy.uguu.gl.GL_COLOR_ATTACHMENT24
 * GL_COLOR_ATTACHMENT25 = renpy.uguu.gl.GL_COLOR_ATTACHMENT25
 * GL_COLOR_ATTACHMENT26 = renpy.uguu.gl.GL_COLOR_ATTACHMENT26             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT27 = renpy.uguu.gl.GL_COLOR_ATTACHMENT27
 * GL_COLOR_ATTACHMENT28 = renpy.uguu.gl.GL_COLOR_ATTACHMENT28
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT26); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1393, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT26, __pyx_t_1) < 0) __PYX_ERR(1, 1393, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1394
 * GL_COLOR_ATTACHMENT25 = renpy.uguu.gl.GL_COLOR_ATTACHMENT25
 * GL_COLOR_ATTACHMENT26 = renpy.uguu.gl.GL_COLOR_ATTACHMENT26
 * GL_COLOR_ATTACHMENT27 = renpy.uguu.gl.GL_COLOR_ATTACHMENT27             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT28 = renpy.uguu.gl.GL_COLOR_ATTACHMENT28
 * GL_COLOR_ATTACHMENT29 = renpy.uguu.gl.GL_COLOR_ATTACHMENT29
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT27); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1394, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT27, __pyx_t_1) < 0) __PYX_ERR(1, 1394, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1395
 * GL_COLOR_ATTACHMENT26 = renpy.uguu.gl.GL_COLOR_ATTACHMENT26
 * GL_COLOR_ATTACHMENT27 = renpy.uguu.gl.GL_COLOR_ATTACHMENT27
 * GL_COLOR_ATTACHMENT28 = renpy.uguu.gl.GL_COLOR_ATTACHMENT28             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT29 = renpy.uguu.gl.GL_COLOR_ATTACHMENT29
 * GL_COLOR_ATTACHMENT30 = renpy.uguu.gl.GL_COLOR_ATTACHMENT30
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT28); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1395, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT28, __pyx_t_1) < 0) __PYX_ERR(1, 1395, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1396
 * GL_COLOR_ATTACHMENT27 = renpy.uguu.gl.GL_COLOR_ATTACHMENT27
 * GL_COLOR_ATTACHMENT28 = renpy.uguu.gl.GL_COLOR_ATTACHMENT28
 * GL_COLOR_ATTACHMENT29 = renpy.uguu.gl.GL_COLOR_ATTACHMENT29             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT30 = renpy.uguu.gl.GL_COLOR_ATTACHMENT30
 * GL_COLOR_ATTACHMENT31 = renpy.uguu.gl.GL_COLOR_ATTACHMENT31
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT29); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1396, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT29, __pyx_t_1) < 0) __PYX_ERR(1, 1396, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1397
 * GL_COLOR_ATTACHMENT28 = renpy.uguu.gl.GL_COLOR_ATTACHMENT28
 * GL_COLOR_ATTACHMENT29 = renpy.uguu.gl.GL_COLOR_ATTACHMENT29
 * GL_COLOR_ATTACHMENT30 = renpy.uguu.gl.GL_COLOR_ATTACHMENT30             # <<<<<<<<<<<<<<
 * GL_COLOR_ATTACHMENT31 = renpy.uguu.gl.GL_COLOR_ATTACHMENT31
 * GL_DEPTH_ATTACHMENT = renpy.uguu.gl.GL_DEPTH_ATTACHMENT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT30); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1397, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT30, __pyx_t_1) < 0) __PYX_ERR(1, 1397, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1398
 * GL_COLOR_ATTACHMENT29 = renpy.uguu.gl.GL_COLOR_ATTACHMENT29
 * GL_COLOR_ATTACHMENT30 = renpy.uguu.gl.GL_COLOR_ATTACHMENT30
 * GL_COLOR_ATTACHMENT31 = renpy.uguu.gl.GL_COLOR_ATTACHMENT31             # <<<<<<<<<<<<<<
 * GL_DEPTH_ATTACHMENT = renpy.uguu.gl.GL_DEPTH_ATTACHMENT
 * GL_STENCIL_ATTACHMENT = renpy.uguu.gl.GL_STENCIL_ATTACHMENT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_COLOR_ATTACHMENT31); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1398, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_COLOR_ATTACHMENT31, __pyx_t_1) < 0) __PYX_ERR(1, 1398, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1399
 * GL_COLOR_ATTACHMENT30 = renpy.uguu.gl.GL_COLOR_ATTACHMENT30
 * GL_COLOR_ATTACHMENT31 = renpy.uguu.gl.GL_COLOR_ATTACHMENT31
 * GL_DEPTH_ATTACHMENT = renpy.uguu.gl.GL_DEPTH_ATTACHMENT             # <<<<<<<<<<<<<<
 * GL_STENCIL_ATTACHMENT = renpy.uguu.gl.GL_STENCIL_ATTACHMENT
 * GL_FRAMEBUFFER = renpy.uguu.gl.GL_FRAMEBUFFER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_DEPTH_ATTACHMENT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1399, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_DEPTH_ATTACHMENT, __pyx_t_1) < 0) __PYX_ERR(1, 1399, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1400
 * GL_COLOR_ATTACHMENT31 = renpy.uguu.gl.GL_COLOR_ATTACHMENT31
 * GL_DEPTH_ATTACHMENT = renpy.uguu.gl.GL_DEPTH_ATTACHMENT
 * GL_STENCIL_ATTACHMENT = renpy.uguu.gl.GL_STENCIL_ATTACHMENT             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER = renpy.uguu.gl.GL_FRAMEBUFFER
 * GL_RENDERBUFFER = renpy.uguu.gl.GL_RENDERBUFFER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_ATTACHMENT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1400, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_ATTACHMENT, __pyx_t_1) < 0) __PYX_ERR(1, 1400, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1401
 * GL_DEPTH_ATTACHMENT = renpy.uguu.gl.GL_DEPTH_ATTACHMENT
 * GL_STENCIL_ATTACHMENT = renpy.uguu.gl.GL_STENCIL_ATTACHMENT
 * GL_FRAMEBUFFER = renpy.uguu.gl.GL_FRAMEBUFFER             # <<<<<<<<<<<<<<
 * GL_RENDERBUFFER = renpy.uguu.gl.GL_RENDERBUFFER
 * GL_RENDERBUFFER_WIDTH = renpy.uguu.gl.GL_RENDERBUFFER_WIDTH
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1401, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER, __pyx_t_1) < 0) __PYX_ERR(1, 1401, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1402
 * GL_STENCIL_ATTACHMENT = renpy.uguu.gl.GL_STENCIL_ATTACHMENT
 * GL_FRAMEBUFFER = renpy.uguu.gl.GL_FRAMEBUFFER
 * GL_RENDERBUFFER = renpy.uguu.gl.GL_RENDERBUFFER             # <<<<<<<<<<<<<<
 * GL_RENDERBUFFER_WIDTH = renpy.uguu.gl.GL_RENDERBUFFER_WIDTH
 * GL_RENDERBUFFER_HEIGHT = renpy.uguu.gl.GL_RENDERBUFFER_HEIGHT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERBUFFER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1402, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERBUFFER, __pyx_t_1) < 0) __PYX_ERR(1, 1402, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1403
 * GL_FRAMEBUFFER = renpy.uguu.gl.GL_FRAMEBUFFER
 * GL_RENDERBUFFER = renpy.uguu.gl.GL_RENDERBUFFER
 * GL_RENDERBUFFER_WIDTH = renpy.uguu.gl.GL_RENDERBUFFER_WIDTH             # <<<<<<<<<<<<<<
 * GL_RENDERBUFFER_HEIGHT = renpy.uguu.gl.GL_RENDERBUFFER_HEIGHT
 * GL_RENDERBUFFER_INTERNAL_FORMAT = renpy.uguu.gl.GL_RENDERBUFFER_INTERNAL_FORMAT
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERBUFFER_WIDTH); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1403, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERBUFFER_WIDTH, __pyx_t_1) < 0) __PYX_ERR(1, 1403, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1404
 * GL_RENDERBUFFER = renpy.uguu.gl.GL_RENDERBUFFER
 * GL_RENDERBUFFER_WIDTH = renpy.uguu.gl.GL_RENDERBUFFER_WIDTH
 * GL_RENDERBUFFER_HEIGHT = renpy.uguu.gl.GL_RENDERBUFFER_HEIGHT             # <<<<<<<<<<<<<<
 * GL_RENDERBUFFER_INTERNAL_FORMAT = renpy.uguu.gl.GL_RENDERBUFFER_INTERNAL_FORMAT
 * GL_STENCIL_INDEX8 = renpy.uguu.gl.GL_STENCIL_INDEX8
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERBUFFER_HEIGHT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1404, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERBUFFER_HEIGHT, __pyx_t_1) < 0) __PYX_ERR(1, 1404, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1405
 * GL_RENDERBUFFER_WIDTH = renpy.uguu.gl.GL_RENDERBUFFER_WIDTH
 * GL_RENDERBUFFER_HEIGHT = renpy.uguu.gl.GL_RENDERBUFFER_HEIGHT
 * GL_RENDERBUFFER_INTERNAL_FORMAT = renpy.uguu.gl.GL_RENDERBUFFER_INTERNAL_FORMAT             # <<<<<<<<<<<<<<
 * GL_STENCIL_INDEX8 = renpy.uguu.gl.GL_STENCIL_INDEX8
 * GL_RENDERBUFFER_RED_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_RED_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERBUFFER_INTERNAL_FORMAT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1405, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERBUFFER_INTERNAL_FORMAT, __pyx_t_1) < 0) __PYX_ERR(1, 1405, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1406
 * GL_RENDERBUFFER_HEIGHT = renpy.uguu.gl.GL_RENDERBUFFER_HEIGHT
 * GL_RENDERBUFFER_INTERNAL_FORMAT = renpy.uguu.gl.GL_RENDERBUFFER_INTERNAL_FORMAT
 * GL_STENCIL_INDEX8 = renpy.uguu.gl.GL_STENCIL_INDEX8             # <<<<<<<<<<<<<<
 * GL_RENDERBUFFER_RED_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_RED_SIZE
 * GL_RENDERBUFFER_GREEN_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_GREEN_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_STENCIL_INDEX8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1406, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_STENCIL_INDEX8, __pyx_t_1) < 0) __PYX_ERR(1, 1406, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1407
 * GL_RENDERBUFFER_INTERNAL_FORMAT = renpy.uguu.gl.GL_RENDERBUFFER_INTERNAL_FORMAT
 * GL_STENCIL_INDEX8 = renpy.uguu.gl.GL_STENCIL_INDEX8
 * GL_RENDERBUFFER_RED_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_RED_SIZE             # <<<<<<<<<<<<<<
 * GL_RENDERBUFFER_GREEN_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_GREEN_SIZE
 * GL_RENDERBUFFER_BLUE_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_BLUE_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERBUFFER_RED_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1407, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERBUFFER_RED_SIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1407, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1408
 * GL_STENCIL_INDEX8 = renpy.uguu.gl.GL_STENCIL_INDEX8
 * GL_RENDERBUFFER_RED_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_RED_SIZE
 * GL_RENDERBUFFER_GREEN_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_GREEN_SIZE             # <<<<<<<<<<<<<<
 * GL_RENDERBUFFER_BLUE_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_BLUE_SIZE
 * GL_RENDERBUFFER_ALPHA_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_ALPHA_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERBUFFER_GREEN_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1408, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERBUFFER_GREEN_SIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1408, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1409
 * GL_RENDERBUFFER_RED_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_RED_SIZE
 * GL_RENDERBUFFER_GREEN_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_GREEN_SIZE
 * GL_RENDERBUFFER_BLUE_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_BLUE_SIZE             # <<<<<<<<<<<<<<
 * GL_RENDERBUFFER_ALPHA_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_ALPHA_SIZE
 * GL_RENDERBUFFER_DEPTH_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_DEPTH_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERBUFFER_BLUE_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1409, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERBUFFER_BLUE_SIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1409, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1410
 * GL_RENDERBUFFER_GREEN_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_GREEN_SIZE
 * GL_RENDERBUFFER_BLUE_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_BLUE_SIZE
 * GL_RENDERBUFFER_ALPHA_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_ALPHA_SIZE             # <<<<<<<<<<<<<<
 * GL_RENDERBUFFER_DEPTH_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_DEPTH_SIZE
 * GL_RENDERBUFFER_STENCIL_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_STENCIL_SIZE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERBUFFER_ALPHA_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1410, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERBUFFER_ALPHA_SIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1410, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1411
 * GL_RENDERBUFFER_BLUE_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_BLUE_SIZE
 * GL_RENDERBUFFER_ALPHA_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_ALPHA_SIZE
 * GL_RENDERBUFFER_DEPTH_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_DEPTH_SIZE             # <<<<<<<<<<<<<<
 * GL_RENDERBUFFER_STENCIL_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_STENCIL_SIZE
 * GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERBUFFER_DEPTH_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1411, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERBUFFER_DEPTH_SIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1411, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1412
 * GL_RENDERBUFFER_ALPHA_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_ALPHA_SIZE
 * GL_RENDERBUFFER_DEPTH_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_DEPTH_SIZE
 * GL_RENDERBUFFER_STENCIL_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_STENCIL_SIZE             # <<<<<<<<<<<<<<
 * GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
 * GL_MAX_SAMPLES = renpy.uguu.gl.GL_MAX_SAMPLES
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RENDERBUFFER_STENCIL_SIZE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1412, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RENDERBUFFER_STENCIL_SIZE, __pyx_t_1) < 0) __PYX_ERR(1, 1412, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1413
 * GL_RENDERBUFFER_DEPTH_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_DEPTH_SIZE
 * GL_RENDERBUFFER_STENCIL_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_STENCIL_SIZE
 * GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE             # <<<<<<<<<<<<<<
 * GL_MAX_SAMPLES = renpy.uguu.gl.GL_MAX_SAMPLES
 * GL_RGBA32UI = renpy.uguu.gl.GL_RGBA32UI
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1413, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FRAMEBUFFER_INCOMPLETE_MULTIS, __pyx_t_1) < 0) __PYX_ERR(1, 1413, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1414
 * GL_RENDERBUFFER_STENCIL_SIZE = renpy.uguu.gl.GL_RENDERBUFFER_STENCIL_SIZE
 * GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
 * GL_MAX_SAMPLES = renpy.uguu.gl.GL_MAX_SAMPLES             # <<<<<<<<<<<<<<
 * GL_RGBA32UI = renpy.uguu.gl.GL_RGBA32UI
 * GL_RGB32UI = renpy.uguu.gl.GL_RGB32UI
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_MAX_SAMPLES); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1414, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_MAX_SAMPLES, __pyx_t_1) < 0) __PYX_ERR(1, 1414, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1415
 * GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = renpy.uguu.gl.GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
 * GL_MAX_SAMPLES = renpy.uguu.gl.GL_MAX_SAMPLES
 * GL_RGBA32UI = renpy.uguu.gl.GL_RGBA32UI             # <<<<<<<<<<<<<<
 * GL_RGB32UI = renpy.uguu.gl.GL_RGB32UI
 * GL_RGBA16UI = renpy.uguu.gl.GL_RGBA16UI
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGBA32UI); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1415, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGBA32UI, __pyx_t_1) < 0) __PYX_ERR(1, 1415, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1416
 * GL_MAX_SAMPLES = renpy.uguu.gl.GL_MAX_SAMPLES
 * GL_RGBA32UI = renpy.uguu.gl.GL_RGBA32UI
 * GL_RGB32UI = renpy.uguu.gl.GL_RGB32UI             # <<<<<<<<<<<<<<
 * GL_RGBA16UI = renpy.uguu.gl.GL_RGBA16UI
 * GL_RGB16UI = renpy.uguu.gl.GL_RGB16UI
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB32UI); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1416, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB32UI, __pyx_t_1) < 0) __PYX_ERR(1, 1416, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1417
 * GL_RGBA32UI = renpy.uguu.gl.GL_RGBA32UI
 * GL_RGB32UI = renpy.uguu.gl.GL_RGB32UI
 * GL_RGBA16UI = renpy.uguu.gl.GL_RGBA16UI             # <<<<<<<<<<<<<<
 * GL_RGB16UI = renpy.uguu.gl.GL_RGB16UI
 * GL_RGBA8UI = renpy.uguu.gl.GL_RGBA8UI
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGBA16UI); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1417, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGBA16UI, __pyx_t_1) < 0) __PYX_ERR(1, 1417, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1418
 * GL_RGB32UI = renpy.uguu.gl.GL_RGB32UI
 * GL_RGBA16UI = renpy.uguu.gl.GL_RGBA16UI
 * GL_RGB16UI = renpy.uguu.gl.GL_RGB16UI             # <<<<<<<<<<<<<<
 * GL_RGBA8UI = renpy.uguu.gl.GL_RGBA8UI
 * GL_RGB8UI = renpy.uguu.gl.GL_RGB8UI
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB16UI); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1418, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB16UI, __pyx_t_1) < 0) __PYX_ERR(1, 1418, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1419
 * GL_RGBA16UI = renpy.uguu.gl.GL_RGBA16UI
 * GL_RGB16UI = renpy.uguu.gl.GL_RGB16UI
 * GL_RGBA8UI = renpy.uguu.gl.GL_RGBA8UI             # <<<<<<<<<<<<<<
 * GL_RGB8UI = renpy.uguu.gl.GL_RGB8UI
 * GL_RGBA32I = renpy.uguu.gl.GL_RGBA32I
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGBA8UI); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1419, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGBA8UI, __pyx_t_1) < 0) __PYX_ERR(1, 1419, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1420
 * GL_RGB16UI = renpy.uguu.gl.GL_RGB16UI
 * GL_RGBA8UI = renpy.uguu.gl.GL_RGBA8UI
 * GL_RGB8UI = renpy.uguu.gl.GL_RGB8UI             # <<<<<<<<<<<<<<
 * GL_RGBA32I = renpy.uguu.gl.GL_RGBA32I
 * GL_RGB32I = renpy.uguu.gl.GL_RGB32I
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB8UI); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1420, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB8UI, __pyx_t_1) < 0) __PYX_ERR(1, 1420, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1421
 * GL_RGBA8UI = renpy.uguu.gl.GL_RGBA8UI
 * GL_RGB8UI = renpy.uguu.gl.GL_RGB8UI
 * GL_RGBA32I = renpy.uguu.gl.GL_RGBA32I             # <<<<<<<<<<<<<<
 * GL_RGB32I = renpy.uguu.gl.GL_RGB32I
 * GL_RGBA16I = renpy.uguu.gl.GL_RGBA16I
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGBA32I); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1421, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGBA32I, __pyx_t_1) < 0) __PYX_ERR(1, 1421, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1422
 * GL_RGB8UI = renpy.uguu.gl.GL_RGB8UI
 * GL_RGBA32I = renpy.uguu.gl.GL_RGBA32I
 * GL_RGB32I = renpy.uguu.gl.GL_RGB32I             # <<<<<<<<<<<<<<
 * GL_RGBA16I = renpy.uguu.gl.GL_RGBA16I
 * GL_RGB16I = renpy.uguu.gl.GL_RGB16I
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB32I); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1422, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB32I, __pyx_t_1) < 0) __PYX_ERR(1, 1422, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1423
 * GL_RGBA32I = renpy.uguu.gl.GL_RGBA32I
 * GL_RGB32I = renpy.uguu.gl.GL_RGB32I
 * GL_RGBA16I = renpy.uguu.gl.GL_RGBA16I             # <<<<<<<<<<<<<<
 * GL_RGB16I = renpy.uguu.gl.GL_RGB16I
 * GL_RGBA8I = renpy.uguu.gl.GL_RGBA8I
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGBA16I); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1423, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGBA16I, __pyx_t_1) < 0) __PYX_ERR(1, 1423, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1424
 * GL_RGB32I = renpy.uguu.gl.GL_RGB32I
 * GL_RGBA16I = renpy.uguu.gl.GL_RGBA16I
 * GL_RGB16I = renpy.uguu.gl.GL_RGB16I             # <<<<<<<<<<<<<<
 * GL_RGBA8I = renpy.uguu.gl.GL_RGBA8I
 * GL_RGB8I = renpy.uguu.gl.GL_RGB8I
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB16I); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1424, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB16I, __pyx_t_1) < 0) __PYX_ERR(1, 1424, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1425
 * GL_RGBA16I = renpy.uguu.gl.GL_RGBA16I
 * GL_RGB16I = renpy.uguu.gl.GL_RGB16I
 * GL_RGBA8I = renpy.uguu.gl.GL_RGBA8I             # <<<<<<<<<<<<<<
 * GL_RGB8I = renpy.uguu.gl.GL_RGB8I
 * GL_RED_INTEGER = renpy.uguu.gl.GL_RED_INTEGER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGBA8I); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1425, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGBA8I, __pyx_t_1) < 0) __PYX_ERR(1, 1425, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1426
 * GL_RGB16I = renpy.uguu.gl.GL_RGB16I
 * GL_RGBA8I = renpy.uguu.gl.GL_RGBA8I
 * GL_RGB8I = renpy.uguu.gl.GL_RGB8I             # <<<<<<<<<<<<<<
 * GL_RED_INTEGER = renpy.uguu.gl.GL_RED_INTEGER
 * GL_RGB_INTEGER = renpy.uguu.gl.GL_RGB_INTEGER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB8I); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1426, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB8I, __pyx_t_1) < 0) __PYX_ERR(1, 1426, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1427
 * GL_RGBA8I = renpy.uguu.gl.GL_RGBA8I
 * GL_RGB8I = renpy.uguu.gl.GL_RGB8I
 * GL_RED_INTEGER = renpy.uguu.gl.GL_RED_INTEGER             # <<<<<<<<<<<<<<
 * GL_RGB_INTEGER = renpy.uguu.gl.GL_RGB_INTEGER
 * GL_RGBA_INTEGER = renpy.uguu.gl.GL_RGBA_INTEGER
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RED_INTEGER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1427, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RED_INTEGER, __pyx_t_1) < 0) __PYX_ERR(1, 1427, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1428
 * GL_RGB8I = renpy.uguu.gl.GL_RGB8I
 * GL_RED_INTEGER = renpy.uguu.gl.GL_RED_INTEGER
 * GL_RGB_INTEGER = renpy.uguu.gl.GL_RGB_INTEGER             # <<<<<<<<<<<<<<
 * GL_RGBA_INTEGER = renpy.uguu.gl.GL_RGBA_INTEGER
 * GL_FLOAT_32_UNSIGNED_INT_24_8_REV = renpy.uguu.gl.GL_FLOAT_32_UNSIGNED_INT_24_8_REV
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGB_INTEGER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1428, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGB_INTEGER, __pyx_t_1) < 0) __PYX_ERR(1, 1428, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1429
 * GL_RED_INTEGER = renpy.uguu.gl.GL_RED_INTEGER
 * GL_RGB_INTEGER = renpy.uguu.gl.GL_RGB_INTEGER
 * GL_RGBA_INTEGER = renpy.uguu.gl.GL_RGBA_INTEGER             # <<<<<<<<<<<<<<
 * GL_FLOAT_32_UNSIGNED_INT_24_8_REV = renpy.uguu.gl.GL_FLOAT_32_UNSIGNED_INT_24_8_REV
 * GL_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_SAMPLER_2D_ARRAY
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_RGBA_INTEGER); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1429, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_RGBA_INTEGER, __pyx_t_1) < 0) __PYX_ERR(1, 1429, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1430
 * GL_RGB_INTEGER = renpy.uguu.gl.GL_RGB_INTEGER
 * GL_RGBA_INTEGER = renpy.uguu.gl.GL_RGBA_INTEGER
 * GL_FLOAT_32_UNSIGNED_INT_24_8_REV = renpy.uguu.gl.GL_FLOAT_32_UNSIGNED_INT_24_8_REV             # <<<<<<<<<<<<<<
 * GL_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_SAMPLER_2D_ARRAY
 * GL_SAMPLER_2D_ARRAY_SHADOW = renpy.uguu.gl.GL_SAMPLER_2D_ARRAY_SHADOW
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_FLOAT_32_UNSIGNED_INT_24_8_REV); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1430, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_FLOAT_32_UNSIGNED_INT_24_8_RE, __pyx_t_1) < 0) __PYX_ERR(1, 1430, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1431
 * GL_RGBA_INTEGER = renpy.uguu.gl.GL_RGBA_INTEGER
 * GL_FLOAT_32_UNSIGNED_INT_24_8_REV = renpy.uguu.gl.GL_FLOAT_32_UNSIGNED_INT_24_8_REV
 * GL_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_SAMPLER_2D_ARRAY             # <<<<<<<<<<<<<<
 * GL_SAMPLER_2D_ARRAY_SHADOW = renpy.uguu.gl.GL_SAMPLER_2D_ARRAY_SHADOW
 * GL_SAMPLER_CUBE_SHADOW = renpy.uguu.gl.GL_SAMPLER_CUBE_SHADOW
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLER_2D_ARRAY); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1431, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLER_2D_ARRAY, __pyx_t_1) < 0) __PYX_ERR(1, 1431, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1432
 * GL_FLOAT_32_UNSIGNED_INT_24_8_REV = renpy.uguu.gl.GL_FLOAT_32_UNSIGNED_INT_24_8_REV
 * GL_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_SAMPLER_2D_ARRAY
 * GL_SAMPLER_2D_ARRAY_SHADOW = renpy.uguu.gl.GL_SAMPLER_2D_ARRAY_SHADOW             # <<<<<<<<<<<<<<
 * GL_SAMPLER_CUBE_SHADOW = renpy.uguu.gl.GL_SAMPLER_CUBE_SHADOW
 * GL_UNSIGNED_INT_VEC2 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC2
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLER_2D_ARRAY_SHADOW); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1432, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLER_2D_ARRAY_SHADOW, __pyx_t_1) < 0) __PYX_ERR(1, 1432, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1433
 * GL_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_SAMPLER_2D_ARRAY
 * GL_SAMPLER_2D_ARRAY_SHADOW = renpy.uguu.gl.GL_SAMPLER_2D_ARRAY_SHADOW
 * GL_SAMPLER_CUBE_SHADOW = renpy.uguu.gl.GL_SAMPLER_CUBE_SHADOW             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_INT_VEC2 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC2
 * GL_UNSIGNED_INT_VEC3 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC3
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_SAMPLER_CUBE_SHADOW); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1433, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_SAMPLER_CUBE_SHADOW, __pyx_t_1) < 0) __PYX_ERR(1, 1433, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1434
 * GL_SAMPLER_2D_ARRAY_SHADOW = renpy.uguu.gl.GL_SAMPLER_2D_ARRAY_SHADOW
 * GL_SAMPLER_CUBE_SHADOW = renpy.uguu.gl.GL_SAMPLER_CUBE_SHADOW
 * GL_UNSIGNED_INT_VEC2 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC2             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_INT_VEC3 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC3
 * GL_UNSIGNED_INT_VEC4 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC4
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_INT_VEC2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1434, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_INT_VEC2, __pyx_t_1) < 0) __PYX_ERR(1, 1434, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1435
 * GL_SAMPLER_CUBE_SHADOW = renpy.uguu.gl.GL_SAMPLER_CUBE_SHADOW
 * GL_UNSIGNED_INT_VEC2 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC2
 * GL_UNSIGNED_INT_VEC3 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC3             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_INT_VEC4 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC4
 * GL_INT_SAMPLER_2D = renpy.uguu.gl.GL_INT_SAMPLER_2D
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_INT_VEC3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1435, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_INT_VEC3, __pyx_t_1) < 0) __PYX_ERR(1, 1435, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1436
 * GL_UNSIGNED_INT_VEC2 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC2
 * GL_UNSIGNED_INT_VEC3 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC3
 * GL_UNSIGNED_INT_VEC4 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC4             # <<<<<<<<<<<<<<
 * GL_INT_SAMPLER_2D = renpy.uguu.gl.GL_INT_SAMPLER_2D
 * GL_INT_SAMPLER_3D = renpy.uguu.gl.GL_INT_SAMPLER_3D
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_INT_VEC4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1436, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_INT_VEC4, __pyx_t_1) < 0) __PYX_ERR(1, 1436, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1437
 * GL_UNSIGNED_INT_VEC3 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC3
 * GL_UNSIGNED_INT_VEC4 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC4
 * GL_INT_SAMPLER_2D = renpy.uguu.gl.GL_INT_SAMPLER_2D             # <<<<<<<<<<<<<<
 * GL_INT_SAMPLER_3D = renpy.uguu.gl.GL_INT_SAMPLER_3D
 * GL_INT_SAMPLER_CUBE = renpy.uguu.gl.GL_INT_SAMPLER_CUBE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INT_SAMPLER_2D); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1437, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INT_SAMPLER_2D, __pyx_t_1) < 0) __PYX_ERR(1, 1437, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1438
 * GL_UNSIGNED_INT_VEC4 = renpy.uguu.gl.GL_UNSIGNED_INT_VEC4
 * GL_INT_SAMPLER_2D = renpy.uguu.gl.GL_INT_SAMPLER_2D
 * GL_INT_SAMPLER_3D = renpy.uguu.gl.GL_INT_SAMPLER_3D             # <<<<<<<<<<<<<<
 * GL_INT_SAMPLER_CUBE = renpy.uguu.gl.GL_INT_SAMPLER_CUBE
 * GL_INT_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_INT_SAMPLER_2D_ARRAY
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INT_SAMPLER_3D); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1438, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INT_SAMPLER_3D, __pyx_t_1) < 0) __PYX_ERR(1, 1438, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1439
 * GL_INT_SAMPLER_2D = renpy.uguu.gl.GL_INT_SAMPLER_2D
 * GL_INT_SAMPLER_3D = renpy.uguu.gl.GL_INT_SAMPLER_3D
 * GL_INT_SAMPLER_CUBE = renpy.uguu.gl.GL_INT_SAMPLER_CUBE             # <<<<<<<<<<<<<<
 * GL_INT_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_INT_SAMPLER_2D_ARRAY
 * GL_UNSIGNED_INT_SAMPLER_2D = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_2D
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INT_SAMPLER_CUBE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1439, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INT_SAMPLER_CUBE, __pyx_t_1) < 0) __PYX_ERR(1, 1439, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1440
 * GL_INT_SAMPLER_3D = renpy.uguu.gl.GL_INT_SAMPLER_3D
 * GL_INT_SAMPLER_CUBE = renpy.uguu.gl.GL_INT_SAMPLER_CUBE
 * GL_INT_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_INT_SAMPLER_2D_ARRAY             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_INT_SAMPLER_2D = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_2D
 * GL_UNSIGNED_INT_SAMPLER_3D = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_3D
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_INT_SAMPLER_2D_ARRAY); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1440, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_INT_SAMPLER_2D_ARRAY, __pyx_t_1) < 0) __PYX_ERR(1, 1440, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1441
 * GL_INT_SAMPLER_CUBE = renpy.uguu.gl.GL_INT_SAMPLER_CUBE
 * GL_INT_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_INT_SAMPLER_2D_ARRAY
 * GL_UNSIGNED_INT_SAMPLER_2D = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_2D             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_INT_SAMPLER_3D = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_3D
 * GL_UNSIGNED_INT_SAMPLER_CUBE = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_CUBE
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_INT_SAMPLER_2D); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1441, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_INT_SAMPLER_2D, __pyx_t_1) < 0) __PYX_ERR(1, 1441, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1442
 * GL_INT_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_INT_SAMPLER_2D_ARRAY
 * GL_UNSIGNED_INT_SAMPLER_2D = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_2D
 * GL_UNSIGNED_INT_SAMPLER_3D = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_3D             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_INT_SAMPLER_CUBE = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_CUBE
 * GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_2D_ARRAY
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_INT_SAMPLER_3D); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1442, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_INT_SAMPLER_3D, __pyx_t_1) < 0) __PYX_ERR(1, 1442, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1443
 * GL_UNSIGNED_INT_SAMPLER_2D = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_2D
 * GL_UNSIGNED_INT_SAMPLER_3D = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_3D
 * GL_UNSIGNED_INT_SAMPLER_CUBE = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_CUBE             # <<<<<<<<<<<<<<
 * GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_2D_ARRAY
 * GL_BUFFER_ACCESS_FLAGS = renpy.uguu.gl.GL_BUFFER_ACCESS_FLAGS
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_INT_SAMPLER_CUBE); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1443, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_INT_SAMPLER_CUBE, __pyx_t_1) < 0) __PYX_ERR(1, 1443, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1444
 * GL_UNSIGNED_INT_SAMPLER_3D = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_3D
 * GL_UNSIGNED_INT_SAMPLER_CUBE = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_CUBE
 * GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_2D_ARRAY             # <<<<<<<<<<<<<<
 * GL_BUFFER_ACCESS_FLAGS = renpy.uguu.gl.GL_BUFFER_ACCESS_FLAGS
 * GL_BUFFER_MAP_LENGTH = renpy.uguu.gl.GL_BUFFER_MAP_LENGTH
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_UNSIGNED_INT_SAMPLER_2D_ARRAY); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1444, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_UNSIGNED_INT_SAMPLER_2D_ARRAY, __pyx_t_1) < 0) __PYX_ERR(1, 1444, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1445
 * GL_UNSIGNED_INT_SAMPLER_CUBE = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_CUBE
 * GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_2D_ARRAY
 * GL_BUFFER_ACCESS_FLAGS = renpy.uguu.gl.GL_BUFFER_ACCESS_FLAGS             # <<<<<<<<<<<<<<
 * GL_BUFFER_MAP_LENGTH = renpy.uguu.gl.GL_BUFFER_MAP_LENGTH
 * GL_BUFFER_MAP_OFFSET = renpy.uguu.gl.GL_BUFFER_MAP_OFFSET
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BUFFER_ACCESS_FLAGS); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1445, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BUFFER_ACCESS_FLAGS, __pyx_t_1) < 0) __PYX_ERR(1, 1445, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1446
 * GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = renpy.uguu.gl.GL_UNSIGNED_INT_SAMPLER_2D_ARRAY
 * GL_BUFFER_ACCESS_FLAGS = renpy.uguu.gl.GL_BUFFER_ACCESS_FLAGS
 * GL_BUFFER_MAP_LENGTH = renpy.uguu.gl.GL_BUFFER_MAP_LENGTH             # <<<<<<<<<<<<<<
 * GL_BUFFER_MAP_OFFSET = renpy.uguu.gl.GL_BUFFER_MAP_OFFSET
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BUFFER_MAP_LENGTH); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1446, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BUFFER_MAP_LENGTH, __pyx_t_1) < 0) __PYX_ERR(1, 1446, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1447
 * GL_BUFFER_ACCESS_FLAGS = renpy.uguu.gl.GL_BUFFER_ACCESS_FLAGS
 * GL_BUFFER_MAP_LENGTH = renpy.uguu.gl.GL_BUFFER_MAP_LENGTH
 * GL_BUFFER_MAP_OFFSET = renpy.uguu.gl.GL_BUFFER_MAP_OFFSET             # <<<<<<<<<<<<<<
 */
  __pyx_t_1 = __Pyx_PyInt_From_GLenum(GL_BUFFER_MAP_OFFSET); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1447, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_GL_BUFFER_MAP_OFFSET, __pyx_t_1) < 0) __PYX_ERR(1, 1447, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/uguu/uguu.pyx":1
 * from renpy.uguu.gl cimport GLenum             # <<<<<<<<<<<<<<
 * from renpy.uguu.gl cimport GLboolean
 * from renpy.uguu.gl cimport GLbitfield
 */
  __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_1) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /*--- Wrapped vars code ---*/

  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  if (__pyx_m) {
    if (__pyx_d) {
      __Pyx_AddTraceback("init renpy.uguu.uguu", __pyx_clineno, __pyx_lineno, __pyx_filename);
    }
    Py_CLEAR(__pyx_m);
  } else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_ImportError, "init renpy.uguu.uguu");
  }
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  #if CYTHON_PEP489_MULTI_PHASE_INIT
  return (__pyx_m != NULL) ? 0 : -1;
  #elif PY_MAJOR_VERSION >= 3
  return __pyx_m;
  #else
  return;
  #endif
}

/* --- Runtime support code --- */
/* Refnanny */
#if CYTHON_REFNANNY
static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname) {
    PyObject *m = NULL, *p = NULL;
    void *r = NULL;
    m = PyImport_ImportModule(modname);
    if (!m) goto end;
    p = PyObject_GetAttrString(m, "RefNannyAPI");
    if (!p) goto end;
    r = PyLong_AsVoidPtr(p);
end:
    Py_XDECREF(p);
    Py_XDECREF(m);
    return (__Pyx_RefNannyAPIStruct *)r;
}
#endif

/* PyObjectGetAttrStr */
#if CYTHON_USE_TYPE_SLOTS
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
    PyTypeObject* tp = Py_TYPE(obj);
    if (likely(tp->tp_getattro))
        return tp->tp_getattro(obj, attr_name);
#if PY_MAJOR_VERSION < 3
    if (likely(tp->tp_getattr))
        return tp->tp_getattr(obj, PyString_AS_STRING(attr_name));
#endif
    return PyObject_GetAttr(obj, attr_name);
}
#endif

/* GetBuiltinName */
static PyObject *__Pyx_GetBuiltinName(PyObject *name) {
    PyObject* result = __Pyx_PyObject_GetAttrStr(__pyx_b, name);
    if (unlikely(!result)) {
        PyErr_Format(PyExc_NameError,
#if PY_MAJOR_VERSION >= 3
            "name '%U' is not defined", name);
#else
            "name '%.200s' is not defined", PyString_AS_STRING(name));
#endif
    }
    return result;
}

/* RaiseDoubleKeywords */
static void __Pyx_RaiseDoubleKeywordsError(
    const char* func_name,
    PyObject* kw_name)
{
    PyErr_Format(PyExc_TypeError,
        #if PY_MAJOR_VERSION >= 3
        "%s() got multiple values for keyword argument '%U'", func_name, kw_name);
        #else
        "%s() got multiple values for keyword argument '%s'", func_name,
        PyString_AsString(kw_name));
        #endif
}

/* ParseKeywords */
static int __Pyx_ParseOptionalKeywords(
    PyObject *kwds,
    PyObject **argnames[],
    PyObject *kwds2,
    PyObject *values[],
    Py_ssize_t num_pos_args,
    const char* function_name)
{
    PyObject *key = 0, *value = 0;
    Py_ssize_t pos = 0;
    PyObject*** name;
    PyObject*** first_kw_arg = argnames + num_pos_args;
    while (PyDict_Next(kwds, &pos, &key, &value)) {
        name = first_kw_arg;
        while (*name && (**name != key)) name++;
        if (*name) {
            values[name-argnames] = value;
            continue;
        }
        name = first_kw_arg;
        #if PY_MAJOR_VERSION < 3
        if (likely(PyString_Check(key))) {
            while (*name) {
                if ((CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**name) == PyString_GET_SIZE(key))
                        && _PyString_Eq(**name, key)) {
                    values[name-argnames] = value;
                    break;
                }
                name++;
            }
            if (*name) continue;
            else {
                PyObject*** argname = argnames;
                while (argname != first_kw_arg) {
                    if ((**argname == key) || (
                            (CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**argname) == PyString_GET_SIZE(key))
                             && _PyString_Eq(**argname, key))) {
                        goto arg_passed_twice;
                    }
                    argname++;
                }
            }
        } else
        #endif
        if (likely(PyUnicode_Check(key))) {
            while (*name) {
                int cmp = (**name == key) ? 0 :
                #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
                    (__Pyx_PyUnicode_GET_LENGTH(**name) != __Pyx_PyUnicode_GET_LENGTH(key)) ? 1 :
                #endif
                    PyUnicode_Compare(**name, key);
                if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad;
                if (cmp == 0) {
                    values[name-argnames] = value;
                    break;
                }
                name++;
            }
            if (*name) continue;
            else {
                PyObject*** argname = argnames;
                while (argname != first_kw_arg) {
                    int cmp = (**argname == key) ? 0 :
                    #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
                        (__Pyx_PyUnicode_GET_LENGTH(**argname) != __Pyx_PyUnicode_GET_LENGTH(key)) ? 1 :
                    #endif
                        PyUnicode_Compare(**argname, key);
                    if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad;
                    if (cmp == 0) goto arg_passed_twice;
                    argname++;
                }
            }
        } else
            goto invalid_keyword_type;
        if (kwds2) {
            if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad;
        } else {
            goto invalid_keyword;
        }
    }
    return 0;
arg_passed_twice:
    __Pyx_RaiseDoubleKeywordsError(function_name, key);
    goto bad;
invalid_keyword_type:
    PyErr_Format(PyExc_TypeError,
        "%.200s() keywords must be strings", function_name);
    goto bad;
invalid_keyword:
    PyErr_Format(PyExc_TypeError,
    #if PY_MAJOR_VERSION < 3
        "%.200s() got an unexpected keyword argument '%.200s'",
        function_name, PyString_AsString(key));
    #else
        "%s() got an unexpected keyword argument '%U'",
        function_name, key);
    #endif
bad:
    return -1;
}

/* RaiseArgTupleInvalid */
static void __Pyx_RaiseArgtupleInvalid(
    const char* func_name,
    int exact,
    Py_ssize_t num_min,
    Py_ssize_t num_max,
    Py_ssize_t num_found)
{
    Py_ssize_t num_expected;
    const char *more_or_less;
    if (num_found < num_min) {
        num_expected = num_min;
        more_or_less = "at least";
    } else {
        num_expected = num_max;
        more_or_less = "at most";
    }
    if (exact) {
        more_or_less = "exactly";
    }
    PyErr_Format(PyExc_TypeError,
                 "%.200s() takes %.8s %" CYTHON_FORMAT_SSIZE_T "d positional argument%.1s (%" CYTHON_FORMAT_SSIZE_T "d given)",
                 func_name, more_or_less, num_expected,
                 (num_expected == 1) ? "" : "s", num_found);
}

/* PyObjectCall */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) {
    PyObject *result;
    ternaryfunc call = func->ob_type->tp_call;
    if (unlikely(!call))
        return PyObject_Call(func, arg, kw);
    if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
        return NULL;
    result = (*call)(func, arg, kw);
    Py_LeaveRecursiveCall();
    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
        PyErr_SetString(
            PyExc_SystemError,
            "NULL result without error in PyObject_Call");
    }
    return result;
}
#endif

/* PyErrFetchRestore */
#if CYTHON_FAST_THREAD_STATE
static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    tmp_type = tstate->curexc_type;
    tmp_value = tstate->curexc_value;
    tmp_tb = tstate->curexc_traceback;
    tstate->curexc_type = type;
    tstate->curexc_value = value;
    tstate->curexc_traceback = tb;
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
}
static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
    *type = tstate->curexc_type;
    *value = tstate->curexc_value;
    *tb = tstate->curexc_traceback;
    tstate->curexc_type = 0;
    tstate->curexc_value = 0;
    tstate->curexc_traceback = 0;
}
#endif

/* RaiseException */
#if PY_MAJOR_VERSION < 3
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb,
                        CYTHON_UNUSED PyObject *cause) {
    __Pyx_PyThreadState_declare
    Py_XINCREF(type);
    if (!value || value == Py_None)
        value = NULL;
    else
        Py_INCREF(value);
    if (!tb || tb == Py_None)
        tb = NULL;
    else {
        Py_INCREF(tb);
        if (!PyTraceBack_Check(tb)) {
            PyErr_SetString(PyExc_TypeError,
                "raise: arg 3 must be a traceback or None");
            goto raise_error;
        }
    }
    if (PyType_Check(type)) {
#if CYTHON_COMPILING_IN_PYPY
        if (!value) {
            Py_INCREF(Py_None);
            value = Py_None;
        }
#endif
        PyErr_NormalizeException(&type, &value, &tb);
    } else {
        if (value) {
            PyErr_SetString(PyExc_TypeError,
                "instance exception may not have a separate value");
            goto raise_error;
        }
        value = type;
        type = (PyObject*) Py_TYPE(type);
        Py_INCREF(type);
        if (!PyType_IsSubtype((PyTypeObject *)type, (PyTypeObject *)PyExc_BaseException)) {
            PyErr_SetString(PyExc_TypeError,
                "raise: exception class must be a subclass of BaseException");
            goto raise_error;
        }
    }
    __Pyx_PyThreadState_assign
    __Pyx_ErrRestore(type, value, tb);
    return;
raise_error:
    Py_XDECREF(value);
    Py_XDECREF(type);
    Py_XDECREF(tb);
    return;
}
#else
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause) {
    PyObject* owned_instance = NULL;
    if (tb == Py_None) {
        tb = 0;
    } else if (tb && !PyTraceBack_Check(tb)) {
        PyErr_SetString(PyExc_TypeError,
            "raise: arg 3 must be a traceback or None");
        goto bad;
    }
    if (value == Py_None)
        value = 0;
    if (PyExceptionInstance_Check(type)) {
        if (value) {
            PyErr_SetString(PyExc_TypeError,
                "instance exception may not have a separate value");
            goto bad;
        }
        value = type;
        type = (PyObject*) Py_TYPE(value);
    } else if (PyExceptionClass_Check(type)) {
        PyObject *instance_class = NULL;
        if (value && PyExceptionInstance_Check(value)) {
            instance_class = (PyObject*) Py_TYPE(value);
            if (instance_class != type) {
                int is_subclass = PyObject_IsSubclass(instance_class, type);
                if (!is_subclass) {
                    instance_class = NULL;
                } else if (unlikely(is_subclass == -1)) {
                    goto bad;
                } else {
                    type = instance_class;
                }
            }
        }
        if (!instance_class) {
            PyObject *args;
            if (!value)
                args = PyTuple_New(0);
            else if (PyTuple_Check(value)) {
                Py_INCREF(value);
                args = value;
            } else
                args = PyTuple_Pack(1, value);
            if (!args)
                goto bad;
            owned_instance = PyObject_Call(type, args, NULL);
            Py_DECREF(args);
            if (!owned_instance)
                goto bad;
            value = owned_instance;
            if (!PyExceptionInstance_Check(value)) {
                PyErr_Format(PyExc_TypeError,
                             "calling %R should have returned an instance of "
                             "BaseException, not %R",
                             type, Py_TYPE(value));
                goto bad;
            }
        }
    } else {
        PyErr_SetString(PyExc_TypeError,
            "raise: exception class must be a subclass of BaseException");
        goto bad;
    }
    if (cause) {
        PyObject *fixed_cause;
        if (cause == Py_None) {
            fixed_cause = NULL;
        } else if (PyExceptionClass_Check(cause)) {
            fixed_cause = PyObject_CallObject(cause, NULL);
            if (fixed_cause == NULL)
                goto bad;
        } else if (PyExceptionInstance_Check(cause)) {
            fixed_cause = cause;
            Py_INCREF(fixed_cause);
        } else {
            PyErr_SetString(PyExc_TypeError,
                            "exception causes must derive from "
                            "BaseException");
            goto bad;
        }
        PyException_SetCause(value, fixed_cause);
    }
    PyErr_SetObject(type, value);
    if (tb) {
#if CYTHON_COMPILING_IN_PYPY
        PyObject *tmp_type, *tmp_value, *tmp_tb;
        PyErr_Fetch(&tmp_type, &tmp_value, &tmp_tb);
        Py_INCREF(tb);
        PyErr_Restore(tmp_type, tmp_value, tb);
        Py_XDECREF(tmp_tb);
#else
        PyThreadState *tstate = __Pyx_PyThreadState_Current;
        PyObject* tmp_tb = tstate->curexc_traceback;
        if (tb != tmp_tb) {
            Py_INCREF(tb);
            tstate->curexc_traceback = tb;
            Py_XDECREF(tmp_tb);
        }
#endif
    }
bad:
    Py_XDECREF(owned_instance);
    return;
}
#endif

/* ExtTypeTest */
static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
    if (unlikely(!type)) {
        PyErr_SetString(PyExc_SystemError, "Missing type object");
        return 0;
    }
    if (likely(__Pyx_TypeCheck(obj, type)))
        return 1;
    PyErr_Format(PyExc_TypeError, "Cannot convert %.200s to %.200s",
                 Py_TYPE(obj)->tp_name, type->tp_name);
    return 0;
}

/* PyCFunctionFastCall */
#if CYTHON_FAST_PYCCALL
static CYTHON_INLINE PyObject * __Pyx_PyCFunction_FastCall(PyObject *func_obj, PyObject **args, Py_ssize_t nargs) {
    PyCFunctionObject *func = (PyCFunctionObject*)func_obj;
    PyCFunction meth = PyCFunction_GET_FUNCTION(func);
    PyObject *self = PyCFunction_GET_SELF(func);
    int flags = PyCFunction_GET_FLAGS(func);
    assert(PyCFunction_Check(func));
    assert(METH_FASTCALL == (flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_KEYWORDS | METH_STACKLESS)));
    assert(nargs >= 0);
    assert(nargs == 0 || args != NULL);
    /* _PyCFunction_FastCallDict() must not be called with an exception set,
       because it may clear it (directly or indirectly) and so the
       caller loses its exception */
    assert(!PyErr_Occurred());
    if ((PY_VERSION_HEX < 0x030700A0) || unlikely(flags & METH_KEYWORDS)) {
        return (*((__Pyx_PyCFunctionFastWithKeywords)(void*)meth)) (self, args, nargs, NULL);
    } else {
        return (*((__Pyx_PyCFunctionFast)(void*)meth)) (self, args, nargs);
    }
}
#endif

/* PyFunctionFastCall */
#if CYTHON_FAST_PYCALL
static PyObject* __Pyx_PyFunction_FastCallNoKw(PyCodeObject *co, PyObject **args, Py_ssize_t na,
                                               PyObject *globals) {
    PyFrameObject *f;
    PyThreadState *tstate = __Pyx_PyThreadState_Current;
    PyObject **fastlocals;
    Py_ssize_t i;
    PyObject *result;
    assert(globals != NULL);
    /* XXX Perhaps we should create a specialized
       PyFrame_New() that doesn't take locals, but does
       take builtins without sanity checking them.
       */
    assert(tstate != NULL);
    f = PyFrame_New(tstate, co, globals, NULL);
    if (f == NULL) {
        return NULL;
    }
    fastlocals = __Pyx_PyFrame_GetLocalsplus(f);
    for (i = 0; i < na; i++) {
        Py_INCREF(*args);
        fastlocals[i] = *args++;
    }
    result = PyEval_EvalFrameEx(f,0);
    ++tstate->recursion_depth;
    Py_DECREF(f);
    --tstate->recursion_depth;
    return result;
}
#if 1 || PY_VERSION_HEX < 0x030600B1
static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs, PyObject *kwargs) {
    PyCodeObject *co = (PyCodeObject *)PyFunction_GET_CODE(func);
    PyObject *globals = PyFunction_GET_GLOBALS(func);
    PyObject *argdefs = PyFunction_GET_DEFAULTS(func);
    PyObject *closure;
#if PY_MAJOR_VERSION >= 3
    PyObject *kwdefs;
#endif
    PyObject *kwtuple, **k;
    PyObject **d;
    Py_ssize_t nd;
    Py_ssize_t nk;
    PyObject *result;
    assert(kwargs == NULL || PyDict_Check(kwargs));
    nk = kwargs ? PyDict_Size(kwargs) : 0;
    if (Py_EnterRecursiveCall((char*)" while calling a Python object")) {
        return NULL;
    }
    if (
#if PY_MAJOR_VERSION >= 3
            co->co_kwonlyargcount == 0 &&
#endif
            likely(kwargs == NULL || nk == 0) &&
            co->co_flags == (CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE)) {
        if (argdefs == NULL && co->co_argcount == nargs) {
            result = __Pyx_PyFunction_FastCallNoKw(co, args, nargs, globals);
            goto done;
        }
        else if (nargs == 0 && argdefs != NULL
                 && co->co_argcount == Py_SIZE(argdefs)) {
            /* function called with no arguments, but all parameters have
               a default value: use default values as arguments .*/
            args = &PyTuple_GET_ITEM(argdefs, 0);
            result =__Pyx_PyFunction_FastCallNoKw(co, args, Py_SIZE(argdefs), globals);
            goto done;
        }
    }
    if (kwargs != NULL) {
        Py_ssize_t pos, i;
        kwtuple = PyTuple_New(2 * nk);
        if (kwtuple == NULL) {
            result = NULL;
            goto done;
        }
        k = &PyTuple_GET_ITEM(kwtuple, 0);
        pos = i = 0;
        while (PyDict_Next(kwargs, &pos, &k[i], &k[i+1])) {
            Py_INCREF(k[i]);
            Py_INCREF(k[i+1]);
            i += 2;
        }
        nk = i / 2;
    }
    else {
        kwtuple = NULL;
        k = NULL;
    }
    closure = PyFunction_GET_CLOSURE(func);
#if PY_MAJOR_VERSION >= 3
    kwdefs = PyFunction_GET_KW_DEFAULTS(func);
#endif
    if (argdefs != NULL) {
        d = &PyTuple_GET_ITEM(argdefs, 0);
        nd = Py_SIZE(argdefs);
    }
    else {
        d = NULL;
        nd = 0;
    }
#if PY_MAJOR_VERSION >= 3
    result = PyEval_EvalCodeEx((PyObject*)co, globals, (PyObject *)NULL,
                               args, (int)nargs,
                               k, (int)nk,
                               d, (int)nd, kwdefs, closure);
#else
    result = PyEval_EvalCodeEx(co, globals, (PyObject *)NULL,
                               args, (int)nargs,
                               k, (int)nk,
                               d, (int)nd, closure);
#endif
    Py_XDECREF(kwtuple);
done:
    Py_LeaveRecursiveCall();
    return result;
}
#endif
#endif

/* PyObjectCallMethO */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
    PyObject *self, *result;
    PyCFunction cfunc;
    cfunc = PyCFunction_GET_FUNCTION(func);
    self = PyCFunction_GET_SELF(func);
    if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
        return NULL;
    result = cfunc(self, arg);
    Py_LeaveRecursiveCall();
    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
        PyErr_SetString(
            PyExc_SystemError,
            "NULL result without error in PyObject_Call");
    }
    return result;
}
#endif

/* PyObjectCallOneArg */
#if CYTHON_COMPILING_IN_CPYTHON
static PyObject* __Pyx__PyObject_CallOneArg(PyObject *func, PyObject *arg) {
    PyObject *result;
    PyObject *args = PyTuple_New(1);
    if (unlikely(!args)) return NULL;
    Py_INCREF(arg);
    PyTuple_SET_ITEM(args, 0, arg);
    result = __Pyx_PyObject_Call(func, args, NULL);
    Py_DECREF(args);
    return result;
}
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
#if CYTHON_FAST_PYCALL
    if (PyFunction_Check(func)) {
        return __Pyx_PyFunction_FastCall(func, &arg, 1);
    }
#endif
    if (likely(PyCFunction_Check(func))) {
        if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
            return __Pyx_PyObject_CallMethO(func, arg);
#if CYTHON_FAST_PYCCALL
        } else if (PyCFunction_GET_FLAGS(func) & METH_FASTCALL) {
            return __Pyx_PyCFunction_FastCall(func, &arg, 1);
#endif
        }
    }
    return __Pyx__PyObject_CallOneArg(func, arg);
}
#else
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
    PyObject *result;
    PyObject *args = PyTuple_Pack(1, arg);
    if (unlikely(!args)) return NULL;
    result = __Pyx_PyObject_Call(func, args, NULL);
    Py_DECREF(args);
    return result;
}
#endif

/* GetItemInt */
static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
    PyObject *r;
    if (!j) return NULL;
    r = PyObject_GetItem(o, j);
    Py_DECREF(j);
    return r;
}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
                                                              CYTHON_NCP_UNUSED int wraparound,
                                                              CYTHON_NCP_UNUSED int boundscheck) {
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    Py_ssize_t wrapped_i = i;
    if (wraparound & unlikely(i < 0)) {
        wrapped_i += PyList_GET_SIZE(o);
    }
    if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, PyList_GET_SIZE(o)))) {
        PyObject *r = PyList_GET_ITEM(o, wrapped_i);
        Py_INCREF(r);
        return r;
    }
    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
#else
    return PySequence_GetItem(o, i);
#endif
}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
                                                              CYTHON_NCP_UNUSED int wraparound,
                                                              CYTHON_NCP_UNUSED int boundscheck) {
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    Py_ssize_t wrapped_i = i;
    if (wraparound & unlikely(i < 0)) {
        wrapped_i += PyTuple_GET_SIZE(o);
    }
    if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, PyTuple_GET_SIZE(o)))) {
        PyObject *r = PyTuple_GET_ITEM(o, wrapped_i);
        Py_INCREF(r);
        return r;
    }
    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
#else
    return PySequence_GetItem(o, i);
#endif
}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int is_list,
                                                     CYTHON_NCP_UNUSED int wraparound,
                                                     CYTHON_NCP_UNUSED int boundscheck) {
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS && CYTHON_USE_TYPE_SLOTS
    if (is_list || PyList_CheckExact(o)) {
        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o);
        if ((!boundscheck) || (likely(__Pyx_is_valid_index(n, PyList_GET_SIZE(o))))) {
            PyObject *r = PyList_GET_ITEM(o, n);
            Py_INCREF(r);
            return r;
        }
    }
    else if (PyTuple_CheckExact(o)) {
        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o);
        if ((!boundscheck) || likely(__Pyx_is_valid_index(n, PyTuple_GET_SIZE(o)))) {
            PyObject *r = PyTuple_GET_ITEM(o, n);
            Py_INCREF(r);
            return r;
        }
    } else {
        PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
        if (likely(m && m->sq_item)) {
            if (wraparound && unlikely(i < 0) && likely(m->sq_length)) {
                Py_ssize_t l = m->sq_length(o);
                if (likely(l >= 0)) {
                    i += l;
                } else {
                    if (!PyErr_ExceptionMatches(PyExc_OverflowError))
                        return NULL;
                    PyErr_Clear();
                }
            }
            return m->sq_item(o, i);
        }
    }
#else
    if (is_list || PySequence_Check(o)) {
        return PySequence_GetItem(o, i);
    }
#endif
    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
}

/* CallNextTpTraverse */
static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, traverseproc current_tp_traverse) {
    PyTypeObject* type = Py_TYPE(obj);
    while (type && type->tp_traverse != current_tp_traverse)
        type = type->tp_base;
    while (type && type->tp_traverse == current_tp_traverse)
        type = type->tp_base;
    if (type && type->tp_traverse)
        return type->tp_traverse(obj, v, a);
    return 0;
}

/* CallNextTpClear */
static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear) {
    PyTypeObject* type = Py_TYPE(obj);
    while (type && type->tp_clear != current_tp_clear)
        type = type->tp_base;
    while (type && type->tp_clear == current_tp_clear)
        type = type->tp_base;
    if (type && type->tp_clear)
        type->tp_clear(obj);
}

/* PyObject_GenericGetAttrNoDict */
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
static PyObject *__Pyx_RaiseGenericGetAttributeError(PyTypeObject *tp, PyObject *attr_name) {
    PyErr_Format(PyExc_AttributeError,
#if PY_MAJOR_VERSION >= 3
                 "'%.50s' object has no attribute '%U'",
                 tp->tp_name, attr_name);
#else
                 "'%.50s' object has no attribute '%.400s'",
                 tp->tp_name, PyString_AS_STRING(attr_name));
#endif
    return NULL;
}
static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObject* obj, PyObject* attr_name) {
    PyObject *descr;
    PyTypeObject *tp = Py_TYPE(obj);
    if (unlikely(!PyString_Check(attr_name))) {
        return PyObject_GenericGetAttr(obj, attr_name);
    }
    assert(!tp->tp_dictoffset);
    descr = _PyType_Lookup(tp, attr_name);
    if (unlikely(!descr)) {
        return __Pyx_RaiseGenericGetAttributeError(tp, attr_name);
    }
    Py_INCREF(descr);
    #if PY_MAJOR_VERSION < 3
    if (likely(PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_HAVE_CLASS)))
    #endif
    {
        descrgetfunc f = Py_TYPE(descr)->tp_descr_get;
        if (unlikely(f)) {
            PyObject *res = f(descr, obj, (PyObject *)tp);
            Py_DECREF(descr);
            return res;
        }
    }
    return descr;
}
#endif

/* PyObject_GenericGetAttr */
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_name) {
    if (unlikely(Py_TYPE(obj)->tp_dictoffset)) {
        return PyObject_GenericGetAttr(obj, attr_name);
    }
    return __Pyx_PyObject_GenericGetAttrNoDict(obj, attr_name);
}
#endif

/* PyErrExceptionMatches */
#if CYTHON_FAST_THREAD_STATE
static int __Pyx_PyErr_ExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) {
    Py_ssize_t i, n;
    n = PyTuple_GET_SIZE(tuple);
#if PY_MAJOR_VERSION >= 3
    for (i=0; i<n; i++) {
        if (exc_type == PyTuple_GET_ITEM(tuple, i)) return 1;
    }
#endif
    for (i=0; i<n; i++) {
        if (__Pyx_PyErr_GivenExceptionMatches(exc_type, PyTuple_GET_ITEM(tuple, i))) return 1;
    }
    return 0;
}
static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err) {
    PyObject *exc_type = tstate->curexc_type;
    if (exc_type == err) return 1;
    if (unlikely(!exc_type)) return 0;
    if (unlikely(PyTuple_Check(err)))
        return __Pyx_PyErr_ExceptionMatchesTuple(exc_type, err);
    return __Pyx_PyErr_GivenExceptionMatches(exc_type, err);
}
#endif

/* PyObjectGetAttrStrNoError */
static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
        __Pyx_PyErr_Clear();
}
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) {
    PyObject *result;
#if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS && PY_VERSION_HEX >= 0x030700B1
    PyTypeObject* tp = Py_TYPE(obj);
    if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) {
        return _PyObject_GenericGetAttrWithDict(obj, attr_name, NULL, 1);
    }
#endif
    result = __Pyx_PyObject_GetAttrStr(obj, attr_name);
    if (unlikely(!result)) {
        __Pyx_PyObject_GetAttrStr_ClearAttributeError();
    }
    return result;
}

/* SetupReduce */
static int __Pyx_setup_reduce_is_named(PyObject* meth, PyObject* name) {
  int ret;
  PyObject *name_attr;
  name_attr = __Pyx_PyObject_GetAttrStr(meth, __pyx_n_s_name_2);
  if (likely(name_attr)) {
      ret = PyObject_RichCompareBool(name_attr, name, Py_EQ);
  } else {
      ret = -1;
  }
  if (unlikely(ret < 0)) {
      PyErr_Clear();
      ret = 0;
  }
  Py_XDECREF(name_attr);
  return ret;
}
static int __Pyx_setup_reduce(PyObject* type_obj) {
    int ret = 0;
    PyObject *object_reduce = NULL;
    PyObject *object_reduce_ex = NULL;
    PyObject *reduce = NULL;
    PyObject *reduce_ex = NULL;
    PyObject *reduce_cython = NULL;
    PyObject *setstate = NULL;
    PyObject *setstate_cython = NULL;
#if CYTHON_USE_PYTYPE_LOOKUP
    if (_PyType_Lookup((PyTypeObject*)type_obj, __pyx_n_s_getstate)) goto __PYX_GOOD;
#else
    if (PyObject_HasAttr(type_obj, __pyx_n_s_getstate)) goto __PYX_GOOD;
#endif
#if CYTHON_USE_PYTYPE_LOOKUP
    object_reduce_ex = _PyType_Lookup(&PyBaseObject_Type, __pyx_n_s_reduce_ex); if (!object_reduce_ex) goto __PYX_BAD;
#else
    object_reduce_ex = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_n_s_reduce_ex); if (!object_reduce_ex) goto __PYX_BAD;
#endif
    reduce_ex = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_reduce_ex); if (unlikely(!reduce_ex)) goto __PYX_BAD;
    if (reduce_ex == object_reduce_ex) {
#if CYTHON_USE_PYTYPE_LOOKUP
        object_reduce = _PyType_Lookup(&PyBaseObject_Type, __pyx_n_s_reduce); if (!object_reduce) goto __PYX_BAD;
#else
        object_reduce = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_n_s_reduce); if (!object_reduce) goto __PYX_BAD;
#endif
        reduce = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_reduce); if (unlikely(!reduce)) goto __PYX_BAD;
        if (reduce == object_reduce || __Pyx_setup_reduce_is_named(reduce, __pyx_n_s_reduce_cython)) {
            reduce_cython = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_n_s_reduce_cython);
            if (likely(reduce_cython)) {
                ret = PyDict_SetItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_reduce, reduce_cython); if (unlikely(ret < 0)) goto __PYX_BAD;
                ret = PyDict_DelItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_reduce_cython); if (unlikely(ret < 0)) goto __PYX_BAD;
            } else if (reduce == object_reduce || PyErr_Occurred()) {
                goto __PYX_BAD;
            }
            setstate = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_setstate);
            if (!setstate) PyErr_Clear();
            if (!setstate || __Pyx_setup_reduce_is_named(setstate, __pyx_n_s_setstate_cython)) {
                setstate_cython = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_n_s_setstate_cython);
                if (likely(setstate_cython)) {
                    ret = PyDict_SetItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_setstate, setstate_cython); if (unlikely(ret < 0)) goto __PYX_BAD;
                    ret = PyDict_DelItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_setstate_cython); if (unlikely(ret < 0)) goto __PYX_BAD;
                } else if (!setstate || PyErr_Occurred()) {
                    goto __PYX_BAD;
                }
            }
            PyType_Modified((PyTypeObject*)type_obj);
        }
    }
    goto __PYX_GOOD;
__PYX_BAD:
    if (!PyErr_Occurred())
        PyErr_Format(PyExc_RuntimeError, "Unable to initialize pickling for %s", ((PyTypeObject*)type_obj)->tp_name);
    ret = -1;
__PYX_GOOD:
#if !CYTHON_USE_PYTYPE_LOOKUP
    Py_XDECREF(object_reduce);
    Py_XDECREF(object_reduce_ex);
#endif
    Py_XDECREF(reduce);
    Py_XDECREF(reduce_ex);
    Py_XDECREF(reduce_cython);
    Py_XDECREF(setstate);
    Py_XDECREF(setstate_cython);
    return ret;
}

/* SetVTable */
static int __Pyx_SetVtable(PyObject *dict, void *vtable) {
#if PY_VERSION_HEX >= 0x02070000
    PyObject *ob = PyCapsule_New(vtable, 0, 0);
#else
    PyObject *ob = PyCObject_FromVoidPtr(vtable, 0);
#endif
    if (!ob)
        goto bad;
    if (PyDict_SetItem(dict, __pyx_n_s_pyx_vtable, ob) < 0)
        goto bad;
    Py_DECREF(ob);
    return 0;
bad:
    Py_XDECREF(ob);
    return -1;
}

/* Import */
static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
    PyObject *empty_list = 0;
    PyObject *module = 0;
    PyObject *global_dict = 0;
    PyObject *empty_dict = 0;
    PyObject *list;
    #if PY_MAJOR_VERSION < 3
    PyObject *py_import;
    py_import = __Pyx_PyObject_GetAttrStr(__pyx_b, __pyx_n_s_import);
    if (!py_import)
        goto bad;
    #endif
    if (from_list)
        list = from_list;
    else {
        empty_list = PyList_New(0);
        if (!empty_list)
            goto bad;
        list = empty_list;
    }
    global_dict = PyModule_GetDict(__pyx_m);
    if (!global_dict)
        goto bad;
    empty_dict = PyDict_New();
    if (!empty_dict)
        goto bad;
    {
        #if PY_MAJOR_VERSION >= 3
        if (level == -1) {
            if ((1) && (strchr(__Pyx_MODULE_NAME, '.'))) {
                module = PyImport_ImportModuleLevelObject(
                    name, global_dict, empty_dict, list, 1);
                if (!module) {
                    if (!PyErr_ExceptionMatches(PyExc_ImportError))
                        goto bad;
                    PyErr_Clear();
                }
            }
            level = 0;
        }
        #endif
        if (!module) {
            #if PY_MAJOR_VERSION < 3
            PyObject *py_level = PyInt_FromLong(level);
            if (!py_level)
                goto bad;
            module = PyObject_CallFunctionObjArgs(py_import,
                name, global_dict, empty_dict, list, py_level, (PyObject *)NULL);
            Py_DECREF(py_level);
            #else
            module = PyImport_ImportModuleLevelObject(
                name, global_dict, empty_dict, list, level);
            #endif
        }
    }
bad:
    #if PY_MAJOR_VERSION < 3
    Py_XDECREF(py_import);
    #endif
    Py_XDECREF(empty_list);
    Py_XDECREF(empty_dict);
    return module;
}

/* PyDictVersioning */
#if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS
static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj) {
    PyObject *dict = Py_TYPE(obj)->tp_dict;
    return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0;
}
static CYTHON_INLINE PY_UINT64_T __Pyx_get_object_dict_version(PyObject *obj) {
    PyObject **dictptr = NULL;
    Py_ssize_t offset = Py_TYPE(obj)->tp_dictoffset;
    if (offset) {
#if CYTHON_COMPILING_IN_CPYTHON
        dictptr = (likely(offset > 0)) ? (PyObject **) ((char *)obj + offset) : _PyObject_GetDictPtr(obj);
#else
        dictptr = _PyObject_GetDictPtr(obj);
#endif
    }
    return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0;
}
static CYTHON_INLINE int __Pyx_object_dict_version_matches(PyObject* obj, PY_UINT64_T tp_dict_version, PY_UINT64_T obj_dict_version) {
    PyObject *dict = Py_TYPE(obj)->tp_dict;
    if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict)))
        return 0;
    return obj_dict_version == __Pyx_get_object_dict_version(obj);
}
#endif

/* CLineInTraceback */
#ifndef CYTHON_CLINE_IN_TRACEBACK
static int __Pyx_CLineForTraceback(CYTHON_NCP_UNUSED PyThreadState *tstate, int c_line) {
    PyObject *use_cline;
    PyObject *ptype, *pvalue, *ptraceback;
#if CYTHON_COMPILING_IN_CPYTHON
    PyObject **cython_runtime_dict;
#endif
    if (unlikely(!__pyx_cython_runtime)) {
        return c_line;
    }
    __Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback);
#if CYTHON_COMPILING_IN_CPYTHON
    cython_runtime_dict = _PyObject_GetDictPtr(__pyx_cython_runtime);
    if (likely(cython_runtime_dict)) {
        __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
            use_cline, *cython_runtime_dict,
            __Pyx_PyDict_GetItemStr(*cython_runtime_dict, __pyx_n_s_cline_in_traceback))
    } else
#endif
    {
      PyObject *use_cline_obj = __Pyx_PyObject_GetAttrStr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback);
      if (use_cline_obj) {
        use_cline = PyObject_Not(use_cline_obj) ? Py_False : Py_True;
        Py_DECREF(use_cline_obj);
      } else {
        PyErr_Clear();
        use_cline = NULL;
      }
    }
    if (!use_cline) {
        c_line = 0;
        PyObject_SetAttr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback, Py_False);
    }
    else if (use_cline == Py_False || (use_cline != Py_True && PyObject_Not(use_cline) != 0)) {
        c_line = 0;
    }
    __Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback);
    return c_line;
}
#endif

/* CodeObjectCache */
static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) {
    int start = 0, mid = 0, end = count - 1;
    if (end >= 0 && code_line > entries[end].code_line) {
        return count;
    }
    while (start < end) {
        mid = start + (end - start) / 2;
        if (code_line < entries[mid].code_line) {
            end = mid;
        } else if (code_line > entries[mid].code_line) {
             start = mid + 1;
        } else {
            return mid;
        }
    }
    if (code_line <= entries[mid].code_line) {
        return mid;
    } else {
        return mid + 1;
    }
}
static PyCodeObject *__pyx_find_code_object(int code_line) {
    PyCodeObject* code_object;
    int pos;
    if (unlikely(!code_line) || unlikely(!__pyx_code_cache.entries)) {
        return NULL;
    }
    pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line);
    if (unlikely(pos >= __pyx_code_cache.count) || unlikely(__pyx_code_cache.entries[pos].code_line != code_line)) {
        return NULL;
    }
    code_object = __pyx_code_cache.entries[pos].code_object;
    Py_INCREF(code_object);
    return code_object;
}
static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
    int pos, i;
    __Pyx_CodeObjectCacheEntry* entries = __pyx_code_cache.entries;
    if (unlikely(!code_line)) {
        return;
    }
    if (unlikely(!entries)) {
        entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Malloc(64*sizeof(__Pyx_CodeObjectCacheEntry));
        if (likely(entries)) {
            __pyx_code_cache.entries = entries;
            __pyx_code_cache.max_count = 64;
            __pyx_code_cache.count = 1;
            entries[0].code_line = code_line;
            entries[0].code_object = code_object;
            Py_INCREF(code_object);
        }
        return;
    }
    pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line);
    if ((pos < __pyx_code_cache.count) && unlikely(__pyx_code_cache.entries[pos].code_line == code_line)) {
        PyCodeObject* tmp = entries[pos].code_object;
        entries[pos].code_object = code_object;
        Py_DECREF(tmp);
        return;
    }
    if (__pyx_code_cache.count == __pyx_code_cache.max_count) {
        int new_max = __pyx_code_cache.max_count + 64;
        entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Realloc(
            __pyx_code_cache.entries, ((size_t)new_max) * sizeof(__Pyx_CodeObjectCacheEntry));
        if (unlikely(!entries)) {
            return;
        }
        __pyx_code_cache.entries = entries;
        __pyx_code_cache.max_count = new_max;
    }
    for (i=__pyx_code_cache.count; i>pos; i--) {
        entries[i] = entries[i-1];
    }
    entries[pos].code_line = code_line;
    entries[pos].code_object = code_object;
    __pyx_code_cache.count++;
    Py_INCREF(code_object);
}

/* AddTraceback */
#include "compile.h"
#include "frameobject.h"
#include "traceback.h"
static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
            const char *funcname, int c_line,
            int py_line, const char *filename) {
    PyCodeObject *py_code = 0;
    PyObject *py_srcfile = 0;
    PyObject *py_funcname = 0;
    #if PY_MAJOR_VERSION < 3
    py_srcfile = PyString_FromString(filename);
    #else
    py_srcfile = PyUnicode_FromString(filename);
    #endif
    if (!py_srcfile) goto bad;
    if (c_line) {
        #if PY_MAJOR_VERSION < 3
        py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
        #else
        py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
        #endif
    }
    else {
        #if PY_MAJOR_VERSION < 3
        py_funcname = PyString_FromString(funcname);
        #else
        py_funcname = PyUnicode_FromString(funcname);
        #endif
    }
    if (!py_funcname) goto bad;
    py_code = __Pyx_PyCode_New(
        0,
        0,
        0,
        0,
        0,
        __pyx_empty_bytes, /*PyObject *code,*/
        __pyx_empty_tuple, /*PyObject *consts,*/
        __pyx_empty_tuple, /*PyObject *names,*/
        __pyx_empty_tuple, /*PyObject *varnames,*/
        __pyx_empty_tuple, /*PyObject *freevars,*/
        __pyx_empty_tuple, /*PyObject *cellvars,*/
        py_srcfile,   /*PyObject *filename,*/
        py_funcname,  /*PyObject *name,*/
        py_line,
        __pyx_empty_bytes  /*PyObject *lnotab*/
    );
    Py_DECREF(py_srcfile);
    Py_DECREF(py_funcname);
    return py_code;
bad:
    Py_XDECREF(py_srcfile);
    Py_XDECREF(py_funcname);
    return NULL;
}
static void __Pyx_AddTraceback(const char *funcname, int c_line,
                               int py_line, const char *filename) {
    PyCodeObject *py_code = 0;
    PyFrameObject *py_frame = 0;
    PyThreadState *tstate = __Pyx_PyThreadState_Current;
    if (c_line) {
        c_line = __Pyx_CLineForTraceback(tstate, c_line);
    }
    py_code = __pyx_find_code_object(c_line ? -c_line : py_line);
    if (!py_code) {
        py_code = __Pyx_CreateCodeObjectForTraceback(
            funcname, c_line, py_line, filename);
        if (!py_code) goto bad;
        __pyx_insert_code_object(c_line ? -c_line : py_line, py_code);
    }
    py_frame = PyFrame_New(
        tstate,            /*PyThreadState *tstate,*/
        py_code,           /*PyCodeObject *code,*/
        __pyx_d,    /*PyObject *globals,*/
        0                  /*PyObject *locals*/
    );
    if (!py_frame) goto bad;
    __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
    PyTraceBack_Here(py_frame);
bad:
    Py_XDECREF(py_code);
    Py_XDECREF(py_frame);
}

/* CIntFromPyVerify */
#define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value)\
    __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 0)
#define __PYX_VERIFY_RETURN_INT_EXC(target_type, func_type, func_value)\
    __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 1)
#define __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, exc)\
    {\
        func_type value = func_value;\
        if (sizeof(target_type) < sizeof(func_type)) {\
            if (unlikely(value != (func_type) (target_type) value)) {\
                func_type zero = 0;\
                if (exc && unlikely(value == (func_type)-1 && PyErr_Occurred()))\
                    return (target_type) -1;\
                if (is_unsigned && unlikely(value < zero))\
                    goto raise_neg_overflow;\
                else\
                    goto raise_overflow;\
            }\
        }\
        return (target_type) value;\
    }

/* CIntToPy */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_GLenum(GLenum value) {
    const GLenum neg_one = (GLenum) ((GLenum) 0 - (GLenum) 1), const_zero = (GLenum) 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(GLenum) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(GLenum) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(GLenum) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
#endif
        }
    } else {
        if (sizeof(GLenum) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(GLenum) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
#endif
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(GLenum),
                                     little, !is_unsigned);
    }
}

/* CIntToPy */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) {
    const int neg_one = (int) ((int) 0 - (int) 1), const_zero = (int) 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(int) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(int) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(int) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
#endif
        }
    } else {
        if (sizeof(int) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
#endif
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(int),
                                     little, !is_unsigned);
    }
}

/* CIntToPy */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_GLuint(GLuint value) {
    const GLuint neg_one = (GLuint) ((GLuint) 0 - (GLuint) 1), const_zero = (GLuint) 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(GLuint) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(GLuint) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(GLuint) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
#endif
        }
    } else {
        if (sizeof(GLuint) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(GLuint) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
#endif
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(GLuint),
                                     little, !is_unsigned);
    }
}

/* CIntToPy */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_GLint(GLint value) {
    const GLint neg_one = (GLint) ((GLint) 0 - (GLint) 1), const_zero = (GLint) 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(GLint) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(GLint) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(GLint) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
#endif
        }
    } else {
        if (sizeof(GLint) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(GLint) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
#endif
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(GLint),
                                     little, !is_unsigned);
    }
}

/* CIntToPy */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_GLboolean(GLboolean value) {
    const GLboolean neg_one = (GLboolean) ((GLboolean) 0 - (GLboolean) 1), const_zero = (GLboolean) 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(GLboolean) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(GLboolean) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(GLboolean) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
#endif
        }
    } else {
        if (sizeof(GLboolean) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(GLboolean) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
#endif
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(GLboolean),
                                     little, !is_unsigned);
    }
}

/* CIntFromPy */
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
    const int neg_one = (int) ((int) 0 - (int) 1), const_zero = (int) 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(int) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(int, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (int) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (int) 0;
                case  1: __PYX_VERIFY_RETURN_INT(int, digit, digits[0])
                case 2:
                    if (8 * sizeof(int) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) >= 2 * PyLong_SHIFT) {
                            return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(int) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) >= 3 * PyLong_SHIFT) {
                            return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(int) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) >= 4 * PyLong_SHIFT) {
                            return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (int) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(int) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(int) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (int) 0;
                case -1: __PYX_VERIFY_RETURN_INT(int, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(int,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(int) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 2 * PyLong_SHIFT) {
                            return (int) (((int)-1)*(((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(int) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 2 * PyLong_SHIFT) {
                            return (int) ((((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(int) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 3 * PyLong_SHIFT) {
                            return (int) (((int)-1)*(((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(int) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 3 * PyLong_SHIFT) {
                            return (int) ((((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(int) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 4 * PyLong_SHIFT) {
                            return (int) (((int)-1)*(((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(int) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 4 * PyLong_SHIFT) {
                            return (int) ((((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(int) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            int val;
            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (int) -1;
        }
    } else {
        int val;
        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
        if (!tmp) return (int) -1;
        val = __Pyx_PyInt_As_int(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to int");
    return (int) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to int");
    return (int) -1;
}

/* CIntFromPy */
static CYTHON_INLINE GLenum __Pyx_PyInt_As_GLenum(PyObject *x) {
    const GLenum neg_one = (GLenum) ((GLenum) 0 - (GLenum) 1), const_zero = (GLenum) 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(GLenum) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(GLenum, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (GLenum) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (GLenum) 0;
                case  1: __PYX_VERIFY_RETURN_INT(GLenum, digit, digits[0])
                case 2:
                    if (8 * sizeof(GLenum) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLenum, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLenum) >= 2 * PyLong_SHIFT) {
                            return (GLenum) (((((GLenum)digits[1]) << PyLong_SHIFT) | (GLenum)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(GLenum) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLenum, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLenum) >= 3 * PyLong_SHIFT) {
                            return (GLenum) (((((((GLenum)digits[2]) << PyLong_SHIFT) | (GLenum)digits[1]) << PyLong_SHIFT) | (GLenum)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(GLenum) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLenum, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLenum) >= 4 * PyLong_SHIFT) {
                            return (GLenum) (((((((((GLenum)digits[3]) << PyLong_SHIFT) | (GLenum)digits[2]) << PyLong_SHIFT) | (GLenum)digits[1]) << PyLong_SHIFT) | (GLenum)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (GLenum) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(GLenum) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLenum, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(GLenum) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLenum, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (GLenum) 0;
                case -1: __PYX_VERIFY_RETURN_INT(GLenum, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(GLenum,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(GLenum) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLenum, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLenum) - 1 > 2 * PyLong_SHIFT) {
                            return (GLenum) (((GLenum)-1)*(((((GLenum)digits[1]) << PyLong_SHIFT) | (GLenum)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(GLenum) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLenum, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLenum) - 1 > 2 * PyLong_SHIFT) {
                            return (GLenum) ((((((GLenum)digits[1]) << PyLong_SHIFT) | (GLenum)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(GLenum) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLenum, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLenum) - 1 > 3 * PyLong_SHIFT) {
                            return (GLenum) (((GLenum)-1)*(((((((GLenum)digits[2]) << PyLong_SHIFT) | (GLenum)digits[1]) << PyLong_SHIFT) | (GLenum)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(GLenum) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLenum, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLenum) - 1 > 3 * PyLong_SHIFT) {
                            return (GLenum) ((((((((GLenum)digits[2]) << PyLong_SHIFT) | (GLenum)digits[1]) << PyLong_SHIFT) | (GLenum)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(GLenum) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLenum, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLenum) - 1 > 4 * PyLong_SHIFT) {
                            return (GLenum) (((GLenum)-1)*(((((((((GLenum)digits[3]) << PyLong_SHIFT) | (GLenum)digits[2]) << PyLong_SHIFT) | (GLenum)digits[1]) << PyLong_SHIFT) | (GLenum)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(GLenum) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLenum, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLenum) - 1 > 4 * PyLong_SHIFT) {
                            return (GLenum) ((((((((((GLenum)digits[3]) << PyLong_SHIFT) | (GLenum)digits[2]) << PyLong_SHIFT) | (GLenum)digits[1]) << PyLong_SHIFT) | (GLenum)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(GLenum) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLenum, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(GLenum) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLenum, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            GLenum val;
            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (GLenum) -1;
        }
    } else {
        GLenum val;
        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
        if (!tmp) return (GLenum) -1;
        val = __Pyx_PyInt_As_GLenum(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to GLenum");
    return (GLenum) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to GLenum");
    return (GLenum) -1;
}

/* CIntFromPy */
static CYTHON_INLINE GLuint __Pyx_PyInt_As_GLuint(PyObject *x) {
    const GLuint neg_one = (GLuint) ((GLuint) 0 - (GLuint) 1), const_zero = (GLuint) 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(GLuint) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(GLuint, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (GLuint) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (GLuint) 0;
                case  1: __PYX_VERIFY_RETURN_INT(GLuint, digit, digits[0])
                case 2:
                    if (8 * sizeof(GLuint) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLuint, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLuint) >= 2 * PyLong_SHIFT) {
                            return (GLuint) (((((GLuint)digits[1]) << PyLong_SHIFT) | (GLuint)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(GLuint) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLuint, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLuint) >= 3 * PyLong_SHIFT) {
                            return (GLuint) (((((((GLuint)digits[2]) << PyLong_SHIFT) | (GLuint)digits[1]) << PyLong_SHIFT) | (GLuint)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(GLuint) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLuint, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLuint) >= 4 * PyLong_SHIFT) {
                            return (GLuint) (((((((((GLuint)digits[3]) << PyLong_SHIFT) | (GLuint)digits[2]) << PyLong_SHIFT) | (GLuint)digits[1]) << PyLong_SHIFT) | (GLuint)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (GLuint) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(GLuint) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLuint, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(GLuint) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLuint, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (GLuint) 0;
                case -1: __PYX_VERIFY_RETURN_INT(GLuint, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(GLuint,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(GLuint) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLuint, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLuint) - 1 > 2 * PyLong_SHIFT) {
                            return (GLuint) (((GLuint)-1)*(((((GLuint)digits[1]) << PyLong_SHIFT) | (GLuint)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(GLuint) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLuint, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLuint) - 1 > 2 * PyLong_SHIFT) {
                            return (GLuint) ((((((GLuint)digits[1]) << PyLong_SHIFT) | (GLuint)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(GLuint) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLuint, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLuint) - 1 > 3 * PyLong_SHIFT) {
                            return (GLuint) (((GLuint)-1)*(((((((GLuint)digits[2]) << PyLong_SHIFT) | (GLuint)digits[1]) << PyLong_SHIFT) | (GLuint)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(GLuint) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLuint, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLuint) - 1 > 3 * PyLong_SHIFT) {
                            return (GLuint) ((((((((GLuint)digits[2]) << PyLong_SHIFT) | (GLuint)digits[1]) << PyLong_SHIFT) | (GLuint)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(GLuint) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLuint, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLuint) - 1 > 4 * PyLong_SHIFT) {
                            return (GLuint) (((GLuint)-1)*(((((((((GLuint)digits[3]) << PyLong_SHIFT) | (GLuint)digits[2]) << PyLong_SHIFT) | (GLuint)digits[1]) << PyLong_SHIFT) | (GLuint)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(GLuint) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLuint, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLuint) - 1 > 4 * PyLong_SHIFT) {
                            return (GLuint) ((((((((((GLuint)digits[3]) << PyLong_SHIFT) | (GLuint)digits[2]) << PyLong_SHIFT) | (GLuint)digits[1]) << PyLong_SHIFT) | (GLuint)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(GLuint) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLuint, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(GLuint) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLuint, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            GLuint val;
            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (GLuint) -1;
        }
    } else {
        GLuint val;
        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
        if (!tmp) return (GLuint) -1;
        val = __Pyx_PyInt_As_GLuint(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to GLuint");
    return (GLuint) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to GLuint");
    return (GLuint) -1;
}

/* CIntFromPy */
static CYTHON_INLINE ptrdiff_t __Pyx_PyInt_As_ptrdiff_t(PyObject *x) {
    const ptrdiff_t neg_one = (ptrdiff_t) ((ptrdiff_t) 0 - (ptrdiff_t) 1), const_zero = (ptrdiff_t) 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(ptrdiff_t) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(ptrdiff_t, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (ptrdiff_t) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (ptrdiff_t) 0;
                case  1: __PYX_VERIFY_RETURN_INT(ptrdiff_t, digit, digits[0])
                case 2:
                    if (8 * sizeof(ptrdiff_t) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(ptrdiff_t, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(ptrdiff_t) >= 2 * PyLong_SHIFT) {
                            return (ptrdiff_t) (((((ptrdiff_t)digits[1]) << PyLong_SHIFT) | (ptrdiff_t)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(ptrdiff_t) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(ptrdiff_t, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(ptrdiff_t) >= 3 * PyLong_SHIFT) {
                            return (ptrdiff_t) (((((((ptrdiff_t)digits[2]) << PyLong_SHIFT) | (ptrdiff_t)digits[1]) << PyLong_SHIFT) | (ptrdiff_t)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(ptrdiff_t) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(ptrdiff_t, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(ptrdiff_t) >= 4 * PyLong_SHIFT) {
                            return (ptrdiff_t) (((((((((ptrdiff_t)digits[3]) << PyLong_SHIFT) | (ptrdiff_t)digits[2]) << PyLong_SHIFT) | (ptrdiff_t)digits[1]) << PyLong_SHIFT) | (ptrdiff_t)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (ptrdiff_t) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(ptrdiff_t) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(ptrdiff_t, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(ptrdiff_t) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(ptrdiff_t, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (ptrdiff_t) 0;
                case -1: __PYX_VERIFY_RETURN_INT(ptrdiff_t, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(ptrdiff_t,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(ptrdiff_t) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(ptrdiff_t, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(ptrdiff_t) - 1 > 2 * PyLong_SHIFT) {
                            return (ptrdiff_t) (((ptrdiff_t)-1)*(((((ptrdiff_t)digits[1]) << PyLong_SHIFT) | (ptrdiff_t)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(ptrdiff_t) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(ptrdiff_t, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(ptrdiff_t) - 1 > 2 * PyLong_SHIFT) {
                            return (ptrdiff_t) ((((((ptrdiff_t)digits[1]) << PyLong_SHIFT) | (ptrdiff_t)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(ptrdiff_t) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(ptrdiff_t, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(ptrdiff_t) - 1 > 3 * PyLong_SHIFT) {
                            return (ptrdiff_t) (((ptrdiff_t)-1)*(((((((ptrdiff_t)digits[2]) << PyLong_SHIFT) | (ptrdiff_t)digits[1]) << PyLong_SHIFT) | (ptrdiff_t)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(ptrdiff_t) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(ptrdiff_t, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(ptrdiff_t) - 1 > 3 * PyLong_SHIFT) {
                            return (ptrdiff_t) ((((((((ptrdiff_t)digits[2]) << PyLong_SHIFT) | (ptrdiff_t)digits[1]) << PyLong_SHIFT) | (ptrdiff_t)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(ptrdiff_t) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(ptrdiff_t, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(ptrdiff_t) - 1 > 4 * PyLong_SHIFT) {
                            return (ptrdiff_t) (((ptrdiff_t)-1)*(((((((((ptrdiff_t)digits[3]) << PyLong_SHIFT) | (ptrdiff_t)digits[2]) << PyLong_SHIFT) | (ptrdiff_t)digits[1]) << PyLong_SHIFT) | (ptrdiff_t)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(ptrdiff_t) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(ptrdiff_t, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(ptrdiff_t) - 1 > 4 * PyLong_SHIFT) {
                            return (ptrdiff_t) ((((((((((ptrdiff_t)digits[3]) << PyLong_SHIFT) | (ptrdiff_t)digits[2]) << PyLong_SHIFT) | (ptrdiff_t)digits[1]) << PyLong_SHIFT) | (ptrdiff_t)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(ptrdiff_t) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(ptrdiff_t, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(ptrdiff_t) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(ptrdiff_t, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            ptrdiff_t val;
            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (ptrdiff_t) -1;
        }
    } else {
        ptrdiff_t val;
        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
        if (!tmp) return (ptrdiff_t) -1;
        val = __Pyx_PyInt_As_ptrdiff_t(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to ptrdiff_t");
    return (ptrdiff_t) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to ptrdiff_t");
    return (ptrdiff_t) -1;
}

/* CIntFromPy */
static CYTHON_INLINE GLint __Pyx_PyInt_As_GLint(PyObject *x) {
    const GLint neg_one = (GLint) ((GLint) 0 - (GLint) 1), const_zero = (GLint) 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(GLint) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(GLint, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (GLint) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (GLint) 0;
                case  1: __PYX_VERIFY_RETURN_INT(GLint, digit, digits[0])
                case 2:
                    if (8 * sizeof(GLint) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLint, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLint) >= 2 * PyLong_SHIFT) {
                            return (GLint) (((((GLint)digits[1]) << PyLong_SHIFT) | (GLint)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(GLint) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLint, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLint) >= 3 * PyLong_SHIFT) {
                            return (GLint) (((((((GLint)digits[2]) << PyLong_SHIFT) | (GLint)digits[1]) << PyLong_SHIFT) | (GLint)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(GLint) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLint, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLint) >= 4 * PyLong_SHIFT) {
                            return (GLint) (((((((((GLint)digits[3]) << PyLong_SHIFT) | (GLint)digits[2]) << PyLong_SHIFT) | (GLint)digits[1]) << PyLong_SHIFT) | (GLint)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (GLint) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(GLint) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLint, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(GLint) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLint, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (GLint) 0;
                case -1: __PYX_VERIFY_RETURN_INT(GLint, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(GLint,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(GLint) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLint, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLint) - 1 > 2 * PyLong_SHIFT) {
                            return (GLint) (((GLint)-1)*(((((GLint)digits[1]) << PyLong_SHIFT) | (GLint)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(GLint) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLint, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLint) - 1 > 2 * PyLong_SHIFT) {
                            return (GLint) ((((((GLint)digits[1]) << PyLong_SHIFT) | (GLint)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(GLint) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLint, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLint) - 1 > 3 * PyLong_SHIFT) {
                            return (GLint) (((GLint)-1)*(((((((GLint)digits[2]) << PyLong_SHIFT) | (GLint)digits[1]) << PyLong_SHIFT) | (GLint)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(GLint) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLint, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLint) - 1 > 3 * PyLong_SHIFT) {
                            return (GLint) ((((((((GLint)digits[2]) << PyLong_SHIFT) | (GLint)digits[1]) << PyLong_SHIFT) | (GLint)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(GLint) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLint, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLint) - 1 > 4 * PyLong_SHIFT) {
                            return (GLint) (((GLint)-1)*(((((((((GLint)digits[3]) << PyLong_SHIFT) | (GLint)digits[2]) << PyLong_SHIFT) | (GLint)digits[1]) << PyLong_SHIFT) | (GLint)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(GLint) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLint, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLint) - 1 > 4 * PyLong_SHIFT) {
                            return (GLint) ((((((((((GLint)digits[3]) << PyLong_SHIFT) | (GLint)digits[2]) << PyLong_SHIFT) | (GLint)digits[1]) << PyLong_SHIFT) | (GLint)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(GLint) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLint, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(GLint) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLint, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            GLint val;
            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (GLint) -1;
        }
    } else {
        GLint val;
        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
        if (!tmp) return (GLint) -1;
        val = __Pyx_PyInt_As_GLint(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to GLint");
    return (GLint) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to GLint");
    return (GLint) -1;
}

/* CIntFromPy */
static CYTHON_INLINE GLbitfield __Pyx_PyInt_As_GLbitfield(PyObject *x) {
    const GLbitfield neg_one = (GLbitfield) ((GLbitfield) 0 - (GLbitfield) 1), const_zero = (GLbitfield) 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(GLbitfield) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(GLbitfield, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (GLbitfield) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (GLbitfield) 0;
                case  1: __PYX_VERIFY_RETURN_INT(GLbitfield, digit, digits[0])
                case 2:
                    if (8 * sizeof(GLbitfield) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLbitfield, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLbitfield) >= 2 * PyLong_SHIFT) {
                            return (GLbitfield) (((((GLbitfield)digits[1]) << PyLong_SHIFT) | (GLbitfield)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(GLbitfield) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLbitfield, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLbitfield) >= 3 * PyLong_SHIFT) {
                            return (GLbitfield) (((((((GLbitfield)digits[2]) << PyLong_SHIFT) | (GLbitfield)digits[1]) << PyLong_SHIFT) | (GLbitfield)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(GLbitfield) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLbitfield, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLbitfield) >= 4 * PyLong_SHIFT) {
                            return (GLbitfield) (((((((((GLbitfield)digits[3]) << PyLong_SHIFT) | (GLbitfield)digits[2]) << PyLong_SHIFT) | (GLbitfield)digits[1]) << PyLong_SHIFT) | (GLbitfield)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (GLbitfield) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(GLbitfield) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLbitfield, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(GLbitfield) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLbitfield, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (GLbitfield) 0;
                case -1: __PYX_VERIFY_RETURN_INT(GLbitfield, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(GLbitfield,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(GLbitfield) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLbitfield, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLbitfield) - 1 > 2 * PyLong_SHIFT) {
                            return (GLbitfield) (((GLbitfield)-1)*(((((GLbitfield)digits[1]) << PyLong_SHIFT) | (GLbitfield)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(GLbitfield) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLbitfield, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLbitfield) - 1 > 2 * PyLong_SHIFT) {
                            return (GLbitfield) ((((((GLbitfield)digits[1]) << PyLong_SHIFT) | (GLbitfield)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(GLbitfield) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLbitfield, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLbitfield) - 1 > 3 * PyLong_SHIFT) {
                            return (GLbitfield) (((GLbitfield)-1)*(((((((GLbitfield)digits[2]) << PyLong_SHIFT) | (GLbitfield)digits[1]) << PyLong_SHIFT) | (GLbitfield)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(GLbitfield) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLbitfield, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLbitfield) - 1 > 3 * PyLong_SHIFT) {
                            return (GLbitfield) ((((((((GLbitfield)digits[2]) << PyLong_SHIFT) | (GLbitfield)digits[1]) << PyLong_SHIFT) | (GLbitfield)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(GLbitfield) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLbitfield, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLbitfield) - 1 > 4 * PyLong_SHIFT) {
                            return (GLbitfield) (((GLbitfield)-1)*(((((((((GLbitfield)digits[3]) << PyLong_SHIFT) | (GLbitfield)digits[2]) << PyLong_SHIFT) | (GLbitfield)digits[1]) << PyLong_SHIFT) | (GLbitfield)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(GLbitfield) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLbitfield, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLbitfield) - 1 > 4 * PyLong_SHIFT) {
                            return (GLbitfield) ((((((((((GLbitfield)digits[3]) << PyLong_SHIFT) | (GLbitfield)digits[2]) << PyLong_SHIFT) | (GLbitfield)digits[1]) << PyLong_SHIFT) | (GLbitfield)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(GLbitfield) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLbitfield, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(GLbitfield) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLbitfield, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            GLbitfield val;
            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (GLbitfield) -1;
        }
    } else {
        GLbitfield val;
        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
        if (!tmp) return (GLbitfield) -1;
        val = __Pyx_PyInt_As_GLbitfield(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to GLbitfield");
    return (GLbitfield) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to GLbitfield");
    return (GLbitfield) -1;
}

/* CIntFromPy */
static CYTHON_INLINE GLboolean __Pyx_PyInt_As_GLboolean(PyObject *x) {
    const GLboolean neg_one = (GLboolean) ((GLboolean) 0 - (GLboolean) 1), const_zero = (GLboolean) 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(GLboolean) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(GLboolean, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (GLboolean) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (GLboolean) 0;
                case  1: __PYX_VERIFY_RETURN_INT(GLboolean, digit, digits[0])
                case 2:
                    if (8 * sizeof(GLboolean) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLboolean, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLboolean) >= 2 * PyLong_SHIFT) {
                            return (GLboolean) (((((GLboolean)digits[1]) << PyLong_SHIFT) | (GLboolean)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(GLboolean) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLboolean, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLboolean) >= 3 * PyLong_SHIFT) {
                            return (GLboolean) (((((((GLboolean)digits[2]) << PyLong_SHIFT) | (GLboolean)digits[1]) << PyLong_SHIFT) | (GLboolean)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(GLboolean) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLboolean, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLboolean) >= 4 * PyLong_SHIFT) {
                            return (GLboolean) (((((((((GLboolean)digits[3]) << PyLong_SHIFT) | (GLboolean)digits[2]) << PyLong_SHIFT) | (GLboolean)digits[1]) << PyLong_SHIFT) | (GLboolean)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (GLboolean) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(GLboolean) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLboolean, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(GLboolean) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLboolean, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (GLboolean) 0;
                case -1: __PYX_VERIFY_RETURN_INT(GLboolean, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(GLboolean,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(GLboolean) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLboolean, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLboolean) - 1 > 2 * PyLong_SHIFT) {
                            return (GLboolean) (((GLboolean)-1)*(((((GLboolean)digits[1]) << PyLong_SHIFT) | (GLboolean)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(GLboolean) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLboolean, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLboolean) - 1 > 2 * PyLong_SHIFT) {
                            return (GLboolean) ((((((GLboolean)digits[1]) << PyLong_SHIFT) | (GLboolean)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(GLboolean) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLboolean, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLboolean) - 1 > 3 * PyLong_SHIFT) {
                            return (GLboolean) (((GLboolean)-1)*(((((((GLboolean)digits[2]) << PyLong_SHIFT) | (GLboolean)digits[1]) << PyLong_SHIFT) | (GLboolean)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(GLboolean) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLboolean, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLboolean) - 1 > 3 * PyLong_SHIFT) {
                            return (GLboolean) ((((((((GLboolean)digits[2]) << PyLong_SHIFT) | (GLboolean)digits[1]) << PyLong_SHIFT) | (GLboolean)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(GLboolean) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLboolean, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLboolean) - 1 > 4 * PyLong_SHIFT) {
                            return (GLboolean) (((GLboolean)-1)*(((((((((GLboolean)digits[3]) << PyLong_SHIFT) | (GLboolean)digits[2]) << PyLong_SHIFT) | (GLboolean)digits[1]) << PyLong_SHIFT) | (GLboolean)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(GLboolean) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLboolean, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLboolean) - 1 > 4 * PyLong_SHIFT) {
                            return (GLboolean) ((((((((((GLboolean)digits[3]) << PyLong_SHIFT) | (GLboolean)digits[2]) << PyLong_SHIFT) | (GLboolean)digits[1]) << PyLong_SHIFT) | (GLboolean)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(GLboolean) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLboolean, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(GLboolean) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLboolean, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            GLboolean val;
            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (GLboolean) -1;
        }
    } else {
        GLboolean val;
        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
        if (!tmp) return (GLboolean) -1;
        val = __Pyx_PyInt_As_GLboolean(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to GLboolean");
    return (GLboolean) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to GLboolean");
    return (GLboolean) -1;
}

/* CIntFromPy */
static CYTHON_INLINE GLsizei __Pyx_PyInt_As_GLsizei(PyObject *x) {
    const GLsizei neg_one = (GLsizei) ((GLsizei) 0 - (GLsizei) 1), const_zero = (GLsizei) 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(GLsizei) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(GLsizei, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (GLsizei) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (GLsizei) 0;
                case  1: __PYX_VERIFY_RETURN_INT(GLsizei, digit, digits[0])
                case 2:
                    if (8 * sizeof(GLsizei) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLsizei, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLsizei) >= 2 * PyLong_SHIFT) {
                            return (GLsizei) (((((GLsizei)digits[1]) << PyLong_SHIFT) | (GLsizei)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(GLsizei) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLsizei, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLsizei) >= 3 * PyLong_SHIFT) {
                            return (GLsizei) (((((((GLsizei)digits[2]) << PyLong_SHIFT) | (GLsizei)digits[1]) << PyLong_SHIFT) | (GLsizei)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(GLsizei) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLsizei, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLsizei) >= 4 * PyLong_SHIFT) {
                            return (GLsizei) (((((((((GLsizei)digits[3]) << PyLong_SHIFT) | (GLsizei)digits[2]) << PyLong_SHIFT) | (GLsizei)digits[1]) << PyLong_SHIFT) | (GLsizei)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (GLsizei) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(GLsizei) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLsizei, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(GLsizei) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLsizei, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (GLsizei) 0;
                case -1: __PYX_VERIFY_RETURN_INT(GLsizei, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(GLsizei,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(GLsizei) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLsizei, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLsizei) - 1 > 2 * PyLong_SHIFT) {
                            return (GLsizei) (((GLsizei)-1)*(((((GLsizei)digits[1]) << PyLong_SHIFT) | (GLsizei)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(GLsizei) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLsizei, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLsizei) - 1 > 2 * PyLong_SHIFT) {
                            return (GLsizei) ((((((GLsizei)digits[1]) << PyLong_SHIFT) | (GLsizei)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(GLsizei) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLsizei, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLsizei) - 1 > 3 * PyLong_SHIFT) {
                            return (GLsizei) (((GLsizei)-1)*(((((((GLsizei)digits[2]) << PyLong_SHIFT) | (GLsizei)digits[1]) << PyLong_SHIFT) | (GLsizei)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(GLsizei) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLsizei, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLsizei) - 1 > 3 * PyLong_SHIFT) {
                            return (GLsizei) ((((((((GLsizei)digits[2]) << PyLong_SHIFT) | (GLsizei)digits[1]) << PyLong_SHIFT) | (GLsizei)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(GLsizei) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLsizei, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLsizei) - 1 > 4 * PyLong_SHIFT) {
                            return (GLsizei) (((GLsizei)-1)*(((((((((GLsizei)digits[3]) << PyLong_SHIFT) | (GLsizei)digits[2]) << PyLong_SHIFT) | (GLsizei)digits[1]) << PyLong_SHIFT) | (GLsizei)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(GLsizei) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(GLsizei, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(GLsizei) - 1 > 4 * PyLong_SHIFT) {
                            return (GLsizei) ((((((((((GLsizei)digits[3]) << PyLong_SHIFT) | (GLsizei)digits[2]) << PyLong_SHIFT) | (GLsizei)digits[1]) << PyLong_SHIFT) | (GLsizei)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(GLsizei) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLsizei, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(GLsizei) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(GLsizei, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            GLsizei val;
            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (GLsizei) -1;
        }
    } else {
        GLsizei val;
        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
        if (!tmp) return (GLsizei) -1;
        val = __Pyx_PyInt_As_GLsizei(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to GLsizei");
    return (GLsizei) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to GLsizei");
    return (GLsizei) -1;
}

/* CIntToPy */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
    const long neg_one = (long) ((long) 0 - (long) 1), const_zero = (long) 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(long) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(long) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
#endif
        }
    } else {
        if (sizeof(long) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
#endif
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(long),
                                     little, !is_unsigned);
    }
}

/* CIntFromPy */
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
    const long neg_one = (long) ((long) 0 - (long) 1), const_zero = (long) 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(long) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(long, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (long) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (long) 0;
                case  1: __PYX_VERIFY_RETURN_INT(long, digit, digits[0])
                case 2:
                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) >= 2 * PyLong_SHIFT) {
                            return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) >= 3 * PyLong_SHIFT) {
                            return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) >= 4 * PyLong_SHIFT) {
                            return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (long) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(long) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (long) 0;
                case -1: __PYX_VERIFY_RETURN_INT(long, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(long,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(long) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
                            return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
                            return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
                            return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
                            return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
                            return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
                            return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(long) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            long val;
            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (long) -1;
        }
    } else {
        long val;
        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
        if (!tmp) return (long) -1;
        val = __Pyx_PyInt_As_long(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to long");
    return (long) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to long");
    return (long) -1;
}

/* FastTypeChecks */
#if CYTHON_COMPILING_IN_CPYTHON
static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
    while (a) {
        a = a->tp_base;
        if (a == b)
            return 1;
    }
    return b == &PyBaseObject_Type;
}
static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b) {
    PyObject *mro;
    if (a == b) return 1;
    mro = a->tp_mro;
    if (likely(mro)) {
        Py_ssize_t i, n;
        n = PyTuple_GET_SIZE(mro);
        for (i = 0; i < n; i++) {
            if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b)
                return 1;
        }
        return 0;
    }
    return __Pyx_InBases(a, b);
}
#if PY_MAJOR_VERSION == 2
static int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject* exc_type2) {
    PyObject *exception, *value, *tb;
    int res;
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __Pyx_ErrFetch(&exception, &value, &tb);
    res = exc_type1 ? PyObject_IsSubclass(err, exc_type1) : 0;
    if (unlikely(res == -1)) {
        PyErr_WriteUnraisable(err);
        res = 0;
    }
    if (!res) {
        res = PyObject_IsSubclass(err, exc_type2);
        if (unlikely(res == -1)) {
            PyErr_WriteUnraisable(err);
            res = 0;
        }
    }
    __Pyx_ErrRestore(exception, value, tb);
    return res;
}
#else
static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject *exc_type2) {
    int res = exc_type1 ? __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type1) : 0;
    if (!res) {
        res = __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type2);
    }
    return res;
}
#endif
static int __Pyx_PyErr_GivenExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) {
    Py_ssize_t i, n;
    assert(PyExceptionClass_Check(exc_type));
    n = PyTuple_GET_SIZE(tuple);
#if PY_MAJOR_VERSION >= 3
    for (i=0; i<n; i++) {
        if (exc_type == PyTuple_GET_ITEM(tuple, i)) return 1;
    }
#endif
    for (i=0; i<n; i++) {
        PyObject *t = PyTuple_GET_ITEM(tuple, i);
        #if PY_MAJOR_VERSION < 3
        if (likely(exc_type == t)) return 1;
        #endif
        if (likely(PyExceptionClass_Check(t))) {
            if (__Pyx_inner_PyErr_GivenExceptionMatches2(exc_type, NULL, t)) return 1;
        } else {
        }
    }
    return 0;
}
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject* exc_type) {
    if (likely(err == exc_type)) return 1;
    if (likely(PyExceptionClass_Check(err))) {
        if (likely(PyExceptionClass_Check(exc_type))) {
            return __Pyx_inner_PyErr_GivenExceptionMatches2(err, NULL, exc_type);
        } else if (likely(PyTuple_Check(exc_type))) {
            return __Pyx_PyErr_GivenExceptionMatchesTuple(err, exc_type);
        } else {
        }
    }
    return PyErr_GivenExceptionMatches(err, exc_type);
}
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *exc_type1, PyObject *exc_type2) {
    assert(PyExceptionClass_Check(exc_type1));
    assert(PyExceptionClass_Check(exc_type2));
    if (likely(err == exc_type1 || err == exc_type2)) return 1;
    if (likely(PyExceptionClass_Check(err))) {
        return __Pyx_inner_PyErr_GivenExceptionMatches2(err, exc_type1, exc_type2);
    }
    return (PyErr_GivenExceptionMatches(err, exc_type1) || PyErr_GivenExceptionMatches(err, exc_type2));
}
#endif

/* CheckBinaryVersion */
static int __Pyx_check_binary_version(void) {
    char ctversion[4], rtversion[4];
    PyOS_snprintf(ctversion, 4, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
    PyOS_snprintf(rtversion, 4, "%s", Py_GetVersion());
    if (ctversion[0] != rtversion[0] || ctversion[2] != rtversion[2]) {
        char message[200];
        PyOS_snprintf(message, sizeof(message),
                      "compiletime version %s of module '%.100s' "
                      "does not match runtime version %s",
                      ctversion, __Pyx_MODULE_NAME, rtversion);
        return PyErr_WarnEx(NULL, message, 1);
    }
    return 0;
}

/* VoidPtrImport */
#ifndef __PYX_HAVE_RT_ImportVoidPtr
#define __PYX_HAVE_RT_ImportVoidPtr
static int __Pyx_ImportVoidPtr(PyObject *module, const char *name, void **p, const char *sig) {
    PyObject *d = 0;
    PyObject *cobj = 0;
    d = PyObject_GetAttrString(module, (char *)"__pyx_capi__");
    if (!d)
        goto bad;
    cobj = PyDict_GetItemString(d, name);
    if (!cobj) {
        PyErr_Format(PyExc_ImportError,
            "%.200s does not export expected C variable %.200s",
                PyModule_GetName(module), name);
        goto bad;
    }
#if PY_VERSION_HEX >= 0x02070000
    if (!PyCapsule_IsValid(cobj, sig)) {
        PyErr_Format(PyExc_TypeError,
            "C variable %.200s.%.200s has wrong signature (expected %.500s, got %.500s)",
             PyModule_GetName(module), name, sig, PyCapsule_GetName(cobj));
        goto bad;
    }
    *p = PyCapsule_GetPointer(cobj, sig);
#else
    {const char *desc, *s1, *s2;
    desc = (const char *)PyCObject_GetDesc(cobj);
    if (!desc)
        goto bad;
    s1 = desc; s2 = sig;
    while (*s1 != '\0' && *s1 == *s2) { s1++; s2++; }
    if (*s1 != *s2) {
        PyErr_Format(PyExc_TypeError,
            "C variable %.200s.%.200s has wrong signature (expected %.500s, got %.500s)",
             PyModule_GetName(module), name, sig, desc);
        goto bad;
    }
    *p = PyCObject_AsVoidPtr(cobj);}
#endif
    if (!(*p))
        goto bad;
    Py_DECREF(d);
    return 0;
bad:
    Py_XDECREF(d);
    return -1;
}
#endif

/* InitStrings */
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
    while (t->p) {
        #if PY_MAJOR_VERSION < 3
        if (t->is_unicode) {
            *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL);
        } else if (t->intern) {
            *t->p = PyString_InternFromString(t->s);
        } else {
            *t->p = PyString_FromStringAndSize(t->s, t->n - 1);
        }
        #else
        if (t->is_unicode | t->is_str) {
            if (t->intern) {
                *t->p = PyUnicode_InternFromString(t->s);
            } else if (t->encoding) {
                *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL);
            } else {
                *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1);
            }
        } else {
            *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1);
        }
        #endif
        if (!*t->p)
            return -1;
        if (PyObject_Hash(*t->p) == -1)
            return -1;
        ++t;
    }
    return 0;
}

static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
    return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
}
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
    Py_ssize_t ignore;
    return __Pyx_PyObject_AsStringAndSize(o, &ignore);
}
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
#if !CYTHON_PEP393_ENABLED
static const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
    char* defenc_c;
    PyObject* defenc = _PyUnicode_AsDefaultEncodedString(o, NULL);
    if (!defenc) return NULL;
    defenc_c = PyBytes_AS_STRING(defenc);
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
    {
        char* end = defenc_c + PyBytes_GET_SIZE(defenc);
        char* c;
        for (c = defenc_c; c < end; c++) {
            if ((unsigned char) (*c) >= 128) {
                PyUnicode_AsASCIIString(o);
                return NULL;
            }
        }
    }
#endif
    *length = PyBytes_GET_SIZE(defenc);
    return defenc_c;
}
#else
static CYTHON_INLINE const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
    if (unlikely(__Pyx_PyUnicode_READY(o) == -1)) return NULL;
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
    if (likely(PyUnicode_IS_ASCII(o))) {
        *length = PyUnicode_GET_LENGTH(o);
        return PyUnicode_AsUTF8(o);
    } else {
        PyUnicode_AsASCIIString(o);
        return NULL;
    }
#else
    return PyUnicode_AsUTF8AndSize(o, length);
#endif
}
#endif
#endif
static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
    if (
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
            __Pyx_sys_getdefaultencoding_not_ascii &&
#endif
            PyUnicode_Check(o)) {
        return __Pyx_PyUnicode_AsStringAndSize(o, length);
    } else
#endif
#if (!CYTHON_COMPILING_IN_PYPY) || (defined(PyByteArray_AS_STRING) && defined(PyByteArray_GET_SIZE))
    if (PyByteArray_Check(o)) {
        *length = PyByteArray_GET_SIZE(o);
        return PyByteArray_AS_STRING(o);
    } else
#endif
    {
        char* result;
        int r = PyBytes_AsStringAndSize(o, &result, length);
        if (unlikely(r < 0)) {
            return NULL;
        } else {
            return result;
        }
    }
}
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
   int is_true = x == Py_True;
   if (is_true | (x == Py_False) | (x == Py_None)) return is_true;
   else return PyObject_IsTrue(x);
}
static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject* x) {
    int retval;
    if (unlikely(!x)) return -1;
    retval = __Pyx_PyObject_IsTrue(x);
    Py_DECREF(x);
    return retval;
}
static PyObject* __Pyx_PyNumber_IntOrLongWrongResultType(PyObject* result, const char* type_name) {
#if PY_MAJOR_VERSION >= 3
    if (PyLong_Check(result)) {
        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
                "__int__ returned non-int (type %.200s).  "
                "The ability to return an instance of a strict subclass of int "
                "is deprecated, and may be removed in a future version of Python.",
                Py_TYPE(result)->tp_name)) {
            Py_DECREF(result);
            return NULL;
        }
        return result;
    }
#endif
    PyErr_Format(PyExc_TypeError,
                 "__%.4s__ returned non-%.4s (type %.200s)",
                 type_name, type_name, Py_TYPE(result)->tp_name);
    Py_DECREF(result);
    return NULL;
}
static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x) {
#if CYTHON_USE_TYPE_SLOTS
  PyNumberMethods *m;
#endif
  const char *name = NULL;
  PyObject *res = NULL;
#if PY_MAJOR_VERSION < 3
  if (likely(PyInt_Check(x) || PyLong_Check(x)))
#else
  if (likely(PyLong_Check(x)))
#endif
    return __Pyx_NewRef(x);
#if CYTHON_USE_TYPE_SLOTS
  m = Py_TYPE(x)->tp_as_number;
  #if PY_MAJOR_VERSION < 3
  if (m && m->nb_int) {
    name = "int";
    res = m->nb_int(x);
  }
  else if (m && m->nb_long) {
    name = "long";
    res = m->nb_long(x);
  }
  #else
  if (likely(m && m->nb_int)) {
    name = "int";
    res = m->nb_int(x);
  }
  #endif
#else
  if (!PyBytes_CheckExact(x) && !PyUnicode_CheckExact(x)) {
    res = PyNumber_Int(x);
  }
#endif
  if (likely(res)) {
#if PY_MAJOR_VERSION < 3
    if (unlikely(!PyInt_Check(res) && !PyLong_Check(res))) {
#else
    if (unlikely(!PyLong_CheckExact(res))) {
#endif
        return __Pyx_PyNumber_IntOrLongWrongResultType(res, name);
    }
  }
  else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_TypeError,
                    "an integer is required");
  }
  return res;
}
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
  Py_ssize_t ival;
  PyObject *x;
#if PY_MAJOR_VERSION < 3
  if (likely(PyInt_CheckExact(b))) {
    if (sizeof(Py_ssize_t) >= sizeof(long))
        return PyInt_AS_LONG(b);
    else
        return PyInt_AsSsize_t(b);
  }
#endif
  if (likely(PyLong_CheckExact(b))) {
    #if CYTHON_USE_PYLONG_INTERNALS
    const digit* digits = ((PyLongObject*)b)->ob_digit;
    const Py_ssize_t size = Py_SIZE(b);
    if (likely(__Pyx_sst_abs(size) <= 1)) {
        ival = likely(size) ? digits[0] : 0;
        if (size == -1) ival = -ival;
        return ival;
    } else {
      switch (size) {
         case 2:
           if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) {
             return (Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case -2:
           if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) {
             return -(Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case 3:
           if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) {
             return (Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case -3:
           if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) {
             return -(Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case 4:
           if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) {
             return (Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case -4:
           if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) {
             return -(Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
      }
    }
    #endif
    return PyLong_AsSsize_t(b);
  }
  x = PyNumber_Index(b);
  if (!x) return -1;
  ival = PyInt_AsSsize_t(x);
  Py_DECREF(x);
  return ival;
}
static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) {
  return b ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False);
}
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
    return PyInt_FromSize_t(ival);
}


#endif /* Py_PYTHON_H */
