OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
OgreGLES2Prerequisites.h File Reference
#include "OgrePrerequisites.h"
#include "OgreLogManager.h"
#include "OgreMath.h"
#include <GLES3/gles3w.h>
#include <GLES3/gl3platform.h>
#include <GLES3/gl3.h>
#include <EGL/egl.h>

Namespaces

namespace  Ogre
 
namespace  Ogre::v1
 

Macros

#define _OgreGLES2Export
 
#define DEBUG_(text)
 
#define EGL_CHECK_ERROR   {}
 
#define ENABLE_GL_CHECK   0
 
#define getGLES2RenderSystem()   dynamic_cast<GLES2RenderSystem*>(Root::getSingleton().getRenderSystem())
 
#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_LINE   0x1B01
 
#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_POINT   0x1B00
 
#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 OCGE   OGRE_CHECK_GL_ERROR
 
#define OGRE_CHECK_GL_ERROR(glFunc)   { glFunc; }
 
#define OGRE_IF_IOS_VERSION_IS_GREATER_THAN(vers)
 

Typedefs

typedef SharedPtr< GLES2TextureOgre::GLES2TexturePtr
 

Macro Definition Documentation

◆ _OgreGLES2Export

#define _OgreGLES2Export

◆ DEBUG_

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

◆ EGL_CHECK_ERROR

#define EGL_CHECK_ERROR   {}

◆ ENABLE_GL_CHECK

#define ENABLE_GL_CHECK   0

◆ getGLES2RenderSystem

#define getGLES2RenderSystem ( )    dynamic_cast<GLES2RenderSystem*>(Root::getSingleton().getRenderSystem())

◆ GL_ANY_SAMPLES_PASSED_EXT

#define GL_ANY_SAMPLES_PASSED_EXT   GL_ANY_SAMPLES_PASSED

◆ GL_COMPRESSED_RGB8_ETC2

#define GL_COMPRESSED_RGB8_ETC2   0x9274

◆ GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2

#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2   0x9276

◆ GL_COMPRESSED_RGBA8_ETC2_EAC

#define GL_COMPRESSED_RGBA8_ETC2_EAC   0x9278

◆ GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC

#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC   0x9279

◆ GL_COMPRESSED_SRGB8_ETC2

#define GL_COMPRESSED_SRGB8_ETC2   0x9275

◆ GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2

#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2   0x9277

◆ GL_DEPTH24_STENCIL8_OES

#define GL_DEPTH24_STENCIL8_OES   GL_DEPTH24_STENCIL8

◆ GL_DEPTH_COMPONENT24_OES

#define GL_DEPTH_COMPONENT24_OES   GL_DEPTH_COMPONENT24

◆ GL_DEPTH_COMPONENT32_OES

#define GL_DEPTH_COMPONENT32_OES   GL_DEPTH_COMPONENT32F

◆ GL_ETC1_RGB8_OES

#define GL_ETC1_RGB8_OES   0x8D64

◆ GL_FILL

#define GL_FILL   0x1B02

◆ GL_GLEXT_PROTOTYPES

#define GL_GLEXT_PROTOTYPES

◆ GL_HALF_FLOAT_OES

#define GL_HALF_FLOAT_OES   GL_HALF_FLOAT

◆ GL_LINE

#define GL_LINE   0x1B01

◆ GL_MAP_FLUSH_EXPLICIT_BIT_EXT

#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT   GL_MAP_FLUSH_EXPLICIT_BIT

◆ GL_MAP_INVALIDATE_RANGE_BIT_EXT

#define GL_MAP_INVALIDATE_RANGE_BIT_EXT   GL_MAP_INVALIDATE_RANGE_BIT

◆ GL_MAP_READ_BIT_EXT

#define GL_MAP_READ_BIT_EXT   GL_MAP_READ_BIT

◆ GL_MAP_UNSYNCHRONIZED_BIT_EXT

#define GL_MAP_UNSYNCHRONIZED_BIT_EXT   GL_MAP_UNSYNCHRONIZED_BIT

◆ GL_MAP_WRITE_BIT_EXT

#define GL_MAP_WRITE_BIT_EXT   GL_MAP_WRITE_BIT

◆ GL_MAX_EXT

#define GL_MAX_EXT   GL_MAX

◆ GL_MAX_SAMPLES_APPLE

#define GL_MAX_SAMPLES_APPLE   GL_MAX_SAMPLES

◆ GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT

#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT   0x84FF

◆ GL_MIN_EXT

#define GL_MIN_EXT   GL_MIN

◆ GL_OES_compressed_ETC1_RGB8_texture

#define GL_OES_compressed_ETC1_RGB8_texture   1

◆ GL_POINT

#define GL_POINT   0x1B00

◆ GL_PROGRAM_BINARY_LENGTH_OES

#define GL_PROGRAM_BINARY_LENGTH_OES   GL_PROGRAM_BINARY_LENGTH

◆ GL_QUERY_RESULT_AVAILABLE_EXT

#define GL_QUERY_RESULT_AVAILABLE_EXT   GL_QUERY_RESULT_AVAILABLE

◆ GL_QUERY_RESULT_EXT

#define GL_QUERY_RESULT_EXT   GL_QUERY_RESULT

◆ GL_R16F_EXT

#define GL_R16F_EXT   GL_R16F

◆ GL_R32F_EXT

#define GL_R32F_EXT   GL_R32F

◆ GL_R8_EXT

#define GL_R8_EXT   GL_R8

◆ GL_RED_EXT

#define GL_RED_EXT   GL_RED

◆ GL_RG16F_EXT

#define GL_RG16F_EXT   GL_RG16F

◆ GL_RG32F_EXT

#define GL_RG32F_EXT   GL_RG32F

◆ GL_RG8_EXT

#define GL_RG8_EXT   GL_RG8

◆ GL_RG_EXT

#define GL_RG_EXT   GL_RG

◆ GL_RGB16F_EXT

#define GL_RGB16F_EXT   GL_RGB16F

◆ GL_RGB32F_EXT

#define GL_RGB32F_EXT   GL_RGB32F

◆ GL_RGB8_OES

#define GL_RGB8_OES   GL_RGB8

◆ GL_RGBA16F_EXT

#define GL_RGBA16F_EXT   GL_RGBA16F

◆ GL_RGBA32F_EXT

#define GL_RGBA32F_EXT   GL_RGBA32F

◆ GL_RGBA8_OES

#define GL_RGBA8_OES   GL_RGBA8

◆ GL_SAMPLER_2D_SHADOW_EXT

#define GL_SAMPLER_2D_SHADOW_EXT   0x8B62

◆ GL_SYNC_FLUSH_COMMANDS_BIT_APPLE

#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE   GL_SYNC_FLUSH_COMMANDS_BIT

◆ GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE

#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE   GL_SYNC_GPU_COMMANDS_COMPLETE

◆ GL_TEXTURE_MAX_ANISOTROPY_EXT

#define GL_TEXTURE_MAX_ANISOTROPY_EXT   0x84FE

◆ GL_TEXTURE_MAX_LEVEL_APPLE

#define GL_TEXTURE_MAX_LEVEL_APPLE   GL_TEXTURE_MAX_LEVEL

◆ GL_TIMEOUT_IGNORED_APPLE

#define GL_TIMEOUT_IGNORED_APPLE   GL_TIMEOUT_IGNORED

◆ GL_WAIT_FAILED_APPLE

#define GL_WAIT_FAILED_APPLE   GL_WAIT_FAILED

◆ GL_WRITE_ONLY_OES

#define GL_WRITE_ONLY_OES   GL_MAP_WRITE_BIT

◆ glBeginQueryEXT

#define glBeginQueryEXT   glBeginQuery

◆ glBindVertexArrayOES

#define glBindVertexArrayOES   glBindVertexArray

◆ glClientWaitSyncAPPLE

#define glClientWaitSyncAPPLE   glClientWaitSync

◆ glDeleteQueriesEXT

#define glDeleteQueriesEXT   glDeleteQueries

◆ glDeleteSyncAPPLE

#define glDeleteSyncAPPLE   glDeleteSync

◆ glDeleteVertexArraysOES

#define glDeleteVertexArraysOES   glDeleteVertexArrays

◆ glDrawArraysInstancedEXT

#define glDrawArraysInstancedEXT   glDrawArraysInstanced

◆ glDrawElementsInstancedEXT

#define glDrawElementsInstancedEXT   glDrawElementsInstanced

◆ glEndQueryEXT

#define glEndQueryEXT   glEndQuery

◆ glFenceSyncAPPLE

#define glFenceSyncAPPLE   glFenceSync

◆ glFlushMappedBufferRangeEXT

#define glFlushMappedBufferRangeEXT   glFlushMappedBufferRange

◆ glGenQueriesEXT

#define glGenQueriesEXT   glGenQueries

◆ glGenVertexArraysOES

#define glGenVertexArraysOES   glGenVertexArrays

◆ glGetProgramBinaryOES

#define glGetProgramBinaryOES   glGetProgramBinary

◆ glGetQueryObjectuivEXT

#define glGetQueryObjectuivEXT   glGetQueryObjectuiv

◆ glMapBufferRangeEXT

#define glMapBufferRangeEXT   glMapBufferRange

◆ glProgramBinaryOES

#define glProgramBinaryOES   glProgramBinary

◆ glRenderbufferStorageMultisampleAPPLE

#define glRenderbufferStorageMultisampleAPPLE   glRenderbufferStorageMultisample

◆ glUnmapBufferOES

#define glUnmapBufferOES   glUnmapBuffer

◆ glVertexAttribDivisorEXT

#define glVertexAttribDivisorEXT   glVertexAttribDivisor

◆ OCGE

#define OCGE   OGRE_CHECK_GL_ERROR

◆ OGRE_CHECK_GL_ERROR

#define OGRE_CHECK_GL_ERROR (   glFunc)    { glFunc; }

◆ OGRE_IF_IOS_VERSION_IS_GREATER_THAN

#define OGRE_IF_IOS_VERSION_IS_GREATER_THAN (   vers)