18#ifndef CENTRAL_SETTINGS_HPP
19#define CENTRAL_SETTINGS_HPP
29 int m_gl_major_version, m_gl_minor_version, m_gl_mem;
30 bool hasBufferStorage;
31 bool hasComputeShaders;
32 bool hasArraysOfArrays;
33 bool hasTextureStorage;
36 bool hasExplicitAttribLocation;
38 bool hasTextureCompression;
39 bool hasTextureCompressionSRGB;
42 bool hasImageLoadStore;
43 bool hasTextureFilterAnisotropic;
44 bool hasTextureSwizzle;
45 bool hasPixelBufferObject;
46 bool hasSamplerObjects;
47 bool hasVertexType2101010Rev;
48 bool hasInstancedArrays;
50 bool hasColorBufferFloat;
51 bool hasTextureBufferObject;
52 bool m_need_vertex_id_workaround;
54 static bool m_supports_sp;
58 unsigned getGLSLVersion()
const;
61 bool needsVertexIdWorkaround()
const;
64 bool isARBUniformBufferObjectUsable()
const;
65 bool isEXTTextureCompressionS3TCUsable()
const;
66 bool isEXTTextureCompressionS3TCSRGBUsable()
const;
67 bool isARBTextureViewUsable()
const;
68 bool isARBGeometryShadersUsable()
const;
69 bool isARBTextureStorageUsable()
const;
70 bool isARBComputeShaderUsable()
const;
71 bool isARBArraysOfArraysUsable()
const;
72 bool isARBBufferStorageUsable()
const;
73 bool isARBShaderAtomicCountersUsable()
const;
74 bool isARBShaderStorageBufferObjectUsable()
const;
75 bool isARBImageLoadStoreUsable()
const;
76 bool isARBExplicitAttribLocationUsable()
const;
77 bool isEXTTextureFilterAnisotropicUsable()
const;
78 bool isARBTextureSwizzleUsable()
const;
79 bool isARBPixelBufferObjectUsable()
const;
80 bool isARBSamplerObjectsUsable()
const;
81 bool isARBVertexType2101010RevUsable()
const;
82 bool isARBInstancedArraysUsable()
const;
83 bool isEXTTextureFormatBGRA8888Usable()
const;
84 bool isEXTColorBufferFloatUsable()
const;
85 bool isARBTextureBufferObjectUsable()
const;
88 bool supportsComputeShadersFiltering()
const;
89 bool supportsHardwareSkinning()
const;
90 bool supportsTextureCompression()
const;
93 bool isShadowEnabled()
const;
94 bool isTextureCompressionEnabled()
const;
95 bool isDeferredEnabled()
const;
96 bool supportsColorization()
const;
Definition: central_settings.hpp:24
bool m_glsl
Supports GLSL.
Definition: central_settings.hpp:27