Mesa GBM backends enumeration

Mesa GBM backends enumeration — Get information about GBM backends

Functions

Properties

gboolean is-extra Read / Write / Construct Only

Object Hierarchy

    GObject
    ╰── SrtBaseGraphicsModule
        ╰── SrtGbmBackend

Includes

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

Description

SrtGbmBackend is an opaque object representing the metadata describing a Mesa GBM backend. This is a reference-counted object: use g_object_ref() and g_object_unref() to manage its lifecycle.

Functions

srt_gbm_backend_get_library_path ()

const gchar *
srt_gbm_backend_get_library_path (SrtGbmBackend *self);

Return the library path for this GBM backend.

Parameters

self

The GBM backend

 

Returns

“library-path”.

[type filename][transfer none]


srt_gbm_backend_is_extra ()

gboolean
srt_gbm_backend_is_extra (SrtGbmBackend *self);

Return a gboolean that indicates if the GBM is in an unusual position.

Parameters

self

The GBM backend

 

Returns

TRUE if the GBM backend is in an unusual position.


srt_gbm_backend_resolve_library_path ()

gchar *
srt_gbm_backend_resolve_library_path (SrtGbmBackend *self);

Return the absolute path for this GBM backend. If srt_gbm_backend_get_library_path() is already an absolute path, a copy of the same value will be returned.

Parameters

self

The GBM backend

 

Returns

A copy of “resolved-library-path”. Free with g_free().

[type filename][transfer full]

Types and Values

Property Details

The “is-extra” property

  “is-extra”                 gboolean

TRUE if the driver is located in an unusual path.

Flags: Read / Write / Construct Only

Default value: FALSE