Mali OpenGL ES SDK  2.0.0
A simple framework to aid development of OpenGL ES applications targeting ARM Mali platforms.
 All Classes Files Functions Variables Enumerations Enumerator
MaliSDK::LinuxOnARMPlatform Class Reference

Platform specific functions for a Desktop Linux platform. More...

#include <LinuxOnARMPlatform.h>

Inheritance diagram for MaliSDK::LinuxOnARMPlatform:
MaliSDK::Platform

List of all members.

Public Member Functions

virtual void createWindow (int width, int height)
 Create a native window on the target device.
virtual void destroyWindow (void)
 Close and clean-up the native window.
virtual WindowStatus checkWindow (void)
 Check status of the window.

Static Public Member Functions

static PlatformgetInstance (void)
 Get the singleton instance of this class.
- Static Public Member Functions inherited from MaliSDK::Platform
static void log (const char *format,...)
 Print a log message to the terminal.

Private Member Functions

 LinuxOnARMPlatform (void)
 Default constructor.

Static Private Attributes

static Platforminstance = NULL
 The only instance of this class.

Additional Inherited Members

- Public Types inherited from MaliSDK::Platform
enum  WindowStatus { WINDOW_IDLE, WINDOW_EXIT, WINDOW_CLICK }
 An enum to define the status of a window. More...
- Public Attributes inherited from MaliSDK::Platform
Vec2 mouseClick

Detailed Description

Platform specific functions for a Desktop Linux platform.


Member Function Documentation

Platform::WindowStatus MaliSDK::LinuxOnARMPlatform::checkWindow ( void  )
virtual

Check status of the window.

Returns:
The status of the window.

Implements MaliSDK::Platform.

void MaliSDK::LinuxOnARMPlatform::createWindow ( int  width,
int  height 
)
virtual

Create a native window on the target device.

Parameters:
[in]widthThe required width of the window.
[in]heightThe required height of the window.

Implements MaliSDK::Platform.

Platform * MaliSDK::LinuxOnARMPlatform::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.

Reimplemented from MaliSDK::Platform.


The documentation for this class was generated from the following files: