</require>
</extension>
- <!-- Stereo rendering is not supported on OpenGL ES, but I'm not
- certain enough of its uselessness to remove the constants outright. -->
- <extension name="GL_MSP_stereo_rendering" supported="gl">
- <require>
- <enum name="GL_FRONT_LEFT" />
- <enum name="GL_FRONT_RIGHT" />
- <enum name="GL_BACK_LEFT" />
- <enum name="GL_BACK_RIGHT" />
- <enum name="GL_LEFT" />
- <enum name="GL_RIGHT" />
- </require>
- </extension>
-
<!-- 1D textures are not available in OpenGL ES, but could conceivably
be added at a later date. -->
<extension name="GL_MSP_texture1D" supported="gl">
#include "gl.h"
#include "texturecube.h"
#include <msp/gl/extensions/ext_framebuffer_object.h>
-#include <msp/gl/extensions/msp_stereo_rendering.h>
#include <msp/gl/extensions/nv_fbo_color_attachments.h>
namespace Msp {
STENCIL_BUFFER_BIT = GL_STENCIL_BUFFER_BIT
};
-enum RWBuffer
-{
- NO_BUFFER = GL_NONE,
- FRONT_LEFT = GL_FRONT_LEFT,
- FRONT_RIGHT = GL_FRONT_RIGHT,
- BACK_LEFT = GL_BACK_LEFT,
- BACK_RIGHT = GL_BACK_RIGHT,
- FRONT = GL_FRONT,
- BACK = GL_BACK,
- LEFT = GL_LEFT,
- RIGHT = GL_RIGHT,
- FRONT_AND_BACK = GL_FRONT_AND_BACK
-};
-
class framebuffer_incomplete: public std::runtime_error
{
public: