[Mesa-dev] Getting Hw Acceleration without X-Window

Chia-I Wu olvaffe at gmail.com
Wed Nov 3 12:37:31 PDT 2010


On Thu, Nov 4, 2010 at 1:53 AM, Clurado cl <clurado1980 at gmail.com> wrote:
>
> Hi all , its interesting topic ,
>
> Q: simply i want to know is there any way to get Hw Accl 3d with DRI and
> draw it on the screen without x ( also glx ) ?!
>
> my first approach is wayland but my device doesnt support pixel and vector
> shaders , so i cant use gles2 ( wayland requires )
>
> second is egl/dri ( one ) but this egl driver was deprecated from mesa .
>
> third is miniglx , its dead ( is it functional ?! )
>
> there are some other approches but non of them can power the intel hardwares
> .
>
> so i want to disscuss with u about the topic .
>
> Q: can we use egl and egl_dri2 ?!
Yes.  Take a look at compositor-drm.c in Wayland.

Basically, you need to use EGL_MESA_drm_image to create two EGLImages.
At any given time, one of them attached to an FBO for (GLES1)
rendering and the other is used by the hardware for scanning out.
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>



-- 
olv at LunarG.com


More information about the mesa-dev mailing list