Drawing CSD on EGL apps

Giulio Camuffo giuliocamuffo at gmail.com
Mon Nov 5 12:49:20 PST 2012


2012/11/5 Bill Spitzak <spitzak at gmail.com>
>
>    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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20121105/434ad255/attachment.html>


More information about the wayland-devel mailing list