|
|
|
@ -49,8 +49,6 @@ struct BufferImageGLTest: OpenGLTester { |
|
|
|
void constructInvalidSize(); |
|
|
|
void constructInvalidSize(); |
|
|
|
void constructCompressedInvalidSize(); |
|
|
|
void constructCompressedInvalidSize(); |
|
|
|
|
|
|
|
|
|
|
|
void constructCopy(); |
|
|
|
|
|
|
|
void constructCopyCompressed(); |
|
|
|
|
|
|
|
void constructMove(); |
|
|
|
void constructMove(); |
|
|
|
void constructMoveCompressed(); |
|
|
|
void constructMoveCompressed(); |
|
|
|
|
|
|
|
|
|
|
|
@ -79,8 +77,6 @@ BufferImageGLTest::BufferImageGLTest() { |
|
|
|
&BufferImageGLTest::constructInvalidSize, |
|
|
|
&BufferImageGLTest::constructInvalidSize, |
|
|
|
&BufferImageGLTest::constructCompressedInvalidSize, |
|
|
|
&BufferImageGLTest::constructCompressedInvalidSize, |
|
|
|
|
|
|
|
|
|
|
|
&BufferImageGLTest::constructCopy, |
|
|
|
|
|
|
|
&BufferImageGLTest::constructCopyCompressed, |
|
|
|
|
|
|
|
&BufferImageGLTest::constructMove, |
|
|
|
&BufferImageGLTest::constructMove, |
|
|
|
&BufferImageGLTest::constructMoveCompressed, |
|
|
|
&BufferImageGLTest::constructMoveCompressed, |
|
|
|
|
|
|
|
|
|
|
|
@ -356,16 +352,6 @@ void BufferImageGLTest::constructCompressedInvalidSize() { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void BufferImageGLTest::constructCopy() { |
|
|
|
|
|
|
|
CORRADE_VERIFY(!(std::is_constructible<BufferImage2D, const BufferImage2D&>{})); |
|
|
|
|
|
|
|
CORRADE_VERIFY(!(std::is_assignable<BufferImage2D, const BufferImage2D&>{})); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void BufferImageGLTest::constructCopyCompressed() { |
|
|
|
|
|
|
|
CORRADE_VERIFY(!(std::is_constructible<CompressedBufferImage2D, const CompressedBufferImage2D&>{})); |
|
|
|
|
|
|
|
CORRADE_VERIFY(!(std::is_assignable<CompressedBufferImage2D, const CompressedBufferImage2D&>{})); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void BufferImageGLTest::constructMove() { |
|
|
|
void BufferImageGLTest::constructMove() { |
|
|
|
const char data[4] = { 'a', 'b', 'c', 'd' }; |
|
|
|
const char data[4] = { 'a', 'b', 'c', 'd' }; |
|
|
|
BufferImage2D a{PixelFormat::Red, PixelType::UnsignedByte, {4, 1}, data, BufferUsage::StaticDraw}; |
|
|
|
BufferImage2D a{PixelFormat::Red, PixelType::UnsignedByte, {4, 1}, data, BufferUsage::StaticDraw}; |
|
|
|
|