Definitions in screen.h

Preprocessor macro definitions for the screen.h header file in the libscreen library

Definitions:

#include <screen/screen.h>
#define _SCREEN_MAKE_VERSION (((major) * 10000) + ((minor) * 100) + (patch))

Convenience macro to facilitate comparison of Screen versions.

#define _SCREEN_VERSION_MAJOR 2

Deprecated.

Use available feature preprocessor definitions instead. Screen version 2.0.0 indicates compatibility with QNX SDP 7.0.

#define _SCREEN_VERSION_MINOR 0

Deprecated.

Use available feature preprocessor definitions instead. Screen version 2.0.0 indicates compatibility with QNX SDP 7.0.

#define _SCREEN_VERSION_PATCH 0

Deprecated.

Use available feature preprocessor definitions instead. Screen version 2.0.0 indicates compatibility with QNX SDP 7.0.

#define _SCREEN_VERSION _SCREEN_MAKE_VERSION(_SCREEN_VERSION_MAJOR, _SCREEN_VERSION_MINOR, _SCREEN_VERSION_PATCH)

The current version of Screen.

Use available feature preprocessor definitions instead. Screen version 2.0.0 indicates compatibility with QNX SDP 7.0.

#define SCREEN_PROPERTY_WINDOW_MANAGER_ID SCREEN_PROPERTY_WINDOW_MANAGER_ID

The feature preprocessor definition that indicates the definition of the SCREEN_PROPERTY_WINDOW_MANAGER_ID property.

For more information on this property, see Screen property types.

#define screen_register_window_manager screen_register_window_manager

The feature preprocessor definition that indicates the declaration of screen_register_window_manager().

This function allows the abilities for a context to register and unregister itself as the window manager of a display. For more information, see screen_register_window_manager().

#define SCREEN_DISPLAY_TYPE_DSI SCREEN_DISPLAY_TYPE_DSI

The feature preprocessor definition that indicates the definition of a connection type that's used to identify a MIPI DSI connection to the display.

For more information, see SCREEN_DISPLAY_TYPE_DSI of Screen display types.

#define SCREEN_FORMAT_NV16 SCREEN_FORMAT_NV16

The feature preprocessor definition that indicates the definition of a pixel format with 8-bit Y plane, 2x1-subsampled, and interleaved U and V planes.

For more information, see SCREEN_FORMAT_NV16 of Screen pixel format types..

#define SCREEN_USAGE_PHYSICAL SCREEN_USAGE_PHYSICAL

The feature preprocessor definition that indicates the definition of a flag to suggest to Screen that your buffer should be physically contiguous and the physical address should be provided.

For more information, see SCREEN_USAGE_PHYSICAL of Screen usage flag types.

#define SCREEN_ACQUIRE_AND_RELEASE_OTHERS SCREEN_ACQUIRE_AND_RELEASE_OTHERS

The feature preprocessor definition that indicates the definition of a flag to atomically release all other buffers when a new one is acquired when you call screen_acquire_buffer().

For more information, see SCREEN_ACQUIRE_AND_RELEASE_OTHERS of Screen acquire buffer flags.

#define SCREEN_ACQUIRE_DONT_BLOCK SCREEN_ACQUIRE_DONT_BLOCK

The feature preprocessor definition that indicates the definition of a flag to return from the function immediately if no buffer is available when you call screen_acquire_buffer().

For more information, see SCREEN_ACQUIRE_DONT_BLOCK of Screen acquire buffer flags.

#define screen_create_window_from_class screen_create_window_from_class

The feature preprocessor definition that indicates the declaration of screen_create_window_from_class().

This function allows the ability to create a window whose properties will be based on a class that you've defined in your graphics configuration file. For more information, see screen_create_window_from_class().

#define SCREEN_PROPERTY_FD SCREEN_PROPERTY_FD

The feature preprocessor definition that indicates the definition of the SCREEN_PROPERTY_FD property.

For more information on this property, see Screen property types.

#define SCREEN_MODE_PREFERRED_INDEX (-1)

Defines the mode preferred index.

Used as a convenience value when using screen_set_display_property_iv() to set the SCREEN_PROPERTY_MODE property. When you use this value, Screen uses the default video mode without you having to first determine all the modes supported by the display to find the one with SCREEN_MODE_PREFERRED set in flags.

#define SCREEN_INVALID_ID (-1)

The value of the SCREEN_PROPERTY_WINDOW_MANAGER_ID property of a display object when there's no window manager associated with it.

Library:

libscreen