Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_layer_set_surfaces.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_layer_set_surfaces.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_layer_set_surfaces.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_layer_set_surfaces.html on line 8

gf_layer_set_surfaces()

Set the target surface for a layer

Synopsis:

#include <gf/gf.h>

void gf_layer_set_surfaces( gf_layer_t layer,
                            gf_surface_t surface[],
                            int nsurfs );

Arguments:

layer
The handle for a layer.
surface
An array of surface handles for the layer to use.
nsurfs
The number of items in the surface array.

Library:

gf

Description:

This function sets the target surface or surfaces for a layer.


Note:
  • In general, a layer targets a single surface. However some planar formats (for example, YUV) use one surface per plane.
  • Changes to the layer's paramters 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()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_layer_set_surfaces.html on line 128

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_layer_set_surfaces.html on line 128