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_update.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_update.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_update.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_update.html on line 8
Update layer parameters
#include <gf/gf.h>
int gf_layer_update( gf_layer_t layer,
unsigned flags );
- layer
- The handle for the layer to update.
- flags
- Flags to control the function's behavior. Valid flags are:
- GF_LAYER_UPDATE_NO_WAIT_VSYNC —
Perform the operation asynchronously; the default behavior is to block until the next vertical synchronization.
- GF_LAYER_UPDATE_NO_WAIT_IDLE —
Perform the operation immediately; the default behavior is to wait for the draw hardware to finish.
gf
This function updates a layer's parameters. Changes made to a layer with the gf_layer_*() set of functions are enqueued and don't take effect until you explicitly call this function.
|
Threads should not call this function between calls to gf_draw_begin() and gf_draw_end(), or a deadlock will occur.
This function will fail, if an unsupported attribute is supplied to the layer. |
- GF_ERR_OK
- Success.
- GF_ERR_NOSUPPORT
- Unsupported attribute.
QNX Graphics Framework
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
gf_layer_detach(),
gf_layer_disable(),
gf_layer_enable(),
gf_layer_query(),
gf_layer_update_multi()
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_update.html on line 152
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_update.html on line 152