Mali OpenGL ES SDK
2.0.0
A simple framework to aid development of OpenGL ES applications targeting ARM Mali platforms.
Main Page
Classes
Files
File List
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
WindowsPlatform.h
1
/*
2
* This confidential and proprietary software may be used only as
3
* authorised by a licensing agreement from ARM Limited
4
* (C) COPYRIGHT 2012 ARM Limited
5
* ALL RIGHTS RESERVED
6
* The entire notice above must be reproduced on all authorised
7
* copies and copies may only be made to the extent permitted
8
* by a licensing agreement from ARM Limited.
9
*/
10
11
#ifndef WINDOWSPLATFORM_H
12
#define WINDOWSPLATFORM_H
13
14
#ifndef WIN32_LEAN_AND_MEAN
15
# define WIN32_LEAN_AND_MEAN 1
16
#endif
/* WIN32_LEAN_AND_MEAN */
17
18
#include "Platform.h"
19
20
#include <windows.h>
21
22
namespace
MaliSDK
23
{
27
class
WindowsPlatform
:
public
Platform
28
{
29
private
:
30
MSG message;
31
35
static
Platform
*
instance
;
36
40
WindowsPlatform
(
void
);
41
public
:
48
static
Platform
*
getInstance
(
void
);
49
virtual
void
createWindow
(
int
width,
int
height);
50
virtual
void
destroyWindow
(
void
);
51
virtual
WindowStatus
checkWindow
(
void
);
52
56
static
LRESULT CALLBACK
processWindow
(HWND hWnd, UINT uiMsg, WPARAM wParam, LPARAM lParam);
57
};
58
}
59
#endif
/* WINDOWSPLATFORM_H */
simple-framework
inc
WindowsPlatform.h
(C) ARM Ltd. 2012