Bug 102067 - Is it possible select a driver/implementation in an application? (like in OpenCL)
Summary: Is it possible select a driver/implementation in an application? (like in Ope...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-07 10:54 UTC by myocytebd@sina.com
Modified: 2017-08-08 15:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description myocytebd@sina.com 2017-08-07 10:54:57 UTC
This is not quite a question for Mesa.
However Linux graphics stack is sort of confusing and lack of documentation,
and I don't know where to ask this question.

Is it possible for a application to enumerate and select the GL implementation,
like in OpenCL?

In case of:
1. Mesa EGL.
   How to enumerate and select a GL vendor/implementation?
2. GLX.
   Is it possible to enumerate and select the GL drivers?
3. Wayland.
   Is Mesa EGL/DRI the only frontend/backend?
   (Or is there some way to load proprietary drivers?)
Comment 1 Emil Velikov 2017-08-08 15:04:56 UTC
(In reply to myocytebd@sina.com from comment #0)

> Is it possible for a application to enumerate and select the GL
> implementation,
> like in OpenCL?
> 
> In case of:
> 1. Mesa EGL.
>    How to enumerate and select a GL vendor/implementation?
There is the EGL device set of extensions. There are some WIP patches for mesa, but none are merged yet.

> 2. GLX.
>    Is it possible to enumerate and select the GL drivers?
AFAICT no extensions that provide the functionality are available.

> 3. Wayland.
>    Is Mesa EGL/DRI the only frontend/backend?
>    (Or is there some way to load proprietary drivers?)
Yes there are proprietary drivers that have Wayland support.
Regardless, Wayland is used in conjunction with EGL, which can use the above extensions.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.