func MakeCurrent( disp Display, draw Surface, read Surface, ctx Context) bool { return goBoolean(C.eglMakeCurrent( C.EGLDisplay(unsafe.Pointer(disp)), C.EGLSurface(unsafe.Pointer(draw)), C.EGLSurface(unsafe.Pointer(read)), C.EGLContext(unsafe.Pointer(ctx)))) }
func ReleaseTexImage( disp Display, surface Surface, buffer int32) bool { return goBoolean(C.eglReleaseTexImage( C.EGLDisplay(unsafe.Pointer(disp)), C.EGLSurface(unsafe.Pointer(surface)), C.EGLint(buffer))) }
func SurfaceAttrib(disp Display, surface Surface, attribute int32, value int32) bool { return goBoolean(C.eglSurfaceAttrib(C.EGLDisplay(unsafe.Pointer(disp)), C.EGLSurface(unsafe.Pointer(surface)), C.EGLint(attribute), C.EGLint(value))) }
func CopyBuffers( disp Display, surface Surface, target NativePixmapType) bool { return goBoolean(C.eglCopyBuffers( C.EGLDisplay(unsafe.Pointer(disp)), C.EGLSurface(unsafe.Pointer(surface)), C.EGLNativePixmapType(uintptr(target)))) }
func QuerySurface( disp Display, surface Surface, attribute int32, value *int32) bool { return goBoolean(C.eglQuerySurface( C.EGLDisplay(unsafe.Pointer(disp)), C.EGLSurface(unsafe.Pointer(surface)), C.EGLint(attribute), (*C.EGLint)(value))) }
func DestroySurface(disp Display, surface Surface) bool { return goBoolean(C.eglDestroySurface(C.EGLDisplay(unsafe.Pointer(disp)), C.EGLSurface(unsafe.Pointer(surface)))) }
func SwapBuffers(disp Display, surface Surface) bool { return goBoolean(C.eglSwapBuffers(C.EGLDisplay(unsafe.Pointer(disp)), C.EGLSurface(unsafe.Pointer(surface)))) }