Platform specific functions for a Desktop Linux platform.
More...
#include <DesktopLinuxPlatform.h>
|
| static Bool | wait_for_map (Display *display, XEvent *event, char *windowPointer) |
| | Callback for X11 events.
|
| |
| static Bool | wait_for_map (Display *display, XEvent *event, char *windowPointer) |
| | Callback for X11 events.
|
| |
| static Bool | wait_for_map (Display *display, XEvent *event, char *windowPointer) |
| | Callback for X11 events.
|
| |
| static Bool | wait_for_map (Display *display, XEvent *event, char *windowPointer) |
| | Callback for X11 events.
|
| |
| static Bool | wait_for_map (Display *display, XEvent *event, char *windowPointer) |
| | Callback for X11 events.
|
| |
|
| enum | WindowStatus {
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK
} |
| | An enum to define the status of a window. More...
|
| |
| enum | WindowStatus {
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK
} |
| | An enum to define the status of a window. More...
|
| |
| enum | WindowStatus {
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK
} |
| | An enum to define the status of a window. More...
|
| |
| enum | WindowStatus {
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK
} |
| | An enum to define the status of a window. More...
|
| |
| enum | WindowStatus {
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK
} |
| | An enum to define the status of a window. More...
|
| |
| enum | WindowStatus {
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK,
WINDOW_IDLE,
WINDOW_EXIT,
WINDOW_CLICK
} |
| | An enum to define the status of a window. More...
|
| |
| Vec2 | mouseClick |
| |
Platform specific functions for a Desktop Linux platform.
| MaliSDK::DesktopLinuxPlatform::DesktopLinuxPlatform |
( |
void |
| ) |
|
|
private |
| MaliSDK::DesktopLinuxPlatform::DesktopLinuxPlatform |
( |
void |
| ) |
|
|
private |
| MaliSDK::DesktopLinuxPlatform::DesktopLinuxPlatform |
( |
void |
| ) |
|
|
private |
| MaliSDK::DesktopLinuxPlatform::DesktopLinuxPlatform |
( |
void |
| ) |
|
|
private |
| MaliSDK::DesktopLinuxPlatform::DesktopLinuxPlatform |
( |
void |
| ) |
|
|
private |
Check status of the window.
- Returns
- The status of the window.
Implements MaliSDK::Platform.
| virtual WindowStatus MaliSDK::DesktopLinuxPlatform::checkWindow |
( |
void |
| ) |
|
|
virtual |
Check status of the window.
- Returns
- The status of the window.
Implements MaliSDK::Platform.
| virtual WindowStatus MaliSDK::DesktopLinuxPlatform::checkWindow |
( |
void |
| ) |
|
|
virtual |
Check status of the window.
- Returns
- The status of the window.
Implements MaliSDK::Platform.
| virtual WindowStatus MaliSDK::DesktopLinuxPlatform::checkWindow |
( |
void |
| ) |
|
|
virtual |
Check status of the window.
- Returns
- The status of the window.
Implements MaliSDK::Platform.
| virtual WindowStatus MaliSDK::DesktopLinuxPlatform::checkWindow |
( |
void |
| ) |
|
|
virtual |
Check status of the window.
- Returns
- The status of the window.
Implements MaliSDK::Platform.
| virtual void MaliSDK::DesktopLinuxPlatform::createWindow |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
Create a native window on the target device.
- Parameters
-
| [in] | width | The required width of the window. |
| [in] | height | The required height of the window. |
Implements MaliSDK::Platform.
| void MaliSDK::DesktopLinuxPlatform::createWindow |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
A window is not actually created by this function. Call createX11Window after the EGL display has been initialized to get a window.
Implements MaliSDK::Platform.
| virtual void MaliSDK::DesktopLinuxPlatform::createWindow |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
Create a native window on the target device.
- Parameters
-
| [in] | width | The required width of the window. |
| [in] | height | The required height of the window. |
Implements MaliSDK::Platform.
| virtual void MaliSDK::DesktopLinuxPlatform::createWindow |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
Create a native window on the target device.
- Parameters
-
| [in] | width | The required width of the window. |
| [in] | height | The required height of the window. |
Implements MaliSDK::Platform.
| virtual void MaliSDK::DesktopLinuxPlatform::createWindow |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
Create a native window on the target device.
- Parameters
-
| [in] | width | The required width of the window. |
| [in] | height | The required height of the window. |
Implements MaliSDK::Platform.
| bool MaliSDK::DesktopLinuxPlatform::createX11Window |
( |
void |
| ) |
|
Create an X11 window.
It is used by EGLRuntime::initializeEGL, and can be called only after having initialized the EGL display.
| bool MaliSDK::DesktopLinuxPlatform::createX11Window |
( |
void |
| ) |
|
Create an X11 window.
It is used by EGLRuntime::initializeEGL, and can be called only after having initialized the EGL display.
| bool MaliSDK::DesktopLinuxPlatform::createX11Window |
( |
void |
| ) |
|
Create an X11 window.
It is used by EGLRuntime::initializeEGL, and can be called only after having initialized the EGL display.
| bool MaliSDK::DesktopLinuxPlatform::createX11Window |
( |
void |
| ) |
|
Create an X11 window.
It is used by EGLRuntime::initializeEGL, and can be called only after having initialized the EGL display.
| bool MaliSDK::DesktopLinuxPlatform::createX11Window |
( |
void |
| ) |
|
Create an X11 window.
It is used by EGLRuntime::initializeEGL, and can be called only after having initialized the EGL display.
| virtual void MaliSDK::DesktopLinuxPlatform::destroyWindow |
( |
void |
| ) |
|
|
virtual |
| virtual void MaliSDK::DesktopLinuxPlatform::destroyWindow |
( |
void |
| ) |
|
|
virtual |
| virtual void MaliSDK::DesktopLinuxPlatform::destroyWindow |
( |
void |
| ) |
|
|
virtual |
| void MaliSDK::DesktopLinuxPlatform::destroyWindow |
( |
void |
| ) |
|
|
virtual |
| virtual void MaliSDK::DesktopLinuxPlatform::destroyWindow |
( |
void |
| ) |
|
|
virtual |
| static Platform* MaliSDK::DesktopLinuxPlatform::getInstance |
( |
void |
| ) |
|
|
static |
Get the singleton instance of this class.
If the instance does not exist, it is created.
- Returns
- The only instance of this class.
| static Platform* MaliSDK::DesktopLinuxPlatform::getInstance |
( |
void |
| ) |
|
|
static |
Get the singleton instance of this class.
If the instance does not exist, it is created.
- Returns
- The only instance of this class.
| static Platform* MaliSDK::DesktopLinuxPlatform::getInstance |
( |
void |
| ) |
|
|
static |
Get the singleton instance of this class.
If the instance does not exist, it is created.
- Returns
- The only instance of this class.
| Platform * MaliSDK::DesktopLinuxPlatform::getInstance |
( |
void |
| ) |
|
|
static |
Get the singleton instance of this class.
If the instance does not exist, it is created.
- Returns
- The only instance of this class.
| static Platform* MaliSDK::DesktopLinuxPlatform::getInstance |
( |
void |
| ) |
|
|
static |
Get the singleton instance of this class.
If the instance does not exist, it is created.
- Returns
- The only instance of this class.
| static Bool MaliSDK::DesktopLinuxPlatform::wait_for_map |
( |
Display * |
display, |
|
|
XEvent * |
event, |
|
|
char * |
windowPointer |
|
) |
| |
|
staticprivate |
Callback for X11 events.
Waits for map notification.
| static Bool MaliSDK::DesktopLinuxPlatform::wait_for_map |
( |
Display * |
display, |
|
|
XEvent * |
event, |
|
|
char * |
windowPointer |
|
) |
| |
|
staticprivate |
Callback for X11 events.
Waits for map notification.
| static Bool MaliSDK::DesktopLinuxPlatform::wait_for_map |
( |
Display * |
display, |
|
|
XEvent * |
event, |
|
|
char * |
windowPointer |
|
) |
| |
|
staticprivate |
Callback for X11 events.
Waits for map notification.
| Bool MaliSDK::DesktopLinuxPlatform::wait_for_map |
( |
Display * |
display, |
|
|
XEvent * |
event, |
|
|
char * |
windowPointer |
|
) |
| |
|
staticprivate |
Callback for X11 events.
Waits for map notification.
| static Bool MaliSDK::DesktopLinuxPlatform::wait_for_map |
( |
Display * |
display, |
|
|
XEvent * |
event, |
|
|
char * |
windowPointer |
|
) |
| |
|
staticprivate |
Callback for X11 events.
Waits for map notification.
| Colormap MaliSDK::DesktopLinuxPlatform::colormap |
|
private |
An X11 ColorMap.
See X11 documentation for more details.
| static Platform * MaliSDK::DesktopLinuxPlatform::instance = NULL |
|
staticprivate |
The only instance of this class.
| XVisualInfo * MaliSDK::DesktopLinuxPlatform::visual |
|
private |
An X11 XVisualInfo.
See X11 documentation for more details.
| int MaliSDK::DesktopLinuxPlatform::windowHeight |
|
private |
The height of the window (in pixels).
| int MaliSDK::DesktopLinuxPlatform::windowWidth |
|
private |
The width of the window (in pixels).
The documentation for this class was generated from the following files:
- /home/jenkins/workspace/graphics_opengles_sdk_gerrit/Architecture/x86/OS/linux/simple_framework/inc/DesktopLinuxPlatform.h
- /home/jenkins/workspace/graphics_opengles_sdk_gerrit/Architecture/x86/OS/linux/samples/opengles_30/astc_textures/DesktopLinuxPlatform.h
- /home/jenkins/workspace/graphics_opengles_sdk_gerrit/Architecture/x86/OS/linux/samples/opengles_30/metaballs/DesktopLinuxPlatform.h
- /home/jenkins/workspace/graphics_opengles_sdk_gerrit/Architecture/x86/OS/linux/samples/opengles_30/skybox/DesktopLinuxPlatform.h
- /home/jenkins/workspace/graphics_opengles_sdk_gerrit/Architecture/x86/OS/linux/samples/opengles_30/terrain/DesktopLinuxPlatform.h
- /home/jenkins/workspace/graphics_opengles_sdk_gerrit/Architecture/x86/OS/linux/simple_framework/src/DesktopLinuxPlatform.cpp
- /home/jenkins/workspace/graphics_opengles_sdk_gerrit/Architecture/x86/OS/linux/samples/opengles_30/astc_textures/DesktopLinuxPlatform.cpp
- /home/jenkins/workspace/graphics_opengles_sdk_gerrit/Architecture/x86/OS/linux/samples/opengles_30/metaballs/DesktopLinuxPlatform.cpp
- /home/jenkins/workspace/graphics_opengles_sdk_gerrit/Architecture/x86/OS/linux/samples/opengles_30/skybox/DesktopLinuxPlatform.cpp
- /home/jenkins/workspace/graphics_opengles_sdk_gerrit/Architecture/x86/OS/linux/samples/opengles_30/terrain/DesktopLinuxPlatform.cpp