/* Test Worker =========== Simple class that just does some OpenGL calls and applies a shader. This is used while doing the Fbo* tests. We create a shader and we draw a full viewport rectangle to make sure the GPU does some work. */ #ifndef TEST_WORKER_H #define TEST_WORKER_H #define ROXLU_USE_MATH #define ROXLU_USE_OPENGL #include #include class TestWorker { public: TestWorker(); int init(); int performWork(GLuint sourceTexture); public: GLuint vert; GLuint frag; GLuint prog; GLuint vao; GLint u_tex; }; #endif