43 #ifndef INCLUDED_FRAME_BUFFER_UTILITY_H
44 #define INCLUDED_FRAME_BUFFER_UTILITY_H
48 #if defined(__APPLE__) || ( defined(GLES) && defined(LINUX) ) || defined( __VXWORKS__ )
50 #define GL_DEPTH24_STENCIL8 GL_DEPTH24_STENCIL8_OES
51 #define GL_DEPTH_STENCIL GL_DEPTH_STENCIL_OES
52 #define GL_UNSIGNED_INT_24_8 GL_UNSIGNED_INT_24_8_OES
53 #define GL_DEPTH_COMPONENT24 GL_DEPTH_COMPONENT24_OES
56 #define GL_FRAMEBUFFER GL_FRAMEBUFFER_OES
57 #define GL_FRAMEBUFFER_COMPLETE GL_FRAMEBUFFER_COMPLETE_OES
58 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES
59 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES
60 #define GL_FRAMEBUFFER_UNSUPPORTED GL_FRAMEBUFFER_UNSUPPORTED_OES
61 #define GL_COLOR_ATTACHMENT0 GL_COLOR_ATTACHMENT0_OES
63 #define GL_DEPTH_ATTACHMENT GL_DEPTH_ATTACHMENT_OES
64 #define GL_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING_OES
65 #define GL_RENDERBUFFER GL_RENDERBUFFER_OES
66 #define GL_DEPTH_COMPONENT16 GL_DEPTH_COMPONENT16_OES
68 #define glCheckFramebufferStatus glCheckFramebufferStatusOES
69 #define glBindFramebuffer glBindFramebufferOES
70 #define glGenFramebuffers glGenFramebuffersOES
71 #define glDeleteFramebuffers glDeleteFramebuffersOES
72 #define glDeleteRenderbuffers glDeleteRenderbuffersOES
73 #define glFramebufferTexture2D glFramebufferTexture2DOES
74 #define glGenerateMipmap glGenerateMipmapOES
75 #define glClearBufferfv glClearBufferfvOES
76 #define glGenRenderbuffers glGenRenderbuffersOES
77 #define glBindRenderbuffer glBindRenderbufferOES
78 #define glRenderbufferStorage glRenderbufferStorageOES
79 #define glFramebufferRenderbuffer glFramebufferRenderbufferOES
106 static bool frameBufferSupportAvailable;
107 static bool frameBufferSupportInitialized;
112 static void initializeFrameBufferSupport();
119 #endif // INCLUDED_FRAME_BUFFER_UTILITY_H
Definition: frame_buffer_utility.h:86
static bool checkFrameBufferStatus()
static bool frameBuffersAreSupported()
Definition: bmpimage.h:46