<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi all,<br>
&nbsp; I am trying to port mesa for a windowing platform called CDI one like 
XCB,X11. i am successful to all EGL Calls except eglSwapBuffers. so my 
gles application cause segmentation fault when delegating the final 
rendered scene to native platform.<br>
I managed to port the entire flow of EGL calls by looking out the 
reference from gles application running on X11 window. but when coming 
to eglSwapBuffers it is the whole thing handled by the calls <span style="font-weight: bold;">"xcb_dri2_copy_region_unchecked</span>" of XCB library for what i am not getting source code to look out.<br>
<br>
could any one please advice me where from the final gles rendered 
buffer, has to be taken in Mesa context in egl_dri2.c file meaning 
before giving to XCB?<br>
<br>
could any one please tel me where can i get the source code of xcb-dri 
extensions. i understand from the build system of libxcb-1.5, the souce 
code for this extensions are managed by some python script (if i 
understand correct!).<br>
<br>
i am seriously blocked in this could anyone please help.<br>
<br>
<br>
Thanks in Advance.<br>
<br>
Regards,<br>
Srini.<br>
</div>
</div></div>
</div><br></body></html>