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 432 __attribute__((deprecated(
"Use MirScreencastCallback instead")));
442 __attribute__((deprecated(
"Use MirPromptSessionCallback instead")));
454 mir_prompt_session_state_change_callback
455 __attribute__((deprecated(
"Use MirPromptSessionStateChangeCallback instead")));
470 __attribute__((deprecated(
"Use MirPlatformOperationCallback instead")));
482 __attribute__((deprecated(
"Use MirInputConfigCallback instead")));
544 #pragma GCC diagnostic push 545 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 548 __attribute__((deprecated(
"Use MirWindowCallback instead")));
551 MirSurface* surface,
MirEvent const* event,
void* context)
552 __attribute__((deprecated(
"Use MirWindowEventCallback instead")));
555 MirSurface* surface, MirPersistentId* id,
void* context)
556 __attribute__((deprecated(
"Use MirWindowIdCallback instead")));
559 __attribute__((deprecated(
"This type is slated for rename due to MirRenderSurface-->MirSurface transition")));
563 #pragma GCC diagnostic pop
uint32_t physical_height_mm
Definition: client_types.h:363
int displacement_y
Definition: client_types.h:384
MirPowerMode power_mode
Definition: client_types.h:365
Definition: client_types.h:369
int left
Definition: client_types.h:389
MirScreencastParameters is the structure of required information that you must provide to Mir in orde...
Definition: client_types.h:406
MirOrientation orientation
Definition: client_types.h:366
int height
Definition: client_types.h:192
int top
Definition: client_types.h:390
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:344
int32_t position_y
Definition: client_types.h:358
int displacement_x
Definition: client_types.h:383
MirDisplayCard * cards
Definition: client_types.h:374
unsigned int height
The height of the screencast which can be different than the screen region capture height...
Definition: client_types.h:416
The displacement from the top-left corner of the surface.
Definition: client_types.h:380
uint32_t output_id
Definition: client_types.h:354
uint32_t used
Definition: client_types.h:360
int32_t position_x
Definition: client_types.h:357
uint32_t width
Definition: client_types.h:286
uint32_t height
Definition: client_types.h:287
int stride
Definition: client_types.h:274
uint32_t connected
Definition: client_types.h:359
MirDisplayConfiguration provides details of the graphics environment.
Definition: client_types.h:297
Definition: client_types.h:332
int height
Definition: client_types.h:273
uint32_t vertical_resolution
Definition: client_types.h:334
MirPixelFormat pixel_format
Definition: client_types.h:275
MirPixelFormat current_format
Definition: client_types.h:351
char const * name
Definition: client_types.h:244
char const * name
Definition: client_types.h:190
uint32_t card_id
Definition: client_types.h:299
char * vaddr
Definition: client_types.h:276
uint32_t num_outputs
Definition: client_types.h:371
Retrieved information about a loadable module.
Definition: client_types.h:242
uint32_t current_mode
Definition: client_types.h:347
Definition: client_types.h:284
uint32_t num_output_formats
Definition: client_types.h:349
Definition: client_types.h:341
uint32_t physical_width_mm
Definition: client_types.h:362
int supported_pixel_format_items
Definition: client_types.h:289
MirPixelFormat * output_formats
Definition: client_types.h:350
int minor_version
Definition: client_types.h:246
unsigned int width
Definition: client_types.h:391
uint32_t max_simultaneous_outputs
Definition: client_types.h:300
MirBufferUsage buffer_usage
Definition: client_types.h:194
uint32_t num_cards
Definition: client_types.h:373
double refresh_rate
Definition: client_types.h:336
MirRectangle region
The rectangular region of the screen to capture - The region is specified in virtual screen space hen...
Definition: client_types.h:412
uint32_t preferred_mode
There might be no preferred mode, which is indicated by a value >=num_modes.
Definition: client_types.h:345
unsigned int height
Definition: client_types.h:392
Definition: mir_pointer_config.h:29
MirPixelFormat pixel_format
The pixel format of the screencast.
Definition: client_types.h:421
unsigned int width
The width of the screencast which can be different than the screen region capture width...
Definition: client_types.h:414
MirDisplayOutputType type
Definition: client_types.h:355
int micro_version
Definition: client_types.h:247
Definition: client_types.h:387
Retrieved information about a MirWindow.
Definition: client_types.h:270
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:343
uint32_t card_id
Definition: client_types.h:353
int width
Definition: client_types.h:272
MirDisplayOutput * outputs
Definition: client_types.h:372
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:382
uint32_t horizontal_resolution
Definition: client_types.h:335