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 !?<br><br>it uses dri2 , but from here : <a href="http://www.mesa3d.org/egl.html">http://www.mesa3d.org/egl.html</a> . DRI2 have x surface unlinke dri1 it doesnt have framebuffer surface .<br>
<br>so how it used in wayland ?!<br><br><div class="gmail_quote">On Wed, Nov 3, 2010 at 11:07 PM, Chia-I Wu <span dir="ltr"><<a href="mailto:olvaffe@gmail.com">olvaffe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Thu, Nov 4, 2010 at 1:53 AM, Clurado cl <<a href="mailto:clurado1980@gmail.com">clurado1980@gmail.com</a>> wrote:<br>
><br>
> Hi all , its interesting topic ,<br>
><br>
> Q: simply i want to know is there any way to get Hw Accl 3d with DRI and<br>
> draw it on the screen without x ( also glx ) ?!<br>
><br>
> my first approach is wayland but my device doesnt support pixel and vector<br>
> shaders , so i cant use gles2 ( wayland requires )<br>
><br>
> second is egl/dri ( one ) but this egl driver was deprecated from mesa .<br>
><br>
> third is miniglx , its dead ( is it functional ?! )<br>
><br>
> there are some other approches but non of them can power the intel hardwares<br>
> .<br>
><br>
> so i want to disscuss with u about the topic .<br>
><br>
> Q: can we use egl and egl_dri2 ?!<br>
</div></div>Yes. Take a look at compositor-drm.c in Wayland.<br>
<br>
Basically, you need to use EGL_MESA_drm_image to create two EGLImages.<br>
At any given time, one of them attached to an FBO for (GLES1)<br>
rendering and the other is used by the hardware for scanning out.<br>
><br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
olv@LunarG.com<br>
</font></blockquote></div><br>