-
- Downloads
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:
Simon McVittie <smcv@collabora.com>
parent
fba0659f
No related branches found
No related tags found
Showing
- pressure-vessel/graphics-provider.c 228 additions, 0 deletionspressure-vessel/graphics-provider.c
- pressure-vessel/graphics-provider.h 63 additions, 0 deletionspressure-vessel/graphics-provider.h
- pressure-vessel/meson.build 2 additions, 0 deletionspressure-vessel/meson.build
- pressure-vessel/runtime.c 113 additions, 177 deletionspressure-vessel/runtime.c
- pressure-vessel/runtime.h 4 additions, 6 deletionspressure-vessel/runtime.h
- pressure-vessel/wrap.c 12 additions, 3 deletionspressure-vessel/wrap.c
Loading
Please register or sign in to comment