Screen configuration. Do not construct this yourself, but use API to query for available screen configurations. More...
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 |
Screen configuration. Do not construct this yourself, but use API to query for available screen configurations.
QGameOpenGLES2::ScreenConfig::ScreenConfig | ( | ) | [inline] |
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
|