19#ifndef HEADER_GRAPHICS_RESTrICTIONS_HPP
20#define HEADER_GRAPHICS_RESTrICTIONS_HPP
29namespace GraphicsRestrictions
35 enum GraphicsRestrictionsType
37 GR_UNIFORM_BUFFER_OBJECT,
46 GR_SHADER_STORAGE_BUFFER_OBJECT,
47 GR_MULTI_DRAW_INDIRECT,
48 GR_SHADER_ATOMIC_COUNTERS,
51 GR_EXT_TEXTURE_COMPRESSION_S3TC,
52 GR_AMD_VERTEX_SHADER_LAYER,
53 GR_EXPLICIT_ATTRIB_LOCATION,
54 GR_TEXTURE_FILTER_ANISOTROPIC,
55 GR_TEXTURE_FORMAT_BGRA8888,
56 GR_COLOR_BUFFER_FLOAT,
57 GR_DRIVER_RECENT_ENOUGH,
58 GR_HIGHDEFINITION_TEXTURES,
59 GR_HIGHDEFINITION_TEXTURES_256,
61 GR_CORRECT_10BIT_NORMALIZATION,
63 GR_FORCE_LEGACY_DEVICE,
67 GR_TEXTURE_BUFFER_OBJECT,
68 GR_SYSTEM_SCREEN_KEYBOARD,
72 void init(
const std::string &driver_version,
73 const std::string &card_name,
74 const std::string &vendor );
75 bool isDisabled(GraphicsRestrictionsType type);