1 #ifndef MSP_GL_SL_FEATURES_H_
2 #define MSP_GL_SL_FEATURES_H_
4 #include <msp/gl/extension.h>
14 bool arb_enhanced_layouts;
15 bool arb_explicit_attrib_location;
16 bool arb_explicit_uniform_location;
18 bool arb_separate_shader_objects;
19 bool arb_uniform_buffer_object;
21 bool ext_texture_array;
22 unsigned constant_id_range;
23 unsigned uniform_binding_range;
24 unsigned texture_binding_range;
28 static Features from_context();
29 static Features from_version(const Version &);
30 static Features latest();