#include "tcuDefs.hpp"
#include "tcuTestLog.hpp"
-#include "egluHeaderWrapper.hpp"
+#include "eglwDefs.hpp"
+
+namespace eglw
+{
+class Library;
+}
namespace eglu
{
class CallLogWrapper
{
public:
- CallLogWrapper (tcu::TestLog& log);
- ~CallLogWrapper (void);
+ CallLogWrapper (const eglw::Library& egl, tcu::TestLog& log);
+ ~CallLogWrapper (void);
// EGL API is exposed as member functions
-#include "egluApiPrototypes.inl"
+#include "egluCallLogWrapperApi.inl"
- void enableLogging (bool enable) { m_enableLog = enable; }
+ void enableLogging (bool enable) { m_enableLog = enable; }
private:
- tcu::TestLog& m_log;
- bool m_enableLog;
+ const eglw::Library& m_egl;
+ tcu::TestLog& m_log;
+ bool m_enableLog;
};
} // eglu