func BindAPI(api int) error { success := C.eglBindAPI(C.EGLenum(api)) if success == C.EGL_FALSE { return getError() } return nil }
func CreatePbufferFromClientBuffer(disp Display, buftype Enum, config Config, buffer ClientBuffer, attribList *int32) Surface { return Surface(C.eglCreatePbufferFromClientBuffer(C.EGLDisplay(unsafe.Pointer(disp)), C.EGLenum(buftype), C.EGLClientBuffer(buffer), C.EGLConfig(unsafe.Pointer(config)), (*C.EGLint)(attribList))) }
func BindAPI(api Enum) bool { return goBoolean(C.eglBindAPI(C.EGLenum(api))) }