Hi all, I want to talk a little about the status of opengl-es-v2 branch and how I plan to merge it. If the timing is fine for everyone, I want to merge the branch to master next Tuesday or Wednesday.
There is a document that can be found at docs/opengles.html. It is a short guide to users on how to configure and build OpenGL ES. There is also a section talking about the design in a high level. The core of OpenGL ES is the ES overlay, living under src/mesa/es/. The directory is parallely buildable with src/mesa/ and they together will give * libmesagallium.a and libglapi.a, for OpenGL * libes1.a and libes1api.a, for OpenGL ES 1.x * libes2.a and libes2api.a, for OpenGL ES 2.x The directory src/gallium/state_trackers/es/ contains mainly Makefile rules to build final libGLESv1_CM.so and libGLESv2.so from libes?.a and libes?api.a. There are demos under progs/ that one may use to test the build. As the ES overlay is quite self-contained, I don't expect any regression to the existing code (finger crossed). "git diff --stat 077d6dd" should list all changes in the branch. There are updates to configure.ac, src/gallium/winsys/drm/*/egl/, and src/mesa/main/ for OpenGL ES. However, the most significant change is in src/mesa/glapi/. All #include's of generated headers in glapi/ are prefixed by "glapi/". This allows different sets of generated headers to be used. Some python scripts are given a "-c" option to generated ES overlay compatible headers. A concrete example is in generation of glapidispatch.h. There is #define GET_ActiveTextureARB(disp) ((disp)->ActiveTextureARB) When "-c" is given, it will also have #define GET_ActiveTexture(disp) GET_ActiveTextureARB(disp) Note that "-c" is not passed when generating OpenGL glapi headers and the change makes no difference for them. Another change to glapi is in generation of glapitemp.h. It is now possible to compile src/mesa/drivers/x11/ and src/gallium/winsys/xlib/ with or without GLX_INDIRECT_RENDERING. If one happes to ever experience the errors like "undefined reference to glAreTexturesResident" using fakeglx, the problem should be no more. I hope this mail can give you the overall changes in opengl-es-v2. If there are any concern to the merge or improvements I need to make, please let me know. -olv ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev