gf_layer_set_outputs()

Set the output for a display

Synopsis:

#include <gf/gf.h>

void gf_layer_set_outputs( gf_layer_t layer,
                           uint32_t   mask );

Arguments:

layer
A pointer to the gf_layer_t handle of the layer you want to set the output(s) for.
mask
The mask for the output(s) you want to set the layer to.

Library:

gf

Description:

This function controls which display outputs the layer appears on, for displays that have multiple outputs. Each bit in the layer mask represents an output for the display. Set the bit(s) corresponding to the display(s) you want the layer to appear on to 1. You can look at the output_mask member of gf_layer_info_t (filled in by gf_layer_query()) to see which outputs the layer can appear on.


Note: Changes to the layer's parameters are enqueued. You need to call gf_layer_update() to make them take effect.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_display_attach(), gf_layer_detach(), gf_layer_disable(), gf_layer_enable(), gf_layer_query()