Shows very basic usage of EGLplus by printing some informationCopyright 2008-2014 Matus Chochlik. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <iostream>
int main(void)
{
{
std::cout << "Client extensions:" << std::endl;
std::cout << '\t' << r.Front() << std::endl;
}
else std::cout << "No client extensions." << std::endl;
std::cout <<
"Vendor: " << egl.
Vendor() << std::endl;
std::cout <<
"Version: " << egl.
Version() << std::endl;
std::cout << "Client APIs:" << std::endl;
for(
auto r=egl.
ClientAPIs(); !r.Empty(); r.Next())
std::cout << '\t' << r.Front() << std::endl;
std::cout << "Extensions:" << std::endl;
for(
auto r=egl.
Extensions(); !r.Empty(); r.Next())
std::cout << '\t' << r.Front() << std::endl;
return 0;
}