| 93 | |
| 94 | |
| 95 | GLextension Meta::getExtension(const std::string & glextension) |
| 96 | { |
| 97 | const auto index = alphabeticalGroupIndex(glextension, 3); |
| 98 | const auto & map = Meta_ExtensionsByStringMaps[index]; |
| 99 | const auto i = map.find(glextension); |
| 100 | |
| 101 | if (i != map.cend()) |
| 102 | { |
| 103 | return i->second; |
| 104 | } |
| 105 | |
| 106 | return GLextension::UNKNOWN; |
| 107 | } |
| 108 | |
| 109 | std::set<GLextension> Meta::extensions() |
| 110 | { |
nothing calls this directly
no outgoing calls
no test coverage detected