OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
OgreGLES2Prerequisites.h File Reference
#include "OgrePrerequisites.h"
#include "OgreLogManager.h"
#include "OgreMath.h"
#include <GLES3/gles3w.h>
+ Include dependency graph for OgreGLES2Prerequisites.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Ogre
 

This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/

 

Macros

#define _OgreGLES2Export   __declspec(dllimport)
 
#define DEBUG_(text)
 
#define EGL_CHECK_ERROR   {}
 
#define ENABLE_GL_CHECK   0
 
#define getGLES2SupportRef()   dynamic_cast<GLES2RenderSystem*>(Root::getSingleton().getRenderSystem())->getGLSupportRef()
 
#define GL_ANY_SAMPLES_PASSED_EXT   GL_ANY_SAMPLES_PASSED
 
#define GL_COMPRESSED_RGB8_ETC2   0x9274
 
#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2   0x9276
 
#define GL_COMPRESSED_RGBA8_ETC2_EAC   0x9278
 
#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC   0x9279
 
#define GL_COMPRESSED_SRGB8_ETC2   0x9275
 
#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2   0x9277
 
#define GL_DEPTH24_STENCIL8_OES   GL_DEPTH24_STENCIL8
 
#define GL_DEPTH_COMPONENT24_OES   GL_DEPTH_COMPONENT24
 
#define GL_DEPTH_COMPONENT32_OES   GL_DEPTH_COMPONENT32F
 
#define GL_ETC1_RGB8_OES   0x8D64
 
#define GL_FILL   0x1B02
 
#define GL_GLEXT_PROTOTYPES
 
#define GL_HALF_FLOAT_OES   GL_HALF_FLOAT
 
#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT   GL_MAP_FLUSH_EXPLICIT_BIT
 
#define GL_MAP_INVALIDATE_RANGE_BIT_EXT   GL_MAP_INVALIDATE_RANGE_BIT
 
#define GL_MAP_READ_BIT_EXT   GL_MAP_READ_BIT
 
#define GL_MAP_UNSYNCHRONIZED_BIT_EXT   GL_MAP_UNSYNCHRONIZED_BIT
 
#define GL_MAP_WRITE_BIT_EXT   GL_MAP_WRITE_BIT
 
#define GL_MAX_EXT   GL_MAX
 
#define GL_MAX_SAMPLES_APPLE   GL_MAX_SAMPLES
 
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT   0x84FF
 
#define GL_MIN_EXT   GL_MIN
 
#define GL_OES_compressed_ETC1_RGB8_texture   1
 
#define GL_PROGRAM_BINARY_LENGTH_OES   GL_PROGRAM_BINARY_LENGTH
 
#define GL_QUERY_RESULT_AVAILABLE_EXT   GL_QUERY_RESULT_AVAILABLE
 
#define GL_QUERY_RESULT_EXT   GL_QUERY_RESULT
 
#define GL_R16F_EXT   GL_R16F
 
#define GL_R32F_EXT   GL_R32F
 
#define GL_R8_EXT   GL_R8
 
#define GL_RED_EXT   GL_RED
 
#define GL_RG16F_EXT   GL_RG16F
 
#define GL_RG32F_EXT   GL_RG32F
 
#define GL_RG8_EXT   GL_RG8
 
#define GL_RG_EXT   GL_RG
 
#define GL_RGB16F_EXT   GL_RGB16F
 
#define GL_RGB32F_EXT   GL_RGB32F
 
#define GL_RGB8_OES   GL_RGB8
 
#define GL_RGBA16F_EXT   GL_RGBA16F
 
#define GL_RGBA32F_EXT   GL_RGBA32F
 
#define GL_RGBA8_OES   GL_RGBA8
 
#define GL_SAMPLER_2D_SHADOW_EXT   0x8B62
 
#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE   GL_SYNC_FLUSH_COMMANDS_BIT
 
#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE   GL_SYNC_GPU_COMMANDS_COMPLETE
 
#define GL_TEXTURE_MAX_ANISOTROPY_EXT   0x84FE
 
#define GL_TEXTURE_MAX_LEVEL_APPLE   GL_TEXTURE_MAX_LEVEL
 
#define GL_TIMEOUT_IGNORED_APPLE   GL_TIMEOUT_IGNORED
 
#define GL_WAIT_FAILED_APPLE   GL_WAIT_FAILED
 
#define GL_WRITE_ONLY_OES   GL_MAP_WRITE_BIT
 
#define glBeginQueryEXT   glBeginQuery
 
#define glBindVertexArrayOES   glBindVertexArray
 
#define glClientWaitSyncAPPLE   glClientWaitSync
 
#define glDeleteQueriesEXT   glDeleteQueries
 
#define glDeleteSyncAPPLE   glDeleteSync
 
#define glDeleteVertexArraysOES   glDeleteVertexArrays
 
#define glDrawArraysInstancedEXT   glDrawArraysInstanced
 
#define glDrawElementsInstancedEXT   glDrawElementsInstanced
 
#define glEndQueryEXT   glEndQuery
 
#define glFenceSyncAPPLE   glFenceSync
 
#define glFlushMappedBufferRangeEXT   glFlushMappedBufferRange
 
#define glGenQueriesEXT   glGenQueries
 
#define glGenVertexArraysOES   glGenVertexArrays
 
#define glGetProgramBinaryOES   glGetProgramBinary
 
#define glGetQueryObjectuivEXT   glGetQueryObjectuiv
 
#define glMapBufferRangeEXT   glMapBufferRange
 
#define glProgramBinaryOES   glProgramBinary
 
#define glRenderbufferStorageMultisampleAPPLE   glRenderbufferStorageMultisample
 
#define glUnmapBufferOES   glUnmapBuffer
 
#define glVertexAttribDivisorEXT   glVertexAttribDivisor
 
#define OGRE_CHECK_GL_ERROR(glFunc)   { glFunc; }
 
#define OGRE_IF_IOS_VERSION_IS_GREATER_THAN(vers)   if(static_cast<EAGL2Support*>(dynamic_cast<GLES2RenderSystem*>(Root::getSingleton().getRenderSystem())->getGLSupportRef())->getCurrentOSVersion() >= vers)
 

Typedefs

typedef SharedPtr
< GLES2GpuProgram > 
Ogre::GLES2GpuProgramPtr
 
typedef SharedPtr< GLES2Texture > Ogre::GLES2TexturePtr
 

Macro Definition Documentation

#define _OgreGLES2Export   __declspec(dllimport)

Definition at line 260 of file OgreGLES2Prerequisites.h.

#define DEBUG_ (   text)
Value:
{\
fprintf(stderr, "%s:%d: %s\n", __FUNCTION__, __LINE__, text); \
}

Definition at line 269 of file OgreGLES2Prerequisites.h.

#define EGL_CHECK_ERROR   {}

Definition at line 315 of file OgreGLES2Prerequisites.h.

#define ENABLE_GL_CHECK   0

Definition at line 274 of file OgreGLES2Prerequisites.h.

#define getGLES2SupportRef ( )    dynamic_cast<GLES2RenderSystem*>(Root::getSingleton().getRenderSystem())->getGLSupportRef()

Definition at line 123 of file OgreGLES2Prerequisites.h.

#define GL_ANY_SAMPLES_PASSED_EXT   GL_ANY_SAMPLES_PASSED

Definition at line 206 of file OgreGLES2Prerequisites.h.

#define GL_COMPRESSED_RGB8_ETC2   0x9274

Definition at line 108 of file OgreGLES2Prerequisites.h.

#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2   0x9276

Definition at line 110 of file OgreGLES2Prerequisites.h.

#define GL_COMPRESSED_RGBA8_ETC2_EAC   0x9278

Definition at line 112 of file OgreGLES2Prerequisites.h.

#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC   0x9279

Definition at line 113 of file OgreGLES2Prerequisites.h.

#define GL_COMPRESSED_SRGB8_ETC2   0x9275

Definition at line 109 of file OgreGLES2Prerequisites.h.

#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2   0x9277

Definition at line 111 of file OgreGLES2Prerequisites.h.

#define GL_DEPTH24_STENCIL8_OES   GL_DEPTH24_STENCIL8

Definition at line 193 of file OgreGLES2Prerequisites.h.

#define GL_DEPTH_COMPONENT24_OES   GL_DEPTH_COMPONENT24

Definition at line 189 of file OgreGLES2Prerequisites.h.

#define GL_DEPTH_COMPONENT32_OES   GL_DEPTH_COMPONENT32F

Definition at line 180 of file OgreGLES2Prerequisites.h.

#define GL_ETC1_RGB8_OES   0x8D64

Definition at line 106 of file OgreGLES2Prerequisites.h.

#define GL_FILL   0x1B02

Definition at line 127 of file OgreGLES2Prerequisites.h.

#define GL_GLEXT_PROTOTYPES

Definition at line 37 of file OgreGLES2Prerequisites.h.

#define GL_HALF_FLOAT_OES   GL_HALF_FLOAT

Definition at line 156 of file OgreGLES2Prerequisites.h.

#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT   GL_MAP_FLUSH_EXPLICIT_BIT

Definition at line 218 of file OgreGLES2Prerequisites.h.

#define GL_MAP_INVALIDATE_RANGE_BIT_EXT   GL_MAP_INVALIDATE_RANGE_BIT

Definition at line 219 of file OgreGLES2Prerequisites.h.

#define GL_MAP_READ_BIT_EXT   GL_MAP_READ_BIT

Definition at line 221 of file OgreGLES2Prerequisites.h.

#define GL_MAP_UNSYNCHRONIZED_BIT_EXT   GL_MAP_UNSYNCHRONIZED_BIT

Definition at line 220 of file OgreGLES2Prerequisites.h.

#define GL_MAP_WRITE_BIT_EXT   GL_MAP_WRITE_BIT

Definition at line 217 of file OgreGLES2Prerequisites.h.

#define GL_MAX_EXT   GL_MAX

Definition at line 185 of file OgreGLES2Prerequisites.h.

#define GL_MAX_SAMPLES_APPLE   GL_MAX_SAMPLES

Definition at line 201 of file OgreGLES2Prerequisites.h.

#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT   0x84FF

Definition at line 145 of file OgreGLES2Prerequisites.h.

#define GL_MIN_EXT   GL_MIN

Definition at line 184 of file OgreGLES2Prerequisites.h.

#define GL_OES_compressed_ETC1_RGB8_texture   1

Definition at line 105 of file OgreGLES2Prerequisites.h.

#define GL_PROGRAM_BINARY_LENGTH_OES   GL_PROGRAM_BINARY_LENGTH

Definition at line 236 of file OgreGLES2Prerequisites.h.

#define GL_QUERY_RESULT_AVAILABLE_EXT   GL_QUERY_RESULT_AVAILABLE

Definition at line 208 of file OgreGLES2Prerequisites.h.

#define GL_QUERY_RESULT_EXT   GL_QUERY_RESULT

Definition at line 207 of file OgreGLES2Prerequisites.h.

#define GL_R16F_EXT   GL_R16F

Definition at line 172 of file OgreGLES2Prerequisites.h.

#define GL_R32F_EXT   GL_R32F

Definition at line 173 of file OgreGLES2Prerequisites.h.

#define GL_R8_EXT   GL_R8

Definition at line 168 of file OgreGLES2Prerequisites.h.

#define GL_RED_EXT   GL_RED

Definition at line 166 of file OgreGLES2Prerequisites.h.

#define GL_RG16F_EXT   GL_RG16F

Definition at line 174 of file OgreGLES2Prerequisites.h.

#define GL_RG32F_EXT   GL_RG32F

Definition at line 175 of file OgreGLES2Prerequisites.h.

#define GL_RG8_EXT   GL_RG8

Definition at line 165 of file OgreGLES2Prerequisites.h.

#define GL_RG_EXT   GL_RG

Definition at line 167 of file OgreGLES2Prerequisites.h.

#define GL_RGB16F_EXT   GL_RGB16F

Definition at line 176 of file OgreGLES2Prerequisites.h.

#define GL_RGB32F_EXT   GL_RGB32F

Definition at line 177 of file OgreGLES2Prerequisites.h.

#define GL_RGB8_OES   GL_RGB8

Definition at line 160 of file OgreGLES2Prerequisites.h.

#define GL_RGBA16F_EXT   GL_RGBA16F

Definition at line 178 of file OgreGLES2Prerequisites.h.

#define GL_RGBA32F_EXT   GL_RGBA32F

Definition at line 179 of file OgreGLES2Prerequisites.h.

#define GL_RGBA8_OES   GL_RGBA8

Definition at line 161 of file OgreGLES2Prerequisites.h.

#define GL_SAMPLER_2D_SHADOW_EXT   0x8B62

Definition at line 140 of file OgreGLES2Prerequisites.h.

#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE   GL_SYNC_FLUSH_COMMANDS_BIT

Definition at line 228 of file OgreGLES2Prerequisites.h.

#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE   GL_SYNC_GPU_COMMANDS_COMPLETE

Definition at line 227 of file OgreGLES2Prerequisites.h.

#define GL_TEXTURE_MAX_ANISOTROPY_EXT   0x84FE

Definition at line 144 of file OgreGLES2Prerequisites.h.

#define GL_TEXTURE_MAX_LEVEL_APPLE   GL_TEXTURE_MAX_LEVEL

Definition at line 197 of file OgreGLES2Prerequisites.h.

#define GL_TIMEOUT_IGNORED_APPLE   GL_TIMEOUT_IGNORED

Definition at line 229 of file OgreGLES2Prerequisites.h.

#define GL_WAIT_FAILED_APPLE   GL_WAIT_FAILED

Definition at line 230 of file OgreGLES2Prerequisites.h.

#define GL_WRITE_ONLY_OES   GL_MAP_WRITE_BIT

Definition at line 151 of file OgreGLES2Prerequisites.h.

#define glBeginQueryEXT   glBeginQuery

Definition at line 211 of file OgreGLES2Prerequisites.h.

#define glBindVertexArrayOES   glBindVertexArray

Definition at line 243 of file OgreGLES2Prerequisites.h.

#define glClientWaitSyncAPPLE   glClientWaitSync

Definition at line 232 of file OgreGLES2Prerequisites.h.

#define glDeleteQueriesEXT   glDeleteQueries

Definition at line 210 of file OgreGLES2Prerequisites.h.

#define glDeleteSyncAPPLE   glDeleteSync

Definition at line 233 of file OgreGLES2Prerequisites.h.

#define glDeleteVertexArraysOES   glDeleteVertexArrays

Definition at line 245 of file OgreGLES2Prerequisites.h.

#define glDrawArraysInstancedEXT   glDrawArraysInstanced

Definition at line 241 of file OgreGLES2Prerequisites.h.

#define glDrawElementsInstancedEXT   glDrawElementsInstanced

Definition at line 240 of file OgreGLES2Prerequisites.h.

#define glEndQueryEXT   glEndQuery

Definition at line 212 of file OgreGLES2Prerequisites.h.

#define glFenceSyncAPPLE   glFenceSync

Definition at line 231 of file OgreGLES2Prerequisites.h.

#define glFlushMappedBufferRangeEXT   glFlushMappedBufferRange

Definition at line 223 of file OgreGLES2Prerequisites.h.

#define glGenQueriesEXT   glGenQueries

Definition at line 209 of file OgreGLES2Prerequisites.h.

#define glGenVertexArraysOES   glGenVertexArrays

Definition at line 244 of file OgreGLES2Prerequisites.h.

#define glGetProgramBinaryOES   glGetProgramBinary

Definition at line 238 of file OgreGLES2Prerequisites.h.

#define glGetQueryObjectuivEXT   glGetQueryObjectuiv

Definition at line 213 of file OgreGLES2Prerequisites.h.

#define glMapBufferRangeEXT   glMapBufferRange

Definition at line 222 of file OgreGLES2Prerequisites.h.

#define glProgramBinaryOES   glProgramBinary

Definition at line 237 of file OgreGLES2Prerequisites.h.

#define glRenderbufferStorageMultisampleAPPLE   glRenderbufferStorageMultisample

Definition at line 202 of file OgreGLES2Prerequisites.h.

#define glUnmapBufferOES   glUnmapBuffer

Definition at line 152 of file OgreGLES2Prerequisites.h.

#define glVertexAttribDivisorEXT   glVertexAttribDivisor

Definition at line 242 of file OgreGLES2Prerequisites.h.

#define OGRE_CHECK_GL_ERROR (   glFunc)    { glFunc; }

Definition at line 299 of file OgreGLES2Prerequisites.h.

#define OGRE_IF_IOS_VERSION_IS_GREATER_THAN (   vers)    if(static_cast<EAGL2Support*>(dynamic_cast<GLES2RenderSystem*>(Root::getSingleton().getRenderSystem())->getGLSupportRef())->getCurrentOSVersion() >= vers)

Definition at line 117 of file OgreGLES2Prerequisites.h.