OGRE
1.8
Object-Oriented Graphics Rendering Engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
OgreAndroidGLSupport.h
Go to the documentation of this file.
1
/*
2
-----------------------------------------------------------------------------
3
This source file is part of OGRE
4
(Object-oriented Graphics Rendering Engine)
5
For the latest info, see http://www.ogre3d.org/
6
7
Copyright (c) 2000-2013 Torus Knot Software Ltd
8
9
Permission is hereby granted, free of charge, to any person obtaining a copy
10
of this software and associated documentation files (the "Software"), to deal
11
in the Software without restriction, including without limitation the rights
12
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
copies of the Software, and to permit persons to whom the Software is
14
furnished to do so, subject to the following conditions:
15
16
The above copyright notice and this permission notice shall be included in
17
all copies or substantial portions of the Software.
18
19
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25
THE SOFTWARE.
26
-----------------------------------------------------------------------------
27
*/
28
29
#ifndef __AndroidGLSupport_H__
30
#define __AndroidGLSupport_H__
31
32
#include "
OgreGLES2Support.h
"
33
34
namespace
Ogre {
35
class
GLES2PBuffer;
36
37
class
_OgrePrivate
AndroidGLSupport
:
public
GLES2Support
38
{
39
public
:
40
AndroidGLSupport
();
41
virtual
~
AndroidGLSupport
();
42
43
void
switchMode(
uint
& width,
uint
& height,
short
& frequency);
44
String
getDisplayName(
void
);
45
46
RenderWindow
* createWindow(
bool
autoCreateWindow,
47
GLES2RenderSystem
*renderSystem,
48
const
String
& windowTitle);
49
50
RenderWindow
* newWindow(
const
String
& name,
51
unsigned
int
width,
unsigned
int
height,
52
bool
fullScreen,
53
const
NameValuePairList
*miscParams = 0);
54
55
void
start(
void
);
56
void
stop(
void
);
57
void
addConfig(
void
);
58
void
refreshConfig(
void
);
59
String
validateConfig(
void
);
60
void
setConfigOption(
const
String
&name,
const
String
&value);
61
void
* getProcAddress(
const
Ogre::String
& name);
62
};
63
}
64
65
#endif
Ogre::RenderWindow
Manages the target rendering window.
Definition:
OgreRenderWindow.h:62
OgreGLES2Support.h
Ogre::NameValuePairList
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
Definition:
OgreCommon.h:553
Ogre::AndroidGLSupport
Definition:
OgreAndroidGLSupport.h:37
Ogre::GLES2RenderSystem
Implementation of GL ES 2.x as a rendering system.
Definition:
OgreGLES2RenderSystem.h:53
_OgrePrivate
#define _OgrePrivate
Definition:
OgrePlatform.h:234
Ogre::GLES2Support
Definition:
OgreGLES2Support.h:40
Ogre::String
_StringBase String
Definition:
OgrePrerequisites.h:466
Ogre::uint
unsigned int uint
Definition:
OgrePrerequisites.h:119
RenderSystems
GLES2
include
Android
OgreAndroidGLSupport.h
Generated on Fri Jun 20 2014 00:48:08 for OGRE by
1.8.7