[Mesa-dev] decoupling XCB from Mesa

Srini srini_rajini at yahoo.com
Mon Mar 28 23:28:02 PDT 2011


So, can you please suggest me which is the exact API or place to do this change.
is there any such pointer for FAKE_FRONT_LEFT been maintained in kernel DRM 
module? or some where in x server kernel module? if it is so i can get some 
reference from there.

please suggest me.

Regards,
Srini.




________________________________
From: Jerome Glisse <j.glisse at gmail.com>
To: Srini <srini_rajini at yahoo.com>
Cc: mesa-dev at lists.freedesktop.org
Sent: Wed, 23 March, 2011 8:47:06 PM
Subject: Re: [Mesa-dev] decoupling XCB from Mesa

On Fri, Mar 18, 2011 at 7:17 AM, Srini <srini_rajini at yahoo.com> wrote:
> Hi all,
>   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.
> 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
> "xcb_dri2_copy_region_unchecked" of XCB library for what i am not getting
> source code to look out.
>
> 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?
>
> 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!).
>
> i am seriously blocked in this could anyone please help.
>
>
> Thanks in Advance.
>
>
> REgards,
> Srini.
>
Looking at xcb_dri2_copy_region_unchecked source would do you no good.
It's platform specific code, it just tell your window managing system
(what ever it's) to swap between the back & front buffer.

Cheers,
Jerome


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110329/af450ecb/attachment.htm>


More information about the mesa-dev mailing list