VDPAU graphics driver enumeration

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

Functions

Properties

gboolean is-extra Read / Write / Construct Only
char * library-link Read / Write / Construct Only

Object Hierarchy

    GObject
    ╰── SrtBaseGraphicsModule
        ╰── SrtVdpauDriver

Includes

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

Description

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

Functions

srt_vdpau_driver_get_library_path ()

const gchar *
srt_vdpau_driver_get_library_path (SrtVdpauDriver *self);

Return the library path for this VDPAU driver.

Parameters

self

The VDPAU driver

 

Returns

“library-path”.

[type filename][transfer none]


srt_vdpau_driver_get_library_link ()

const gchar *
srt_vdpau_driver_get_library_link (SrtVdpauDriver *self);

Return the content of the symbolic link for this VDPAU driver or NULL if the library path is not a symlink.

Parameters

self

The VDPAU driver

 

Returns

“library-link”.

[type filename][transfer none][nullable]


srt_vdpau_driver_is_extra ()

gboolean
srt_vdpau_driver_is_extra (SrtVdpauDriver *self);

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

Parameters

self

The VDPAU driver

 

Returns

TRUE if the VDPAU driver is in an unusual position.


srt_vdpau_driver_resolve_library_path ()

gchar *
srt_vdpau_driver_resolve_library_path (SrtVdpauDriver *self);

Return the absolute library path for this VDPAU driver. If srt_vdpau_driver_get_library_path() is already an absolute path, a copy of the same value will be returned.

Parameters

self

The VDPAU driver

 

Returns

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

[type filename][transfer full]

Property Details

The “is-extra” property

  “is-extra”                 gboolean

TRUE if the driver is located in an unusual path.

Owner: SrtVdpauDriver

Flags: Read / Write / Construct Only

Default value: FALSE


The “library-link” property

  “library-link”             char *

Contents of the symbolik link of the VDPAU driver library.

Owner: SrtVdpauDriver

Flags: Read / Write / Construct Only

Default value: NULL