vg-tiger

Display hardware-rendered content using OpenVG

Syntax:

vg-tiger     [-config=egl_configuration]
             [-display=display_id]
             [-double-buffer]
             [-interval=swap_interval]
             [-pbuffer]
             [-pipeline=pipeline_id]
             [-pos=x,y]
             [-single-buffer]
             [-size=widthxheight]
             [-verbose]
            

Runs on:

QNX Neutrino

Options:

-config=egl_configuration

Set optional EGL configuration specfiers. These optional configuration specifiers are set using a comma-separated list. The specifiers may include the following: pixel format and/or multi-sampling specifications, or an EGL configuration number. If you're using an EGL configuration number, it must not be specified with other specifiers.

Pixel format

Specify pixel format as one of the following:

  • rgba8888 or rgbx8888
  • rgba5551 or rgbx5551
  • rgb565
  • rgba4444 or rgbx4444

where "a" indicates alpha bits and "x" indicates ignored bits.

Sampling

Specify multi-sampling as:

[rate]x

where rate is a valid sampling rate (e.g., 2, 4, 8, ...).

EGL configuration number
Specify as an integer. The integer must be a valid EGL configuration ID (EGL_CONFIG_ID).

For example, the following are all valid ways of specifying the EGL configuation option:

  • -config=rgb565
  • -config=rgba8888,4x
  • -config=12

If no specific EGL configuration is provided, this utility gets the RGB pixel format with the smallest bit depth supported by the hardware.

-display=display_id
Set the display ID (integer) or the connection type (string) to the display. If you provide an integer, Screen interprets the integer as the indication of the display identifier. Otherwise, if you provide a string, Screen interprets the string as the display connection type. The connection type of display port can be one of the following strings:
  • internal
  • composite
  • svideo
  • YPbPr
  • rgb
  • rgbhv
  • dvi
  • hdmi
  • rgbhv
-double-buffer
Use two rendering buffers, while alternating between the two. This is the default.
-interval=swap_interval
Set the swap interval, as an integer (default is 1). The swap interval is the minimum number of vsync periods between image updates.
-pbuffer
Use an off-screen rendering surface.
-pipeline=pipeline_id
Set the pipeline ID.
-pos=x,y
Set the position, using integer x and y coordinates, of the viewport (default is 0, 0).
-size=widthxheight
Set the size, using integer values for width and height, of the viewport (default is fullscreen).
-single-buffer
Use one rendering buffer.
-verbose
Print information to display.

Description:

The vg-tiger binary is a command-line tool that can be used to confirm that all the necessary drivers for OpenVG are in place and can start successfully.

To run vg-tiger:

  1. Ensure that screen is running.
  2. Run vg-tiger from a shell.

Examples:

# vg-tiger