gf_3d_query_config()

Query a 3D configuration

Synopsis:

#include <gf3d.h>

int gf_3d_query_config( gf_3d_config_info_t*    info,
                        gf_dev_t                dev,
                        EGLDisplay              display,
                        EGLConfig               cfg  );

Arguments:

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().

Library:

gf

Description:

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:

Returns:

GF_ERR_OK
Success.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

gf_3d_target_create(), gf_3d_target_free()

Pixmap surfaces in the Using OpenGL ES and OpenVG chapter