|
|
|
@ -49,7 +49,7 @@ struct PrimitiveQueryGLTest: OpenGLTester { |
|
|
|
void constructMove(); |
|
|
|
void constructMove(); |
|
|
|
void wrap(); |
|
|
|
void wrap(); |
|
|
|
|
|
|
|
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES2) && !defined(MAGNUM_TARGET_WEBGL) |
|
|
|
#ifndef MAGNUM_TARGET_WEBGL |
|
|
|
void primitivesGenerated(); |
|
|
|
void primitivesGenerated(); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
@ -65,7 +65,7 @@ PrimitiveQueryGLTest::PrimitiveQueryGLTest() { |
|
|
|
addTests({&PrimitiveQueryGLTest::constructMove, |
|
|
|
addTests({&PrimitiveQueryGLTest::constructMove, |
|
|
|
&PrimitiveQueryGLTest::wrap, |
|
|
|
&PrimitiveQueryGLTest::wrap, |
|
|
|
|
|
|
|
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES2) && !defined(MAGNUM_TARGET_WEBGL) |
|
|
|
#ifndef MAGNUM_TARGET_WEBGL |
|
|
|
&PrimitiveQueryGLTest::primitivesGenerated, |
|
|
|
&PrimitiveQueryGLTest::primitivesGenerated, |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
@ -113,7 +113,7 @@ void PrimitiveQueryGLTest::wrap() { |
|
|
|
glDeleteQueries(1, &id); |
|
|
|
glDeleteQueries(1, &id); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES2) && !defined(MAGNUM_TARGET_WEBGL) |
|
|
|
#ifndef MAGNUM_TARGET_WEBGL |
|
|
|
void PrimitiveQueryGLTest::primitivesGenerated() { |
|
|
|
void PrimitiveQueryGLTest::primitivesGenerated() { |
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
if(!Context::current().isExtensionSupported<Extensions::EXT::transform_feedback>()) |
|
|
|
if(!Context::current().isExtensionSupported<Extensions::EXT::transform_feedback>()) |
|
|
|
|