kms_renderer_set_kms_fd


Description:

public void kms_renderer_set_kms_fd (Renderer renderer, int fd)

Sets the file descriptor Cogl should use to communicate to the kms driver.

If -1 (the default), then Cogl will open its own FD by trying to open "/dev/dri/card0".

Parameters:

renderer

A Renderer

fd

The fd to kms to use


Namespace: Cogl
Package: doc