Mir
Public Attributes | List of all members
MirSurfaceParameters Struct Reference

MirWindowParameters is the structure of minimum required information that you must provide to Mir in order to create a window. More...

#include <client_types.h>

Public Attributes

char const * name
 
int width
 
int height
 
MirPixelFormat pixel_format
 
MirBufferUsage buffer_usage
 
uint32_t output_id
 The id of the output to place the surface in. More...
 

Detailed Description

MirWindowParameters is the structure of minimum required information that you must provide to Mir in order to create a window.

Member Data Documentation

◆ buffer_usage

MirBufferUsage MirSurfaceParameters::buffer_usage

◆ height

int MirSurfaceParameters::height

◆ name

char const* MirSurfaceParameters::name

◆ output_id

uint32_t MirSurfaceParameters::output_id

The id of the output to place the surface in.

Use one of the output ids from MirDisplayConfiguration/MirDisplayOutput to place a surface on that output. Only fullscreen placements are currently supported. If you don't have special placement requirements, use the value mir_display_output_id_invalid.

◆ pixel_format

MirPixelFormat MirSurfaceParameters::pixel_format

◆ width

int MirSurfaceParameters::width

The documentation for this struct was generated from the following file:

Copyright © 2012-2018 Canonical Ltd.
Generated on Thu 12 Jul 10:49:10 UTC 2018