On 12 nov 2009, at 15.25, José Fonseca wrote:
On Tue, 2009-11-10 at 05:35 -0800, Chia-I Wu wrote:
On Mon, Nov 9, 2009 at 10:27 PM, José Fonseca <jfons...@vmware.com>
wrote:
       Jakob is preparing an interface so that we can have multiple
       statetrackers for the Khronos APIs loaded simultaneously and
       talking to
       each others, as EGL establishes.
Do you or Jakob want to share more about this?  EGL in mesa supports
multiple
current client api contexts per thread.  I've also managed to hack
egl_softpipe to
support using OpenVG st and OpenGL st at the same time, by renaming
st_*
in OpenVG to something else to avoid conflicting.  I was able to, for
example,
render something to pbuffer using OpenVG and bind the result as an
OpenGL
texture image.  It would be great if there is a clean way for this.

Jakob is really the best to talk about it as he is the one designing it, but my understanding is that it will address the buffer sharing problem, by providing interfaces to the shared objects -- framebuffer, contexts,
and the state trackers themselves. The symbol collision is not an
interface issue but it must be also addressed to make this work of
course.

Hi I'm sorry for taking this long to respond.

The basic idea is to create API struct that holds the functions for the different APIs and then just switch between those in EGL. There are also some changes to the in the way that framebuffers works. I have started to change the egl_xlib driver but haven't gotten that far.

I have attached a patch series that adds the API and the work in progress conversion of egl_xlib. Please feel free to continue on the egl_xlib stuff.

Cheers Jakob.

Attachment: 0001-gallium-Add-inter-state-tracker-interface.patch
Description: Binary data

Attachment: 0002-egl_xlib-Build-with-configure.patch
Description: Binary data

Attachment: 0003-egl_xlib-WIP-Rework.patch
Description: Binary data

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to