Skip to content
Snippets Groups Projects
Commit 98ac00a1 authored by Simon McVittie's avatar Simon McVittie
Browse files

pv-runtime: Convert the graphics provider into an object


This encapsulates both the PROVIDER_GRAPHICS_STACK flag and the
associated paths: if the object is null then the paths are meaningless,
and if the object is non-null then they are meaningful.

Making this an immutable "value object" also means we can share it
between threads, unlike PvRuntime, which has state. This could become
important if we want to make graphics driver enumeration multi-threaded
to speed up pressure-vessel.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent fba0659f
No related branches found
No related tags found
1 merge request!307pressure-vessel: Speed up graphics driver discovery by operating in parallel
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment