2012/11/5 Bill Spitzak <[email protected]> > > I agree that it would be nice to not > >> create extra surfaces, but I think the cleanest way to do that would >> be an EGL extension, otherwise pretty much all existing OpenGL code >> will have to be modified in various ways in order to be ported. >> > > I agree this would be useful, but it is not the *requirement*. > > The requirement is that it be possible for non-OpenGL libraries to draw > into the same buffer the OpenGL. To me this implies that wayland buffers > must be memory mapped as writable buffers in client memory space. > > It is tempting to say that a Cairo or Pixman-style OpenGL backend will > solve this but I have my doubts, especially if non-OpenGL programs are not > using it. And there is just a ton of stuff that wants to fiddle with pixels > directly.
I don't see how that would help drawing client side decorations. Or are you talking about a different problem? The problem is not how to draw the decorations, but how to make the client use OpenGL without having to know it has a decoration, just as it would do without any decoration. Giulio
_______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
