From 7a8d0d8bc2572707c9d35006f30ea835c86954b0 Mon Sep 17 00:00:00 2001 From: sotech117 Date: Tue, 9 Apr 2024 03:14:17 -0400 Subject: first draft to generate waves --- .../sdk/docs/man/html/eglBindAPI.xhtml | 160 +++++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 glew/auto/EGL-Registry/sdk/docs/man/html/eglBindAPI.xhtml (limited to 'glew/auto/EGL-Registry/sdk/docs/man/html/eglBindAPI.xhtml') diff --git a/glew/auto/EGL-Registry/sdk/docs/man/html/eglBindAPI.xhtml b/glew/auto/EGL-Registry/sdk/docs/man/html/eglBindAPI.xhtml new file mode 100644 index 0000000..dbf34c3 --- /dev/null +++ b/glew/auto/EGL-Registry/sdk/docs/man/html/eglBindAPI.xhtml @@ -0,0 +1,160 @@ + + + + eglBindAPI - EGL Reference Pages + + + + +
+
+
+
+

Name

+

eglBindAPI — Set the current rendering API

+
+
+

C Specification

+
+ + + + + +
+ EGLBoolean eglBindAPI( + EGLenum api);
+
 
+
+
+
+

Parameters

+
+
+
+ + + api + + +
+
+

+ Specifies the client API to bind, one of + EGL_OPENGL_API, + EGL_OPENGL_ES_API, or + EGL_OPENVG_API. +

+
+
+
+
+
+

Description

+

+ eglBindAPI defines the current + rendering API for EGL in the thread it is called from. The + current rendering API is one of the client rendering APIs + supported by the EGL implementation, and affects the + behavior of other EGL commands including + eglCreateContext, + eglGetCurrentContext, + eglGetCurrentDisplay, + eglGetCurrentSurface, + eglMakeCurrent, + eglSwapInterval, + eglWaitClient, and + eglWaitNative. +

+

+ If api is + EGL_OPENGL_API, the current rendering + API is set to the OpenGL API. +

+

+ If api is + EGL_OPENGL_ES_API, the current + rendering API is set to the OpenGL ES API. +

+

+ If api is + EGL_OPENVG_API, the current rendering + API is set to the OpenVG API. +

+

+ If an error occurs, the current rendering API is unchanged. +

+
+
+

Notes

+

+ eglBindAPI and the corresponding + EGL_OPENGL_ES_API and + EGL_OPENVG_API + api parameters are supported only if + the EGL version is 1.2 or greater. The + EGL_OPENGL_API parameter is supported + only if the EGL version is 1.4 or greater. +

+

+ The initial value of the current rendering API is + EGL_OPENGL_ES_API unless OpenGL ES is + not supported by an implementation, in which case the + initial value is EGL_NONE (however, + EGL_NONE is not a valid + api parameter to + eglBindAPI). +

+

+ The current rendering API can be queried by calling + eglQueryAPI. +

+
+
+

Errors

+

+ EGL_FALSE is returned on failure. +

+

+ EGL_BAD_PARAMETER is generated if + api is not one of the accepted + tokens, or if the specified client API is not supported by + the EGL implementation. +

+
+ +

+

+ +

+

+
+