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::WindowsPlatform Class Reference

Platform specific functions for the Microsoft Windows platform. More...

#include <WindowsPlatform.h>

Inheritance diagram for MaliSDK::WindowsPlatform:
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 LRESULT CALLBACK processWindow (HWND hWnd, UINT uiMsg, WPARAM wParam, LPARAM lParam)
 Process callbacks to the window.
- Static Public Member Functions inherited from MaliSDK::Platform
static void log (const char *format,...)
 Print a log message to the terminal.

Private Member Functions

 WindowsPlatform (void)
 Default constructor.

Private Attributes

MSG message

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 the Microsoft Windows platform.


Member Function Documentation

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

Check status of the window.

Returns:
The status of the window.

Implements MaliSDK::Platform.

void MaliSDK::WindowsPlatform::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::WindowsPlatform::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: