|
|
|
|
@ -418,16 +418,21 @@ class MAGNUM_AUDIO_EXPORT Context {
|
|
|
|
|
*/ |
|
|
|
|
Containers::Array<Containers::StringView> extensionStrings() const; |
|
|
|
|
|
|
|
|
|
#ifdef MAGNUM_BUILD_DEPRECATED |
|
|
|
|
/**
|
|
|
|
|
* @brief Supported extensions |
|
|
|
|
* |
|
|
|
|
* The list contains only extensions from OpenAL versions newer than |
|
|
|
|
* the current. |
|
|
|
|
* @see @ref isExtensionSupported(), @ref Extension::extensions() |
|
|
|
|
* @m_deprecated_since_latest Deprecated as it doesn't provide anything |
|
|
|
|
* that @ref extensionStrings(), @ref Extension::extensions() and |
|
|
|
|
* @ref isExtensionSupported() wouldn't provide already and only |
|
|
|
|
* causes extra overhead during context creation. |
|
|
|
|
*/ |
|
|
|
|
Containers::ArrayView<const Extension> supportedExtensions() const { |
|
|
|
|
CORRADE_DEPRECATED("use extensionStrings(), Extension::extensions() and isExtensionSupported() instead") Containers::ArrayView<const Extension> supportedExtensions() const { |
|
|
|
|
return _supportedExtensions; |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Whether given extension is supported |
|
|
|
|
@ -488,7 +493,9 @@ class MAGNUM_AUDIO_EXPORT Context {
|
|
|
|
|
|
|
|
|
|
Math::BitVector<Implementation::ExtensionCount> _extensionStatus; |
|
|
|
|
Math::BitVector<Implementation::ExtensionCount> _extensionDisabledStatus; |
|
|
|
|
#ifdef MAGNUM_BUILD_DEPRECATED |
|
|
|
|
Containers::Array<Extension> _supportedExtensions; |
|
|
|
|
#endif |
|
|
|
|
Containers::Array<Extension> _disabledExtensions; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|