blob: 9d4dcb253a218661ad219b59c8a572186195356f [file] [log] [blame]
Courtney Goeltzenleuchter099f9f62014-09-01 13:56:09 -06001#ifndef DISPLAYENGINE_H
2#define DISPLAYENGINE_H
3
4#include "xgl.h"
5#include "GL/freeglut_std.h"
6
7class DisplayEngine
8{
9public:
10 DisplayEngine();
11
12 void Init(bool enable, int w, int h);
13 void Display(XGL_IMAGE image, XGL_GPU_MEMORY image_mem);
14
15 void Reshape(int w, int h);
16
17protected:
18 bool m_enable; // Indicates if calls do any OpenGL or not.
19 int m_width, m_height;
20};
21
22#endif // DISPLAYENGINE_H