[waffle] [RFC PATCH 0/4] Let's do less less book-keeping

Emil Velikov emil.l.velikov at gmail.com
Tue Sep 1 05:35:48 PDT 2015


Hi all,

This is a series of RFC patches. as some of them are rather 
controversial and/or incomplete. Once we get the feel if they are the 
right thing to do I Can give them some extra polish :)

What are you on about ?

Currently waffle imposes some restrictions on the GL{,ES*} version 
number that is passed, with rather inconsistent behaviour - in some 
cases we allow everything past 1.0, in other we check against exact 
version numbers, and in other we limit by major only.

To simplify things and make them consistent, I'm proposing that we drop 
these checks and feed the version directly.

The final two patches drop/rework the dl_can_open() restriction within 
waffle_display_supports_context_api().

As pointed out my Chad (a while back) we mixing a library's presence 
with the capability of supporting a context is likely to cause confusion 
and/or headaches. Not to mention that on some platforms (EGL) one can 
query the implementation for a list of supported API.

If you know about some prior discussions on the topic some links wi'll 
be appreciated.

Thanks
Emil




More information about the waffle mailing list