Top | ![]() |
![]() |
![]() |
![]() |
Mesa DRI graphics driver enumerationMesa DRI graphics driver enumeration — Get information about DRI drivers |
gboolean | is-extra | Read / Write / Construct Only |
gchar * | library-path | Read / Write / Construct Only |
gchar * | resolved-library-path | Read |
SrtDriDriver is an opaque object representing the metadata describing
a Mesa DRI driver.
This is a reference-counted object: use g_object_ref()
and
g_object_unref()
to manage its lifecycle.
const gchar *
srt_dri_driver_get_library_path (SrtDriDriver *self
);
Return the library path for this DRI driver.
gboolean
srt_dri_driver_is_extra (SrtDriDriver *self
);
Return a gboolean that indicates if the DRI is in an unusual position.
gchar *
srt_dri_driver_resolve_library_path (SrtDriDriver *self
);
Return the absolute path for this DRI driver.
If srt_dri_driver_get_library_path()
is already an absolute path, a copy
of the same value will be returned.
“is-extra”
property“is-extra” gboolean
TRUE if the driver is located in an unusual path.
Flags: Read / Write / Construct Only
Default value: FALSE
“library-path”
property“library-path” gchar *
Path to the DRI driver. It may be absolute (e.g. /usr/lib/dri/i965_dri.so) or relative (e.g. custom/dri/i965_dri.so). If absolute, it is set as though the sysroot, if any, was the root.
Flags: Read / Write / Construct Only
Default value: NULL
“resolved-library-path”
property“resolved-library-path” gchar *
Absolute path to the DRI driver library. This is similar to 'library-path', but is guaranteed to be an absolute path (e.g. /usr/lib/dri/i965_dri.so) as though the sysroot, if any, was the root.
Flags: Read
Default value: NULL