windowed output api

Functions

weston_windowed_output_get_api

const struct weston_windowed_output_api *
weston_windowed_output_get_api (struct weston_compositor * compositor)

Parameters:

compositor
No description available
Returns ( const struct weston_windowed_output_api * ) –
No description available

Structures

weston_windowed_output_api

struct weston_windowed_output_api {
	int (*output_set_size)(struct weston_output *output,
			       int width, int height);
	int (*create_head)(struct weston_compositor *compositor,
			   const char *name);
};

Fields

output_set_size () –

This assigns a desired width and height to a windowed output. The backend decides what should be done and applies the desired configuration. After using this function and generic weston_output_set_*, a windowed output should be in a state where weston_output_enable can be run.

create_head () –

Create a new windowed head. This creates a new head in the backend. The new head will be advertised in the compositor's head list and triggers a head_changed callback. A new output can be created for the head. The output must be configured with output_set_size and weston_output_set_{scale,transform}() before enabling it.


Exported Variables

api

	const void *api;

The results of the search are