[Mesa-dev] Getting Hw Acceleration without X-Window
clurado1980 at gmail.com
Wed Nov 3 12:53:06 PDT 2010
Can wayland be ported for use of gles1 ?! i saw compositor-drm.c , but for
me , its a little hard to know whats kristian does . it does compositing
and idont need that. can u explain more !?
it uses dri2 , but from here : http://www.mesa3d.org/egl.html . DRI2 have x
surface unlinke dri1 it doesnt have framebuffer surface .
so how it used in wayland ?!
On Wed, Nov 3, 2010 at 11:07 PM, Chia-I Wu <olvaffe at gmail.com> wrote:
> 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
> > 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
> > .
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mesa-dev