implement window surface

Jon Smirl jonsmirl at gmail.com
Wed May 18 12:54:31 PDT 2005


On 5/18/05, Adam Jackson <ajax at nwnk.net> wrote:
> > Alternatively what if XGL doesn't have room for all of the offscreen
> > pbuffers and wants to make some windows direct draw onto the screen
> > surface?
> 
> In that case you'll want to migrate the buffer contents out of card memory
> anyway, won't you?  I'm not opposed to short-circuiting the rendering path in
> that case, but you still need a way to create the Window handle that you feed
> to CreateWindowSurface.

Do you have to have a native window handle if the surface has x/y
offset parameters? This is assuming that damage is tracked at a higher
level. A window could have a full, accelerated back buffer and then be
copied into a clipped screen rectangle on swapbuffer. You just need to
track the window offset.

-- 
Jon Smirl
jonsmirl at gmail.com


More information about the dri-egl mailing list