Hi,

It has been a month and several weeks since my last try.  Comparing to
the last try, the number of patches goes down from 34 to 12.  Most of
them have gone into the master.  Due to the size, the patch series is
uploaded elsewhere

http://0xlab.org/~olv/mesa-es-try2/ or
http://0xlab.org/~olv/mesa-es-try2.tar.gz

It is also browseable from

http://www.gitorious.org/android-eeepc/mesa/commits/mesa-es

The patch series starts with smaller changes to mesa core and glapi.
They add some opengl es bits to mesa core, and more importantly, change
the glapi so that different sets of generated headers/sources can be
used.  Despite the changes, the compiled objects should be exact the
same as before, except that several symbols are made global.  There is
no regression expected.

By changing the generated headers (and others) to use, it is possible to
build

* libmesa.a, libmesagallium.a and libglapi.a for OpenGL
* libes1.a, libes1gallium.a and libes1api.a for OpenGL ES 1.x
* libes2.a, libes2gallium.a and libes2api.a for OpenGL ES 2.x

at the same time.  They are parallel, and analogous.  The ES variants of
the headers/sources are generated from a new set of glapi XMLs for
OpenGL ES.  I do not pre-generate them, which makes python a dependency
of OpenGL ES overlay at build time.  This is mainly to keep the patch
series pure.  It can always be changed.

The resulting libraries can be used just like how libmesa*.a and
libglapi.a are used.  Patch 11 uses them to create the final
libGLESv1_CM.so and libGLESv2.so.

They can be built through

$ make -C src/mesa/es/
$ make -C src/gallium/state_trackers/es/

They are tested to work with the demos from opengl-es branch, which are
included as the last patch.  There are some known issues not revealed by
the demos though.  For example, GL_TEXTURE_GEN_STR_OES is not supported.
I prefer to fix them after this series.

-- 
Regards,
olv

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to