* \brief Platform that uses X11 via GLX.
*//*--------------------------------------------------------------------*/
-#include "tcuX11GlxPlatform.hpp"
-#include "tcuX11Platform.hpp"
+#include "tcuLnxX11GlxPlatform.hpp"
#include "tcuRenderTarget.hpp"
#include "glwInitFunctions.hpp"
namespace tcu
{
+namespace lnx
+{
namespace x11
{
namespace glx
extern "C"
{
- static int tcuX11GlxErrorHandler (::Display* display, XErrorEvent* event)
+ static int tcuLnxX11GlxErrorHandler (::Display* display, XErrorEvent* event)
{
char buf[80];
XGetErrorText(display, event->error_code, buf, sizeof(buf));
reinterpret_cast<const GLubyte*>("glXCreateContextAttribsARB")))))
, m_eventState (eventState)
{
- XSetErrorHandler(tcuX11GlxErrorHandler);
+ XSetErrorHandler(tcuLnxX11GlxErrorHandler);
}
RenderContext* GlxContextFactory::createContext (const RenderConfig& config,
} // glx
} // x11
+} // lnx
} // tcu