Browse Source

Audio,GL,Vk: no point in including the extension lists in code coverage.

pull/680/head
Vladimír Vondruš 10 months ago
parent
commit
9ce6f147f7
  1. 2
      src/Magnum/Audio/Extensions.h
  2. 2
      src/Magnum/GL/Extensions.h
  3. 4
      src/Magnum/Vk/Extensions.h

2
src/Magnum/Audio/Extensions.h

@ -93,6 +93,7 @@ namespace Extensions {
constexpr static const char* string() { return #prefix "_" #extension "_" #vendor; } \ constexpr static const char* string() { return #prefix "_" #extension "_" #vendor; } \
}; };
/* LCOV_EXCL_START */
/* IMPORTANT: don't forget to add new extensions also in Context.cpp */ /* IMPORTANT: don't forget to add new extensions also in Context.cpp */
namespace AL { namespace AL {
namespace EXT { namespace EXT {
@ -116,6 +117,7 @@ namespace AL {
_extension(9,ALC,SOFT,HRTF) // #??? _extension(9,ALC,SOFT,HRTF) // #???
} }
} }
/* LCOV_EXCL_STOP */
#undef _extension #undef _extension
#undef _extension_rev #undef _extension_rev
#endif #endif

2
src/Magnum/GL/Extensions.h

@ -88,6 +88,7 @@ namespace Extensions {
constexpr static const char* string() { return "GL_" #vendor "_" #extension; } \ constexpr static const char* string() { return "GL_" #vendor "_" #extension; } \
}; };
/* LCOV_EXCL_START */
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES
namespace AMD { namespace AMD {
_extension( 0,AMD,transform_feedback3_lines_triangles, GL210, None) // #397 _extension( 0,AMD,transform_feedback3_lines_triangles, GL210, None) // #397
@ -634,6 +635,7 @@ namespace ANDROID {
_extension(162,MAGNUM,shader_vertex_id, GLES300, GLES300) _extension(162,MAGNUM,shader_vertex_id, GLES300, GLES300)
#endif #endif
} }
/* LCOV_EXCL_STOP */
#endif #endif
#undef _extension #undef _extension
#endif #endif

4
src/Magnum/Vk/Extensions.h

@ -84,6 +84,7 @@ namespace Extensions {
return "VK_" #vendor "_" #extension ""_s; \ return "VK_" #vendor "_" #extension ""_s; \
} \ } \
}; };
/* LCOV_EXCL_START */
namespace EXT { namespace EXT {
/** @todo remove EXT_debug_report when all platforms have EXT_debug_utils /** @todo remove EXT_debug_report when all platforms have EXT_debug_utils
(my Huawei P10 doesn't have it) */ (my Huawei P10 doesn't have it) */
@ -97,6 +98,7 @@ namespace EXT {
_extension(13, KHR,external_semaphore_capabilities, Vk10, Vk11) // #77 _extension(13, KHR,external_semaphore_capabilities, Vk10, Vk11) // #77
_extension(14, KHR,external_fence_capabilities, Vk10, Vk11) // #113 _extension(14, KHR,external_fence_capabilities, Vk10, Vk11) // #113
} }
/* LCOV_EXCL_STOP */
#undef _extension #undef _extension
#define _extension_(index, vendor, name, extension, _requiredVersion, _coreVersion) \ #define _extension_(index, vendor, name, extension, _requiredVersion, _coreVersion) \
@ -111,6 +113,7 @@ namespace EXT {
}; };
#define _extension(index, vendor, extension, _requiredVersion, _coreVersion) \ #define _extension(index, vendor, extension, _requiredVersion, _coreVersion) \
_extension_(index, vendor, extension, extension, _requiredVersion, _coreVersion) _extension_(index, vendor, extension, extension, _requiredVersion, _coreVersion)
/* LCOV_EXCL_START */
namespace EXT { namespace EXT {
/** @todo remove EXT_debug_marker when all platforms have EXT_debug_utils /** @todo remove EXT_debug_marker when all platforms have EXT_debug_utils
(my Huawei P10 doesn't have it) */ (my Huawei P10 doesn't have it) */
@ -174,6 +177,7 @@ namespace EXT {
_extension(71, KHR,ray_tracing_pipeline, Vk11, None) // #348 _extension(71, KHR,ray_tracing_pipeline, Vk11, None) // #348
_extension(72, KHR,ray_query, Vk11, None) // #349 _extension(72, KHR,ray_query, Vk11, None) // #349
} }
/* LCOV_EXCL_STOP */
#undef _extension #undef _extension
#undef _extension_ #undef _extension_

Loading…
Cancel
Save