<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/11/18 Neil Roberts <span dir="ltr"><<a href="mailto:neil@linux.intel.com" target="_blank">neil@linux.intel.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">Thiago Macieira <<a href="mailto:thiago.macieira@intel.com">thiago.macieira@intel.com</a>> writes:<br>
<br>
> Make it simpler: all clients MUST be able to draw decorations. That's what<br>
> Wayland up until now requires anyway.<br>
<br>
</div>I think it's a shame to throw out the idea of making the policy be that<br>
clients are allowed to expect SSD if they don't want to draw decorations<br>
themselves. Requiring CSD support only makes it simpler for compositor<br>
developers, but it adds a lot of burden on things like SDL, glut and<br>
applications that really just want a space to render GL content into.<br>
<br>
I guess you could make a toolkit-agnostic decorations library using<br>
subsurfaces that these types of applications can use. However I don't<br>
think that will solve the consistency issue because most game-type<br>
applications will want to bundle all of their dependencies so they will<br>
end up wanting to bundle this library. The consistency will then break<br>
when the distro updates its version of the library.<br></blockquote><div><br></div><div>AFAIK SDL2 already dlsym's all necessary Xlib + extension libraries at</div><div>runtime anyway, so going the route of a standardized decorations library</div>
<div>wouldn't really hurt the consistency. Not sure about glut, but on the other</div><div>hand, which game bundles the required X11 libraries with it? I think none,</div><div>because those are regarded as part of the system and bundling your own</div>
<div>would break a lot of things. I think a standardized decorations library could</div><div>be regarded as "just part of the system" in the same way.</div><div><br></div><div>Jonas </div></div></div></div>