egl-configs

Query and display the number of all supported framebuffer configurations for the specified display

Syntax:

egl-configs [-display=egl_display_id]

Runs on:

QNX Neutrino

Options:

-display=egl_display_id

Query and display the number of all supported framebuffer configurations for this specific display. Use the EGL display ID that's been configured in the khronos section of your configuation file, graphics.conf.

If no EGL display ID is provided, then this utility uses the default display.

Description:

The egl-configs utility is a command-line tool that's used to determine which EGL configurations are supported by the GPU on your target. Use the egl-configs utility to help in choosing your EGL configuration (using eglChooseConfig()) in your Screen application when you're using the Khronos rendering APIs. See Khronos rendering APIs for more information.

To run egl-configs:

  1. Ensure that screen is running.
  2. Run egl-configs from a shell.

Examples:

Query displays and pipelines on an i.MX6x:

Note: The "\" below means that the contents should appear on the same line.
# egl-configs 
EGL_VENDOR = Vivante Corporation
EGL_VERSION = 1.4
EGL_CLIENT_APIS = OpenGL_ES OpenVG
EGL_EXTENSIONS = EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image \
                 EGL_KHR_gl_renderbuffer_image EGL_KHR_lock_surface EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_EXT_create_context_robustness EGL_EXT_buffer_age \
                 EGL_EXT_protected_surface EGL_QNX_api_trace

+--------+--------+-----+-------+------+-----------+-------+-------+---------+------+---------+--------+---------+--------+----+-----+-----+-------+-------+-------+----+--------+-----+-------+------+
| config |        |     |       |      |           |       |       |         |      |         |        |         |        |    |     |     |       |       |       |    |        |    transparent     |
|   id   | caveat | red | green | blue | luminance | alpha | depth | stencil | mask | samples | window | pbuffer | pixmap | sw | lin | pre | gles1 | gles2 | gles3 | vg | native | red | green | blue |
+--------+--------+--+--+-------+------+-----------+-------+-------+---------+------+---------+--------+---------+--------+----+-----+-----+-------+-------+-------+----+--------+-----+-------+------+
|   1    |  none  |   5 |     6 |    5 |         0 |     0 |     0 |       0 |    8 |       0 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|   2    |  none  |   5 |     6 |    5 |         0 |     0 |     0 |       8 |    8 |       0 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|   3    |  none  |   5 |     6 |    5 |         0 |     0 |    16 |       0 |    8 |       0 |    x   |    x    |    x   |  o |  x  |  x  |   x   |   x   |   x   |  x |    x   | n/a |  n/a  | n/a  |
|   4    |  none  |   5 |     6 |    5 |         0 |     0 |    24 |       0 |    8 |       0 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|   5    |  none  |   5 |     6 |    5 |         0 |     0 |    24 |       8 |    8 |       0 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|   6    |  none  |   5 |     6 |    5 |         0 |     0 |     0 |       0 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|   7    |  none  |   5 |     6 |    5 |         0 |     0 |     0 |       8 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|   8    |  none  |   5 |     6 |    5 |         0 |     0 |    16 |       0 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|   9    |  none  |   5 |     6 |    5 |         0 |     0 |    24 |       0 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  10    |  none  |   5 |     6 |    5 |         0 |     0 |    24 |       8 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  11    |  none  |   8 |     8 |    8 |         0 |     0 |     0 |       0 |    8 |       0 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  12    |  none  |   8 |     8 |    8 |         0 |     0 |     0 |       8 |    8 |       0 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  13    |  none  |   8 |     8 |    8 |         0 |     0 |    16 |       0 |    8 |       0 |    x   |    x    |    x   |  o |  x  |  x  |   x   |   x   |   x   |  x |    x   | n/a |  n/a  | n/a  |
|  14    |  none  |   8 |     8 |    8 |         0 |     0 |    24 |       0 |    8 |       0 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  15    |  none  |   8 |     8 |    8 |         0 |     0 |    24 |       8 |    8 |       0 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  16    |  none  |   8 |     8 |    8 |         0 |     0 |     0 |       0 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  17    |  none  |   8 |     8 |    8 |         0 |     0 |     0 |       8 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  18    |  none  |   8 |     8 |    8 |         0 |     0 |    16 |       0 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  19    |  none  |   8 |     8 |    8 |         0 |     0 |    24 |       0 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  20    |  none  |   8 |     8 |    8 |         0 |     0 |    24 |       8 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  21    |  none  |   8 |     8 |    8 |         0 |     8 |     0 |       0 |    8 |       0 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  22    |  none  |   8 |     8 |    8 |         0 |     8 |     0 |       8 |    8 |       0 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  23    |  none  |   8 |     8 |    8 |         0 |     8 |    16 |       0 |    8 |       0 |    x   |    x    |    x   |  o |  x  |  x  |   x   |   x   |   x   |  x |    x   | n/a |  n/a  | n/a  |
|  24    |  none  |   8 |     8 |    8 |         0 |     8 |    24 |       0 |    8 |       0 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  25    |  none  |   8 |     8 |    8 |         0 |     8 |    24 |       8 |    8 |       0 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  26    |  none  |   8 |     8 |    8 |         0 |     8 |     0 |       0 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  27    |  none  |   8 |     8 |    8 |         0 |     8 |     0 |       8 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  28    |  none  |   8 |     8 |    8 |         0 |     8 |    16 |       0 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  29    |  none  |   8 |     8 |    8 |         0 |     8 |    24 |       0 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
|  30    |  none  |   8 |     8 |    8 |         0 |     8 |    24 |       8 |    8 |       4 |    x   |    x    |    x   |  o |     |     |   x   |   x   |   x   |    |    x   | n/a |  n/a  | n/a  |
+--------+--------+-----+-------+------+-----------+-------+-------+---------+------+---------+--------+---------+--------+----+-----+-----+-------+-------+-------+----+--------+-----+-------+------+