mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:47:44 +00:00
![]() Context parameters are LibGL's way of centrally defining all parameters that can be retrieved through `glGetBoolean*`, `glGetInteger*`, etc. The spec describes that capabilities such as `GL_LIGHTING` can also be retrieved through these methods, but it should not be possible to retrieve random boolean parameters through `glIsEnabled`. For example, `GL_UNPACK_LSB_FIRST` can only be retrieved through `glGet*`. This moves reading of capabilities to `::get_context_parameter` and implements its use in `::gl_is_enabled`. |
||
---|---|---|
.. | ||
GL | ||
Tex | ||
CMakeLists.txt | ||
GLBlend.cpp | ||
GLColor.cpp | ||
GLContext.cpp | ||
GLContext.h | ||
GLDraw.cpp | ||
GLFog.cpp | ||
GLLights.cpp | ||
GLLists.cpp | ||
GLMap.cpp | ||
GLMat.cpp | ||
GLStencil.cpp | ||
GLTexture.cpp | ||
GLUtils.cpp | ||
GLVert.cpp | ||
GLVertexArrays.cpp | ||
SoftwareGLContext.cpp | ||
SoftwareGLContext.h |