<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android-x86-mesa.git/src/mapi/shared-glapi/SConscript, branch r300</title>
<subtitle>Androïd/x86 port of Mesa drivers
</subtitle>
<id>https://git.hiegel.fr/cgit/android-x86-mesa.git/atom?h=r300</id>
<link rel='self' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/atom?h=r300'/>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/'/>
<updated>2011-01-22T03:59:05Z</updated>
<entry>
<title>scons: Add support for GLES.</title>
<updated>2011-01-22T03:59:05Z</updated>
<author>
<name>Chia-I Wu</name>
<email>olv@lunarg.com</email>
</author>
<published>2011-01-14T09:50:29Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/android-x86-mesa.git/commit/?id=bb770af3a59e5935c108c05ee45490fc5668d4a3'/>
<id>urn:sha1:bb770af3a59e5935c108c05ee45490fc5668d4a3</id>
<content type='text'>
GLES can be enabled by running scons with

  $ scons gles=yes

When gles=yes is given, the build is changed in three ways.  First,
libmesa.a will be built with FEATURE_ES1 and FEATURE_ES2.  This makes
DRI drivers and libEGL support and advertise GLES support.  Second, GLES
libraries will be created.  They are libGLESv1_CM, libGLESv2, and
libglapi.  Last, libGL or opengl32 will link to libglapi.  This change
is required as _glapi_* will be declared as __declspec(dllimport) in
libmesa.a on windows.  libmesa.a expects those symbols to be defined in
another DLL.  Due to this change to GL, GLES support is marked
experimental.

Note that GLES requires libxml2-python to generate some of its sources.
</content>
</entry>
</feed>
