summaryrefslogtreecommitdiff
path: root/helpers/glprofile.hpp
AgeCommit message (Collapse)AuthorFilesLines
2015-06-25glretrace: Fix occlusion query support detection.Jose Fonseca1-0/+5
GL_ARB_occlusion_query was made part of core OpenGL 1.5. Furthermore we don't use the *ARB entry-points, so we really rely on the core support. Futhermore, on Mac OS, core 3.2+ profiles do not list core extensions, so we were wrongly assuming it was missing. Fixes #358.
2015-05-29egltrace: Warn instead of assert on GL API mismatch.Jose Fonseca1-0/+3
Some OpenGL ES implementions end up being just a thin veil on top of desktop OpenGL. Fixes #341.
2015-05-20common,cli,wrappers,retrace,gui: Use #pragma once.Jose Fonseca1-3/+1
Smaller footprint, and simplifies refactoring.
2015-03-13glretrace: Cleanup Profile::matches.Jose Fonseca1-25/+2
2015-03-13glretrace: Be more forgiving with forward-compatible contexts on MacOSX.Jose Fonseca1-1/+7
2015-03-13glretrace: Set FORWARD_COMPATIBLE_BIT as per trace.Jose Fonseca1-4/+15
Not thoroughly tested across all platforms. But hopefully close enough.
2015-02-05glhelpers: fix glprofile.cpp compilation on VS2012unknown1-0/+1
std::string was forward declarated only, so I have include <string>
2015-01-23glhelpers,glws: Move extension management to helper module.José Fonseca1-3/+17
2015-01-08gltrace: Fix PBO unpacking on core contexts.José Fonseca1-2/+2
gltrace::PROFILE_COMPAT was a misnomer -- it actually meant desktop profile. So b0c597293060329afc1ee10d4062d30a2b272f78 broke PBO for core contexts.
2015-01-06helpers: Fix matching for OpenGL 3.1 contexts.José Fonseca1-1/+13
It's OK to return 3.2 core when 3.1 is requested.
2015-01-05gltrace: Use glprofile::Profile when tracing.José Fonseca1-0/+10
Less duplication, and hopefully more future proof.
2015-01-05glretrace: Ensure we get a matching context.José Fonseca1-0/+7
2015-01-05glretrace: Move the logic to determine the current context profile into ↵José Fonseca1-2/+15
glprofile module. As it will be useful elsewhere.
2015-01-05helpers: Move GL profile into a separate helper module.José Fonseca1-0/+86