MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QGameOpenGLES2::ScreenConfig Class Reference

Screen configuration. Do not construct this yourself, but use API to query for available screen configurations. More...

List of all members.

Public Member Functions

  ScreenConfig ()

Public Attributes

int  mConfigurationIndex
  The index of this configuration.
int  mWidthInPixels
  The width of the drawing surface in pixels.
int  mHeightInPixels
  The height of the drawing surface in pixels.
ScalingPerformance  mPerformance
  Indication of the performance of this configuration.
bool  mIsNativeResolution
  True, if this configuration represents full screen.
int  mMaxFPS
bool  mSwapIntervalWorks

Detailed Description

Screen configuration. Do not construct this yourself, but use API to query for available screen configurations.


Constructor & Destructor Documentation

QGameOpenGLES2::ScreenConfig::ScreenConfig (  )  [inline]

Member Data Documentation

The index of this configuration.

The height of the drawing surface in pixels.

True, if this configuration represents full screen.

Maximum theoretical frame rate of this screen configuration. If swaps are synchronized to VSYNC, this value gives the VSYNC rate with swap interval 1. If swaps are not synchronized, OR this information is not known, this value is -1.

Indication of the performance of this configuration.

A flag indicating whether you can trust swap interval to work or not. Some devices do support the API, but do not support, e.g., 1:2 swaps. This flag is true only if you can get MAXFPS, MAXFPS/2, MAXFPS/3 swaps. Unsynced (to VSYNC) swaps are not considered important.

The width of the drawing surface in pixels.


Copyright (C) 2010-2011 Nokia Corporation
Nokia Proprietary
MeeGo 1.2 Harmattan API