GLX graphics driver enumeration

GLX graphics driver enumeration — Get information about the system's GLX graphics drivers

Functions

Properties

gchar * library-path Read / Write / Construct Only
gchar * library-soname Read / Write / Construct Only

Object Hierarchy

    GObject
    ╰── SrtGlxIcd

Includes

#include <steam-runtime-tools/steam-runtime-tools.h>

Description

SrtGlxIcd is an opaque object representing the metadata describing a GLX driver. This is a reference-counted object: use g_object_ref() and g_object_unref() to manage its lifecycle.

Functions

srt_glx_icd_get_library_soname ()

const gchar *
srt_glx_icd_get_library_soname (SrtGlxIcd *self);

Return the library SONAME for this GLX ICD, for example libGLX_mesa.so.0.

Parameters

self

The GLX ICD

 

Returns

“library-soname”.

[type filename][transfer none]


srt_glx_icd_get_library_path ()

const gchar *
srt_glx_icd_get_library_path (SrtGlxIcd *self);

Return the absolute path to the library that implements this GLX soname.

Parameters

self

The GLX ICD

 

Returns

“library-path”.

[type filename][transfer none]

Types and Values

Property Details

The “library-path” property

  “library-path”             gchar *

Absolute path to the GLX ICD library as though the sysroot, if any, was the root.

Flags: Read / Write / Construct Only

Default value: NULL


The “library-soname” property

  “library-soname”           gchar *

SONAME of the GLX ICD library.

Flags: Read / Write / Construct Only

Default value: NULL