EGL & OpenGLES2 without X

Will Wagner <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
Hello,

I am hoping to use Mesa to provide EGL and OpenGLES2 without any 
dependency on X on intel hardware. I am using version 10.2.rc3.

I am configuring mesa to include the gallium i915 driver, the exact 
command I use is:

./configure --disable-glx --disable-xa --disable-static --enable-opengl 
--enable-shared-glapi --with-gallium-drivers=i915 --without-dri-drivers 
--enable-gallium-egl --enable-gbm --enable-egl --with-egl-platforms=drm 
--enable-gles1 --enable-gles2

This produces a couple of egl drivers - egl_gallium and egl_dri2

I am able to run the es2gears example and that works correctly. However 
my application fails to run as it is unable to create a surface.

Looking at the es2gears example it uses eglCreateScreenSurfaceMESA to 
create the surface whereas my application uses eglCreateWindowSurface.

Also es2gears uses surface type EGL_SCREEN_BIT_MESA but I want to use 
EGL_WINDOW_BIT

Is it possible to build mesa without X so that it supports the standard 
EGL calls or is there no way of doing this without using the mesa extension?

Many thanks,
Will


-- 
------------------------------------------------------------------------
Will Wagner                                     [email protected]
Development Manager                      Office Tel: +44 (0)20 7471 9224
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.