Mir
|
#include <mir_toolkit/mir_display_configuration.h>
#include <mir/require.h>
#include "display_configuration.h"
Functions | |
int | mir_display_config_get_num_outputs (MirDisplayConfig const *client) |
Get the number of outputs available in this display configuration. More... | |
MirOutput const * | mir_display_config_get_output (MirDisplayConfig const *client_config, size_t index) |
Get a read-only handle to the index 'th output of this configuration. More... | |
MirOutput * | mir_display_config_get_mutable_output (MirDisplayConfig *client_config, size_t index) |
Get a modifyable handle to the index 'th output of this configuration. More... | |
bool | mir_output_is_enabled (MirOutput const *client_output) |
Get whether this output is enabled in the current configuration. More... | |
void | mir_output_enable (MirOutput *client_output) |
Enable this output. More... | |
void | mir_output_disable (MirOutput *client_output) |
Disable this output. More... | |
int | mir_display_config_get_max_simultaneous_outputs (MirDisplayConfig const *client_config) |
Get the maximum possible number of simultaneously active outputs this system supports. More... | |
int | mir_output_get_id (MirOutput const *client_output) |
Get the ID of an output. More... | |
MirOutputType | mir_output_get_type (MirOutput const *client_output) |
Get the physical connection type of an output. More... | |
int | mir_output_get_physical_width_mm (MirOutput const *client_output) |
Get the physical width of the connected display, in millimetres. More... | |
int | mir_output_get_num_modes (MirOutput const *client_output) |
Get the number of modes in the supported mode list of this output. More... | |
MirOutputMode const * | mir_output_get_preferred_mode (MirOutput const *client_output) |
Get a handle to the output's preferred mode. More... | |
MirOutputMode const * | mir_output_get_current_mode (MirOutput const *client_output) |
Get a handle to the output's current mode. More... | |
void | mir_output_set_current_mode (MirOutput *client_output, MirOutputMode const *client_mode) |
Set the current mode of an output. More... | |
MirOutputMode const * | mir_output_get_mode (MirOutput const *client_output, size_t index) |
Get a handle for a mode descriptor from the list of supported modes. More... | |
int | mir_output_get_num_pixel_formats (MirOutput const *client_output) |
Get the number of pixel formats supported by this output. More... | |
MirPixelFormat | mir_output_get_pixel_format (MirOutput const *client_output, size_t index) |
Get a pixel format from the list of supported formats. More... | |
MirPixelFormat | mir_output_get_current_pixel_format (MirOutput const *client_output) |
Get the current pixel format. More... | |
void | mir_output_set_pixel_format (MirOutput *client_output, MirPixelFormat format) |
Set the output format. More... | |
int | mir_output_get_position_x (MirOutput const *client_output) |
Get the x coordinate of the top-left point of the output in the virtual display space. More... | |
int | mir_output_get_position_y (MirOutput const *client_output) |
Get the y coordinate of the top-left point of the output in the virtual display space. More... | |
void | mir_output_set_position (MirOutput *client_output, int x, int y) |
Set the coordinates of the top-left point of the output in the virtual display space. More... | |
MirOutputConnectionState | mir_output_get_connection_state (MirOutput const *client_output) |
Get whether there is a display physically connected to the output. More... | |
int | mir_output_get_physical_height_mm (MirOutput const *client_output) |
Get the physical height of the connected display, in millimetres. More... | |
MirPowerMode | mir_output_get_power_mode (MirOutput const *client_output) |
Get the power state of a connected display. More... | |
void | mir_output_set_power_mode (MirOutput *client_output, MirPowerMode mode) |
Set the power state of a connected display. More... | |
MirOrientation | mir_output_get_orientation (MirOutput const *client_output) |
Get the orientation of a display. More... | |
void | mir_output_set_orientation (MirOutput *client_output, MirOrientation orientation) |
Set the orientation of a display. More... | |
float | mir_output_get_scale_factor (MirOutput const *client_output) |
Get the scale-factor of a display. More... | |
MirFormFactor | mir_output_get_form_factor (MirOutput const *client_output) |
Get the form-factor of a connected output. More... | |
int | mir_output_mode_get_width (MirOutputMode const *client_mode) |
Get the width, in pixels, of a MirOutputMode. More... | |
int | mir_output_mode_get_height (MirOutputMode const *client_mode) |
Get the height, in pixels, of a MirOutputMode. More... | |
double | mir_output_mode_get_refresh_rate (MirOutputMode const *client_mode) |
Get the refresh rate, in Hz, of a MirOutputMode. More... | |
Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Sep 8 14:50:19 UTC 2016