Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <vlCore/OpenGLDefs.hpp>#include <vlGraphics/link_config.hpp>Go to the source code of this file.
Namespaces | |
| namespace | vl |
Visualization Library namespace. | |
Defines | |
| #define | GLEW_Has_Geometry_Shader (GLEW_NV_geometry_shader4||GLEW_EXT_geometry_shader4||GLEW_ARB_geometry_shader4||GLEW_VERSION_3_2||GLEW_VERSION_4_0) |
| #define | GLEW_Has_Shading_Language_20 (GLEW_ARB_shading_language_100||GLEW_VERSION_2_0||GLEW_VERSION_3_0||GLEW_VERSION_4_0) |
| #define | GLEW_Has_Shading_Language_21 (GLEW_VERSION_2_1||GLEW_VERSION_3_0||GLEW_VERSION_4_0) |
| #define | GLEW_Has_Framebuffer_Object (GLEW_EXT_framebuffer_object||GLEW_ARB_framebuffer_object||GLEW_VERSION_3_0||GLEW_VERSION_4_0) |
| #define | GLEW_Has_Framebuffer_Object_Multisample (GLEW_VERSION_4_0||GLEW_VERSION_3_0||GLEW_ARB_framebuffer_object||GLEW_EXT_framebuffer_multisample) |
| #define | VL_CHECK_OGL() { if ( ::vl::glcheck( __FILE__, __LINE__ ) ) { VL_TRAP( ) } } |
Functions | |
| VLGRAPHICS_EXPORT int | vl::glcheck (const char *file, int line) |
| void | vl::VL_glBindBuffer (GLenum target, GLuint buffer) |
| void | vl::VL_glGenBuffers (GLsizei n, GLuint *buffers) |
| void | vl::VL_glDeleteBuffers (GLsizei n, const GLuint *buffers) |
| void | vl::VL_glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) |
| void | vl::VL_glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) |
| void * | vl::VL_glMapBuffer (GLenum target, GLenum access) |
| GLboolean | vl::VL_glUnmapBuffer (GLenum target) |
| void | vl::VL_glSecondaryColor3f (float r, float g, float b) |
| void | vl::VL_glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| void | vl::VL_glFogCoordPointer (GLenum type, GLsizei stride, GLvoid *pointer) |
| void | vl::VL_glEnableVertexAttribArray (GLuint index) |
| void | vl::VL_glDisableVertexAttribArray (GLuint index) |
| void | vl::VL_glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) |
| void | vl::VL_glVertexAttribIPointer (GLuint name, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| void | vl::VL_glVertexAttribLPointer (GLuint name, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| void | vl::VL_glClientActiveTexture (GLenum texture) |
| void | vl::VL_glActiveTexture (GLenum texture) |
| void | vl::VL_glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) |
| void | vl::VL_glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha) |
| void | vl::VL_glBlendEquation (GLenum mode) |
| void | vl::VL_glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
| void | vl::VL_glPointParameterfv (GLenum pname, const GLfloat *params) |
| void | vl::VL_glPointParameterf (GLenum pname, GLfloat param) |
| void | vl::VL_glPointParameteri (GLenum pname, GLenum param) |
| void | vl::VL_glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask) |
| void | vl::VL_glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) |
| void | vl::VL_glSampleCoverage (GLclampf value, GLboolean invert) |
| void | vl::VL_glBindRenderbuffer (GLenum target, GLuint renderbuffer) |
| void | vl::VL_glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers) |
| void | vl::VL_glGenRenderbuffers (GLsizei n, GLuint *renderbuffers) |
| void | vl::VL_glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
| void | vl::VL_glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params) |
| GLboolean | vl::VL_glIsFramebuffer (GLuint framebuffer) |
| void | vl::VL_glBindFramebuffer (GLenum target, GLuint framebuffer) |
| void | vl::VL_glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers) |
| void | vl::VL_glGenFramebuffers (GLsizei n, GLuint *framebuffers) |
| GLenum | vl::VL_glCheckFramebufferStatus (GLenum target) |
| void | vl::VL_glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
| void | vl::VL_glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
| void | vl::VL_glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) |
| void | vl::VL_glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
| void | vl::VL_glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params) |
| void | vl::VL_glGenerateMipmap (GLenum target) |
| void | vl::VL_glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level) |
| void | vl::VL_glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) |
| void | vl::VL_glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
| void | vl::VL_glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) |
| void | vl::VL_glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount) |
| void | vl::VL_glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, int basevertex) |
| void | vl::VL_glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, int basevertex) |
| void | vl::VL_glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, int basevertex) |
| void | vl::VL_glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei primcount) |
| void | vl::VL_glProgramParameteri (GLuint program, GLenum pname, GLint value) |
| void | vl::VL_glBindFragDataLocation (GLuint program, GLuint colorNumber, const GLchar *name) |
| void | vl::VL_glUniform1uiv (GLint location, GLsizei count, const GLuint *value) |
| void | vl::VL_glUniform2uiv (GLint location, GLsizei count, const GLuint *value) |
| void | vl::VL_glUniform3uiv (GLint location, GLsizei count, const GLuint *value) |
| void | vl::VL_glUniform4uiv (GLint location, GLsizei count, const GLuint *value) |
| #define GLEW_Has_Geometry_Shader (GLEW_NV_geometry_shader4||GLEW_EXT_geometry_shader4||GLEW_ARB_geometry_shader4||GLEW_VERSION_3_2||GLEW_VERSION_4_0) |
Definition at line 38 of file OpenGL.hpp.
| #define GLEW_Has_Shading_Language_20 (GLEW_ARB_shading_language_100||GLEW_VERSION_2_0||GLEW_VERSION_3_0||GLEW_VERSION_4_0) |
Definition at line 39 of file OpenGL.hpp.
Referenced by vl::GLSLProgram::apply(), vl::GLSLProgram::applyUniformSet(), vl::GLSLProgram::attachShader(), vl::GLSLProgram::bindAttribLocation(), vl::GLSLShader::compile(), vl::GLSLShader::compileStatus(), vl::GLSLProgram::createProgram(), vl::GLSLShader::createShader(), vl::GLSLProgram::deleteProgram(), vl::GLSLShader::deleteShader(), vl::GLSLProgram::detachShader(), vl::GLSLProgram::discardAllShaders(), vl::GLSLProgram::getAttribLocation(), vl::GLSLProgram::getUniformfv(), vl::GLSLProgram::getUniformiv(), vl::GLSLProgram::getUniformLocation(), vl::GLSLProgram::infoLog(), vl::GLSLShader::infoLog(), vl::GLSLProgram::linkProgram(), vl::GLSLProgram::linkStatus(), vl::GLSLProgram::maxVertexAttribs(), vl::Uniform::setUniform1f(), vl::Uniform::setUniform1i(), vl::Uniform::setUniform2f(), vl::Uniform::setUniform2i(), vl::Uniform::setUniform3f(), vl::Uniform::setUniform3i(), vl::Uniform::setUniform4f(), vl::Uniform::setUniform4i(), vl::Uniform::setUniformMatrix2f(), vl::Uniform::setUniformMatrix3f(), vl::Uniform::setUniformMatrix4f(), vl::GLSLProgram::useProgram(), and vl::GLSLProgram::validateProgram().
| #define GLEW_Has_Shading_Language_21 (GLEW_VERSION_2_1||GLEW_VERSION_3_0||GLEW_VERSION_4_0) |
Definition at line 40 of file OpenGL.hpp.
Referenced by vl::Uniform::setUniformMatrix2x3f(), vl::Uniform::setUniformMatrix2x4f(), vl::Uniform::setUniformMatrix3x2f(), vl::Uniform::setUniformMatrix3x4f(), vl::Uniform::setUniformMatrix4x2f(), and vl::Uniform::setUniformMatrix4x3f().
| #define GLEW_Has_Framebuffer_Object (GLEW_EXT_framebuffer_object||GLEW_ARB_framebuffer_object||GLEW_VERSION_3_0||GLEW_VERSION_4_0) |
Definition at line 41 of file OpenGL.hpp.
Referenced by vl::FBORenderTarget::addColorAttachment(), vl::FBORenderTarget::addDepthAttachment(), vl::FBORenderTarget::addDepthStencilAttachment(), vl::FBORenderTarget::addStencilAttachment(), vl::FBORenderTarget::addTextureAttachment(), vl::FBORenderbufferAttachment::bindAttachment(), vl::FBOTextureLayerAttachment::bindAttachment(), vl::FBOTexture3DAttachment::bindAttachment(), vl::FBOTexture2DAttachment::bindAttachment(), vl::FBOTexture1DAttachment::bindAttachment(), vl::FBORenderTarget::bindFramebuffer(), vl::FBORenderTarget::checkFramebufferStatus(), vl::FBORenderbufferAttachment::create(), vl::FBORenderbufferAttachment::destroy(), vl::FBORenderbufferAttachment::initStorage(), vl::FBORenderTarget::removeAllAttachments(), and vl::FBORenderTarget::removeAttachment().
| #define GLEW_Has_Framebuffer_Object_Multisample (GLEW_VERSION_4_0||GLEW_VERSION_3_0||GLEW_ARB_framebuffer_object||GLEW_EXT_framebuffer_multisample) |
Definition at line 42 of file OpenGL.hpp.
Referenced by vl::FBORenderbufferAttachment::initStorage().
| #define VL_CHECK_OGL | ( | ) | { if ( ::vl::glcheck( __FILE__, __LINE__ ) ) { VL_TRAP( ) } } |
Definition at line 54 of file OpenGL.hpp.
Referenced by vl::Viewport::activate(), vl::TextureUnit::apply(), vl::TextureMatrix::apply(), vl::TexGen::apply(), vl::TexEnv::apply(), vl::TexParameter::apply(), vl::SampleCoverage::apply(), vl::ColorMask::apply(), vl::BlendColor::apply(), vl::StencilMask::apply(), vl::StencilOp::apply(), vl::StencilFunc::apply(), vl::PointParameter::apply(), vl::LineStipple::apply(), vl::PolygonStipple::apply(), vl::PointSize::apply(), vl::LineWidth::apply(), vl::DepthRange::apply(), vl::LogicOp::apply(), vl::PolygonOffset::apply(), vl::Fog::apply(), vl::LightModel::apply(), vl::AlphaFunc::apply(), vl::BlendEquation::apply(), vl::BlendFunc::apply(), vl::ShadeModel::apply(), vl::PolygonMode::apply(), vl::DepthMask::apply(), vl::DepthFunc::apply(), vl::FrontFace::apply(), vl::CullFace::apply(), vl::Hint::apply(), vl::PixelTransfer::apply(), vl::PatchParameter::apply(), vl::GLSLProgram::apply(), vl::OpenGLContext::applyEnables(), vl::OpenGLContext::applyRenderStates(), vl::GLSLProgram::applyUniformSet(), vl::GLSLProgram::attachShader(), vl::FBORenderbufferAttachment::bindAttachment(), vl::FBOTextureLayerAttachment::bindAttachment(), vl::FBOTexture3DAttachment::bindAttachment(), vl::FBOTextureAttachment::bindAttachment(), vl::FBOTexture2DAttachment::bindAttachment(), vl::FBOTexture1DAttachment::bindAttachment(), vl::GLSLProgram::bindAttribLocation(), vl::RenderTarget::bindDrawBuffers(), vl::RenderTarget::bindFramebuffer(), vl::FBORenderTarget::bindFramebuffer(), vl::RenderTarget::bindReadBuffer(), vl::OpenGLContext::bindVAS(), vl::FBORenderTarget::checkFramebufferStatus(), vl::GLSLShader::compile(), vl::GLSLShader::compileStatus(), vl::CopyTexSubImage3D::copyPixels(), vl::CopyTexSubImage2D::copyPixels(), vl::CopyTexSubImage1D::copyPixels(), vl::BlitFramebuffer::copyPixels(), vl::FBORenderbufferAttachment::create(), vl::FBORenderTarget::create(), vl::Actor::createOcclusionQuery(), vl::GLSLProgram::createProgram(), vl::GLSLShader::createShader(), vl::Texture::createTexture(), vl::DrawPixels::deletePixelBufferObjects(), vl::FBORenderbufferAttachment::destroy(), vl::FBORenderTarget::destroy(), vl::GLSLProgram::detachAllShaders(), vl::GLSLProgram::detachShader(), vl::GLSLProgram::discardAllShaders(), vl::GLSLProgram::getProgramBinary(), vl::GLSLProgram::getUniformfv(), vl::GLSLProgram::getUniformiv(), vl::GLSLProgram::infoLog(), vl::GLSLShader::infoLog(), vl::OpenGLContext::initGLContext(), vl::FBORenderbufferAttachment::initStorage(), vl::OpenGLContext::isCleanState(), vl::GLSLProgram::linkProgram(), vl::GLSLProgram::linkStatus(), vl::OpenGLContext::logOpenGLInfo(), vl::GLBufferObject::mapGPUBuffer(), vl::GLSLProgram::maxVertexAttribs(), vl::GLSLProgram::programBinary(), vl::readPixels(), vl::FBORenderTarget::removeAttachment(), vl::Rendering::render(), vl::Renderer::render(), vl::Renderable::render(), vl::OcclusionCullRenderer::render(), vl::EdgeRenderer::render(), vl::Geometry::render_Implementation(), vl::DrawPixels::render_Implementation(), vl::Clear::render_Implementation(), vl::OcclusionCullRenderer::render_pass1(), vl::OcclusionCullRenderer::render_pass2(), vl::Text::renderBackground(), vl::Text::renderBorder(), vl::Text::renderText(), vl::OpenGLContext::resetContextStates(), vl::GLBufferObject::setBufferData(), vl::Texture::setMipLevel(), vl::Texture::supports(), vl::Texture::Texture(), vl::GLBufferObject::unmapGPUBuffer(), vl::Applet::updateEvent(), vl::ProjViewTransfCallback::updateMatrices(), vl::GLSLProgram::useProgram(), and vl::GLSLProgram::validateProgram().