1 //---------------------------------------------------------------------------// 2 // Copyright (c) 2013-2014 Kyle Lutz <kyle.r.lutz@gmail.com> 3 // 4 // Distributed under the Boost Software License, Version 1.0 5 // See accompanying file LICENSE_1_0.txt or copy at 6 // http://www.boost.org/LICENSE_1_0.txt 7 // 8 // See http://boostorg.github.com/compute for more information. 9 //---------------------------------------------------------------------------// 10 11 #define BOOST_TEST_MODULE TestInteropOpenGL 12 #include <boost/test/unit_test.hpp> 13 14 #include <boost/compute/interop/opengl.hpp> 15 BOOST_AUTO_TEST_CASE(opengl_buffer)16BOOST_AUTO_TEST_CASE(opengl_buffer) 17 { 18 } 19 BOOST_AUTO_TEST_CASE(type_name)20BOOST_AUTO_TEST_CASE(type_name) 21 { 22 BOOST_CHECK_EQUAL( 23 boost::compute::type_name<boost::compute::opengl_texture>(), "image2d_t" 24 ); 25 BOOST_CHECK_EQUAL( 26 boost::compute::type_name<boost::compute::opengl_renderbuffer>(), "image2d_t" 27 ); 28 } 29