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_dev_get_meminfo.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_dev_get_meminfo.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_dev_get_meminfo.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_dev_get_meminfo.html on line 8

gf_dev_get_meminfo()

Return information about a device's memory usage

Synopsis:

#include <gf/gf.h>

int gf_dev_get_meminfo( gf_dev_t gdev,
                        gf_mem_info_t * info) ;

Arguments:

gdev
The handle for the graphics device to query. This is the handle acquired by gf_dev_attach().
info
A gf_mem_info_t structure that the function fills in with information (see below).

Library:

gf

Description:

This function fills in a gf_mem_info_t structure with information about a device's memory usage.

The gf_mem_info_t structure contains at least these members:

unsigned total_mem
The total number of bytes available to aperture.
unsigned avail_mem
The number of unallocated bytes available to aperture.

WARNING: Threads should not call this function between calls to gf_draw_begin() and gf_draw_end(), or a deadlock will occur.

Returns:

GF_ERR_OK
Success.
GF_ERR_IODISPLAY
Unable to talk to io-display.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_dev_attach()


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_dev_get_meminfo.html on line 140

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_dev_get_meminfo.html on line 140