[waffle] [PATCH 13/18] api: make dl_can_open() dl_sym() display dependent
chad.versace at linux.intel.com
Mon Aug 4 00:22:00 PDT 2014
On 07/22/2014 08:31 PM, Emil Velikov wrote:
> This will allow us to correctly work around waffle design which
> allows the a library to be dl_open'ed if we support the corresponding
> WAFFLE_CONTEXT (via waffle_display_supports_context_api).
> This is required by WGL which (as implemented in this patch) can
> support ES contexts via EXT_create_context_es*_profile yet provides
> all the symbols via a single library. We should check if ES context
> can be create prior rather than blindly trying to retrieve the symbols.
> Once waffle has GL dispatch we can remove all the dl functions from
> the waffle API, as we'll provide every function that the user needs.
> Note that this breaks the API in a non-backwards compatible way.
> - Add a note in the release notes.
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
This patch, like patch 8, breaks ABI. So I want to consider its implications some
more before giving a r-b.
More information about the waffle