[Mesa-dev] Regading OpenGLES2 on Linux

Michel Dänzer michel at daenzer.net
Thu Jan 31 02:23:34 PST 2013


On Don, 2013-01-31 at 09:29 +0000, Ramesh Reddy Emmadi wrote: 
> 
>         OpenGL:          no (ES1: no ES2: yes)

[...]

> make[4]: Entering directory `/home/amd/Downloads/testtrails/mesa-mesa-9.0.1/src/mesa'
> 
>   CC     api_arrayelt.lo
> 
>   CC     api_exec.lo
> 
> ../../src/mesa/main/api_exec.c: In function '_mesa_create_exec_table':
> 
> ../../src/mesa/main/api_exec.c:132:4: warning: passing argument 1 of '_mesa_loopback_init_api_table' from incompatible pointer type [enabled by default]
> 
> ../../src/mesa/main/api_loopback.h:44:1: note: expected 'struct _glapi_table *' but argument is of type 'struct gl_context *'
> 
> ../../src/mesa/main/api_exec.c:132:4: error: too many arguments to function '_mesa_loopback_init_api_table'
> 
> ../../src/mesa/main/api_loopback.h:44:1: note: declared here
> 
> ../../src/mesa/main/api_exec.c:525:40: error: '_mesa_GetVertexAttribPointervNV' undeclared (first use in this function)
> 
> ../../src/mesa/main/api_exec.c:525:40: note: each undeclared identifier is reported only once for each function it appears in
> 
> make[4]: *** [api_exec.lo] Error 1
> 
> 
> 
> Can you please let us know whether  we can build the mesa for only
> opengles2 without opengl ? (--disable-opengles2 and –disable-opengl),
> and if it is how to build mesa for opengles2 only.

Does it help if you add --enable-gallium-egl and/or --with-dri-drivers''
to the configure arguments?

If not, I'm afraid your findings indicate GLES2 without OpenGL doesn't
work with 8.0 or 9.0. FWIW though, I just tried it with current Git
master, and it seems to work fine.


> And I have looked at  : http://mesa3d.org/opengles.html and in this
> they mentioned –enable-opengles2 and –enable-opengles2 for Gallium
> driver hardware. To work with gallium driver is it required both
> opengles1 and opengles2?

No, enabling only opengles2 seems to work fine.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list