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_3d_query_config.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_3d_query_config.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_3d_query_config.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_3d_query_config.html on line 8
Query a 3D configuration
#include <gf3d.h>
int gf_3d_query_config( gf_3d_config_info_t* info,
gf_dev_t dev,
EGLDisplay display,
EGLConfig cfg );
- info
- A pointer to a gf_3d_config_info_t structure that the function fills with information about the attributes required to create a GF surface for a 3D configuration. See below.
- dev
- The handle for the graphics device to query. This is the handle acquired by gf_dev_attach().
- display
- The EGL display you want to query.
- cfg
- The EGLConfig ID you want to query. You can select the EGLConfig ID from a list returned by eglChooseConfig().
gf
This function lets you translate EGL configuration attributes into GF
attributes. This lets you create a GF surface that can render 3D content. For a given EGL configuration, you can find out:
- The gf_format_t of the color buffer: info->format.
- The flags you should OR into the flags
argument of gf_surface_create_*() to make sure the
allocated surface is 3D renderable: info->create_flags.
- GF_ERR_OK
- Success.
QNX Graphics Framework
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
gf_3d_target_create(),
gf_3d_target_free()
“Pixmap surfaces” in the Using OpenGL ES and OpenVG chapter
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_3d_query_config.html on line 139
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_3d_query_config.html on line 139