Set the output for a display
#include <gf/gf.h> void gf_layer_set_outputs( gf_layer_t layer, uint32_t mask );
gf
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.
Changes to the layer's parameters are enqueued. You need to call gf_layer_update() to make them take effect. |
QNX Graphics Framework
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
gf_display_attach(), gf_layer_detach(), gf_layer_disable(), gf_layer_enable(), gf_layer_query()