Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Attributes | List of all members
MirSurfaceParameters Struct Reference

MirSurfaceParameters is the structure of minimum required information that you must provide to Mir in order to create a surface. 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

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

Examples:
basic.c.

Member Data Documentation

MirBufferUsage MirSurfaceParameters::buffer_usage
int MirSurfaceParameters::height
Examples:
basic.c.
char const* MirSurfaceParameters::name
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.

MirPixelFormat MirSurfaceParameters::pixel_format
Examples:
basic.c.
int MirSurfaceParameters::width
Examples:
basic.c.

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Oct 15 00:23:28 UTC 2013