码迷,mamicode.com
首页 > 移动开发 > 详细

android opengl es 源码

时间:2016-01-10 23:59:10      阅读:373      评论:0      收藏:0      [点我收藏+]

标签:

【转自:http://blog.csdn.net/happyhell/article/details/6086973】

The entire OpenGL ES API on Android is implemented in three libraries, located under /system/lib (for more information about OpenGL ES visit the official Khronos page):


* libEGL.so: implementation of the EGL common platform interface layer (see Khronos page).
* libGLESv1_CM.so: implementation of the OpenGL ES 1.X API
* libGLESv2.so: implementation of the OpenGL ES 2.X API.

 

Those libraries are actually hooks to the proprietary driver implementation located under /system/lib/egl:
libEGL_adreno200.so, libGLESv1_CM_adreno200.so, libGLESv2_adreno200.so.

 

There’s also a software GLES implementation library there, called: libGLES_android.so.

 

The egl.cfg file defines the names of libraries used for hooking.

 

The source code of those libraries is located under: frameworks/base/opengl/libs.

android opengl es 源码

标签:

原文地址:http://www.cnblogs.com/donghua/p/5119784.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!