<br><br><div class="gmail_quote">On Thu, Nov 4, 2010 at 11:24 AM, 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 class="im">On Thu, Nov 4, 2010 at 3:53 AM, Clurado cl <<a href="mailto:clurado1980@gmail.com">clurado1980@gmail.com</a>> wrote:<br>
</div><div class="im">> Can wayland be ported for use of gles1 ?! i saw compositor-drm.c , but for<br>
> me , its a little hard to know whats kristian does . it does compositing<br>
> and idont need that. can u explain more !?<br>
</div>It does not composite. You can try to look for, say,<br>
<br>
- which function creates an OpenGL ES context? </blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
- which function creates two EGLImages for each output as back<br>
buffer and front buffer? </blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
- which function performs buffer swapping?<br></blockquote><div><br>create_output_for_connector<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
The rest of it is for kernel modesetting and input handling.<br>
<div class="im">> it uses dri2 , but from here : <a href="http://www.mesa3d.org/egl.html" target="_blank">http://www.mesa3d.org/egl.html</a> . DRI2 have x<br>
> surface unlinke dri1 it doesnt have framebuffer surface .<br>
><br>
> so how it used in wayland ?!<br>
</div>The doc is outdated. I will update it.<br>
<div><div></div><div class="h5">> On Wed, Nov 3, 2010 at 11:07 PM, Chia-I Wu <<a href="mailto:olvaffe@gmail.com">olvaffe@gmail.com</a>> wrote:<br>
>><br>
>> 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<br>
>> > 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<br>
>> > 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>
>> 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>
>><br>
>><br>
>><br>
>> --<br>
>> olv@LunarG.com<br>
><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>
<br>
<br>
<br>
--<br>
olv@LunarG.com<br>
</div></div></blockquote></div><br>