Home
Developer Resources
Technical Articles

QNX Technical Articles

QNX® Software Development Platform 6.5.0 SP1 Graphics Sample Source Code Notes (Build ID 201606221450)

QNX® Software Development Platform 6.5.0 SP1 Graphics Sample Source Code Notes

Date of this edition: June 30, 2016

Throughout this document, you will see build identifiers associated with particular builds of Screen Graphics Subsystem for QNX SDP 6.5 SP1. We use these identifiers to differentiate between builds of Screen Graphics Subsystem for QNX SDP 6.5 SP1; each build identifier corresponds to the date we posted the package on the Download Center on our website, www.qnx.com

Build Identifier: Date Posted:
201601081607 January 8, 2016
201606221450 June 29, 2016

This archive is applicable to the following builds of Screen Graphics Subsystem for QNX SDP 6.5 SP1:

  • Screen Graphics Subsystem for QNX SDP 6.5 SP1 (201601081607)
  • Screen Graphics Subsystem for QNX SDP 6.5 SP1 (201606221450)

Before you install this archive, you should already have QNX Software Development Platform 6.5.0 SP1, one of the above builds of Screen Graphics Subsystem for QNX SDP 6.5 SP1, and any recommended patches installed on your host.

Host OS: You can install this package on one of the following development hosts:

  • Microsoft Windows 7 Professional 32- and 64-bit, Vista Business 32- and 64-bit, XP Professional SP3, or 2000 SP4
  • Red Hat Enterprise Linux 5.4 Desktop 32- and 64-bit, Red Hat Fedora 12, Ubuntu Workstation 9.10, 11.04, and 12.04 32- and 64-bit, openSUSE 11

This guide includes:

What's in this package?

This package includes the source code that shows how you can use the Screen API. The source code is under source_directory/src/apps/screen/ where source_directory is where you extracted this package.

The binary that corresponds to each application is included as part of your version of the Screen Graphics Subsystem for QNX SDP 6.5 SP1 installation. You can find the binaries on your development host under $QNX_TARGET/cpu_arch/usr/bin/ where cpu_arch is the CPU architecture of your target. Note that not all binaries are available for all targets.

Binary Source code Description
dpy-vsync tutorials/dpy-vsync Display software-rasterized content on multiple displays
events tutorials/events Create a window manager connection to Screen and dump the events received as output to the console
gles1-vsync tutorials/gles1-vsync Display hardware-rendered content using OpenGL ES 1.x
gles2-gears demos/gles2-gears Display hardware-rendered content using OpenGL ES 2.x
sharewin demos/sharewin Demonstrate content sharing between windows
sw-vsync tutorials/sw-vsync Display software-rasterized content
vcapture-demo demos/vcapture-demo Demonstrate camera and video content

Note:

The -dmode option for this utility is supported only by Screen Graphics Subsystem for QNX SDP 6.5 SP1 (201606221450).


win-vsync tutorials/win-vsync Display software-rasterized content using multiple windows in a hierarchy

Installing this package

  1. Log into your myQNX account on our website, and then go to the Download area.
  2. Create a directory where you can download this package to.
  3. Go to the directory you just created, and download the src-screen-examples.tgz archive to your host environment.
  4. On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
  5. Extract the Graphics sample source using the tar command:
    tar -zxvf src-screen-examples.tgz

Compiling the source for QNX Neutrino RTOS 6.5.0 SP1

  1. If you're not already there, go to the location where you extracted the source archive:
    cd source_directory

    where source_directory is where you've extracted the source code to.

  2. Compile by running make:
    make

    The binary output from compiling the source is located under the directory of each of the respective applications.

Technical support

To obtain technical support for any QNX product, visit the Support area on our website (www.qnx.com). You'll find a wide range of support options, including community forums.