21 #ifndef MIR_TOOLKIT_CLIENT_TYPES_H_ 22 #define MIR_TOOLKIT_CLIENT_TYPES_H_ 56 typedef struct MirRenderSurface MirRenderSurface
57 __attribute__((deprecated("This type is slated for rename due to MirRenderSurface-->MirSurface transition")));
105 __attribute__((deprecated(
"Use MirBufferStreamCallback instead")));
127 __attribute__((deprecated(
"Use MirLifecycleEventCallback instead")));
139 __attribute__((deprecated(
"Use MirPingEventCallback instead")));
150 __attribute__((deprecated(
"Use MirDisplayConfigCallback instead")));
165 __attribute__((deprecated(
"Use MirClientFdCallback instead")));
167 #pragma GCC diagnostic push 168 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 171 #pragma GCC diagnostic pop 423 __attribute__((deprecated(
"Use MirScreencastCallback instead")));
433 __attribute__((deprecated(
"Use MirPromptSessionCallback instead")));
445 mir_prompt_session_state_change_callback
446 __attribute__((deprecated(
"Use MirPromptSessionStateChangeCallback instead")));
461 __attribute__((deprecated(
"Use MirPlatformOperationCallback instead")));
473 __attribute__((deprecated(
"Use MirInputConfigCallback instead")));
535 #pragma GCC diagnostic push 536 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 539 __attribute__((deprecated(
"Use MirWindowCallback instead")));
542 MirSurface* surface,
MirEvent const* event,
void* context)
543 __attribute__((deprecated(
"Use MirWindowEventCallback instead")));
546 MirSurface* surface, MirPersistentId* id,
void* context)
547 __attribute__((deprecated(
"Use MirWindowIdCallback instead")));
550 __attribute__((deprecated(
"This type is slated for rename due to MirRenderSurface-->MirSurface transition")));
554 #pragma GCC diagnostic pop
uint32_t physical_height_mm
Definition: client_types.h:354
int displacement_y
Definition: client_types.h:375
MirPowerMode power_mode
Definition: client_types.h:356
Definition: client_types.h:360
int left
Definition: client_types.h:380
MirScreencastParameters is the structure of required information that you must provide to Mir in orde...
Definition: client_types.h:397
MirOrientation orientation
Definition: client_types.h:357
int height
Definition: client_types.h:192
int top
Definition: client_types.h:381
MirPixelFormat pixel_format
Definition: client_types.h:193
uint32_t output_id
The id of the output to place the surface in.
Definition: client_types.h:203
MirDisplayMode * modes
Definition: client_types.h:335
int32_t position_y
Definition: client_types.h:349
int displacement_x
Definition: client_types.h:374
MirDisplayCard * cards
Definition: client_types.h:365
unsigned int height
The height of the screencast which can be different than the screen region capture height...
Definition: client_types.h:407
The displacement from the top-left corner of the surface.
Definition: client_types.h:371
uint32_t output_id
Definition: client_types.h:345
uint32_t used
Definition: client_types.h:351
int32_t position_x
Definition: client_types.h:348
uint32_t width
Definition: client_types.h:277
uint32_t height
Definition: client_types.h:278
int stride
Definition: client_types.h:265
uint32_t connected
Definition: client_types.h:350
MirDisplayConfiguration provides details of the graphics environment.
Definition: client_types.h:288
Definition: client_types.h:323
int height
Definition: client_types.h:264
uint32_t vertical_resolution
Definition: client_types.h:325
MirPixelFormat pixel_format
Definition: client_types.h:266
MirPixelFormat current_format
Definition: client_types.h:342
char const * name
Definition: client_types.h:244
char const * name
Definition: client_types.h:190
uint32_t card_id
Definition: client_types.h:290
char * vaddr
Definition: client_types.h:267
uint32_t num_outputs
Definition: client_types.h:362
Retrieved information about a loadable module.
Definition: client_types.h:242
uint32_t current_mode
Definition: client_types.h:338
Definition: client_types.h:275
uint32_t num_output_formats
Definition: client_types.h:340
Definition: client_types.h:332
uint32_t physical_width_mm
Definition: client_types.h:353
int supported_pixel_format_items
Definition: client_types.h:280
MirPixelFormat * output_formats
Definition: client_types.h:341
int minor_version
Definition: client_types.h:246
unsigned int width
Definition: client_types.h:382
uint32_t max_simultaneous_outputs
Definition: client_types.h:291
MirBufferUsage buffer_usage
Definition: client_types.h:194
uint32_t num_cards
Definition: client_types.h:364
double refresh_rate
Definition: client_types.h:327
MirRectangle region
The rectangular region of the screen to capture - The region is specified in virtual screen space hen...
Definition: client_types.h:403
uint32_t preferred_mode
There might be no preferred mode, which is indicated by a value >=num_modes.
Definition: client_types.h:336
unsigned int height
Definition: client_types.h:383
Definition: mir_pointer_config.h:29
MirPixelFormat pixel_format
The pixel format of the screencast.
Definition: client_types.h:412
unsigned int width
The width of the screencast which can be different than the screen region capture width...
Definition: client_types.h:405
MirDisplayOutputType type
Definition: client_types.h:346
int micro_version
Definition: client_types.h:247
Definition: client_types.h:378
Retrieved information about a MirWindow.
Definition: client_types.h:261
int major_version
Definition: client_types.h:245
int width
Definition: client_types.h:191
Definition: dispatchable.h:33
char const * filename
Definition: client_types.h:248
Definition: mir_touchpad_config.h:29
uint32_t num_modes
Definition: client_types.h:334
uint32_t card_id
Definition: client_types.h:344
int width
Definition: client_types.h:263
MirDisplayOutput * outputs
Definition: client_types.h:363
MirWindowParameters is the structure of minimum required information that you must provide to Mir in ...
Definition: client_types.h:188
MirBufferStream * stream
Definition: client_types.h:373
uint32_t horizontal_resolution
Definition: client_types.h:326