提交 5d115bbf 编写于 作者: A andrewhw

add opengl napi readme

Signed-off-by: Nandrewhw <zhangzhao62@huawei.com>
Change-Id: I6edc7a2f31976cc1a240d74f4c4697b34dac8189
上级 d28d3a9e
......@@ -14,6 +14,8 @@
| 标准C++库 | [libc++](https://libcxx.llvm.org/) 是C++标准库的一种实现。 |
| OpenSL ES | [OpenSL ES](https://www.khronos.org/registry/OpenSL-ES/)是一个嵌入式跨平台的音频处理库。 |
| zlib | [Zlib](https://zlib.net/)是基于C/C++语言实现的一个通用的数据压缩库。 |
| EGL | [EGL](https://www.khronos.org/egl/)是渲染API与底层原生窗口系统之间的一种标准的软件接口。 |
| OpenGL ES | [OpenGL ES](https://www.khronos.org/opengles/)是一个嵌入式跨平台的为 3D 图形处理硬件指定标准的软件接口。 |
## 标准C库
......@@ -71,3 +73,27 @@ C++11、C++14标准已完全支持,C++17和C++20标准正在完善。
## EGL
EGL 是Khronos渲染API (如OpenGL ES 或 OpenVG) 与底层原生窗口系统之间的接口。OpenHarmony 现已支持 EGL。
**标准库中导出的符号列表**
[native api中导出的EGL符号列表](../third_party_opengl/egl-symbol.md)
## OpenGL ES
OpenGL 是一种跨平台的图形 API,用于为 3D 图形处理硬件指定标准的软件接口。[OpenGL ES](https://www.khronos.org/opengles/) 是 OpenGL 规范的一种形式,适用于嵌入式设备。OpenHarmony 现已支持 OpenGL ES 3.0。
**支持的能力**
OpenGL ES 3.0
**标准库中导出的符号列表**
[native api中导出的OpenGL ES 3.0符号列表](../third_party_opengl/openglesv3-symbol.md)
**native api中导出的EGL符号列表**
|符号类型|符号名|备注|
| --- | --- | --- |
|FUNC|eglChooseConfig||
|FUNC|eglCopyBuffers||
|FUNC|eglCreateContext||
|FUNC|eglCreatePbufferSurface||
|FUNC|eglCreatePixmapSurface||
|FUNC|eglCreateWindowSurface||
|FUNC|eglDestroyContext||
|FUNC|eglDestroySurface||
|FUNC|eglGetConfigAttrib||
|FUNC|eglGetConfigs||
|FUNC|eglGetCurrentDisplay||
|FUNC|eglGetCurrentSurface||
|FUNC|eglGetDisplay||
|FUNC|eglGetError||
|FUNC|eglGetProcAddress||
|FUNC|eglInitialize||
|FUNC|eglMakeCurrent||
|FUNC|eglQueryContext||
|FUNC|eglQueryString||
|FUNC|eglQuerySurface||
|FUNC|eglSwapBuffers||
|FUNC|eglTerminate||
|FUNC|eglWaitGL||
|FUNC|eglWaitNative||
|FUNC|eglBindTexImage||
|FUNC|eglReleaseTexImage||
|FUNC|eglSurfaceAttrib||
|FUNC|eglSwapInterval||
|FUNC|eglBindAPI||
|FUNC|eglQueryAPI||
|FUNC|eglCreatePbufferFromClientBuffer||
|FUNC|eglReleaseThread||
|FUNC|eglWaitClient||
|FUNC|eglGetCurrentContext||
|FUNC|eglCreateSync||
|FUNC|eglDestroySync||
|FUNC|eglClientWaitSync||
|FUNC|eglGetSyncAttrib||
|FUNC|eglCreateImage||
|FUNC|eglDestroyImage||
|FUNC|eglGetPlatformDisplay||
|FUNC|eglCreatePlatformWindowSurface||
|FUNC|eglCreatePlatformPixmapSurface||
|FUNC|eglWaitSync||
**native api中导出的OpenGL ES 3.0符号列表**
|符号类型|符号名|备注|
| --- | --- | --- |
|FUNC|glActiveShaderProgram||
|FUNC|glActiveTexture||
|FUNC|glAttachShader||
|FUNC|glBeginQuery||
|FUNC|glBeginTransformFeedback||
|FUNC|glBindAttribLocation||
|FUNC|glBindBuffer||
|FUNC|glBindBufferBase||
|FUNC|glBindBufferRange||
|FUNC|glBindFramebuffer||
|FUNC|glBindImageTexture||
|FUNC|glBindProgramPipeline||
|FUNC|glBindRenderbuffer||
|FUNC|glBindSampler||
|FUNC|glBindTexture||
|FUNC|glBindTransformFeedback||
|FUNC|glBindVertexArray||
|FUNC|glBindVertexBuffer||
|FUNC|glBlendBarrier||
|FUNC|glBlendColor||
|FUNC|glBlendEquation||
|FUNC|glBlendEquationi||
|FUNC|glBlendEquationSeparate||
|FUNC|glBlendEquationSeparatei||
|FUNC|glBlendFunc||
|FUNC|glBlendFunci||
|FUNC|glBlendFuncSeparate||
|FUNC|glBlendFuncSeparatei||
|FUNC|glBlitFramebuffer||
|FUNC|glBufferData||
|FUNC|glBufferSubData||
|FUNC|glCheckFramebufferStatus||
|FUNC|glClear||
|FUNC|glClearBufferfi||
|FUNC|glClearBufferfv||
|FUNC|glClearBufferiv||
|FUNC|glClearBufferuiv||
|FUNC|glClearColor||
|FUNC|glClearDepthf||
|FUNC|glClearStencil||
|FUNC|glClientWaitSync||
|FUNC|glColorMask||
|FUNC|glColorMaski||
|FUNC|glCompileShader||
|FUNC|glCompressedTexImage2D||
|FUNC|glCompressedTexImage3D||
|FUNC|glCompressedTexSubImage2D||
|FUNC|glCompressedTexSubImage3D||
|FUNC|glCopyBufferSubData||
|FUNC|glCopyImageSubData||
|FUNC|glCopyTexImage2D||
|FUNC|glCopyTexSubImage2D||
|FUNC|glCopyTexSubImage3D||
|FUNC|glCreateProgram||
|FUNC|glCreateShader||
|FUNC|glCreateShaderProgramv||
|FUNC|glCullFace||
|FUNC|glDebugMessageCallback||
|FUNC|glDebugMessageControl||
|FUNC|glDebugMessageInsert||
|FUNC|glDeleteBuffers||
|FUNC|glDeleteFramebuffers||
|FUNC|glDeleteProgram||
|FUNC|glDeleteProgramPipelines||
|FUNC|glDeleteQueries||
|FUNC|glDeleteRenderbuffers||
|FUNC|glDeleteSamplers||
|FUNC|glDeleteShader||
|FUNC|glDeleteSync||
|FUNC|glDeleteTextures||
|FUNC|glDeleteTransformFeedbacks||
|FUNC|glDeleteVertexArrays||
|FUNC|glDepthFunc||
|FUNC|glDepthMask||
|FUNC|glDepthRangef||
|FUNC|glDetachShader||
|FUNC|glDisable||
|FUNC|glDisablei||
|FUNC|glDisableVertexAttribArray||
|FUNC|glDispatchCompute||
|FUNC|glDispatchComputeIndirect||
|FUNC|glDrawArrays||
|FUNC|glDrawArraysIndirect||
|FUNC|glDrawArraysInstanced||
|FUNC|glDrawBuffers||
|FUNC|glDrawElements||
|FUNC|glDrawElementsBaseVertex||
|FUNC|glDrawElementsIndirect||
|FUNC|glDrawElementsInstanced||
|FUNC|glDrawElementsInstancedBaseVertex||
|FUNC|glDrawRangeElements||
|FUNC|glDrawRangeElementsBaseVertex||
|FUNC|glEnable||
|FUNC|glEnablei||
|FUNC|glEnableVertexAttribArray||
|FUNC|glEndQuery||
|FUNC|glEndTransformFeedback||
|FUNC|glFenceSync||
|FUNC|glFinish||
|FUNC|glFlush||
|FUNC|glFlushMappedBufferRange||
|FUNC|glFramebufferParameteri||
|FUNC|glFramebufferRenderbuffer||
|FUNC|glFramebufferTexture||
|FUNC|glFramebufferTexture2D||
|FUNC|glFramebufferTextureLayer||
|FUNC|glFrontFace||
|FUNC|glGenBuffers||
|FUNC|glGenerateMipmap||
|FUNC|glGenFramebuffers||
|FUNC|glGenProgramPipelines||
|FUNC|glGenQueries||
|FUNC|glGenRenderbuffers||
|FUNC|glGenSamplers||
|FUNC|glGenTextures||
|FUNC|glGenTransformFeedbacks||
|FUNC|glGenVertexArrays||
|FUNC|glGetActiveAttrib||
|FUNC|glGetActiveUniform||
|FUNC|glGetActiveUniformBlockiv||
|FUNC|glGetActiveUniformBlockName||
|FUNC|glGetActiveUniformsiv||
|FUNC|glGetAttachedShaders||
|FUNC|glGetAttribLocation||
|FUNC|glGetBooleani_v||
|FUNC|glGetBooleanv||
|FUNC|glGetBufferParameteri64v||
|FUNC|glGetBufferParameteriv||
|FUNC|glGetBufferPointerv||
|FUNC|glGetDebugMessageLog||
|FUNC|glGetError||
|FUNC|glGetFloatv||
|FUNC|glGetFragDataLocation||
|FUNC|glGetFramebufferAttachmentParameteriv||
|FUNC|glGetFramebufferParameteriv||
|FUNC|glGetGraphicsResetStatus||
|FUNC|glGetInteger64i_v||
|FUNC|glGetInteger64v||
|FUNC|glGetIntegeri_v||
|FUNC|glGetIntegerv||
|FUNC|glGetInternalformativ||
|FUNC|glGetMultisamplefv||
|FUNC|glGetnUniformfv||
|FUNC|glGetnUniformiv||
|FUNC|glGetnUniformuiv||
|FUNC|glGetObjectLabel||
|FUNC|glGetObjectPtrLabel||
|FUNC|glGetPointerv||
|FUNC|glGetProgramBinary||
|FUNC|glGetProgramInfoLog||
|FUNC|glGetProgramInterfaceiv||
|FUNC|glGetProgramiv||
|FUNC|glGetProgramPipelineInfoLog||
|FUNC|glGetProgramPipelineiv||
|FUNC|glGetProgramResourceIndex||
|FUNC|glGetProgramResourceiv||
|FUNC|glGetProgramResourceLocation||
|FUNC|glGetProgramResourceName||
|FUNC|glGetQueryiv||
|FUNC|glGetQueryObjectuiv||
|FUNC|glGetRenderbufferParameteriv||
|FUNC|glGetSamplerParameterfv||
|FUNC|glGetSamplerParameterIiv||
|FUNC|glGetSamplerParameterIuiv||
|FUNC|glGetSamplerParameteriv||
|FUNC|glGetShaderInfoLog||
|FUNC|glGetShaderiv||
|FUNC|glGetShaderPrecisionFormat||
|FUNC|glGetShaderSource||
|FUNC|glGetString||
|FUNC|glGetStringi||
|FUNC|glGetSynciv||
|FUNC|glGetTexLevelParameterfv||
|FUNC|glGetTexLevelParameteriv||
|FUNC|glGetTexParameterfv||
|FUNC|glGetTexParameterIiv||
|FUNC|glGetTexParameterIuiv||
|FUNC|glGetTexParameteriv||
|FUNC|glGetTransformFeedbackVarying||
|FUNC|glGetUniformBlockIndex||
|FUNC|glGetUniformfv||
|FUNC|glGetUniformIndices||
|FUNC|glGetUniformiv||
|FUNC|glGetUniformLocation||
|FUNC|glGetUniformuiv||
|FUNC|glGetVertexAttribfv||
|FUNC|glGetVertexAttribIiv||
|FUNC|glGetVertexAttribIuiv||
|FUNC|glGetVertexAttribiv||
|FUNC|glGetVertexAttribPointerv||
|FUNC|glHint||
|FUNC|glInvalidateFramebuffer||
|FUNC|glInvalidateSubFramebuffer||
|FUNC|glIsBuffer||
|FUNC|glIsEnabled||
|FUNC|glIsEnabledi||
|FUNC|glIsFramebuffer||
|FUNC|glIsProgram||
|FUNC|glIsProgramPipeline||
|FUNC|glIsQuery||
|FUNC|glIsRenderbuffer||
|FUNC|glIsSampler||
|FUNC|glIsShader||
|FUNC|glIsSync||
|FUNC|glIsTexture||
|FUNC|glIsTransformFeedback||
|FUNC|glIsVertexArray||
|FUNC|glLineWidth||
|FUNC|glLinkProgram||
|FUNC|glMapBufferRange||
|FUNC|glMemoryBarrier||
|FUNC|glMemoryBarrierByRegion||
|FUNC|glMinSampleShading||
|FUNC|glObjectLabel||
|FUNC|glObjectPtrLabel||
|FUNC|glPatchParameteri||
|FUNC|glPauseTransformFeedback||
|FUNC|glPixelStorei||
|FUNC|glPolygonOffset||
|FUNC|glPopDebugGroup||
|FUNC|glPrimitiveBoundingBox||
|FUNC|glProgramBinary||
|FUNC|glProgramParameteri||
|FUNC|glProgramUniform1f||
|FUNC|glProgramUniform1fv||
|FUNC|glProgramUniform1i||
|FUNC|glProgramUniform1iv||
|FUNC|glProgramUniform1ui||
|FUNC|glProgramUniform1uiv||
|FUNC|glProgramUniform2f||
|FUNC|glProgramUniform2fv||
|FUNC|glProgramUniform2i||
|FUNC|glProgramUniform2iv||
|FUNC|glProgramUniform2ui||
|FUNC|glProgramUniform2uiv||
|FUNC|glProgramUniform3f||
|FUNC|glProgramUniform3fv||
|FUNC|glProgramUniform3i||
|FUNC|glProgramUniform3iv||
|FUNC|glProgramUniform3ui||
|FUNC|glProgramUniform3uiv||
|FUNC|glProgramUniform4f||
|FUNC|glProgramUniform4fv||
|FUNC|glProgramUniform4i||
|FUNC|glProgramUniform4iv||
|FUNC|glProgramUniform4ui||
|FUNC|glProgramUniform4uiv||
|FUNC|glProgramUniformMatrix2fv||
|FUNC|glProgramUniformMatrix2x3fv||
|FUNC|glProgramUniformMatrix2x4fv||
|FUNC|glProgramUniformMatrix3fv||
|FUNC|glProgramUniformMatrix3x2fv||
|FUNC|glProgramUniformMatrix3x4fv||
|FUNC|glProgramUniformMatrix4fv||
|FUNC|glProgramUniformMatrix4x2fv||
|FUNC|glProgramUniformMatrix4x3fv||
|FUNC|glPushDebugGroup||
|FUNC|glReadBuffer||
|FUNC|glReadnPixels||
|FUNC|glReadPixels||
|FUNC|glReleaseShaderCompiler||
|FUNC|glRenderbufferStorage||
|FUNC|glRenderbufferStorageMultisample||
|FUNC|glResumeTransformFeedback||
|FUNC|glSampleCoverage||
|FUNC|glSampleMaski||
|FUNC|glSamplerParameterf||
|FUNC|glSamplerParameterfv||
|FUNC|glSamplerParameteri||
|FUNC|glSamplerParameterIiv||
|FUNC|glSamplerParameterIuiv||
|FUNC|glSamplerParameteriv||
|FUNC|glScissor||
|FUNC|glShaderBinary||
|FUNC|glShaderSource||
|FUNC|glStencilFunc||
|FUNC|glStencilFuncSeparate||
|FUNC|glStencilMask||
|FUNC|glStencilMaskSeparate||
|FUNC|glStencilOp||
|FUNC|glStencilOpSeparate||
|FUNC|glTexBuffer||
|FUNC|glTexBufferRange||
|FUNC|glTexImage2D||
|FUNC|glTexImage3D||
|FUNC|glTexParameterf||
|FUNC|glTexParameterfv||
|FUNC|glTexParameteri||
|FUNC|glTexParameterIiv||
|FUNC|glTexParameterIuiv||
|FUNC|glTexParameteriv||
|FUNC|glTexStorage2D||
|FUNC|glTexStorage2DMultisample||
|FUNC|glTexStorage3D||
|FUNC|glTexStorage3DMultisample||
|FUNC|glTexSubImage2D||
|FUNC|glTexSubImage3D||
|FUNC|glTransformFeedbackVaryings||
|FUNC|glUniform1f||
|FUNC|glUniform1fv||
|FUNC|glUniform1i||
|FUNC|glUniform1iv||
|FUNC|glUniform1ui||
|FUNC|glUniform1uiv||
|FUNC|glUniform2f||
|FUNC|glUniform2fv||
|FUNC|glUniform2i||
|FUNC|glUniform2iv||
|FUNC|glUniform2ui||
|FUNC|glUniform2uiv||
|FUNC|glUniform3f||
|FUNC|glUniform3fv||
|FUNC|glUniform3i||
|FUNC|glUniform3iv||
|FUNC|glUniform3ui||
|FUNC|glUniform3uiv||
|FUNC|glUniform4f||
|FUNC|glUniform4fv||
|FUNC|glUniform4i||
|FUNC|glUniform4iv||
|FUNC|glUniform4ui||
|FUNC|glUniform4uiv||
|FUNC|glUniformBlockBinding||
|FUNC|glUniformMatrix2fv||
|FUNC|glUniformMatrix2x3fv||
|FUNC|glUniformMatrix2x4fv||
|FUNC|glUniformMatrix3fv||
|FUNC|glUniformMatrix3x2fv||
|FUNC|glUniformMatrix3x4fv||
|FUNC|glUniformMatrix4fv||
|FUNC|glUniformMatrix4x2fv||
|FUNC|glUniformMatrix4x3fv||
|FUNC|glUnmapBuffer||
|FUNC|glUseProgram||
|FUNC|glUseProgramStages||
|FUNC|glValidateProgram||
|FUNC|glValidateProgramPipeline||
|FUNC|glVertexAttrib1f||
|FUNC|glVertexAttrib1fv||
|FUNC|glVertexAttrib2f||
|FUNC|glVertexAttrib2fv||
|FUNC|glVertexAttrib3f||
|FUNC|glVertexAttrib3fv||
|FUNC|glVertexAttrib4f||
|FUNC|glVertexAttrib4fv||
|FUNC|glVertexAttribBinding||
|FUNC|glVertexAttribDivisor||
|FUNC|glVertexAttribFormat||
|FUNC|glVertexAttribI4i||
|FUNC|glVertexAttribI4iv||
|FUNC|glVertexAttribI4ui||
|FUNC|glVertexAttribI4uiv||
|FUNC|glVertexAttribIFormat||
|FUNC|glVertexAttribIPointer||
|FUNC|glVertexAttribPointer||
|FUNC|glVertexBindingDivisor||
|FUNC|glViewport||
|FUNC|glWaitSync||
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册